@zds-ai/cli 0.1.7 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +387 -34
- package/dist/agent/context-manager.d.ts +70 -0
- package/dist/agent/context-manager.js +138 -0
- package/dist/agent/context-manager.js.map +1 -0
- package/dist/agent/hook-manager.d.ts +194 -0
- package/dist/agent/hook-manager.js +676 -0
- package/dist/agent/hook-manager.js.map +1 -0
- package/dist/agent/llm-agent.d.ts +470 -100
- package/dist/agent/llm-agent.js +788 -1576
- package/dist/agent/llm-agent.js.map +1 -1
- package/dist/agent/message-processor.d.ts +103 -0
- package/dist/agent/message-processor.js +225 -0
- package/dist/agent/message-processor.js.map +1 -0
- package/dist/agent/prompt-variables.d.ts +113 -40
- package/dist/agent/prompt-variables.js +272 -81
- package/dist/agent/prompt-variables.js.map +1 -1
- package/dist/agent/session-manager.d.ts +75 -0
- package/dist/agent/session-manager.js +194 -0
- package/dist/agent/session-manager.js.map +1 -0
- package/dist/agent/streaming-agent.d.ts +33 -0
- package/dist/agent/streaming-agent.js +629 -0
- package/dist/agent/streaming-agent.js.map +1 -0
- package/dist/agent/tool-executor.d.ts +111 -0
- package/dist/agent/tool-executor.js +397 -0
- package/dist/agent/tool-executor.js.map +1 -0
- package/dist/bin/encode-speech.sh +64 -0
- package/dist/bin/extract-text.sh +66 -0
- package/dist/bin/generate_image_sd.sh +23 -12
- package/dist/bin/joycaption.sh +37 -0
- package/dist/bin/talking-agents.sh +291 -0
- package/dist/grok/client.d.ts +54 -0
- package/dist/grok/client.js +173 -20
- package/dist/grok/client.js.map +1 -1
- package/dist/grok/tools.js +98 -11
- package/dist/grok/tools.js.map +1 -1
- package/dist/hooks/use-enhanced-input.js +3 -1
- package/dist/hooks/use-enhanced-input.js.map +1 -1
- package/dist/hooks/use-input-handler.d.ts +1 -1
- package/dist/hooks/use-input-handler.js +101 -8
- package/dist/hooks/use-input-handler.js.map +1 -1
- package/dist/index.js +25 -3
- package/dist/index.js.map +1 -1
- package/dist/mcp/config.d.ts +1 -0
- package/dist/mcp/config.js +45 -7
- package/dist/mcp/config.js.map +1 -1
- package/dist/tools/audio-tool.d.ts +13 -0
- package/dist/tools/audio-tool.js +55 -0
- package/dist/tools/audio-tool.js.map +1 -0
- package/dist/tools/character-tool.js +13 -1
- package/dist/tools/character-tool.js.map +1 -1
- package/dist/tools/image-tool.d.ts +21 -1
- package/dist/tools/image-tool.js +201 -14
- package/dist/tools/image-tool.js.map +1 -1
- package/dist/tools/index.d.ts +11 -10
- package/dist/tools/index.js +11 -10
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/introspect-tool.js +325 -2
- package/dist/tools/introspect-tool.js.map +1 -1
- package/dist/tools/morph-editor.d.ts +21 -9
- package/dist/tools/morph-editor.js +21 -9
- package/dist/tools/morph-editor.js.map +1 -1
- package/dist/ui/components/active-task-status.d.ts +1 -1
- package/dist/ui/components/api-key-input.d.ts +1 -1
- package/dist/ui/components/backend-status.d.ts +1 -1
- package/dist/ui/components/chat-history.d.ts +1 -1
- package/dist/ui/components/chat-input.js +1 -1
- package/dist/ui/components/chat-input.js.map +1 -1
- package/dist/ui/components/chat-interface.d.ts +1 -1
- package/dist/ui/components/chat-interface.js +2 -2
- package/dist/ui/components/chat-interface.js.map +1 -1
- package/dist/ui/components/context-status.d.ts +1 -1
- package/dist/ui/components/mood-status.d.ts +1 -1
- package/dist/ui/components/persona-status.d.ts +1 -1
- package/dist/ui/utils/markdown-renderer.js +2 -2
- package/dist/utils/chat-history-manager.d.ts +12 -4
- package/dist/utils/chat-history-manager.js +26 -11
- package/dist/utils/chat-history-manager.js.map +1 -1
- package/dist/utils/hook-executor.d.ts +53 -2
- package/dist/utils/hook-executor.js +261 -39
- package/dist/utils/hook-executor.js.map +1 -1
- package/dist/utils/path-utils.d.ts +2 -1
- package/dist/utils/path-utils.js +25 -4
- package/dist/utils/path-utils.js.map +1 -1
- package/dist/utils/rephrase-handler.d.ts +1 -1
- package/dist/utils/settings-manager.d.ts +41 -11
- package/dist/utils/settings-manager.js +172 -40
- package/dist/utils/settings-manager.js.map +1 -1
- package/dist/utils/slash-commands.d.ts +3 -3
- package/dist/utils/slash-commands.js +11 -5
- package/dist/utils/slash-commands.js.map +1 -1
- package/dist/utils/startup-hook.js +9 -2
- package/dist/utils/startup-hook.js.map +1 -1
- package/package.json +29 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zds-ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "A multi-backend AI agent CLI supporting OpenAI, Anthropic, Grok, Ollama, and more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,9 +12,13 @@
|
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
14
|
"zai-cli": "dist/index.js",
|
|
15
|
+
"encode-speech.sh": "dist/bin/encode-speech.sh",
|
|
16
|
+
"extract-text.sh": "dist/bin/extract-text.sh",
|
|
15
17
|
"fastcaption.sh": "dist/bin/fastcaption.sh",
|
|
16
18
|
"generate_image_sd.sh": "dist/bin/generate_image_sd.sh",
|
|
17
|
-
"
|
|
19
|
+
"joycaption.sh": "dist/bin/joycaption.sh",
|
|
20
|
+
"read_xlsx.py": "dist/bin/read_xlsx.py",
|
|
21
|
+
"talking-agents.sh": "dist/bin/talking-agents.sh"
|
|
18
22
|
},
|
|
19
23
|
"scripts": {
|
|
20
24
|
"build": "tsc && mkdir -p dist/bin && cp -r src/bin/* dist/bin/",
|
|
@@ -33,7 +37,6 @@
|
|
|
33
37
|
"keywords": [
|
|
34
38
|
"agent",
|
|
35
39
|
"ai",
|
|
36
|
-
"archgw",
|
|
37
40
|
"arliai",
|
|
38
41
|
"cli",
|
|
39
42
|
"grok",
|
|
@@ -42,6 +45,7 @@
|
|
|
42
45
|
"ollama",
|
|
43
46
|
"openai",
|
|
44
47
|
"openrouter",
|
|
48
|
+
"plano",
|
|
45
49
|
"venice"
|
|
46
50
|
],
|
|
47
51
|
"author": "The ZDS Group",
|
|
@@ -60,37 +64,37 @@
|
|
|
60
64
|
"LICENSE"
|
|
61
65
|
],
|
|
62
66
|
"dependencies": {
|
|
63
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
64
|
-
"axios": "^1.
|
|
65
|
-
"cfonts": "^3.3.
|
|
66
|
-
"chalk": "^5.
|
|
67
|
-
"commander": "^12.
|
|
68
|
-
"dotenv": "^16.
|
|
67
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
68
|
+
"axios": "^1.13.4",
|
|
69
|
+
"cfonts": "^3.3.1",
|
|
70
|
+
"chalk": "^5.6.2",
|
|
71
|
+
"commander": "^12.1.0",
|
|
72
|
+
"dotenv": "^16.6.1",
|
|
69
73
|
"enquirer": "^2.4.1",
|
|
70
|
-
"fs-extra": "^11.
|
|
71
|
-
"ink": "^
|
|
74
|
+
"fs-extra": "^11.3.3",
|
|
75
|
+
"ink": "^6.6.0",
|
|
72
76
|
"ink-spawn": "^0.1.4",
|
|
73
77
|
"marked": "^15.0.12",
|
|
74
78
|
"marked-terminal": "^7.3.0",
|
|
75
|
-
"openai": "^5.
|
|
79
|
+
"openai": "^5.23.2",
|
|
76
80
|
"prompts": "^2.4.2",
|
|
77
|
-
"react": "^
|
|
81
|
+
"react": "^19.0.0",
|
|
78
82
|
"ripgrep-node": "^1.0.0",
|
|
79
|
-
"tiktoken": "^1.0.
|
|
83
|
+
"tiktoken": "^1.0.22"
|
|
80
84
|
},
|
|
81
85
|
"devDependencies": {
|
|
82
|
-
"@types/fs-extra": "^11.0.
|
|
86
|
+
"@types/fs-extra": "^11.0.4",
|
|
83
87
|
"@types/jest": "^30.0.0",
|
|
84
|
-
"@types/node": "^20.
|
|
88
|
+
"@types/node": "^20.19.27",
|
|
85
89
|
"@types/prompts": "^2.4.9",
|
|
86
|
-
"@types/react": "^
|
|
87
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
88
|
-
"@typescript-eslint/parser": "^8.
|
|
89
|
-
"eslint": "^9.39.
|
|
90
|
+
"@types/react": "^19.0.0",
|
|
91
|
+
"@typescript-eslint/eslint-plugin": "^8.51.0",
|
|
92
|
+
"@typescript-eslint/parser": "^8.51.0",
|
|
93
|
+
"eslint": "^9.39.2",
|
|
90
94
|
"jest": "^30.2.0",
|
|
91
|
-
"ts-jest": "^29.4.
|
|
92
|
-
"tsx": "^4.
|
|
93
|
-
"typescript": "^5.
|
|
95
|
+
"ts-jest": "^29.4.6",
|
|
96
|
+
"tsx": "^4.21.0",
|
|
97
|
+
"typescript": "^5.9.3"
|
|
94
98
|
},
|
|
95
99
|
"engines": {
|
|
96
100
|
"node": ">=18.0.0",
|
|
@@ -101,6 +105,7 @@
|
|
|
101
105
|
"overrides": {
|
|
102
106
|
"js-yaml": "^4.1.1",
|
|
103
107
|
"glob": "^10.5.0",
|
|
104
|
-
"body-parser": "^2.2.1"
|
|
108
|
+
"body-parser": "^2.2.1",
|
|
109
|
+
"qs": "^6.14.1"
|
|
105
110
|
}
|
|
106
111
|
}
|