dimcode 0.0.20 → 0.0.21
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 +73 -414
- package/cli.mjs +66 -3
- package/dist/anthropic.json +1 -1
- package/dist/cli.mjs +1108 -2565
- package/dist/deepseek.json +1 -1
- package/dist/google.json +1 -1
- package/dist/kimi-for-coding.json +1 -1
- package/dist/minimax-cn-coding-plan.json +1 -1
- package/dist/minimax-cn.json +1 -1
- package/dist/minimax-coding-plan.json +1 -1
- package/dist/minimax.json +1 -1
- package/dist/models/aihubmix.json +1 -1
- package/dist/models/openrouter.json +1 -1
- package/dist/models/siliconflow-com.json +1 -1
- package/dist/models/siliconflow.json +1 -1
- package/dist/models/zenmux.json +1 -1
- package/dist/moonshot-ai.json +1 -1
- package/dist/moonshot.json +1 -1
- package/dist/next-api-oauth.json +1 -0
- package/dist/openai.json +1 -1
- package/dist/ppinfra.json +1 -1
- package/dist/xai.json +1 -1
- package/dist/zai-coding-plan.json +1 -1
- package/dist/zai.json +1 -1
- package/dist/zhipuai-coding-plan.json +1 -1
- package/dist/zhipuai.json +1 -1
- package/package.json +10 -8
package/dist/zhipuai.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"zhipuai","name":"ZhipuAI","api":"https://open.bigmodel.cn/api/paas/v4/","models":[{"id":"glm-5","name":"GLM-5","family":"glm","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"interleaved":{"field":"reasoning_content"},"temperature":true,"release_date":"2026-02-11","last_updated":"2026-02-11","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":1,"output":3.2,"cache_read":0.2,"cache_write":0},"limit":{"context":204800,"output":131072},"display_name":"GLM-5","type":"chat"},{"id":"glm-4.6v","name":"GLM-4.6V","family":"glm","attachment":true,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-12-08","last_updated":"2025-12-08","modalities":{"input":["text","image","video"],"output":["text"]},"open_weights":true,"cost":{"input":0.3,"output":0.9},"limit":{"context":128000,"output":32768},"display_name":"GLM-4.6V","type":"chat"},{"id":"glm-4.5v","name":"GLM-4.5V","family":"glm","attachment":true,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-08-11","last_updated":"2025-08-11","modalities":{"input":["text","image","video"],"output":["text"]},"open_weights":true,"cost":{"input":0.6,"output":1.8},"limit":{"context":64000,"output":16384},"display_name":"GLM-4.5V","type":"chat"},{"id":"glm-4.7","name":"GLM-4.7","family":"glm","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"interleaved":{"field":"reasoning_content"},"temperature":true,"knowledge":"2025-04","release_date":"2025-12-22","last_updated":"2025-12-22","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":204800,"output":131072},"display_name":"GLM-4.7","type":"chat"},{"id":"glm-4.6","name":"GLM-4.6","family":"glm","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-09-30","last_updated":"2025-09-30","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":204800,"output":131072},"display_name":"GLM-4.6","type":"chat"},{"id":"glm-4.7-flash","name":"GLM-4.7-Flash","family":"glm-flash","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2026-01-19","last_updated":"2026-01-19","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000,"output":131072},"display_name":"GLM-4.7-Flash","type":"chat"},{"id":"glm-4.5-flash","name":"GLM-4.5-Flash","family":"glm-flash","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-07-28","last_updated":"2025-07-28","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072,"output":98304},"display_name":"GLM-4.5-Flash","type":"chat"},{"id":"glm-4.5","name":"GLM-4.5","family":"glm","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-07-28","last_updated":"2025-07-28","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":131072,"output":98304},"display_name":"GLM-4.5","type":"chat"},{"id":"glm-4.5-air","name":"GLM-4.5-Air","family":"glm-air","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-07-28","last_updated":"2025-07-28","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0.2,"output":1.1,"cache_read":0.03,"cache_write":0},"limit":{"context":131072,"output":98304},"display_name":"GLM-4.5-Air","type":"chat"}],"defaultModelId":"glm-5"}
|
|
1
|
+
{"id":"zhipuai","name":"ZhipuAI","api":"https://open.bigmodel.cn/api/paas/v4/","models":[{"id":"glm-5","name":"GLM-5","family":"glm","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"interleaved":{"field":"reasoning_content"},"temperature":true,"release_date":"2026-02-11","last_updated":"2026-02-11","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":1,"output":3.2,"cache_read":0.2,"cache_write":0},"limit":{"context":204800,"output":131072},"display_name":"GLM-5","type":"chat","extra_capabilities":{"reasoning":{"supported":true,"interleaved":true,"summaries":true,"visibility":"summary","continuation":["thinking_blocks"]}}},{"id":"glm-4.6v","name":"GLM-4.6V","family":"glm","attachment":true,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-12-08","last_updated":"2025-12-08","modalities":{"input":["text","image","video"],"output":["text"]},"open_weights":true,"cost":{"input":0.3,"output":0.9},"limit":{"context":128000,"output":32768},"display_name":"GLM-4.6V","type":"chat"},{"id":"glm-4.5v","name":"GLM-4.5V","family":"glm","attachment":true,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-08-11","last_updated":"2025-08-11","modalities":{"input":["text","image","video"],"output":["text"]},"open_weights":true,"cost":{"input":0.6,"output":1.8},"limit":{"context":64000,"output":16384},"display_name":"GLM-4.5V","type":"chat"},{"id":"glm-4.7","name":"GLM-4.7","family":"glm","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"interleaved":{"field":"reasoning_content"},"temperature":true,"knowledge":"2025-04","release_date":"2025-12-22","last_updated":"2025-12-22","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":204800,"output":131072},"display_name":"GLM-4.7","type":"chat","extra_capabilities":{"reasoning":{"supported":true,"interleaved":true,"summaries":true,"visibility":"summary","continuation":["thinking_blocks"]}}},{"id":"glm-4.6","name":"GLM-4.6","family":"glm","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-09-30","last_updated":"2025-09-30","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":204800,"output":131072},"display_name":"GLM-4.6","type":"chat","extra_capabilities":{"reasoning":{"supported":true}}},{"id":"glm-4.7-flash","name":"GLM-4.7-Flash","family":"glm-flash","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2026-01-19","last_updated":"2026-01-19","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000,"output":131072},"display_name":"GLM-4.7-Flash","type":"chat","extra_capabilities":{"reasoning":{"supported":true}}},{"id":"glm-4.5-flash","name":"GLM-4.5-Flash","family":"glm-flash","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-07-28","last_updated":"2025-07-28","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072,"output":98304},"display_name":"GLM-4.5-Flash","type":"chat"},{"id":"glm-4.5","name":"GLM-4.5","family":"glm","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-07-28","last_updated":"2025-07-28","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":131072,"output":98304},"display_name":"GLM-4.5","type":"chat"},{"id":"glm-4.5-air","name":"GLM-4.5-Air","family":"glm-air","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2025-07-28","last_updated":"2025-07-28","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0.2,"output":1.1,"cache_read":0.03,"cache_write":0},"limit":{"context":131072,"output":98304},"display_name":"GLM-4.5-Air","type":"chat"},{"id":"glm-4.7-flashx","name":"GLM-4.7-FlashX","family":"glm-flash","attachment":false,"reasoning":{"supported":true,"default":true},"tool_call":true,"temperature":true,"knowledge":"2025-04","release_date":"2026-01-19","last_updated":"2026-01-19","modalities":{"input":["text"],"output":["text"]},"open_weights":true,"cost":{"input":0.07,"output":0.4,"cache_read":0.01,"cache_write":0},"limit":{"context":200000,"output":131072},"display_name":"GLM-4.7-FlashX","type":"chat"}],"defaultModelId":"glm-5"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dimcode",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.21",
|
|
5
5
|
"description": "AI coding agent CLI and terminal coding assistant with an interactive TUI",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"import": "./dist/cli.js"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
+
"imports": {
|
|
17
|
+
"#cli/*": "./src/*"
|
|
18
|
+
},
|
|
16
19
|
"main": "./dist/index.js",
|
|
17
20
|
"types": "./dist/index.d.ts",
|
|
18
21
|
"bin": {
|
|
@@ -20,10 +23,10 @@
|
|
|
20
23
|
"dimcode": "./cli.mjs"
|
|
21
24
|
},
|
|
22
25
|
"files": [
|
|
26
|
+
"assets",
|
|
23
27
|
"cli.mjs",
|
|
24
28
|
"dist",
|
|
25
29
|
"icon.png",
|
|
26
|
-
"assets",
|
|
27
30
|
"scripts/postinstall.mjs"
|
|
28
31
|
],
|
|
29
32
|
"scripts": {
|
|
@@ -37,12 +40,8 @@
|
|
|
37
40
|
"build:binary:windows": "bun run build.mjs --binary --target=bun-windows-x64",
|
|
38
41
|
"typecheck": "tsc --noEmit",
|
|
39
42
|
"cli": "bun scripts/cli-watch.mjs",
|
|
40
|
-
"cli:run": "
|
|
43
|
+
"cli:run": "esno src/cli.ts",
|
|
41
44
|
"cli:run:node": "node --enable-source-maps --import tsx src/cli.ts",
|
|
42
|
-
"cli:debug": "DIMCODE_DEBUG=1 bun scripts/cli-watch.mjs --watch -- --debug",
|
|
43
|
-
"cli:debug:run": "DIMCODE_DEBUG=1 bun src/cli.ts --debug",
|
|
44
|
-
"bench:acp": "bun scripts/acp-session-benchmark.ts",
|
|
45
|
-
"bench:acp:gate": "bun scripts/acp-session-benchmark-gate.ts",
|
|
46
45
|
"bench:scroll": "bun scripts/scroll-benchmark.ts",
|
|
47
46
|
"bench:stdout": "bun scripts/stdout-benchmark.ts",
|
|
48
47
|
"test": "bun test --preload ./test/setup.ts",
|
|
@@ -65,12 +64,15 @@
|
|
|
65
64
|
"vue": "^3.5.30"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
67
|
+
"@simon_he/vue-tui": "0.0.4",
|
|
68
68
|
"@types/node": "^18.19.130",
|
|
69
69
|
"@types/node-notifier": "^8.0.5",
|
|
70
|
+
"@types/semver": "^7.7.1",
|
|
70
71
|
"chokidar": "^4.0.3",
|
|
71
72
|
"happy-dom": "^17.6.3",
|
|
73
|
+
"bun-types": "latest",
|
|
72
74
|
"tsdown": "^0.20.3",
|
|
73
|
-
"typescript": "5.
|
|
75
|
+
"typescript": "^5.9.3",
|
|
74
76
|
"vitest": "^4.1.0"
|
|
75
77
|
}
|
|
76
78
|
}
|