@kodax-ai/kodax 0.7.78 → 0.7.80

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 (126) hide show
  1. package/CHANGELOG.md +3556 -3197
  2. package/README.md +371 -277
  3. package/README_CN.md +295 -215
  4. package/config-templates/config.example.jsonc +24 -2
  5. package/config-templates/integrations/a2a.example.jsonc +23 -7
  6. package/dist/builtin/skill-creator/scripts/aggregate-benchmark.js +2 -1
  7. package/dist/builtin/skill-creator/scripts/analyze-benchmark.d.ts +1 -0
  8. package/dist/builtin/skill-creator/scripts/analyze-benchmark.js +4 -3
  9. package/dist/builtin/skill-creator/scripts/compare-runs.d.ts +1 -0
  10. package/dist/builtin/skill-creator/scripts/compare-runs.js +4 -3
  11. package/dist/builtin/skill-creator/scripts/generate-review.js +2 -1
  12. package/dist/builtin/skill-creator/scripts/grade-evals.d.ts +1 -0
  13. package/dist/builtin/skill-creator/scripts/grade-evals.js +4 -3
  14. package/dist/builtin/skill-creator/scripts/improve-description.js +2 -1
  15. package/dist/builtin/skill-creator/scripts/init-skill.d.ts +1 -0
  16. package/dist/builtin/skill-creator/scripts/init-skill.js +4 -3
  17. package/dist/builtin/skill-creator/scripts/install-skill.d.ts +1 -0
  18. package/dist/builtin/skill-creator/scripts/install-skill.js +4 -3
  19. package/dist/builtin/skill-creator/scripts/package-skill.d.ts +1 -0
  20. package/dist/builtin/skill-creator/scripts/package-skill.js +4 -3
  21. package/dist/builtin/skill-creator/scripts/quick-validate.d.ts +1 -0
  22. package/dist/builtin/skill-creator/scripts/quick-validate.js +4 -3
  23. package/dist/builtin/skill-creator/scripts/run-eval.d.ts +1 -0
  24. package/dist/builtin/skill-creator/scripts/run-eval.js +4 -3
  25. package/dist/builtin/skill-creator/scripts/run-loop.js +2 -1
  26. package/dist/builtin/skill-creator/scripts/run-trigger-eval.js +2 -1
  27. package/dist/builtin/skill-creator/scripts/utils.d.ts +3 -0
  28. package/dist/builtin/skill-creator/scripts/utils.js +5 -1
  29. package/dist/chunks/agent-5PHGNFW3.js +2 -0
  30. package/dist/chunks/argument-completer-FXRZFMTC.js +2 -0
  31. package/dist/chunks/chunk-6UENDY33.js +89 -0
  32. package/dist/chunks/{chunk-6FOJVETH.js → chunk-BWX4YZX3.js} +7 -7
  33. package/dist/chunks/chunk-CDCCTM5I.js +278 -0
  34. package/dist/chunks/chunk-CEB5FDND.js +810 -0
  35. package/dist/chunks/{chunk-2CFHBKRE.js → chunk-E7C4DRD2.js} +2 -2
  36. package/dist/chunks/chunk-EVXIJPZ6.js +218 -0
  37. package/dist/chunks/chunk-FQ7NVMSU.js +319 -0
  38. package/dist/chunks/chunk-GC4JBMBS.js +385 -0
  39. package/dist/chunks/{chunk-Z3KFRTSB.js → chunk-HTVLCHWH.js} +1 -1
  40. package/dist/chunks/chunk-IHPH3444.js +655 -0
  41. package/dist/chunks/{chunk-YAZQTC2L.js → chunk-KHEFUT6O.js} +1 -1
  42. package/dist/chunks/{chunk-7OEBJGHK.js → chunk-PMKAG4SZ.js} +1 -1
  43. package/dist/chunks/chunk-RPF5RGWZ.js +479 -0
  44. package/dist/chunks/{chunk-UID7BLAB.js → chunk-RXXKDR6Y.js} +1 -1
  45. package/dist/chunks/chunk-T5U4OP2N.js +292 -0
  46. package/dist/chunks/chunk-TRNAWSXP.js +123 -0
  47. package/dist/chunks/chunk-UZSHBQER.js +30 -0
  48. package/dist/chunks/{chunk-TQDBTTIM.js → chunk-VECRQTSD.js} +44 -44
  49. package/dist/chunks/compaction-config-6J6XCBJS.js +2 -0
  50. package/dist/chunks/{construction-bootstrap-VQLQGWPY.js → construction-bootstrap-KPCAE3VN.js} +1 -1
  51. package/dist/chunks/dist-RWEVZOFK.js +2 -0
  52. package/dist/chunks/{dist-BFT5YIGU.js → dist-WWL2DNIJ.js} +1 -1
  53. package/dist/chunks/host-OGS2R5J4.js +2 -0
  54. package/dist/chunks/run-manager-2YMM3BOT.js +2 -0
  55. package/dist/chunks/{utils-SID4HW2Q.js → utils-2YHRUZYC.js} +1 -1
  56. package/dist/index.d.ts +21 -20
  57. package/dist/index.js +4 -4
  58. package/dist/kodax_bootstrap.js +2 -1
  59. package/dist/kodax_cli.js +1850 -1476
  60. package/dist/kodax_resume.js +570 -34
  61. package/dist/provider-capabilities.json +85 -50
  62. package/dist/runtime-worker.js +1737 -1369
  63. package/dist/sandbox-workspace-session.js +285 -19
  64. package/dist/sdk-a2a.d.ts +19 -13
  65. package/dist/sdk-a2a.js +8 -8
  66. package/dist/sdk-agent.d.ts +80 -150
  67. package/dist/sdk-agent.js +1 -1
  68. package/dist/sdk-coding.d.ts +186 -66
  69. package/dist/sdk-coding.js +1 -1
  70. package/dist/sdk-experimental-memory.d.ts +3 -3
  71. package/dist/sdk-experimental-memory.js +1 -1
  72. package/dist/sdk-llm.d.ts +7 -7
  73. package/dist/sdk-llm.js +1 -1
  74. package/dist/sdk-mcp.d.ts +1 -1
  75. package/dist/sdk-mcp.js +1 -1
  76. package/dist/sdk-media.d.ts +1 -1
  77. package/dist/sdk-media.js +1 -1
  78. package/dist/sdk-repl.d.ts +31 -213
  79. package/dist/sdk-repl.js +2 -2
  80. package/dist/sdk-runtime.d.ts +230 -31
  81. package/dist/sdk-runtime.js +1 -1
  82. package/dist/sdk-sandbox.js +1 -1
  83. package/dist/sdk-session.d.ts +8 -8
  84. package/dist/sdk-session.js +1 -1
  85. package/dist/sdk-skills.js +1 -1
  86. package/dist/semantic-worker.js +283 -18
  87. package/dist/types-chunks/{base.d-4e74xDdy.d.ts → base.d-DxG0m09Z.d.ts} +1 -1
  88. package/dist/types-chunks/{bash-prefix-extractor.d-uAe2Oqda.d.ts → bash-prefix-extractor.d-DStqKIlu.d.ts} +31 -8
  89. package/dist/types-chunks/{capability-learning.d-CVsdHw4j.d.ts → capability-learning.d-iPSiAmc_.d.ts} +1 -1
  90. package/dist/types-chunks/{capsule.d-BlSv9l3V.d.ts → capsule.d-BuFJaYxA.d.ts} +14 -21
  91. package/dist/types-chunks/{types.d-BA-Jwpfs.d.ts → controller.d-C2aHqzHj.d.ts} +344 -11
  92. package/dist/types-chunks/{guardrail.d-CXDYRgZ3.d.ts → guardrail.d-DM-OK0m3.d.ts} +187 -116
  93. package/dist/types-chunks/{history-retrieval.d-DtCy7x64.d.ts → history-retrieval.d-DImTKgO6.d.ts} +16 -3
  94. package/dist/types-chunks/{oauth-login.d-Bgb4rdLN.d.ts → oauth-login.d-6i-vidxv.d.ts} +6 -2
  95. package/dist/types-chunks/{public-api.d-B3AohsxN.d.ts → public-api.d-CewTvUKV.d.ts} +335 -38
  96. package/dist/types-chunks/{repl.d-Ie_ZXb_U.d.ts → repl.d-DvXQtgr7.d.ts} +5 -5
  97. package/dist/types-chunks/{resolver.d-iAQ9ocLB.d.ts → resolver.d-C9IW4fmU.d.ts} +5 -2
  98. package/dist/types-chunks/{run-manager.d-D1twIhF9.d.ts → run-manager.d-C6ahvZqK.d.ts} +1 -1
  99. package/dist/types-chunks/{sdk-session-DB9KksIx.d.ts → sdk-session-C59RUrri.d.ts} +3 -3
  100. package/dist/types-chunks/shell-command-sets.d-Dp4UvPLL.d.ts +297 -0
  101. package/dist/types-chunks/{side-query.d-DTuLPcC5.d.ts → side-query.d-CP1LiRiH.d.ts} +8 -2
  102. package/dist/types-chunks/{types-D3g6XUQr.d.ts → types-Bf3Y3mW-.d.ts} +1 -1
  103. package/dist/types-chunks/{types.d-BH0ZkTGf.d.ts → types.d-BzpPDBPV.d.ts} +2 -2
  104. package/dist/types-chunks/{types.d-DIpZJKUl.d.ts → types.d-CgrXrFrq.d.ts} +16 -2
  105. package/dist/types-chunks/{types.d-DVDTIfB_.d.ts → types.d-yuJzE82x.d.ts} +4 -4
  106. package/dist/types-chunks/{utils.d-CVp6bFl9.d.ts → utils.d-BpACJmzt.d.ts} +24 -6
  107. package/docs/SDK_EMBEDDER_GUIDE.md +1148 -598
  108. package/package.json +6 -3
  109. package/dist/chunks/agent-ASP4MS3X.js +0 -2
  110. package/dist/chunks/argument-completer-JYQ7FX3W.js +0 -2
  111. package/dist/chunks/chunk-35PPHOQ2.js +0 -292
  112. package/dist/chunks/chunk-43QNNDHR.js +0 -29
  113. package/dist/chunks/chunk-5GO6FH7L.js +0 -458
  114. package/dist/chunks/chunk-5NDCSFOP.js +0 -78
  115. package/dist/chunks/chunk-6XM4B6K2.js +0 -48
  116. package/dist/chunks/chunk-6YZUE6NC.js +0 -240
  117. package/dist/chunks/chunk-KQLQYHWU.js +0 -386
  118. package/dist/chunks/chunk-NXO6GWSY.js +0 -46
  119. package/dist/chunks/chunk-T2XZTLYE.js +0 -316
  120. package/dist/chunks/chunk-VAT2QYXM.js +0 -765
  121. package/dist/chunks/chunk-YVRYHC4C.js +0 -655
  122. package/dist/chunks/compaction-config-BQSSIWK5.js +0 -2
  123. package/dist/chunks/dist-PCFE24YP.js +0 -2
  124. package/dist/chunks/host-UTFXCYYM.js +0 -2
  125. package/dist/chunks/run-manager-PJU3WIFJ.js +0 -2
  126. package/dist/types-chunks/guardrail.d-BRE_ErEj.d.ts +0 -156
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "updatedAt": "2026-07-25",
3
+ "updatedAt": "2026-08-03",
4
4
  "providers": {
5
5
  "anthropic": {
6
6
  "apiKeyEnv": "ANTHROPIC_API_KEY",
@@ -151,40 +151,66 @@
151
151
  "verifyStrategy": "models-list"
152
152
  },
153
153
  "deepseek": {
154
- "apiKeyEnv": "DEEPSEEK_API_KEY",
155
- "model": "deepseek-v4-flash",
156
- "models": [
157
- { "id": "deepseek-v4-pro", "displayName": "DeepSeek V4 Pro" }
158
- ],
154
+ "apiKeyEnv": "DEEPSEEK_API_KEY",
155
+ "model": "deepseek-v4-flash",
156
+ "models": [
157
+ {
158
+ "id": "deepseek-v4-pro",
159
+ "displayName": "DeepSeek V4 Pro",
160
+ "reasoningProfile": {
161
+ "reasoningPreset": "deepseek-v4-pro-openai",
162
+ "effortStrategy": "openai-chat-effort",
163
+ "thinkingStrategy": "provider-toggle",
164
+ "defaultEffort": "high",
165
+ "supportedEfforts": [
166
+ { "value": "none", "description": "Disable thinking" },
167
+ { "value": "minimal", "description": "Disable thinking", "isUserVisible": false },
168
+ { "value": "low", "description": "Alias to high" },
169
+ { "value": "medium", "description": "Alias to high" },
170
+ { "value": "high", "description": "DeepSeek high reasoning", "isDefault": true },
171
+ { "value": "xhigh", "description": "Alias to max" },
172
+ { "value": "max", "description": "DeepSeek max reasoning" }
173
+ ],
174
+ "effortAliases": {
175
+ "low": "high",
176
+ "medium": "high",
177
+ "xhigh": "max"
178
+ },
179
+ "disabledEfforts": ["none", "minimal"],
180
+ "supportsReasoningEffort": true,
181
+ "supportsDisabledThinking": true
182
+ }
183
+ }
184
+ ],
159
185
  "reasoningCapability": "native-effort",
160
186
  "reasoningProfile": {
161
- "reasoningPreset": "deepseek-v4-openai",
187
+ "reasoningPreset": "deepseek-v4-flash-openai",
162
188
  "effortStrategy": "openai-chat-effort",
163
189
  "thinkingStrategy": "provider-toggle",
164
190
  "defaultEffort": "high",
165
191
  "supportedEfforts": [
166
192
  { "value": "none", "description": "Disable thinking" },
167
193
  { "value": "minimal", "description": "Disable thinking", "isUserVisible": false },
168
- { "value": "low", "description": "Alias to high" },
169
- { "value": "medium", "description": "Alias to high" },
170
- { "value": "high", "description": "DeepSeek high reasoning", "isDefault": true },
171
- { "value": "xhigh", "description": "Alias to max" },
172
- { "value": "max", "description": "DeepSeek max reasoning" }
173
- ],
174
- "effortAliases": {
175
- "low": "high",
176
- "medium": "high",
177
- "xhigh": "max"
178
- },
194
+ { "value": "low", "description": "DeepSeek low reasoning" },
195
+ { "value": "medium", "description": "Alias to high" },
196
+ { "value": "high", "description": "DeepSeek high reasoning", "isDefault": true },
197
+ { "value": "xhigh", "description": "Alias to high" },
198
+ { "value": "max", "description": "DeepSeek max reasoning" }
199
+ ],
200
+ "effortAliases": {
201
+ "medium": "high",
202
+ "xhigh": "high"
203
+ },
179
204
  "disabledEfforts": ["none", "minimal"],
180
205
  "supportsReasoningEffort": true,
181
206
  "supportsDisabledThinking": true
182
207
  },
183
- "capabilityProfile": "image-input-native",
208
+ "capabilityProfile": "native",
184
209
  "supportsThinking": true,
185
- "contextWindow": 1000000,
186
- "maxOutputTokens": 64000,
187
- "verifyStrategy": "models-list"
210
+ "contextWindow": 1000000,
211
+ "maxOutputTokens": 64000,
212
+ "maxOutputTokensField": "max_tokens",
213
+ "verifyStrategy": "models-list"
188
214
  },
189
215
  "kimi": {
190
216
  "apiKeyEnv": "KIMI_API_KEY",
@@ -413,14 +439,19 @@
413
439
  "maxOutputTokens": 32768,
414
440
  "verifyStrategy": "models-list"
415
441
  },
416
- "qwen-token-plan": {
417
- "apiKeyEnv": "QWEN_TOKEN_API_KEY",
418
- "model": "qwen3.8-max-preview",
419
- "models": [
420
- {
421
- "id": "qwen3.7-max",
422
- "displayName": "Qwen 3.7 Max",
423
- "reasoningProfile": {
442
+ "qwen-token-plan": {
443
+ "apiKeyEnv": "QWEN_TOKEN_API_KEY",
444
+ "model": "qwen3.8-max",
445
+ "models": [
446
+ {
447
+ "id": "qwen3.8-max-preview",
448
+ "displayName": "Qwen 3.8 Max Preview"
449
+ },
450
+ {
451
+ "id": "qwen3.7-max",
452
+ "displayName": "Qwen 3.7 Max",
453
+ "maxOutputTokens": 64000,
454
+ "reasoningProfile": {
424
455
  "reasoningPreset": "qwen-hybrid-thinking",
425
456
  "effortStrategy": "provider-budget",
426
457
  "thinkingStrategy": "provider-budget",
@@ -446,10 +477,11 @@
446
477
  "supportsDisabledThinking": true
447
478
  }
448
479
  },
449
- {
450
- "id": "qwen3.7-plus",
451
- "displayName": "Qwen 3.7 Plus",
452
- "reasoningProfile": {
480
+ {
481
+ "id": "qwen3.7-plus",
482
+ "displayName": "Qwen 3.7 Plus",
483
+ "maxOutputTokens": 64000,
484
+ "reasoningProfile": {
453
485
  "reasoningPreset": "qwen-hybrid-thinking",
454
486
  "effortStrategy": "provider-budget",
455
487
  "thinkingStrategy": "provider-budget",
@@ -475,10 +507,11 @@
475
507
  "supportsDisabledThinking": true
476
508
  }
477
509
  },
478
- {
479
- "id": "qwen3.6-flash",
480
- "displayName": "Qwen 3.6 Flash",
481
- "reasoningProfile": {
510
+ {
511
+ "id": "qwen3.6-flash",
512
+ "displayName": "Qwen 3.6 Flash",
513
+ "maxOutputTokens": 64000,
514
+ "reasoningProfile": {
482
515
  "reasoningPreset": "qwen-hybrid-thinking",
483
516
  "effortStrategy": "provider-budget",
484
517
  "thinkingStrategy": "provider-budget",
@@ -533,10 +566,11 @@
533
566
  "supportsDisabledThinking": true
534
567
  }
535
568
  },
536
- {
537
- "id": "deepseek-v4-pro",
538
- "displayName": "DeepSeek V4 Pro",
539
- "reasoningCapability": "native-effort",
569
+ {
570
+ "id": "deepseek-v4-pro",
571
+ "displayName": "DeepSeek V4 Pro",
572
+ "maxOutputTokens": 64000,
573
+ "reasoningCapability": "native-effort",
540
574
  "reasoningProfile": {
541
575
  "effortStrategy": "anthropic-reasoning-effort",
542
576
  "thinkingStrategy": "provider-toggle",
@@ -586,10 +620,10 @@
586
620
  "supportsDisabledThinking": false
587
621
  },
588
622
  "capabilityProfile": "image-input-native",
589
- "supportsThinking": true,
590
- "contextWindow": 1000000,
591
- "maxOutputTokens": 64000,
592
- "thinkingBudgetCap": 32000,
623
+ "supportsThinking": true,
624
+ "contextWindow": 1000000,
625
+ "maxOutputTokens": 131072,
626
+ "thinkingBudgetCap": 32000,
593
627
  "verifyStrategy": "count-tokens"
594
628
  },
595
629
  "zhipu": {
@@ -647,10 +681,11 @@
647
681
  "supportsDisabledThinking": true
648
682
  },
649
683
  "capabilityProfile": "image-input-native",
650
- "supportsThinking": true,
651
- "contextWindow": 200000,
652
- "maxOutputTokens": 32768,
653
- "verifyStrategy": "minimal-message"
684
+ "supportsThinking": true,
685
+ "contextWindow": 200000,
686
+ "maxOutputTokens": 32768,
687
+ "maxOutputTokensField": "max_tokens",
688
+ "verifyStrategy": "minimal-message"
654
689
  },
655
690
  "zhipu-coding": {
656
691
  "apiKeyEnv": "ZHIPU_CODING_API_KEY",