Skip to content

Ai assistant #1320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
04facd6
feat: basic ai assistant setup and ui
bajrangCoder May 11, 2025
ab8c589
Merge remote-tracking branch 'origin/main' into ai-agent
bajrangCoder May 13, 2025
2be29a2
feat: profile selection dialog
bajrangCoder May 17, 2025
69e4170
toggle able history panel
bajrangCoder May 20, 2025
6c399c8
feat: basic ai assistant chat feature
bajrangCoder May 24, 2025
c103c75
Merge remote-tracking branch 'origin/main' into ai-agent
bajrangCoder May 29, 2025
d890d91
feat: improved code block and fix highlighting
bajrangCoder May 29, 2025
3758122
feat: show loader before ai response stream
bajrangCoder May 30, 2025
6ae8cea
feat: AI assistant with streaming chat,in memory context with agentch…
vizzyfreezy Jun 1, 2025
2d536be
fix: formatting
bajrangCoder Jun 1, 2025
b831048
fix: highlighting, message sync, searchTool
bajrangCoder Jun 1, 2025
863382b
feat: add delete history button and improved few ui styling
bajrangCoder Jun 1, 2025
7884868
Merge branch 'main' into ai-agent
bajrangCoder Jun 1, 2025
4dbb288
feat: system prompt and fix html rendering in codeblock
bajrangCoder Jun 1, 2025
a1d34ce
add edit ui(not the edit functionality)
bajrangCoder Jun 2, 2025
7715ae6
fix: handle error message case and add workspace info in prompt
bajrangCoder Jun 2, 2025
71a33a2
Merge branch 'main' into ai-agent
bajrangCoder Jun 3, 2025
672fbbd
feat: add readFile tool
bajrangCoder Jun 3, 2025
53e1a20
Ai agent in- Memory saver to custom sqlite saver(#3)
vizzyfreezy Jun 3, 2025
3adf208
fix: checkpointers , db issue and tool resp
bajrangCoder Jun 4, 2025
79a229b
feat: add fetch tool
bajrangCoder Jun 4, 2025
086bc2d
Merge remote-tracking branch 'origin/main' into ai-agent
bajrangCoder Jun 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,911 changes: 1,878 additions & 33 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"cordova-plugin-advanced-http": {
"ANDROIDBLACKLISTSECURESOCKETPROTOCOLS": "SSLv3,TLSv1"
},
"cordova-sqlite-storage": {},
"com.foxdebug.acode.exec": {}
},
"platforms": [
Expand Down Expand Up @@ -76,6 +77,7 @@
"cordova-plugin-server": "file:src/plugins/server",
"cordova-plugin-sftp": "file:src/plugins/sftp",
"cordova-plugin-system": "file:src/plugins/system",
"cordova-sqlite-storage": "^7.0.0",
"css-loader": "^7.1.2",
"mini-css-extract-plugin": "^2.9.0",
"path-browserify": "^1.0.1",
Expand All @@ -91,6 +93,10 @@
},
"dependencies": {
"@deadlyjack/ajax": "^1.2.6",
"@langchain/core": "^0.3.57",
"@langchain/google-genai": "^0.2.10",
"@langchain/langgraph": "^0.2.74",
"@langchain/langgraph-swarm": "^0.0.3",
"@ungap/custom-elements": "^1.3.0",
"autosize": "^6.0.1",
"cordova": "12.0.0",
Expand All @@ -100,19 +106,23 @@
"escape-string-regexp": "^5.0.0",
"esprima": "^4.0.1",
"filesize": "^10.1.2",
"he": "^1.2.0",
"html-tag-js": "^1.5.1",
"js-base64": "^3.7.7",
"jszip": "^3.10.1",
"langchain": "^0.3.27",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-github-alerts": "^0.3.0",
"markdown-it-task-lists": "^2.1.1",
"mime-types": "^2.1.35",
"minimatch": "^9.0.4",
"mustache": "^4.2.0",
"turndown": "^7.2.0",
"url-parse": "^1.5.10",
"vanilla-picker": "^2.12.3",
"yargs": "^17.7.2"
"yargs": "^17.7.2",
"zod": "^3.25.47"
},
"browserslist": "cover 100%,not android < 5"
}
8 changes: 8 additions & 0 deletions src/ace/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,14 @@ const commands = [
},
readOnly: true,
},
{
name: "openAiAssistant",
description: "AI Assistant",
exec() {
acode.exec("open", "ai_assistant");
},
readOnly: true,
},
{
name: "openFileExplorer",
description: "File Explorer",
Expand Down
5 changes: 5 additions & 0 deletions src/lib/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import select from "dialogs/select";
import fsOperation from "fileSystem";
import actions from "handlers/quickTools";
import recents from "lib/recents";
import AiAssistant from "pages/aiAssistant";
import FileBrowser from "pages/fileBrowser";
import plugins from "pages/plugins";
import Problems from "pages/problems/problems";
Expand Down Expand Up @@ -187,6 +188,10 @@ export default {
FileBrowser();
break;

case "ai_assistant":
AiAssistant();
break;

default:
return;
}
Expand Down
Loading