@kodax-ai/kodax 0.7.72 → 0.7.73

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 (86) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/README.md +48 -14
  3. package/README_CN.md +33 -10
  4. package/dist/chunks/{agent-YKGU4USA.js → agent-T6PGT6AU.js} +1 -1
  5. package/dist/chunks/argument-completer-QGMWA2C3.js +2 -0
  6. package/dist/chunks/{chunk-SQODXBLX.js → chunk-64M5HOCA.js} +1 -1
  7. package/dist/chunks/{chunk-PKQOEDHJ.js → chunk-6JTWXGVU.js} +217 -223
  8. package/dist/chunks/{chunk-IR5KIK7E.js → chunk-6RI2RBTF.js} +1 -1
  9. package/dist/chunks/chunk-AGDDM5AW.js +329 -0
  10. package/dist/chunks/chunk-BUPJGG3C.js +5 -0
  11. package/dist/chunks/chunk-EAD4SF3Z.js +413 -0
  12. package/dist/chunks/chunk-F7AIEHSS.js +46 -0
  13. package/dist/chunks/{chunk-E27LHEIP.js → chunk-GAFFYJU3.js} +1 -1
  14. package/dist/chunks/chunk-HVCNAZ52.js +365 -0
  15. package/dist/chunks/{chunk-MVARIMQV.js → chunk-M7FXNPWV.js} +2 -2
  16. package/dist/chunks/{chunk-44QXPEEE.js → chunk-MBAPT2R5.js} +1 -1
  17. package/dist/chunks/{chunk-WIBLZK4G.js → chunk-MLEAQTCD.js} +2 -2
  18. package/dist/chunks/{chunk-JSDLBXME.js → chunk-OG6DRNKV.js} +63 -63
  19. package/dist/chunks/{chunk-2RI252RN.js → chunk-PFH53O4M.js} +1 -1
  20. package/dist/chunks/chunk-V4F6IYNK.js +73 -0
  21. package/dist/chunks/chunk-WQ6PWGK5.js +320 -0
  22. package/dist/chunks/chunk-XXQLPTAN.js +78 -0
  23. package/dist/chunks/compaction-config-IHJBP4GO.js +2 -0
  24. package/dist/chunks/{construction-bootstrap-ZJPXUPXQ.js → construction-bootstrap-EGRUHKLP.js} +1 -1
  25. package/dist/chunks/dist-5N3I2RTW.js +2 -0
  26. package/dist/chunks/{dist-GOUP4YVE.js → dist-EVEJAII2.js} +1 -1
  27. package/dist/chunks/host-MECITNE3.js +2 -0
  28. package/dist/chunks/run-manager-AY7RQOWM.js +2 -0
  29. package/dist/chunks/{utils-OTT5CG5J.js → utils-2GAE4XIM.js} +1 -1
  30. package/dist/index.d.ts +16 -16
  31. package/dist/index.js +5 -5
  32. package/dist/kodax_cli.js +1341 -1320
  33. package/dist/provider-capabilities.json +184 -5
  34. package/dist/runtime-worker.js +1227 -1216
  35. package/dist/sdk-a2a.d.ts +10 -10
  36. package/dist/sdk-a2a.js +1 -1
  37. package/dist/sdk-agent.d.ts +13 -13
  38. package/dist/sdk-agent.js +1 -1
  39. package/dist/sdk-coding.d.ts +96 -30
  40. package/dist/sdk-coding.js +1 -1
  41. package/dist/sdk-experimental-memory.d.ts +1 -1
  42. package/dist/sdk-experimental-memory.js +1 -1
  43. package/dist/sdk-llm.d.ts +8 -49
  44. package/dist/sdk-llm.js +1 -1
  45. package/dist/sdk-mcp.js +1 -1
  46. package/dist/sdk-media.d.ts +1 -1
  47. package/dist/sdk-media.js +1 -1
  48. package/dist/sdk-repl.d.ts +138 -16
  49. package/dist/sdk-repl.js +2 -2
  50. package/dist/sdk-runtime.d.ts +99 -17
  51. package/dist/sdk-runtime.js +1 -1
  52. package/dist/sdk-session.d.ts +6 -6
  53. package/dist/sdk-session.js +1 -1
  54. package/dist/sdk-skills.js +1 -1
  55. package/dist/semantic-worker.js +10 -10
  56. package/dist/types-chunks/{base.d-Cz_rwpOi.d.ts → base.d-ChvpaKjZ.d.ts} +1 -1
  57. package/dist/types-chunks/{bash-prefix-extractor.d-CHJO5y94.d.ts → bash-prefix-extractor.d-bApf5nGw.d.ts} +3 -3
  58. package/dist/types-chunks/{capability-learning.d-_lR0J4iR.d.ts → capability-learning.d-DPrYxRjF.d.ts} +1 -1
  59. package/dist/types-chunks/{capsule.d-DxtdE-GD.d.ts → capsule.d-CGWltwno.d.ts} +2 -2
  60. package/dist/types-chunks/{commands.d-DZxHzH5-.d.ts → commands.d-CEHGwRok.d.ts} +62 -6
  61. package/dist/types-chunks/{guardrail.d-DlpMnd-Y.d.ts → guardrail.d-CC4vAQl7.d.ts} +2 -1
  62. package/dist/types-chunks/{guardrail.d-auV61_h5.d.ts → guardrail.d-CXIPlWP3.d.ts} +10 -10
  63. package/dist/types-chunks/{public-api.d--IDNJsu1.d.ts → public-api.d-FBmX0kxo.d.ts} +4 -3
  64. package/dist/types-chunks/{run-manager.d-Bh50OdVl.d.ts → run-manager.d-DUNnJcpE.d.ts} +1 -1
  65. package/dist/types-chunks/{sdk-session-Cfw6NFu-.d.ts → sdk-session-XqacVOs8.d.ts} +3 -3
  66. package/dist/types-chunks/{resolver.d-ssgNSlrh.d.ts → side-query.d-DWTMsndP.d.ts} +68 -5
  67. package/dist/types-chunks/{types.d-DH1mvdcl.d.ts → types.d-BnPhGmar.d.ts} +3 -1
  68. package/dist/types-chunks/{types.d-Cqaw71Ax.d.ts → types.d-CSmF0t0n.d.ts} +6 -5
  69. package/dist/types-chunks/{types.d-EqQmHztg.d.ts → types.d-DKr6TCXL.d.ts} +16 -9
  70. package/dist/types-chunks/{types.d-CNZgY52F.d.ts → types.d-DgciGHoG.d.ts} +2 -2
  71. package/dist/types-chunks/{utils.d-gmn3c5U4.d.ts → utils.d-BPYX7-KN.d.ts} +94 -10
  72. package/docs/SDK_EMBEDDER_GUIDE.md +128 -21
  73. package/package.json +2 -2
  74. package/dist/chunks/argument-completer-QZETLNAB.js +0 -2
  75. package/dist/chunks/chunk-23X6REO4.js +0 -46
  76. package/dist/chunks/chunk-CLFP6UGU.js +0 -71
  77. package/dist/chunks/chunk-EDZ5KJFT.js +0 -5
  78. package/dist/chunks/chunk-GIK4SGAT.js +0 -364
  79. package/dist/chunks/chunk-GVWPHE23.js +0 -310
  80. package/dist/chunks/chunk-VDGCGOQH.js +0 -328
  81. package/dist/chunks/chunk-VVE3UM4F.js +0 -410
  82. package/dist/chunks/chunk-ZJIMT5I3.js +0 -78
  83. package/dist/chunks/compaction-config-TWCDFLX6.js +0 -2
  84. package/dist/chunks/dist-JT4ATXVM.js +0 -2
  85. package/dist/chunks/host-SVEDZUC5.js +0 -2
  86. package/dist/chunks/run-manager-RX42UNEM.js +0 -2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "updatedAt": "2026-07-16",
3
+ "updatedAt": "2026-07-20",
4
4
  "providers": {
5
5
  "anthropic": {
6
6
  "apiKeyEnv": "ANTHROPIC_API_KEY",
@@ -320,7 +320,7 @@
320
320
  "maxOutputTokens": 32000,
321
321
  "verifyStrategy": "count-tokens"
322
322
  },
323
- "qwen": {
323
+ "qwen": {
324
324
  "apiKeyEnv": "QWEN_API_KEY",
325
325
  "model": "qwen3.5-plus",
326
326
  "reasoningCapability": "native-budget",
@@ -353,9 +353,188 @@
353
353
  "supportsThinking": true,
354
354
  "contextWindow": 256000,
355
355
  "maxOutputTokens": 32768,
356
- "verifyStrategy": "models-list"
357
- },
358
- "zhipu": {
356
+ "verifyStrategy": "models-list"
357
+ },
358
+ "qwen-token-plan": {
359
+ "apiKeyEnv": "QWEN_TOKEN_API_KEY",
360
+ "model": "qwen3.8-max-preview",
361
+ "models": [
362
+ {
363
+ "id": "qwen3.7-max",
364
+ "displayName": "Qwen 3.7 Max",
365
+ "reasoningProfile": {
366
+ "reasoningPreset": "qwen-hybrid-thinking",
367
+ "effortStrategy": "provider-budget",
368
+ "thinkingStrategy": "provider-budget",
369
+ "defaultEffort": "medium",
370
+ "supportedEfforts": [
371
+ { "value": "none", "description": "Disable thinking" },
372
+ { "value": "minimal", "description": "Disable thinking", "isUserVisible": false },
373
+ { "value": "low", "description": "Light thinking budget" },
374
+ { "value": "medium", "description": "Balanced thinking budget", "isDefault": true },
375
+ { "value": "high", "description": "High thinking budget" },
376
+ { "value": "xhigh", "description": "Very high thinking budget" },
377
+ { "value": "max", "description": "Maximum thinking budget" }
378
+ ],
379
+ "budgetByEffort": {
380
+ "low": 6000,
381
+ "medium": 10000,
382
+ "high": 16000,
383
+ "xhigh": 24000,
384
+ "max": 32000
385
+ },
386
+ "disabledEfforts": ["none", "minimal"],
387
+ "supportsManualThinkingBudget": true,
388
+ "supportsDisabledThinking": true
389
+ }
390
+ },
391
+ {
392
+ "id": "qwen3.7-plus",
393
+ "displayName": "Qwen 3.7 Plus",
394
+ "reasoningProfile": {
395
+ "reasoningPreset": "qwen-hybrid-thinking",
396
+ "effortStrategy": "provider-budget",
397
+ "thinkingStrategy": "provider-budget",
398
+ "defaultEffort": "medium",
399
+ "supportedEfforts": [
400
+ { "value": "none", "description": "Disable thinking" },
401
+ { "value": "minimal", "description": "Disable thinking", "isUserVisible": false },
402
+ { "value": "low", "description": "Light thinking budget" },
403
+ { "value": "medium", "description": "Balanced thinking budget", "isDefault": true },
404
+ { "value": "high", "description": "High thinking budget" },
405
+ { "value": "xhigh", "description": "Very high thinking budget" },
406
+ { "value": "max", "description": "Maximum thinking budget" }
407
+ ],
408
+ "budgetByEffort": {
409
+ "low": 6000,
410
+ "medium": 10000,
411
+ "high": 16000,
412
+ "xhigh": 24000,
413
+ "max": 32000
414
+ },
415
+ "disabledEfforts": ["none", "minimal"],
416
+ "supportsManualThinkingBudget": true,
417
+ "supportsDisabledThinking": true
418
+ }
419
+ },
420
+ {
421
+ "id": "qwen3.6-flash",
422
+ "displayName": "Qwen 3.6 Flash",
423
+ "reasoningProfile": {
424
+ "reasoningPreset": "qwen-hybrid-thinking",
425
+ "effortStrategy": "provider-budget",
426
+ "thinkingStrategy": "provider-budget",
427
+ "defaultEffort": "medium",
428
+ "supportedEfforts": [
429
+ { "value": "none", "description": "Disable thinking" },
430
+ { "value": "minimal", "description": "Disable thinking", "isUserVisible": false },
431
+ { "value": "low", "description": "Light thinking budget" },
432
+ { "value": "medium", "description": "Balanced thinking budget", "isDefault": true },
433
+ { "value": "high", "description": "High thinking budget" },
434
+ { "value": "xhigh", "description": "Very high thinking budget" },
435
+ { "value": "max", "description": "Maximum thinking budget" }
436
+ ],
437
+ "budgetByEffort": {
438
+ "low": 6000,
439
+ "medium": 10000,
440
+ "high": 16000,
441
+ "xhigh": 24000,
442
+ "max": 32000
443
+ },
444
+ "disabledEfforts": ["none", "minimal"],
445
+ "supportsManualThinkingBudget": true,
446
+ "supportsDisabledThinking": true
447
+ }
448
+ },
449
+ {
450
+ "id": "glm-5.2",
451
+ "displayName": "GLM-5.2",
452
+ "maxOutputTokens": 131072,
453
+ "reasoningCapability": "native-effort",
454
+ "reasoningProfile": {
455
+ "reasoningPreset": "zai-glm-5.2",
456
+ "effortStrategy": "openai-chat-effort",
457
+ "thinkingStrategy": "provider-toggle",
458
+ "defaultEffort": "max",
459
+ "supportedEfforts": [
460
+ { "value": "none", "description": "Disable thinking" },
461
+ { "value": "minimal", "description": "Disable thinking", "isUserVisible": false },
462
+ { "value": "low", "description": "Alias to high" },
463
+ { "value": "medium", "description": "Alias to high" },
464
+ { "value": "high", "description": "GLM high reasoning" },
465
+ { "value": "xhigh", "description": "Alias to max" },
466
+ { "value": "max", "description": "GLM maximum reasoning", "isDefault": true }
467
+ ],
468
+ "effortAliases": {
469
+ "low": "high",
470
+ "medium": "high",
471
+ "xhigh": "max"
472
+ },
473
+ "disabledEfforts": ["none", "minimal"],
474
+ "supportsReasoningEffort": true,
475
+ "supportsDisabledThinking": true
476
+ }
477
+ },
478
+ {
479
+ "id": "deepseek-v4-pro",
480
+ "displayName": "DeepSeek V4 Pro",
481
+ "reasoningCapability": "native-effort",
482
+ "reasoningProfile": {
483
+ "effortStrategy": "anthropic-reasoning-effort",
484
+ "thinkingStrategy": "provider-toggle",
485
+ "defaultEffort": "high",
486
+ "supportedEfforts": [
487
+ { "value": "none", "description": "Disable thinking" },
488
+ { "value": "minimal", "description": "Disable thinking", "isUserVisible": false },
489
+ { "value": "low", "description": "Alias to high" },
490
+ { "value": "medium", "description": "Alias to high" },
491
+ { "value": "high", "description": "DeepSeek high reasoning", "isDefault": true },
492
+ { "value": "xhigh", "description": "Alias to max" },
493
+ { "value": "max", "description": "DeepSeek max reasoning" }
494
+ ],
495
+ "effortAliases": {
496
+ "low": "high",
497
+ "medium": "high",
498
+ "xhigh": "max"
499
+ },
500
+ "disabledEfforts": ["none", "minimal"],
501
+ "supportsReasoningEffort": true,
502
+ "supportsDisabledThinking": true
503
+ }
504
+ }
505
+ ],
506
+ "reasoningCapability": "native-budget",
507
+ "reasoningProfile": {
508
+ "reasoningPreset": "qwen-hybrid-thinking",
509
+ "effortStrategy": "provider-budget",
510
+ "thinkingStrategy": "provider-budget",
511
+ "defaultEffort": "medium",
512
+ "supportedEfforts": [
513
+ { "value": "low", "description": "Light thinking budget" },
514
+ { "value": "medium", "description": "Balanced thinking budget", "isDefault": true },
515
+ { "value": "high", "description": "High thinking budget" },
516
+ { "value": "xhigh", "description": "Very high thinking budget" },
517
+ { "value": "max", "description": "Maximum thinking budget" }
518
+ ],
519
+ "budgetByEffort": {
520
+ "low": 6000,
521
+ "medium": 10000,
522
+ "high": 16000,
523
+ "xhigh": 24000,
524
+ "max": 32000
525
+ },
526
+ "localRejectEfforts": ["none", "minimal"],
527
+ "supportsManualThinkingBudget": true,
528
+ "supportsDisabledThinking": false
529
+ },
530
+ "capabilityProfile": "image-input-native",
531
+ "supportsThinking": true,
532
+ "contextWindow": 1000000,
533
+ "maxOutputTokens": 64000,
534
+ "thinkingBudgetCap": 32000,
535
+ "verifyStrategy": "count-tokens"
536
+ },
537
+ "zhipu": {
359
538
  "apiKeyEnv": "ZHIPU_API_KEY",
360
539
  "model": "glm-5",
361
540
  "models": [