@kodax-ai/kodax 0.7.47 → 0.7.49

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +1741 -1702
  2. package/README.md +80 -27
  3. package/README_CN.md +60 -15
  4. package/dist/builtin/code-review/SKILL.md +1 -1
  5. package/dist/chunks/argument-completer-GDG5OHN7.js +2 -0
  6. package/dist/chunks/{chunk-VGRG2F6H.js → chunk-67SWUEEN.js} +424 -276
  7. package/dist/chunks/chunk-C5PKZX5Z.js +291 -0
  8. package/dist/chunks/chunk-ISGHUKRY.js +428 -0
  9. package/dist/chunks/chunk-JTHMWRXM.js +566 -0
  10. package/dist/chunks/chunk-TYZAH3YP.js +2 -0
  11. package/dist/chunks/chunk-YACQ4OST.js +31 -0
  12. package/dist/chunks/{chunk-2SMCCP44.js → chunk-YW4RQV7U.js} +1 -1
  13. package/dist/chunks/{compaction-config-YU7SI6L6.js → compaction-config-BQBYOWX2.js} +1 -1
  14. package/dist/chunks/{construction-bootstrap-6UN3OY7X.js → construction-bootstrap-5TFGMSWQ.js} +1 -1
  15. package/dist/chunks/{dist-IDNOAB4M.js → dist-BL7IBQHD.js} +1 -1
  16. package/dist/chunks/dist-D7HOETCE.js +2 -0
  17. package/dist/chunks/{utils-3ISOUEFC.js → utils-XWDT3W5X.js} +1 -1
  18. package/dist/index.d.ts +13 -13
  19. package/dist/index.js +5 -5
  20. package/dist/kodax_cli.js +1337 -888
  21. package/dist/provider-capabilities.json +193 -190
  22. package/dist/sdk-agent.d.ts +207 -105
  23. package/dist/sdk-agent.js +1 -1
  24. package/dist/sdk-coding.d.ts +569 -37
  25. package/dist/sdk-coding.js +1 -1
  26. package/dist/sdk-llm.d.ts +5 -5
  27. package/dist/sdk-llm.js +1 -1
  28. package/dist/sdk-mcp.d.ts +3 -3
  29. package/dist/sdk-mcp.js +1 -1
  30. package/dist/sdk-repl.d.ts +16 -15
  31. package/dist/sdk-repl.js +1 -1
  32. package/dist/sdk-session.d.ts +6 -3
  33. package/dist/sdk-session.js +1 -1
  34. package/dist/sdk-skills.js +1 -1
  35. package/dist/types-chunks/{base.d-BdJKSPO2.d.ts → base.d-C4jYVjJh.d.ts} +2 -1
  36. package/dist/types-chunks/{bash-prefix-extractor.d-D6hL0Cuv.d.ts → bash-prefix-extractor.d-CI_xcPhn.d.ts} +70 -35
  37. package/dist/types-chunks/{file-tracker.d-BNTIvsdb.d.ts → capsule.d-DaPuhyyK.d.ts} +170 -5
  38. package/dist/types-chunks/{config.d-BfJUXxC0.d.ts → config.d-CJy1WENT.d.ts} +17 -7
  39. package/dist/types-chunks/manager.d-DLmDhX3i.d.ts +696 -0
  40. package/dist/types-chunks/{resolver.d-DkgJlEzr.d.ts → resolver.d-B_wm409c.d.ts} +2 -2
  41. package/dist/types-chunks/{storage.d-B1Jk6ryM.d.ts → storage.d-J2GqOgaX.d.ts} +4 -1
  42. package/dist/types-chunks/{types.d-D2RNa5Y7.d.ts → types.d-BR9oNWup.d.ts} +429 -4
  43. package/dist/types-chunks/{types.d-B_MIIApc.d.ts → types.d-BnjX2Gn4.d.ts} +6 -1
  44. package/dist/types-chunks/{types.d-Cf-GCzac.d.ts → types.d-rPRl2LSB.d.ts} +4 -0
  45. package/dist/types-chunks/{utils.d-umRKgMAu.d.ts → utils.d-BJ_-y8gC.d.ts} +42 -8
  46. package/package.json +1 -1
  47. package/dist/chunks/chunk-66B6ZOU7.js +0 -31
  48. package/dist/chunks/chunk-KRHAO2T3.js +0 -567
  49. package/dist/chunks/chunk-QZFZIGPF.js +0 -2
  50. package/dist/chunks/chunk-VX6HN3JP.js +0 -415
  51. package/dist/chunks/dist-DS2KIZQG.js +0 -2
  52. package/dist/types-chunks/manager.d-U3UEwY1P.d.ts +0 -385
  53. package/dist/types-chunks/types.d-C5mHR87z.d.ts +0 -119
@@ -1,190 +1,193 @@
1
- {
2
- "version": 1,
3
- "updatedAt": "2026-06-02",
4
- "providers": {
5
- "anthropic": {
6
- "apiKeyEnv": "ANTHROPIC_API_KEY",
7
- "model": "claude-sonnet-4-6",
8
- "models": [
9
- { "id": "claude-opus-4-6", "displayName": "Opus 4.6", "thinkingBudgetCap": 28000 },
10
- { "id": "claude-haiku-4-5", "displayName": "Haiku 4.5", "thinkingBudgetCap": 10000 }
11
- ],
12
- "reasoningCapability": "native-budget",
13
- "capabilityProfile": "image-input-native",
14
- "supportsThinking": true,
15
- "contextWindow": 200000,
16
- "maxOutputTokens": 64000,
17
- "thinkingBudgetCap": 28000,
18
- "verifyStrategy": "count-tokens"
19
- },
20
- "openai": {
21
- "apiKeyEnv": "OPENAI_API_KEY",
22
- "model": "gpt-5.3-codex",
23
- "models": [
24
- { "id": "gpt-5.4", "displayName": "GPT-5.4" },
25
- { "id": "gpt-5.3-codex-spark", "displayName": "GPT-5.3 Codex Spark" }
26
- ],
27
- "reasoningCapability": "native-effort",
28
- "capabilityProfile": "image-input-native",
29
- "supportsThinking": true,
30
- "contextWindow": 400000,
31
- "maxOutputTokens": 32768,
32
- "verifyStrategy": "models-list"
33
- },
34
- "deepseek": {
35
- "apiKeyEnv": "DEEPSEEK_API_KEY",
36
- "model": "deepseek-v4-flash",
37
- "models": [
38
- { "id": "deepseek-v4-pro", "displayName": "DeepSeek V4 Pro" }
39
- ],
40
- "reasoningCapability": "native-effort",
41
- "capabilityProfile": "image-input-native",
42
- "supportsThinking": true,
43
- "contextWindow": 1000000,
44
- "maxOutputTokens": 64000,
45
- "verifyStrategy": "models-list"
46
- },
47
- "kimi": {
48
- "apiKeyEnv": "KIMI_API_KEY",
49
- "model": "kimi-k2.6",
50
- "models": [
51
- { "id": "k2.5", "displayName": "K2.5" }
52
- ],
53
- "reasoningCapability": "native-effort",
54
- "capabilityProfile": "image-input-native",
55
- "supportsThinking": true,
56
- "contextWindow": 256000,
57
- "maxOutputTokens": 32768,
58
- "verifyStrategy": "models-list"
59
- },
60
- "kimi-code": {
61
- "apiKeyEnv": "KIMI_CODE_API_KEY",
62
- "model": "kimi-for-coding",
63
- "reasoningCapability": "native-budget",
64
- "capabilityProfile": "image-input-native",
65
- "supportsThinking": true,
66
- "contextWindow": 256000,
67
- "maxOutputTokens": 32000,
68
- "verifyStrategy": "count-tokens"
69
- },
70
- "qwen": {
71
- "apiKeyEnv": "QWEN_API_KEY",
72
- "model": "qwen3.5-plus",
73
- "reasoningCapability": "native-budget",
74
- "capabilityProfile": "image-input-native",
75
- "supportsThinking": true,
76
- "contextWindow": 256000,
77
- "maxOutputTokens": 32768,
78
- "verifyStrategy": "models-list"
79
- },
80
- "zhipu": {
81
- "apiKeyEnv": "ZHIPU_API_KEY",
82
- "model": "glm-5",
83
- "models": [
84
- { "id": "glm-5.1", "displayName": "GLM-5.1" },
85
- { "id": "glm-5-turbo", "displayName": "GLM-5 Turbo" }
86
- ],
87
- "reasoningCapability": "native-budget",
88
- "capabilityProfile": "image-input-native",
89
- "supportsThinking": true,
90
- "contextWindow": 200000,
91
- "maxOutputTokens": 32768,
92
- "verifyStrategy": "minimal-message"
93
- },
94
- "zhipu-coding": {
95
- "apiKeyEnv": "ZHIPU_CODING_API_KEY",
96
- "model": "glm-5",
97
- "models": [
98
- { "id": "glm-5.1", "displayName": "GLM-5.1" },
99
- { "id": "glm-5-turbo", "displayName": "GLM-5 Turbo" }
100
- ],
101
- "reasoningCapability": "native-budget",
102
- "capabilityProfile": "image-input-native",
103
- "supportsThinking": true,
104
- "contextWindow": 200000,
105
- "maxOutputTokens": 16000,
106
- "thinkingBudgetCap": 16000,
107
- "verifyStrategy": "count-tokens"
108
- },
109
- "minimax-coding": {
110
- "apiKeyEnv": "MINIMAX_CODING_API_KEY",
111
- "model": "MiniMax-M2.7",
112
- "models": [
113
- { "id": "MiniMax-M3", "displayName": "MiniMax M3 (Frontier Coding, 1M ctx)", "contextWindow": 1000000 },
114
- { "id": "MiniMax-M2.7-highspeed", "displayName": "MiniMax M2.7 Highspeed (higher-tier plan)" }
115
- ],
116
- "reasoningCapability": "native-budget",
117
- "capabilityProfile": "image-input-native",
118
- "supportsThinking": true,
119
- "contextWindow": 204800,
120
- "maxOutputTokens": 32000,
121
- "verifyStrategy": "count-tokens"
122
- },
123
- "mimo-coding": {
124
- "apiKeyEnv": "MIMO_CODING_API_KEY",
125
- "model": "mimo-v2.5-pro",
126
- "models": [
127
- { "id": "mimo-v2.5", "displayName": "MiMo V2.5" }
128
- ],
129
- "reasoningCapability": "native-budget",
130
- "capabilityProfile": "image-input-native",
131
- "supportsThinking": true,
132
- "contextWindow": 1000000,
133
- "maxOutputTokens": 32000,
134
- "thinkingBudgetCap": 16000,
135
- "verifyStrategy": "minimal-message"
136
- },
137
- "mimo": {
138
- "apiKeyEnv": "MIMO_API_KEY",
139
- "model": "mimo-v2.5-pro",
140
- "models": [
141
- { "id": "mimo-v2.5", "displayName": "MiMo V2.5" }
142
- ],
143
- "reasoningCapability": "native-budget",
144
- "capabilityProfile": "image-input-native",
145
- "supportsThinking": true,
146
- "contextWindow": 1000000,
147
- "maxOutputTokens": 32000,
148
- "thinkingBudgetCap": 16000,
149
- "verifyStrategy": "minimal-message"
150
- },
151
- "ark-coding": {
152
- "apiKeyEnv": "ARK_CODING_API_KEY",
153
- "model": "glm-5.1",
154
- "models": [
155
- { "id": "glm-4.7", "displayName": "GLM-4.7" },
156
- { "id": "kimi-k2.6", "displayName": "Kimi K2.6", "contextWindow": 256000 },
157
- { "id": "MiniMax-M3", "displayName": "MiniMax M3 (Frontier Coding, 1M ctx)", "contextWindow": 1000000 },
158
- { "id": "MiniMax-M2.7", "displayName": "MiniMax M2.7", "contextWindow": 204800 },
159
- { "id": "deepseek-v3.2", "displayName": "DeepSeek V3.2", "contextWindow": 128000 },
160
- { "id": "deepseek-v4-pro", "displayName": "DeepSeek V4 Pro", "contextWindow": 1000000 },
161
- { "id": "deepseek-v4-flash", "displayName": "DeepSeek V4 Flash", "contextWindow": 1000000 },
162
- { "id": "doubao-seed-2.0-code", "displayName": "Doubao Seed 2.0 Code", "contextWindow": 256000 },
163
- { "id": "doubao-seed-2.0-pro", "displayName": "Doubao Seed 2.0 Pro", "contextWindow": 256000 },
164
- { "id": "doubao-seed-2.0-lite", "displayName": "Doubao Seed 2.0 Lite", "contextWindow": 256000 }
165
- ],
166
- "reasoningCapability": "native-budget",
167
- "capabilityProfile": "image-input-native",
168
- "supportsThinking": true,
169
- "contextWindow": 200000,
170
- "maxOutputTokens": 32000,
171
- "verifyStrategy": "count-tokens"
172
- },
173
- "gemini-cli": {
174
- "apiKeyEnv": "GEMINI_API_KEY",
175
- "cliBridge": true,
176
- "reasoningCapability": "prompt-only",
177
- "capabilityProfile": "image-input-cli-bridge",
178
- "supportsThinking": false,
179
- "verifyStrategy": "unsupported"
180
- },
181
- "codex-cli": {
182
- "apiKeyEnv": "OPENAI_API_KEY",
183
- "cliBridge": true,
184
- "reasoningCapability": "prompt-only",
185
- "capabilityProfile": "cli-bridge",
186
- "supportsThinking": false,
187
- "verifyStrategy": "unsupported"
188
- }
189
- }
190
- }
1
+ {
2
+ "version": 1,
3
+ "updatedAt": "2026-06-14",
4
+ "providers": {
5
+ "anthropic": {
6
+ "apiKeyEnv": "ANTHROPIC_API_KEY",
7
+ "model": "claude-sonnet-4-6",
8
+ "models": [
9
+ { "id": "claude-opus-4-6", "displayName": "Opus 4.6", "thinkingBudgetCap": 28000 },
10
+ { "id": "claude-haiku-4-5", "displayName": "Haiku 4.5", "thinkingBudgetCap": 10000 }
11
+ ],
12
+ "reasoningCapability": "native-budget",
13
+ "capabilityProfile": "image-input-native",
14
+ "supportsThinking": true,
15
+ "contextWindow": 200000,
16
+ "maxOutputTokens": 64000,
17
+ "thinkingBudgetCap": 28000,
18
+ "verifyStrategy": "count-tokens"
19
+ },
20
+ "openai": {
21
+ "apiKeyEnv": "OPENAI_API_KEY",
22
+ "model": "gpt-5.3-codex",
23
+ "models": [
24
+ { "id": "gpt-5.4", "displayName": "GPT-5.4" },
25
+ { "id": "gpt-5.3-codex-spark", "displayName": "GPT-5.3 Codex Spark" }
26
+ ],
27
+ "reasoningCapability": "native-effort",
28
+ "capabilityProfile": "image-input-native",
29
+ "supportsThinking": true,
30
+ "contextWindow": 400000,
31
+ "maxOutputTokens": 32768,
32
+ "verifyStrategy": "models-list"
33
+ },
34
+ "deepseek": {
35
+ "apiKeyEnv": "DEEPSEEK_API_KEY",
36
+ "model": "deepseek-v4-flash",
37
+ "models": [
38
+ { "id": "deepseek-v4-pro", "displayName": "DeepSeek V4 Pro" }
39
+ ],
40
+ "reasoningCapability": "native-effort",
41
+ "capabilityProfile": "image-input-native",
42
+ "supportsThinking": true,
43
+ "contextWindow": 1000000,
44
+ "maxOutputTokens": 64000,
45
+ "verifyStrategy": "models-list"
46
+ },
47
+ "kimi": {
48
+ "apiKeyEnv": "KIMI_API_KEY",
49
+ "model": "kimi-k2.6",
50
+ "models": [
51
+ { "id": "kimi-k2.7-code", "displayName": "Kimi K2.7 Code", "contextWindow": 256000 },
52
+ { "id": "k2.5", "displayName": "K2.5" }
53
+ ],
54
+ "reasoningCapability": "native-effort",
55
+ "capabilityProfile": "image-input-native",
56
+ "supportsThinking": true,
57
+ "contextWindow": 256000,
58
+ "maxOutputTokens": 32768,
59
+ "verifyStrategy": "models-list"
60
+ },
61
+ "kimi-code": {
62
+ "apiKeyEnv": "KIMI_CODE_API_KEY",
63
+ "model": "kimi-for-coding",
64
+ "reasoningCapability": "native-budget",
65
+ "capabilityProfile": "image-input-native",
66
+ "supportsThinking": true,
67
+ "contextWindow": 256000,
68
+ "maxOutputTokens": 32000,
69
+ "verifyStrategy": "count-tokens"
70
+ },
71
+ "qwen": {
72
+ "apiKeyEnv": "QWEN_API_KEY",
73
+ "model": "qwen3.5-plus",
74
+ "reasoningCapability": "native-budget",
75
+ "capabilityProfile": "image-input-native",
76
+ "supportsThinking": true,
77
+ "contextWindow": 256000,
78
+ "maxOutputTokens": 32768,
79
+ "verifyStrategy": "models-list"
80
+ },
81
+ "zhipu": {
82
+ "apiKeyEnv": "ZHIPU_API_KEY",
83
+ "model": "glm-5",
84
+ "models": [
85
+ { "id": "glm-5.2", "displayName": "GLM-5.2", "contextWindow": 1000000, "maxOutputTokens": 131072 },
86
+ { "id": "glm-5.1", "displayName": "GLM-5.1" },
87
+ { "id": "glm-5-turbo", "displayName": "GLM-5 Turbo" }
88
+ ],
89
+ "reasoningCapability": "native-budget",
90
+ "capabilityProfile": "image-input-native",
91
+ "supportsThinking": true,
92
+ "contextWindow": 200000,
93
+ "maxOutputTokens": 32768,
94
+ "verifyStrategy": "minimal-message"
95
+ },
96
+ "zhipu-coding": {
97
+ "apiKeyEnv": "ZHIPU_CODING_API_KEY",
98
+ "model": "glm-5",
99
+ "models": [
100
+ { "id": "glm-5.2", "displayName": "GLM-5.2", "contextWindow": 1000000, "maxOutputTokens": 131072 },
101
+ { "id": "glm-5.1", "displayName": "GLM-5.1" },
102
+ { "id": "glm-5-turbo", "displayName": "GLM-5 Turbo" }
103
+ ],
104
+ "reasoningCapability": "native-budget",
105
+ "capabilityProfile": "image-input-native",
106
+ "supportsThinking": true,
107
+ "contextWindow": 200000,
108
+ "maxOutputTokens": 16000,
109
+ "thinkingBudgetCap": 16000,
110
+ "verifyStrategy": "count-tokens"
111
+ },
112
+ "minimax-coding": {
113
+ "apiKeyEnv": "MINIMAX_CODING_API_KEY",
114
+ "model": "MiniMax-M2.7",
115
+ "models": [
116
+ { "id": "MiniMax-M3", "displayName": "MiniMax M3 (Frontier Coding, 1M ctx)", "contextWindow": 1000000 },
117
+ { "id": "MiniMax-M2.7-highspeed", "displayName": "MiniMax M2.7 Highspeed (higher-tier plan)" }
118
+ ],
119
+ "reasoningCapability": "native-budget",
120
+ "capabilityProfile": "image-input-native",
121
+ "supportsThinking": true,
122
+ "contextWindow": 204800,
123
+ "maxOutputTokens": 32000,
124
+ "verifyStrategy": "count-tokens"
125
+ },
126
+ "mimo-coding": {
127
+ "apiKeyEnv": "MIMO_CODING_API_KEY",
128
+ "model": "mimo-v2.5-pro",
129
+ "models": [
130
+ { "id": "mimo-v2.5", "displayName": "MiMo V2.5" }
131
+ ],
132
+ "reasoningCapability": "native-budget",
133
+ "capabilityProfile": "image-input-native",
134
+ "supportsThinking": true,
135
+ "contextWindow": 1000000,
136
+ "maxOutputTokens": 32000,
137
+ "thinkingBudgetCap": 16000,
138
+ "verifyStrategy": "minimal-message"
139
+ },
140
+ "mimo": {
141
+ "apiKeyEnv": "MIMO_API_KEY",
142
+ "model": "mimo-v2.5-pro",
143
+ "models": [
144
+ { "id": "mimo-v2.5", "displayName": "MiMo V2.5" }
145
+ ],
146
+ "reasoningCapability": "native-budget",
147
+ "capabilityProfile": "image-input-native",
148
+ "supportsThinking": true,
149
+ "contextWindow": 1000000,
150
+ "maxOutputTokens": 32000,
151
+ "thinkingBudgetCap": 16000,
152
+ "verifyStrategy": "minimal-message"
153
+ },
154
+ "ark-coding": {
155
+ "apiKeyEnv": "ARK_CODING_API_KEY",
156
+ "model": "glm-5.1",
157
+ "models": [
158
+ { "id": "glm-4.7", "displayName": "GLM-4.7" },
159
+ { "id": "kimi-k2.6", "displayName": "Kimi K2.6", "contextWindow": 256000 },
160
+ { "id": "MiniMax-M3", "displayName": "MiniMax M3 (Frontier Coding, 1M ctx)", "contextWindow": 1000000 },
161
+ { "id": "MiniMax-M2.7", "displayName": "MiniMax M2.7", "contextWindow": 204800 },
162
+ { "id": "deepseek-v3.2", "displayName": "DeepSeek V3.2", "contextWindow": 128000 },
163
+ { "id": "deepseek-v4-pro", "displayName": "DeepSeek V4 Pro", "contextWindow": 1000000 },
164
+ { "id": "deepseek-v4-flash", "displayName": "DeepSeek V4 Flash", "contextWindow": 1000000 },
165
+ { "id": "doubao-seed-2.0-code", "displayName": "Doubao Seed 2.0 Code", "contextWindow": 256000 },
166
+ { "id": "doubao-seed-2.0-pro", "displayName": "Doubao Seed 2.0 Pro", "contextWindow": 256000 },
167
+ { "id": "doubao-seed-2.0-lite", "displayName": "Doubao Seed 2.0 Lite", "contextWindow": 256000 }
168
+ ],
169
+ "reasoningCapability": "native-budget",
170
+ "capabilityProfile": "image-input-native",
171
+ "supportsThinking": true,
172
+ "contextWindow": 200000,
173
+ "maxOutputTokens": 32000,
174
+ "verifyStrategy": "count-tokens"
175
+ },
176
+ "gemini-cli": {
177
+ "apiKeyEnv": "GEMINI_API_KEY",
178
+ "cliBridge": true,
179
+ "reasoningCapability": "prompt-only",
180
+ "capabilityProfile": "image-input-cli-bridge",
181
+ "supportsThinking": false,
182
+ "verifyStrategy": "unsupported"
183
+ },
184
+ "codex-cli": {
185
+ "apiKeyEnv": "OPENAI_API_KEY",
186
+ "cliBridge": true,
187
+ "reasoningCapability": "prompt-only",
188
+ "capabilityProfile": "cli-bridge",
189
+ "supportsThinking": false,
190
+ "verifyStrategy": "unsupported"
191
+ }
192
+ }
193
+ }