@kodax-ai/kodax 0.7.77 → 0.7.79

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 (133) hide show
  1. package/CHANGELOG.md +3651 -3201
  2. package/README.md +317 -110
  3. package/README_CN.md +255 -91
  4. package/config-templates/config.example.jsonc +124 -32
  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-V4AC5JZD.js +2 -0
  30. package/dist/chunks/argument-completer-ZPC2MLES.js +2 -0
  31. package/dist/chunks/chunk-5BNQXXGY.js +1 -0
  32. package/dist/chunks/{chunk-EH7AOMJ7.js → chunk-67THZRM6.js} +1 -1
  33. package/dist/chunks/chunk-6GVQDQTQ.js +292 -0
  34. package/dist/chunks/chunk-B6UY3VHV.js +348 -0
  35. package/dist/chunks/{chunk-HORNWBYR.js → chunk-BBOVVDQJ.js} +1 -1
  36. package/dist/chunks/chunk-CR2IF7VF.js +30 -0
  37. package/dist/chunks/{chunk-FNW2XUL5.js → chunk-CXHEZY5G.js} +1 -1
  38. package/dist/chunks/chunk-EDZ4QILG.js +266 -0
  39. package/dist/chunks/chunk-GEECPO2H.js +218 -0
  40. package/dist/chunks/chunk-H5LLM7DB.js +89 -0
  41. package/dist/chunks/chunk-KLWP7POA.js +467 -0
  42. package/dist/chunks/{chunk-XSA37BVM.js → chunk-M4N2JZTZ.js} +2 -2
  43. package/dist/chunks/chunk-OWQT3FTE.js +5 -0
  44. package/dist/chunks/chunk-Q4M7DJOD.js +319 -0
  45. package/dist/chunks/{chunk-3DD4QEBH.js → chunk-QCZLCLFL.js} +10 -10
  46. package/dist/chunks/chunk-RQPMGRTR.js +810 -0
  47. package/dist/chunks/chunk-SG6P4SZS.js +123 -0
  48. package/dist/chunks/chunk-TSTVAU5E.js +386 -0
  49. package/dist/chunks/chunk-ZCZZUE5E.js +662 -0
  50. package/dist/chunks/compaction-config-AEUGVROL.js +2 -0
  51. package/dist/chunks/{construction-bootstrap-RPRL3L7R.js → construction-bootstrap-K3ZGEN5N.js} +1 -1
  52. package/dist/chunks/dist-GFJFRPAV.js +2 -0
  53. package/dist/chunks/{dist-FDSOIR35.js → dist-JMO47GJV.js} +1 -1
  54. package/dist/chunks/host-23K2Q6RZ.js +2 -0
  55. package/dist/chunks/run-manager-PGIR6ITA.js +2 -0
  56. package/dist/chunks/utils-6LEKJPQN.js +2 -0
  57. package/dist/index.d.ts +22 -21
  58. package/dist/index.js +6 -6
  59. package/dist/kodax_bootstrap.js +2 -1
  60. package/dist/kodax_cli.js +2225 -1468
  61. package/dist/kodax_resume.js +570 -34
  62. package/dist/provider-capabilities.json +85 -50
  63. package/dist/runtime-worker.js +2076 -1343
  64. package/dist/sandbox-workspace-session.js +829 -0
  65. package/dist/sdk-a2a.d.ts +24 -18
  66. package/dist/sdk-a2a.js +8 -8
  67. package/dist/sdk-agent.d.ts +315 -168
  68. package/dist/sdk-agent.js +1 -1
  69. package/dist/sdk-coding.d.ts +42 -205
  70. package/dist/sdk-coding.js +1 -1
  71. package/dist/sdk-experimental-memory.d.ts +3 -3
  72. package/dist/sdk-experimental-memory.js +1 -1
  73. package/dist/sdk-llm.d.ts +7 -6
  74. package/dist/sdk-llm.js +1 -1
  75. package/dist/sdk-mcp.d.ts +1 -1
  76. package/dist/sdk-mcp.js +1 -1
  77. package/dist/sdk-media.d.ts +1 -1
  78. package/dist/sdk-media.js +1 -1
  79. package/dist/sdk-repl.d.ts +77 -36
  80. package/dist/sdk-repl.js +2 -2
  81. package/dist/sdk-runtime.d.ts +406 -163
  82. package/dist/sdk-runtime.js +1 -1
  83. package/dist/sdk-sandbox.d.ts +93 -0
  84. package/dist/sdk-sandbox.js +2 -0
  85. package/dist/sdk-session.d.ts +8 -9
  86. package/dist/sdk-session.js +1 -1
  87. package/dist/sdk-skills.d.ts +2 -2
  88. package/dist/sdk-skills.js +1 -1
  89. package/dist/semantic-worker.js +283 -18
  90. package/dist/types-chunks/{base.d-4e74xDdy.d.ts → base.d-DxG0m09Z.d.ts} +1 -1
  91. package/dist/types-chunks/{bash-prefix-extractor.d-pZdu6qt7.d.ts → bash-prefix-extractor.d-CNSidpmv.d.ts} +149 -10
  92. package/dist/types-chunks/{capability-learning.d-CVsdHw4j.d.ts → capability-learning.d-iPSiAmc_.d.ts} +1 -1
  93. package/dist/types-chunks/{capsule.d-CxCm1KZz.d.ts → capsule.d-B3q98pLQ.d.ts} +9 -7
  94. package/dist/types-chunks/{types.d-RdWRfUEs.d.ts → controller.d-RGV7Pjv9.d.ts} +785 -8
  95. package/dist/types-chunks/{guardrail.d-B0PwAZVR.d.ts → guardrail.d-1NLSFTyN.d.ts} +310 -70
  96. package/dist/types-chunks/{history-retrieval.d-B__aEN62.d.ts → history-retrieval.d-BAegI14A.d.ts} +16 -3
  97. package/dist/types-chunks/{integration-config.d-ojG4swOP.d.ts → integration-config.d-BNowXE8k.d.ts} +23 -8
  98. package/dist/types-chunks/{oauth-login.d-Bgb4rdLN.d.ts → oauth-login.d-6i-vidxv.d.ts} +6 -2
  99. package/dist/types-chunks/{public-api.d--fF88JrC.d.ts → public-api.d-BpJhHoa7.d.ts} +366 -28
  100. package/dist/types-chunks/{commands.d-BccESAMV.d.ts → repl.d-CZ12Ow3X.d.ts} +89 -78
  101. package/dist/types-chunks/{side-query.d-5JvXhuOZ.d.ts → resolver.d-C9IW4fmU.d.ts} +7 -67
  102. package/dist/types-chunks/{run-manager.d-B47hIqnI.d.ts → run-manager.d-CX3AUocA.d.ts} +1 -1
  103. package/dist/types-chunks/{sdk-session-CLWf8Adb.d.ts → sdk-session-B3cfJKqF.d.ts} +3 -3
  104. package/dist/types-chunks/side-query.d-CP1LiRiH.d.ts +83 -0
  105. package/dist/types-chunks/{types-LanCEDj8.d.ts → types-Bf3Y3mW-.d.ts} +42 -3
  106. package/dist/types-chunks/{types.d-CODuyyqy.d.ts → types.d-BZ9oXvTV.d.ts} +2 -2
  107. package/dist/types-chunks/{types.d-DCQVBqVn.d.ts → types.d-BbtGlKZu.d.ts} +25 -3
  108. package/dist/types-chunks/{types.d-DCsKM8aT.d.ts → types.d-C0_rn--1.d.ts} +4 -4
  109. package/dist/types-chunks/{types.d-DIpZJKUl.d.ts → types.d-CgrXrFrq.d.ts} +16 -2
  110. package/dist/types-chunks/{utils.d-CDduqbFw.d.ts → utils.d-CGpHavsU.d.ts} +32 -8
  111. package/docs/SDK_EMBEDDER_GUIDE.md +1117 -227
  112. package/package.json +11 -1
  113. package/dist/chunks/agent-NGSWFE73.js +0 -2
  114. package/dist/chunks/argument-completer-WGGZPEEO.js +0 -2
  115. package/dist/chunks/chunk-27QLRH3D.js +0 -5
  116. package/dist/chunks/chunk-2MQPVY6P.js +0 -770
  117. package/dist/chunks/chunk-6WAPVAGQ.js +0 -74
  118. package/dist/chunks/chunk-AOENDSVN.js +0 -448
  119. package/dist/chunks/chunk-FSXI4MAV.js +0 -78
  120. package/dist/chunks/chunk-HV2GMZUZ.js +0 -343
  121. package/dist/chunks/chunk-IQT4RPCE.js +0 -46
  122. package/dist/chunks/chunk-JS2BHGJP.js +0 -158
  123. package/dist/chunks/chunk-OAMKECRG.js +0 -381
  124. package/dist/chunks/chunk-ON2WG2LG.js +0 -622
  125. package/dist/chunks/chunk-RUGAAHTF.js +0 -321
  126. package/dist/chunks/chunk-TGCG7U2W.js +0 -37
  127. package/dist/chunks/compaction-config-BE7VYWH6.js +0 -2
  128. package/dist/chunks/dist-ZZBNVTKU.js +0 -2
  129. package/dist/chunks/host-QAKQVC4A.js +0 -2
  130. package/dist/chunks/run-manager-N4UFWA2D.js +0 -2
  131. package/dist/chunks/utils-AUHCI4D5.js +0 -2
  132. package/dist/types-chunks/center-types.d-BBT122uJ.d.ts +0 -91
  133. package/dist/types-chunks/guardrail.d-CJx9RRd3.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",