dal-code 1.0.29 → 1.0.31

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 (155) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/node_modules/@dalcode/dal-bridge/package.json +2 -2
  3. package/dist/node_modules/@dalcode/dal-gateway/package.json +2 -2
  4. package/dist/node_modules/@dalcode/dal-guard/package.json +4 -4
  5. package/dist/node_modules/@dalcode/dal-guard/src/index.js +1 -1
  6. package/dist/node_modules/@dalcode/dal-guard/src/mode.js +2 -2
  7. package/dist/node_modules/@dalcode/dal-halo/package.json +1 -1
  8. package/dist/node_modules/@dalcode/dal-interactive/package.json +2 -2
  9. package/dist/node_modules/@dalcode/dal-lang/package.json +3 -3
  10. package/dist/node_modules/@dalcode/dal-lsp/package.json +3 -3
  11. package/dist/node_modules/@dalcode/dal-mcp/package.json +5 -5
  12. package/dist/node_modules/@dalcode/dal-office/package.json +2 -2
  13. package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.js +2 -2
  14. package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
  15. package/dist/node_modules/@dalcode/dal-pi-kit/src/i18n.js +2 -2
  16. package/dist/node_modules/@dalcode/dal-plugins/package.json +2 -2
  17. package/dist/node_modules/@dalcode/dal-review/package.json +3 -3
  18. package/dist/node_modules/@dalcode/dal-rewind/package.json +2 -2
  19. package/dist/node_modules/@dalcode/dal-router/package.json +4 -4
  20. package/dist/node_modules/@dalcode/dal-skills/package.json +4 -3
  21. package/dist/node_modules/@dalcode/dal-skills/src/catalog.js +2 -0
  22. package/dist/node_modules/@dalcode/dal-skills/src/index.js +12 -11
  23. package/dist/node_modules/@dalcode/dal-subagent/package.json +5 -5
  24. package/dist/node_modules/@dalcode/dal-telemetry/package.json +2 -2
  25. package/dist/node_modules/@dalcode/dal-terminal/package.json +2 -2
  26. package/dist/node_modules/@dalcode/dal-tool-catalog/package.json +2 -2
  27. package/dist/node_modules/@dalcode/dal-web/package.json +3 -3
  28. package/dist/node_modules/@dalcode/dal-workflow/package.json +2 -2
  29. package/dist/node_modules/@dalcode/dal-workflow/src/todo.js +2 -2
  30. package/dist/node_modules/@dalcode/deepailab/package.json +3 -3
  31. package/dist/node_modules/@earendil-works/chord/package.json +1 -1
  32. package/dist/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  33. package/dist/node_modules/@earendil-works/pi-ai/dist/cli.js +0 -0
  34. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  35. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
  36. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  37. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
  38. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
  39. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -1
  40. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  41. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  42. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  43. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
  44. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  45. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +1 -1
  46. package/dist/node_modules/@earendil-works/pi-ai/package.json +2 -2
  47. package/dist/node_modules/@earendil-works/pi-client/package.json +3 -3
  48. package/dist/node_modules/@earendil-works/pi-codemode/package.json +1 -1
  49. package/dist/node_modules/@earendil-works/pi-coding-agent/package.json +1 -1
  50. package/dist/node_modules/@earendil-works/pi-mcp/package.json +1 -1
  51. package/dist/node_modules/@earendil-works/pi-protocol/package.json +2 -2
  52. package/dist/node_modules/@earendil-works/pi-server/package.json +3 -3
  53. package/dist/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  54. package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
  55. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  56. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  57. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  58. package/examples/extensions/gondolin/package-lock.json +2 -2
  59. package/examples/extensions/gondolin/package.json +1 -1
  60. package/examples/extensions/sandbox/package-lock.json +2 -2
  61. package/examples/extensions/sandbox/package.json +1 -1
  62. package/examples/extensions/with-deps/package-lock.json +2 -2
  63. package/examples/extensions/with-deps/package.json +1 -1
  64. package/npm-shrinkwrap.json +2 -2
  65. package/package.json +1 -1
  66. package/dist/bundle/chunks/anthropic-messages-AZKHNVAG.js +0 -5
  67. package/dist/bundle/chunks/anthropic.js +0 -74
  68. package/dist/bundle/chunks/azure-openai-responses-LA3FYF3J.js +0 -1
  69. package/dist/bundle/chunks/bedrock-converse-stream.js +0 -82
  70. package/dist/bundle/chunks/chunk-4HEMJ3PG.js +0 -1140
  71. package/dist/bundle/chunks/chunk-4L3WN2XY.js +0 -1
  72. package/dist/bundle/chunks/chunk-4UTLMBZZ.js +0 -13
  73. package/dist/bundle/chunks/chunk-4XT6IQQ6.js +0 -1
  74. package/dist/bundle/chunks/chunk-5M7W2EDY.js +0 -3
  75. package/dist/bundle/chunks/chunk-5ULSWE2O.js +0 -43
  76. package/dist/bundle/chunks/chunk-6CYCI3EJ.js +0 -11
  77. package/dist/bundle/chunks/chunk-7ZC4UXSL.js +0 -1
  78. package/dist/bundle/chunks/chunk-ABVPQ2YN.js +0 -14
  79. package/dist/bundle/chunks/chunk-DRQDKNXA.js +0 -1
  80. package/dist/bundle/chunks/chunk-F5ZABL6Z.js +0 -19
  81. package/dist/bundle/chunks/chunk-GYI2XXNW.js +0 -10
  82. package/dist/bundle/chunks/chunk-H3QXYIF7.js +0 -30
  83. package/dist/bundle/chunks/chunk-HC56T2OZ.js +0 -134
  84. package/dist/bundle/chunks/chunk-HMFU7ZIF.js +0 -1
  85. package/dist/bundle/chunks/chunk-JEMNLK2O.js +0 -10
  86. package/dist/bundle/chunks/chunk-L2ZPNLYD.js +0 -1
  87. package/dist/bundle/chunks/chunk-LPXNMA2W.js +0 -1
  88. package/dist/bundle/chunks/chunk-PGXDEOVV.js +0 -1
  89. package/dist/bundle/chunks/chunk-PJACZCIR.js +0 -1
  90. package/dist/bundle/chunks/chunk-PMRZO46Y.js +0 -1
  91. package/dist/bundle/chunks/chunk-PRRNXB7S.js +0 -1
  92. package/dist/bundle/chunks/chunk-PRXLTI3Y.js +0 -81
  93. package/dist/bundle/chunks/chunk-Q6IMZXWD.js +0 -129
  94. package/dist/bundle/chunks/chunk-R4YWRKK4.js +0 -7
  95. package/dist/bundle/chunks/chunk-RDZVAGPR.js +0 -1
  96. package/dist/bundle/chunks/chunk-S3GGRYIO.js +0 -5
  97. package/dist/bundle/chunks/chunk-TEPMHNKQ.js +0 -1
  98. package/dist/bundle/chunks/chunk-TRDNDS6A.js +0 -3
  99. package/dist/bundle/chunks/chunk-USJZMAIR.js +0 -1
  100. package/dist/bundle/chunks/chunk-UTB4DTYQ.js +0 -1
  101. package/dist/bundle/chunks/chunk-WXULTH2D.js +0 -1
  102. package/dist/bundle/chunks/chunk-YKF7PQCJ.js +0 -1
  103. package/dist/bundle/chunks/chunk-YTERFI73.js +0 -1
  104. package/dist/bundle/chunks/chunk-ZBURYEWF.js +0 -1
  105. package/dist/bundle/chunks/chunk-ZKDITC7J.js +0 -35
  106. package/dist/bundle/chunks/cli-2LJMKSUZ.js +0 -50
  107. package/dist/bundle/chunks/cloudflare-workers-ai-system-one-6WEJUIW2.js +0 -1
  108. package/dist/bundle/chunks/codemode-worker.js +0 -470
  109. package/dist/bundle/chunks/dist-37IE4EWG.js +0 -10
  110. package/dist/bundle/chunks/easter-egg-3d-GHWWTBZN.js +0 -1
  111. package/dist/bundle/chunks/execute-JU22LJZT.js +0 -489
  112. package/dist/bundle/chunks/github-copilot.js +0 -1
  113. package/dist/bundle/chunks/google-generative-ai-RFPHNE43.js +0 -1
  114. package/dist/bundle/chunks/google-vertex-QDNCMHLE.js +0 -1
  115. package/dist/bundle/chunks/http-proxy-6TR4MP55.js +0 -1
  116. package/dist/bundle/chunks/https-proxy-agent-2VXB7436.js +0 -12
  117. package/dist/bundle/chunks/image-resize-worker.js +0 -1
  118. package/dist/bundle/chunks/jiti-loader-C3NU2SDH.js +0 -20
  119. package/dist/bundle/chunks/jiti-static-loader-E6ANQD5T.js +0 -1
  120. package/dist/bundle/chunks/kimi-coding.js +0 -1
  121. package/dist/bundle/chunks/lib-TEDK3E5I.js +0 -8
  122. package/dist/bundle/chunks/llama-cpp-classify-FYN623RH.js +0 -21
  123. package/dist/bundle/chunks/meta.js +0 -1
  124. package/dist/bundle/chunks/mistral-conversations-YHX5TRKG.js +0 -4
  125. package/dist/bundle/chunks/multipart-parser-SQ6GDJL7.js +0 -2
  126. package/dist/bundle/chunks/node-N5BSDOA5.js +0 -15
  127. package/dist/bundle/chunks/node-TWVVAGPO.js +0 -1
  128. package/dist/bundle/chunks/openai-chatgpt.js +0 -74
  129. package/dist/bundle/chunks/openai-codex-responses-UZEMMAYZ.js +0 -9
  130. package/dist/bundle/chunks/openai-codex.js +0 -74
  131. package/dist/bundle/chunks/openai-completions-H6WMELZZ.js +0 -6
  132. package/dist/bundle/chunks/openai-decisions-URHWCZPN.js +0 -4
  133. package/dist/bundle/chunks/openai-responses-7X65PCAB.js +0 -2
  134. package/dist/bundle/chunks/openrouter-images-DUPG5DZO.js +0 -1
  135. package/dist/bundle/chunks/openrouter.js +0 -74
  136. package/dist/bundle/chunks/pi-messages-YHKPQIHC.js +0 -7
  137. package/dist/bundle/chunks/radius.js +0 -74
  138. package/dist/bundle/chunks/runtime-LLITCT4N.js +0 -1
  139. package/dist/bundle/chunks/src-UK77SYZE.js +0 -3
  140. package/dist/bundle/chunks/typesafe-system-one-N7PKHI2N.js +0 -1
  141. package/dist/bundle/chunks/virtual-modules-H32OTUCD.js +0 -1
  142. package/dist/bundle/chunks/xai.js +0 -1
  143. package/dist/bundle/cli-runtime.js +0 -2
  144. package/dist/bundle/cli.js +0 -2
  145. package/dist/bundle/index.js +0 -1
  146. package/dist/bundle/rpc-entry.js +0 -2
  147. package/dist/core/key-id-schema.js +0 -1
  148. package/dist/core/keybindings-schema.js +0 -1
  149. package/dist/core/settings-defaults.js +0 -1
  150. package/dist/core/settings-schema.js +0 -1
  151. package/dist/modes/interactive/components/daxnuts.js +0 -1
  152. package/dist/modes/interactive/theme/theme-schema.js +0 -12
  153. package/dist/modes/interactive/theme/theme-tokens.js +0 -1
  154. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +0 -1
  155. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.js +0 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-plugins",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -22,7 +22,7 @@
22
22
  ]
23
23
  },
24
24
  "dependencies": {
25
- "@dalcode/dal-pi-kit": "1.0.29",
25
+ "@dalcode/dal-pi-kit": "1.0.31",
26
26
  "typebox": "1.3.27"
27
27
  },
28
28
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-review",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "description": "Code review: a read-only reviewer sub-agent over uncommitted changes, a base branch, a commit, a PR or a supplied diff, returning structured, deduplicated findings. /review in the TUI, dal -p, RPC and the SDK.",
6
6
  "type": "module",
@@ -19,8 +19,8 @@
19
19
  ]
20
20
  },
21
21
  "dependencies": {
22
- "@dalcode/dal-pi-kit": "1.0.29",
23
- "@dalcode/dal-subagent": "1.0.29",
22
+ "@dalcode/dal-pi-kit": "1.0.31",
23
+ "@dalcode/dal-subagent": "1.0.31",
24
24
  "typebox": "1.3.7"
25
25
  },
26
26
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-rewind",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "description": "Git checkpoints for DAL: a snapshot after every turn that changes files, /rewind, Esc+Esc, safe restore, undo. Adapted from pi-rewind 0.5.0 (MIT, arpagon).",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@dalcode/dal-pi-kit": "1.0.29"
24
+ "@dalcode/dal-pi-kit": "1.0.31"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-router",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -25,9 +25,9 @@
25
25
  ]
26
26
  },
27
27
  "dependencies": {
28
- "@dalcode/dal-pi-kit": "1.0.29",
29
- "@dalcode/deepailab": "1.0.29",
30
- "@earendil-works/pi-tui": "^1.0.29"
28
+ "@dalcode/dal-pi-kit": "1.0.31",
29
+ "@dalcode/deepailab": "1.0.31",
30
+ "@earendil-works/pi-tui": "^1.0.31"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@earendil-works/pi-coding-agent": "^1.0.0"
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@dalcode/dal-skills",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "exports": {
8
8
  ".": "./src/index.js",
9
+ "./catalog": "./src/catalog.js",
9
10
  "./client": "./src/client.js",
10
11
  "./package.json": "./package.json",
11
12
  "./packages": "./src/packages.js"
@@ -19,8 +20,8 @@
19
20
  ]
20
21
  },
21
22
  "dependencies": {
22
- "@dalcode/dal-pi-kit": "1.0.29",
23
- "@dalcode/deepailab": "1.0.29",
23
+ "@dalcode/dal-pi-kit": "1.0.31",
24
+ "@dalcode/deepailab": "1.0.31",
24
25
  "typebox": "1.3.7"
25
26
  },
26
27
  "peerDependencies": {
@@ -0,0 +1,2 @@
1
+ var T=Object.defineProperty;var s=(u,e)=>T(u,"name",{value:e,configurable:!0});var b=Object.defineProperty,r=s((u,e)=>b(u,"name",{value:e,configurable:!0}),"l");import{t as n}from"@dalcode/dal-pi-kit";const _=["product","cloud","project","user"];function f(u){return u==="temporary"?"product":u==="project"?"project":"user"}s(f,"S"),r(f,"hostTier");function m(u,e){const t=new Set,o=[];for(const F of u){const i=F.name.toLowerCase();t.has(i)||(t.add(i),o.push({name:F.name,description:F.description,source:"local",tier:f(F.scope),filePath:F.filePath,baseDir:F.baseDir}))}for(const F of e){const i=F.id.toLowerCase(),l=F.name.toLowerCase();t.has(i)||t.has(l)||(t.add(i),t.add(l),o.push({name:F.id,title:F.name!==F.id?F.name:void 0,description:F.description,source:"cloud",tier:"cloud",cloudId:F.id}))}return o}s(m,"_"),r(m,"mergeSkills");function p(u,e){const t=e.trim().toLowerCase();if(t.length!==0)return u.find(o=>o.name.toLowerCase()===t||o.title?.toLowerCase()===t)??u.find(o=>o.name.toLowerCase().includes(t)||o.title?.toLowerCase().includes(t))}s(p,"w"),r(p,"resolveSkill");function d(){return n("\u4EFB\u52A1\u7B26\u5408\u67D0\u4E2A\u6280\u80FD\u7684\u300C\u4F55\u65F6\u4F7F\u7528\u300D\u65F6\uFF0C\u5148\u7528 skill \u5DE5\u5177\u52A0\u8F7D\u5B83\uFF0C\u518D\u56DE\u7B54\u6216\u52A8\u624B\uFF1B\u7528\u6237\u70B9\u540D\u67D0\u4E2A\u6280\u80FD\u65F6\u5FC5\u987B\u4F7F\u7528\u5B83\uFF1B\u4E0D\u8981\u53EA\u63D0\u5230\u6280\u80FD\u800C\u4E0D\u52A0\u8F7D\u3002")}s(d,"k"),r(d,"skillRule");const B=6e3,h=12e3,L=200;function S(u,e){const t=u.description.replace(/\s+/g," ").trim(),o=t.length>e?`${t.slice(0,e-1)}\u2026`:t;return`- ${u.title?`${u.name} (${u.title})`:u.name}: ${o}`}s(S,"E"),r(S,"listingLine");function k(u,e){return`${u==="product"?n("\u5185\u7F6E\u6280\u80FD"):u==="cloud"?n("\u4E91\u7AEF\u6280\u80FD"):u==="project"?n("\u9879\u76EE\u6280\u80FD"):n("\u4E2A\u4EBA\u6280\u80FD")}${n("\u53E6\u6709\u672A\u5217\u51FA\u7684\uFF0C\u6570\u91CF\uFF1A")}${e}${n("\u3002\u7528 query \u641C\u7D22\u3002")}`}s(k,"D"),r(k,"omittedLine");function C(u,e={}){const t=e.budgetChars??B,o=e.guaranteedChars??h,F=e.maxDescriptionChars??L,i=[],l=[];let E=0;for(const a of _){const w=a==="product"||a==="cloud"?o:t;let c=0;for(const A of u){if(A.tier!==a)continue;const D=S(A,F);if(c>0||E+D.length+1>w){c++;continue}i.push(D),E+=D.length+1}c>0&&l.push(k(a,c))}return[...i,...l]}s(C,"L"),r(C,"listSkills");function g(u,e={}){return[d(),n("\u52A0\u8F7D\u6280\u80FD\uFF1A\u4E13\u9879\u4EFB\u52A1\u7684\u64CD\u4F5C\u6307\u5F15\u3002\u8FD9\u662F\u4F7F\u7528\u6280\u80FD\u7684\u552F\u4E00\u5165\u53E3\uFF0C\u4E0D\u8981\u7528 read \u6216 bash \u53BB\u8BFB\u6280\u80FD\u6587\u4EF6\u3002"),n("\u7528 name \u52A0\u8F7D\u67D0\u4E2A\u6280\u80FD\u7684\u5168\u6587\u5E76\u7167\u505A\uFF1B\u7528 query \u6309\u4EFB\u52A1\u63CF\u8FF0\u641C\u7D22\u672A\u5217\u51FA\u7684\u6280\u80FD\u3002"),n('\u7528\u6237\u6D88\u606F\u91CC\u5DF2\u7ECF\u6709 <skill name="\u2026"> \u5757\u65F6\uFF0C\u8BE5\u6280\u80FD\u5DF2\u52A0\u8F7D\uFF0C\u76F4\u63A5\u7167\u505A\uFF0C\u4E0D\u5FC5\u518D\u6B21\u8C03\u7528\u3002'),"",n("\u53EF\u7528\u6280\u80FD\uFF08name: \u4F55\u65F6\u4F7F\u7528\uFF09\uFF1A"),...C(u,e)].join(`
2
+ `)}s(g,"A"),r(g,"describeSkillTool");export{h as DEFAULT_GUARANTEED_CHARS,B as DEFAULT_LISTING_BUDGET_CHARS,L as DEFAULT_MAX_DESCRIPTION_CHARS,g as describeSkillTool,C as listSkills,m as mergeSkills,p as resolveSkill,d as skillRule};
@@ -1,13 +1,14 @@
1
- var K=Object.defineProperty;var C=(n,o)=>K(n,"name",{value:o,configurable:!0});var M=Object.defineProperty,r=C((n,o)=>M(n,"name",{value:o,configurable:!0}),"r");import{t as e}from"@dalcode/dal-pi-kit";import{accountTag as R,readCache as U,writeCache as H}from"@dalcode/deepailab/cache";import{defaultConfig as z}from"@dalcode/deepailab/oidc";import{getAgentDir as x}from"@earendil-works/pi-coding-agent";import{Type as y}from"typebox";import{fetchSkillBody as G,fetchSkillIndex as J}from"./client.js";import{listLocalSkills as b,readLocalSkillBody as N}from"./discover.js";import{runInstallCommand as Q}from"./install.js";import{runSkillCommand as V}from"./manage.js";import{fetchAccountPackages as X,missingPackages as Y,readInstalledSources as Z,shouldAnnouncePending as uu}from"./packages.js";import{rankSkills as L}from"./search.js";const eu=y.Object({query:y.Optional(y.String({description:e("\u6309\u4EFB\u52A1\u63CF\u8FF0\u641C\u7D22\u6280\u80FD\uFF1A\u8FD4\u56DE\u6700\u76F8\u5173\u7684\u51E0\u6761\uFF08\u540D\u79F0 + \u4E00\u53E5\u8BDD\u7B80\u4ECB\uFF09\uFF0C\u518D\u7528 name \u52A0\u8F7D\u5168\u6587\u3002")})),name:y.Optional(y.String({description:e("\u8981\u52A0\u8F7D\u5168\u6587\u7684\u6280\u80FD\u540D\u79F0\uFF0C\u53D6\u81EA\u672C\u6B21\u6216\u4E0A\u4E00\u6B21\u641C\u7D22\u8FD4\u56DE\u7684\u7ED3\u679C\u3002")}))}),j=6;function P(n){return Array.isArray(n)&&n.every(o=>typeof o?.id=="string"&&o.id.length>0&&typeof o.name=="string"&&typeof o.description=="string")}C(P,"J"),r(P,"isSkillList");const B=6e4;function T(n){return[e("\u641C\u7D22\u5E76\u52A0\u8F7D\u4E13\u9879\u4EFB\u52A1\u6307\u5F15\uFF08\u6280\u80FD\u5E93\uFF09\u3002\u6709\u4E00\u4E2A\u4E91\u7AEF\u6280\u80FD\u5E93\u548C\u672C\u673A/\u9879\u76EE\u7684\u672C\u5730\u6280\u80FD\uFF0C\u8986\u76D6\u5404\u7C7B\u4E13\u95E8\u4EFB\u52A1\u3002"),e("\u5148\u7528 query \u6309\u4EFB\u52A1\u63CF\u8FF0\u641C\u7D22\u6700\u76F8\u5173\u7684\u51E0\u6761\uFF0C\u518D\u7528 name \u52A0\u8F7D\u67D0\u4E00\u6761\u7684\u5168\u6587\uFF0C\u7136\u540E\u6309\u5176\u6307\u5F15\u6267\u884C\u3002"),n>0?`${e("\u4E91\u7AEF\u6280\u80FD\u6570\u91CF\uFF1A")}${n}${e("\uFF08\u5916\u52A0\u672C\u673A\u4E0E\u9879\u76EE\u7684\u672C\u5730\u6280\u80FD\uFF09\u3002")}`:e("\uFF08\u5F53\u524D\u4EC5\u672C\u673A\u4E0E\u9879\u76EE\u7684\u672C\u5730\u6280\u80FD\u3002\uFF09")].join(`
2
- `)}C(T,"Q"),r(T,"describeTool");function v(n){return n.length===0?e("\u6CA1\u6709\u5339\u914D\u7684\u6280\u80FD\u3002\u53EF\u4EE5\u6362\u4E2A\u5173\u952E\u8BCD\uFF0C\u6216\u4E0D\u5E26 query \u8C03\u7528\u67E5\u770B\u53EF\u7528\u6280\u80FD\u3002"):[e("\u6700\u76F8\u5173\u7684\u6280\u80FD\uFF08\u7528 name \u52A0\u8F7D\u5168\u6587\uFF09\uFF1A"),...n.map(o=>`- ${o.name} [${o.source}]: ${o.description}`)].join(`
3
- `)}C(v,"I"),r(v,"renderMatches");const I=Symbol.for("dalcode.skills.search");function w(n){globalThis[I]=n}C(w,"T"),r(w,"publishSkillSearch");function O(n){const o=z(),S=new Map;let E=[],$=!0;const q=r(a=>{const u=a.trim().toLowerCase();if(u.length!==0)return E.find(t=>t.name.toLowerCase()===u||t.id.toLowerCase()===u)??E.find(t=>t.name.toLowerCase().includes(u))},"resolve");n.on("session_start",async(a,u)=>{w(void 0);let t;try{t=await u.modelRegistry?.getApiKeyForProvider?.("deepailab")}catch{t=void 0}if(!t)return;const F=r(s=>{const i=`${e("\u65E0\u6CD5\u83B7\u53D6\u4E91\u7AEF\u6280\u80FD\u5217\u8868")}\uFF1A${s}`;u.hasUI?u.ui.notify(i,"warning"):process.stderr.write(`${i}
4
- `)},"reportFailure");if($=n.isToolAllowed("skill"),$){const s=`skills-index-${R(t)}`,i=U(s,P),d=(async()=>{try{const l=await J(o.apiBase,t);if(l==="not-modified"){F(e("\u670D\u52A1\u7AEF\u8FD4\u56DE\u4E86\u610F\u5916\u7684 304"));return}E=l.skills;try{H(s,l.skills)}catch{}}catch(l){const h=l instanceof Error&&l.name==="AbortError"?e("\u8BF7\u6C42\u8D85\u65F6"):String(l);F(h)}})();i?E=i.value:await d}X(o.apiBase,t).then(s=>{const i=Z(x());m=Y(s,i),u.hasUI&&uu(x(),m)&&u.ui.notify(`${e("\u8D26\u53F7\u91CC\u6709")}${m.length}${e(" \u4E2A\u6269\u5C55\u672C\u673A\u8FD8\u6CA1\u88C5\uFF0C/install \u53EF\u76F4\u63A5\u5B89\u88C5\u3002")}`,"info")}).catch(()=>{});const A=r(()=>({includeProject:u.isProjectTrusted()}),"localOptions");if(E.length===0&&b(u.cwd,A()).length===0)return;const c=r(s=>[...E.map(i=>({name:i.name,description:i.description,source:"cloud"})),...b(s,A()).map(i=>({name:i.name,description:i.description,source:i.scope}))],"buildCorpus"),_=r(async(s,i)=>{const d=q(s);if(d){const p=S.get(d.id);if(p!==void 0)return{content:[{type:"text",text:p}],details:{id:d.id,cached:!0}};const D=await G(o.apiBase,t,d.id),f=D.body.length>B?`${D.body.slice(0,B)}
1
+ var H=Object.defineProperty;var f=(u,i)=>H(u,"name",{value:i,configurable:!0});var z=Object.defineProperty,r=f((u,i)=>z(u,"name",{value:i,configurable:!0}),"i");import{readFileSync as I}from"node:fs";import{dirname as J}from"node:path";import{t}from"@dalcode/dal-pi-kit";import{accountTag as N,readCache as Q,writeCache as V}from"@dalcode/deepailab/cache";import{defaultConfig as X}from"@dalcode/deepailab/oidc";import{getAgentDir as P,parseFrontmatter as L}from"@earendil-works/pi-coding-agent";import{Type as g}from"typebox";import{describeSkillTool as T,mergeSkills as Y,resolveSkill as Z,skillRule as uu}from"./catalog.js";import{fetchSkillBody as eu,fetchSkillIndex as tu}from"./client.js";import{listLocalSkills as nu}from"./discover.js";import{runInstallCommand as ru}from"./install.js";import{runSkillCommand as iu}from"./manage.js";import{fetchAccountPackages as ou,missingPackages as su,readInstalledSources as au,shouldAnnouncePending as lu}from"./packages.js";import{rankSkills as cu}from"./search.js";const Fu=g.Object({name:g.Optional(g.String({description:t("\u8981\u52A0\u8F7D\u5168\u6587\u7684\u6280\u80FD\u540D\u79F0\uFF1A\u53D6\u81EA\u5DE5\u5177\u8BF4\u660E\u91CC\u7684\u5217\u8868\uFF0C\u6216 query \u641C\u7D22\u7684\u7ED3\u679C\u3002")})),query:g.Optional(g.String({description:t("\u6309\u4EFB\u52A1\u63CF\u8FF0\u641C\u7D22\u672A\u5217\u51FA\u7684\u6280\u80FD\uFF1A\u8FD4\u56DE\u6700\u76F8\u5173\u7684\u51E0\u6761\uFF08\u540D\u79F0 + \u4F55\u65F6\u4F7F\u7528\uFF09\uFF0C\u518D\u7528 name \u52A0\u8F7D\u5168\u6587\u3002")}))}),O=6;function j(u){return Array.isArray(u)&&u.every(i=>typeof i?.id=="string"&&i.id.length>0&&typeof i.name=="string"&&typeof i.description=="string")}f(j,"oe"),r(j,"isSkillList");const q=6e4;function k(u){return u.length>q?`${u.slice(0,q)}
5
2
 
6
- \u2026(truncated)`:D.body;return S.set(d.id,f),{content:[{type:"text",text:f}],details:{id:d.id,version:D.version}}}const l=N(i,s,A());if(l)return{content:[{type:"text",text:l.body.length>B?`${l.body.slice(0,B)}
3
+ \u2026(truncated)`:u}f(k,"T"),r(k,"capBody");function $(u){return u.length===0?t("\u6CA1\u6709\u5339\u914D\u7684\u6280\u80FD\u3002\u53EF\u4EE5\u6362\u4E2A\u5173\u952E\u8BCD\uFF0C\u6216\u4E0D\u5E26 query \u8C03\u7528\u67E5\u770B\u53EF\u7528\u6280\u80FD\u3002"):[t("\u6700\u76F8\u5173\u7684\u6280\u80FD\uFF08\u7528 name \u52A0\u8F7D\u5168\u6587\uFF09\uFF1A"),...u.map(i=>`- ${i.name} [${i.source}]: ${i.description}`)].join(`
4
+ `)}f($,"B"),r($,"renderMatches");function B(u){return{name:u.name,description:u.title?`${u.title} \u2014 ${u.description}`:u.description,source:u.source}}f(B,"R"),r(B,"searchable");function v(u,i){const h=[];for(const c of u){if(c.source!=="skill"||!c.name.startsWith("skill:"))continue;const E=c.sourceInfo.path;i(E)&&h.push({name:c.name.slice(6),description:c.description??"",filePath:E,baseDir:c.sourceInfo.baseDir??J(E),scope:c.sourceInfo.scope})}return h}f(v,"re"),r(v,"hostSkillsFromCommands");function M(u){try{const{frontmatter:i}=L(I(u,"utf8"));return i["disable-model-invocation"]!==!0}catch{return!1}}f(M,"se"),r(M,"readModelInvocable");function _(u){const i=u.filePath??"",{body:h}=L(I(i,"utf8"));return`<skill name="${u.name}" location="${i}">
5
+ References are relative to ${u.baseDir}.
7
6
 
8
- \u2026(truncated)`:l.body}],details:{name:s,source:l.scope}};const h=c(i).map(p=>p.name).join(", ");return{content:[{type:"text",text:`${e("\u6CA1\u6709\u8FD9\u4E2A\u6280\u80FD\uFF1A")}${s}
9
- ${e("\u53EF\u7528\uFF1A")}${h}`}],details:{ok:!1}}},"loadBody");$&&(n.registerTool({name:"skill",label:e("\u6280\u80FD"),description:T(E.length),promptSnippet:e("skill - \u641C\u7D22\u5E76\u52A0\u8F7D\u4E13\u9879\u4EFB\u52A1\u6307\u5F15\uFF08\u4E91\u7AEF\u6280\u80FD\u5E93 + \u672C\u5730\u6280\u80FD\uFF09"),parameters:eu,execute:r(async(s,i,d,l,h)=>{const p=h?.cwd??process.cwd(),D=i.name?.trim();if(D)try{return await _(D,p)}catch(g){return{content:[{type:"text",text:`${e("\u52A0\u8F7D\u6280\u80FD\u5931\u8D25\uFF1A")}${D} \u2014 ${g instanceof Error?g.message:String(g)}`}],details:{ok:!1}}}const f=c(p),k=i.query?.trim();if(k){const g=L(f,k,j);return{content:[{type:"text",text:v(g)}],details:{query:k,count:g.length}}}return{content:[{type:"text",text:v(f.slice(0,j))}],details:{listed:!0,total:f.length}}},"execute")}),w({search:r((s,i,d)=>L(c(i),s,d),"search")}))});let m=[];const W=r(a=>a.map(u=>` /install ${u.source} # ${u.name}${u.description?` \u2014 ${u.description}`:""}`).join(`
10
- `),"describePackages");n.registerCommand("packages",{description:e("\u67E5\u770B\u8D26\u53F7\u63A8\u8350\u7684\u6269\u5C55"),handler:r(async(a,u)=>{if(m.length===0){u.ui.notify(e("\u8D26\u53F7\u91CC\u7684\u6269\u5C55\u90FD\u5DF2\u5B89\u88C5\u3002"),"info");return}u.ui.notify(`${e("\u8D26\u53F7\u63A8\u8350\u3001\u672C\u673A\u5C1A\u672A\u5B89\u88C5\u7684\u6269\u5C55\uFF1A")}
11
- ${W(m)}`,"info")},"handler")}),n.registerCommand("install",{description:e("\u5B89\u88C5\u6269\u5C55\uFF08<npm:\u5305\u540D|git:...> [--local]\uFF1B\u65E0\u53C2\u6570\u4ECE\u8D26\u53F7\u63A8\u8350\u4E2D\u9009\u62E9\uFF09"),getArgumentCompletions:r(a=>{const u=a.trimStart();if(u.includes(" "))return null;const t=[...m.map(F=>({value:F.source,label:(F.description||F.name).slice(0,80)})),{value:"--local",label:e("\u5B89\u88C5\u5230\u5F53\u524D\u9879\u76EE")}];return u.length===0?t:t.filter(F=>F.value.startsWith(u))},"getArgumentCompletions"),handler:r(async(a,u)=>{const t=await Q(a,u,{recommended:m});t.kept&&(m=m.filter(F=>F.source!==t.kept))},"handler")}),n.registerCommand("skills",{description:e("\u67E5\u770B\u53EF\u7528\u7684 DeepAILab \u4E91\u7AEF\u6280\u80FD"),handler:r(async(a,u)=>{if(!$){u.ui.notify(e("\u672C\u4F1A\u8BDD\u7684\u5DE5\u5177\u767D\u540D\u5355\uFF08--tools\uFF09\u4E0D\u542B skill\uFF0C\u672A\u52A0\u8F7D\u4E91\u7AEF\u6280\u80FD\u3002"),"info");return}if(E.length===0){u.ui.notify(e("\u5F53\u524D\u6CA1\u6709\u53EF\u7528\u7684\u4E91\u7AEF\u6280\u80FD\uFF08\u672A\u767B\u5F55\uFF0C\u6216\u670D\u52A1\u7AEF\u76EE\u5F55\u4E3A\u7A7A\uFF09\u3002"),"info");return}u.ui.notify(`${e("\u4E91\u7AEF\u6280\u80FD")} (${E.length})
12
- `+E.map(t=>` ${t.name}${t.version?` v${t.version}`:""} \u2014 ${t.description}`).join(`
13
- `),"info")},"handler")}),n.registerCommand("skill",{description:e("\u7BA1\u7406\u672C\u5730\u6280\u80FD\uFF08list | show <name> | add | remove <name>\uFF09\uFF1B/skills \u67E5\u770B\u4E91\u7AEF\u6280\u80FD"),getArgumentCompletions:r(a=>{const u=a.trimStart(),t=u.indexOf(" ");if(t===-1)return["list","add","remove","show"].filter(c=>c.startsWith(u)).map(c=>({value:`${c} `,label:c}));const F=u.slice(0,t),A=u.slice(t+1);return(F==="show"||F==="remove")&&!A.includes(" ")?b(process.cwd()).filter(c=>c.name.startsWith(A)).map(c=>({value:`${F} ${c.name}`,label:c.description.slice(0,80)})):null},"getArgumentCompletions"),handler:r(async(a,u)=>V(a,u),"handler")})}C(O,"Z"),r(O,"default");export{I as SKILL_SEARCH_SLOT,O as default};
7
+ ${k(h.trim())}
8
+ </skill>`}f(_,"le"),r(_,"readHostSkillBody");const R=Symbol.for("dalcode.skills.search");function S(u){globalThis[R]=u}f(S,"L"),r(S,"publishSkillSearch");function W(u){const i=X(),h=new Map;let c=[],E=!0,b=!1,D;const y=new Map,K=r(o=>{let e=y.get(o);return e===void 0&&(e=M(o),y.set(o,e)),e},"isModelInvocable"),C=r(()=>Y(v(u.getCommands(),K),c),"entries");u.on("session_start",async(o,e)=>{S(void 0),y.clear(),D=void 0;try{D=await e.modelRegistry?.getApiKeyForProvider?.("deepailab")}catch{D=void 0}const l=r(a=>{const n=`${t("\u65E0\u6CD5\u83B7\u53D6\u4E91\u7AEF\u6280\u80FD\u5217\u8868")}\uFF1A${a}`;e.hasUI?e.ui.notify(n,"warning"):process.stderr.write(`${n}
9
+ `)},"reportFailure");if(E=u.isToolAllowed("skill"),E&&D){const a=D,n=`skills-index-${N(a)}`,s=Q(n,j),d=(async()=>{try{const m=await tu(i.apiBase,a);if(m==="not-modified"){l(t("\u670D\u52A1\u7AEF\u8FD4\u56DE\u4E86\u610F\u5916\u7684 304"));return}c=m.skills;try{V(n,m.skills)}catch{}}catch(m){const p=m instanceof Error&&m.name==="AbortError"?t("\u8BF7\u6C42\u8D85\u65F6"):String(m);l(p)}})();s?c=s.value:await d}if(D){const a=D;ou(i.apiBase,a).then(n=>{const s=au(P());A=su(n,s),e.hasUI&&lu(P(),A)&&e.ui.notify(`${t("\u8D26\u53F7\u91CC\u6709")}${A.length}${t(" \u4E2A\u6269\u5C55\u672C\u673A\u8FD8\u6CA1\u88C5\uFF0C/install \u53EF\u76F4\u63A5\u5B89\u88C5\u3002")}`,"info")}).catch(()=>{})}if(!E||C().length===0)return;const F=r(async a=>{const n=C(),s=Z(n,a);if(!s)throw new Error(`${t("\u6CA1\u6709\u8FD9\u4E2A\u6280\u80FD\uFF1A")}${a}
10
+ ${t("\u53EF\u7528\uFF1A")}${n.map(G=>G.name).join(", ")}`);if(s.source==="local")return{content:[{type:"text",text:_(s)}],details:{name:s.name,source:"local",path:s.filePath}};const d=s.cloudId??s.name,m=h.get(d);if(m!==void 0)return{content:[{type:"text",text:m}],details:{name:s.name,source:"cloud",id:d,cached:!0}};if(!D)throw new Error(t("\u672A\u767B\u5F55\uFF0C\u65E0\u6CD5\u52A0\u8F7D\u4E91\u7AEF\u6280\u80FD"));const p=await eu(i.apiBase,D,d),x=k(p.body);return h.set(d,x),{content:[{type:"text",text:x}],details:{name:s.name,source:"cloud",id:d,version:p.version}}},"loadBody");u.registerTool({name:"skill",label:t("\u6280\u80FD"),description:T(C()),promptSnippet:t("skill - \u52A0\u8F7D\u6280\u80FD\uFF08\u4E13\u9879\u4EFB\u52A1\u6307\u5F15\uFF09\uFF1A\u4EFB\u52A1\u7B26\u5408\u67D0\u4E2A\u6280\u80FD\u65F6\u5148\u52A0\u8F7D\u518D\u52A8\u624B"),promptGuidelines:[uu()],parameters:Fu,prepareLoadout:r(()=>{const a=C();return a.length>0?{descriptions:{skill:T(a)}}:{hiddenDeclarations:["skill"]}},"prepareLoadout"),execute:r(async(a,n)=>{const s=n.name?.trim();if(s)try{return await F(s)}catch(p){throw new Error(`${t("\u52A0\u8F7D\u6280\u80FD\u5931\u8D25\uFF1A")}${s} \u2014 ${p instanceof Error?p.message:String(p)}`)}const d=n.query?.trim();if(d){const p=w(d,O);return{content:[{type:"text",text:$(p)}],details:{query:d,count:p.length}}}const m=C();return{content:[{type:"text",text:$(m.slice(0,O).map(B))}],details:{listed:!0,total:m.length}}},"execute")}),b=!0,S({search:r((a,n,s)=>w(a,s),"search")})});const w=r((o,e)=>cu(C().map(B),o,e),"search");u.on("before_agent_start",o=>{!b||!u.getActiveTools().includes("skill")||C().length!==0&&(o.systemPromptOptions.skills=[])});let A=[];const U=r(o=>o.map(e=>` /install ${e.source} # ${e.name}${e.description?` \u2014 ${e.description}`:""}`).join(`
11
+ `),"describePackages");u.registerCommand("packages",{description:t("\u67E5\u770B\u8D26\u53F7\u63A8\u8350\u7684\u6269\u5C55"),handler:r(async(o,e)=>{if(A.length===0){e.ui.notify(t("\u8D26\u53F7\u91CC\u7684\u6269\u5C55\u90FD\u5DF2\u5B89\u88C5\u3002"),"info");return}e.ui.notify(`${t("\u8D26\u53F7\u63A8\u8350\u3001\u672C\u673A\u5C1A\u672A\u5B89\u88C5\u7684\u6269\u5C55\uFF1A")}
12
+ ${U(A)}`,"info")},"handler")}),u.registerCommand("install",{description:t("\u5B89\u88C5\u6269\u5C55\uFF08<npm:\u5305\u540D|git:...> [--local]\uFF1B\u65E0\u53C2\u6570\u4ECE\u8D26\u53F7\u63A8\u8350\u4E2D\u9009\u62E9\uFF09"),getArgumentCompletions:r(o=>{const e=o.trimStart();if(e.includes(" "))return null;const l=[...A.map(F=>({value:F.source,label:(F.description||F.name).slice(0,80)})),{value:"--local",label:t("\u5B89\u88C5\u5230\u5F53\u524D\u9879\u76EE")}];return e.length===0?l:l.filter(F=>F.value.startsWith(e))},"getArgumentCompletions"),handler:r(async(o,e)=>{const l=await ru(o,e,{recommended:A});l.kept&&(A=A.filter(F=>F.source!==l.kept))},"handler")}),u.registerCommand("skills",{description:t("\u67E5\u770B\u53EF\u7528\u7684 DeepAILab \u4E91\u7AEF\u6280\u80FD"),handler:r(async(o,e)=>{if(!E){e.ui.notify(t("\u672C\u4F1A\u8BDD\u7684\u5DE5\u5177\u767D\u540D\u5355\uFF08--tools\uFF09\u4E0D\u542B skill\uFF0C\u672A\u52A0\u8F7D\u4E91\u7AEF\u6280\u80FD\u3002"),"info");return}if(c.length===0){e.ui.notify(t("\u5F53\u524D\u6CA1\u6709\u53EF\u7528\u7684\u4E91\u7AEF\u6280\u80FD\uFF08\u672A\u767B\u5F55\uFF0C\u6216\u670D\u52A1\u7AEF\u76EE\u5F55\u4E3A\u7A7A\uFF09\u3002"),"info");return}e.ui.notify(`${t("\u4E91\u7AEF\u6280\u80FD")} (${c.length})
13
+ `+c.map(l=>` ${l.name}${l.version?` v${l.version}`:""} \u2014 ${l.description}`).join(`
14
+ `),"info")},"handler")}),u.registerCommand("skill",{description:t("\u7BA1\u7406\u672C\u5730\u6280\u80FD\uFF08list | show <name> | add | remove <name>\uFF09\uFF1B/skills \u67E5\u770B\u4E91\u7AEF\u6280\u80FD"),getArgumentCompletions:r(o=>{const e=o.trimStart(),l=e.indexOf(" ");if(l===-1)return["list","add","remove","show"].filter(n=>n.startsWith(e)).map(n=>({value:`${n} `,label:n}));const F=e.slice(0,l),a=e.slice(l+1);return(F==="show"||F==="remove")&&!a.includes(" ")?nu(process.cwd()).filter(n=>n.name.startsWith(a)).map(n=>({value:`${F} ${n.name}`,label:n.description.slice(0,80)})):null},"getArgumentCompletions"),handler:r(async(o,e)=>iu(o,e),"handler")})}f(W,"ce"),r(W,"default");export{R as SKILL_SEARCH_SLOT,W as default,v as hostSkillsFromCommands};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-subagent",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -17,10 +17,10 @@
17
17
  ]
18
18
  },
19
19
  "dependencies": {
20
- "@dalcode/dal-pi-kit": "1.0.29",
21
- "@dalcode/dal-guard": "1.0.29",
22
- "@earendil-works/pi-agent-core": "^1.0.29",
23
- "@earendil-works/pi-ai": "^1.0.29",
20
+ "@dalcode/dal-pi-kit": "1.0.31",
21
+ "@dalcode/dal-guard": "1.0.31",
22
+ "@earendil-works/pi-agent-core": "^1.0.31",
23
+ "@earendil-works/pi-ai": "^1.0.31",
24
24
  "typebox": "1.3.7"
25
25
  },
26
26
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-telemetry",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -20,7 +20,7 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@dalcode/dal-pi-kit": "1.0.29"
23
+ "@dalcode/dal-pi-kit": "1.0.31"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-terminal",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "description": "Host terminal context: a terminal_read tool and @terminal mentions, registered only when the embedding host advertises the terminal capability.",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  ]
20
20
  },
21
21
  "dependencies": {
22
- "@dalcode/dal-pi-kit": "1.0.29",
22
+ "@dalcode/dal-pi-kit": "1.0.31",
23
23
  "typebox": "1.3.7"
24
24
  },
25
25
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-tool-catalog",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -18,7 +18,7 @@
18
18
  ]
19
19
  },
20
20
  "dependencies": {
21
- "@dalcode/dal-pi-kit": "1.0.29",
21
+ "@dalcode/dal-pi-kit": "1.0.31",
22
22
  "typebox": "1.3.7"
23
23
  },
24
24
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-web",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -23,8 +23,8 @@
23
23
  ]
24
24
  },
25
25
  "dependencies": {
26
- "@dalcode/dal-pi-kit": "1.0.29",
27
- "@dalcode/deepailab": "1.0.29",
26
+ "@dalcode/dal-pi-kit": "1.0.31",
27
+ "@dalcode/deepailab": "1.0.31",
28
28
  "typebox": "1.3.27"
29
29
  },
30
30
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-workflow",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -17,7 +17,7 @@
17
17
  ]
18
18
  },
19
19
  "dependencies": {
20
- "@dalcode/dal-pi-kit": "1.0.29",
20
+ "@dalcode/dal-pi-kit": "1.0.31",
21
21
  "typebox": "1.3.27"
22
22
  },
23
23
  "peerDependencies": {
@@ -1,2 +1,2 @@
1
- var _=Object.defineProperty;var c=(n,t)=>_(n,"name",{value:t,configurable:!0});var S=Object.defineProperty,i=c((n,t)=>S(n,"name",{value:t,configurable:!0}),"i");import{t as o}from"@dalcode/dal-pi-kit";import{StringEnum as y}from"@earendil-works/pi-ai";import{Type as E}from"typebox";import{fill as a}from"./shared.js";const I=E.Object({action:y(["list","add","update","remove","toggle","clear"],{description:o("\u64CD\u4F5C\uFF1Alist \u67E5\u770B\u3001add \u65B0\u589E\u3001update \u4FEE\u6539\u3001remove \u5220\u9664\u3001toggle \u5207\u6362\u5B8C\u6210\u3001clear \u6E05\u7A7A")}),text:E.Optional(E.String({description:o("\u5F85\u529E\u5185\u5BB9\uFF08add \u5FC5\u586B\uFF0Cupdate \u53EF\u9009\uFF09")})),id:E.Optional(E.Number({description:o("\u5F85\u529E\u7F16\u53F7\uFF08update / remove / toggle \u5FC5\u586B\uFF09")})),status:E.Optional(y(["pending","in_progress","done"],{description:o("\u72B6\u6001\uFF08add / update \u53EF\u9009\uFF09\uFF1Apending \u672A\u5F00\u59CB\u3001in_progress \u8FDB\u884C\u4E2D\u3001done \u5DF2\u5B8C\u6210")}))}),O={pending:"\u25CB",in_progress:"\u25D0",done:"\u2713"};function g(n){return`${O[n.status]} #${n.id} ${n.text}`}c(g,"x"),i(g,"formatTodo");function b(n){if(!n||typeof n!="object")return;const t=n;if(typeof t.id!="number"||typeof t.text!="string")return;const F=t.status==="pending"||t.status==="in_progress"||t.status==="done"?t.status:t.done===!0?"done":"pending";return{id:t.id,text:t.text,status:F}}c(b,"E"),i(b,"normalizeTodo");function h(n){let t=[],F=1;function f(d){if(t.length===0){d.ui.setPanel("dal-todos",void 0);return}const e=t.filter(l=>l.status==="done").length;d.ui.setPanel("dal-todos",{title:a(o("\u5F85\u529E {done}/{total}"),{done:e,total:t.length}),lines:t.map(g),placement:"aux"})}c(f,"v"),i(f,"updatePanel");function m(d){t=[],F=1;for(const e of d.sessionManager.getBranch()){if(e.type!=="message")continue;const l=e.message;if(l.role!=="toolResult"||l.toolName!=="todo")continue;const p=l.details;!p||!Array.isArray(p.todos)||typeof p.nextId!="number"||(t=p.todos.map(b).filter(B=>B!==void 0),F=p.nextId)}f(d)}return c(m,"b"),i(m,"reconstruct"),n.on("session_start",async(d,e)=>m(e)),n.on("session_tree",async(d,e)=>m(e)),n.registerTool({name:"todo",label:o("\u5F85\u529E\u6E05\u5355"),description:o("\u7BA1\u7406\u672C\u6B21\u4EFB\u52A1\u7684\u5F85\u529E\u6E05\u5355\u3002\u591A\u6B65\u9AA4\u4EFB\u52A1\u5F00\u59CB\u65F6\u5148\u7528 add \u5217\u51FA\u6B65\u9AA4\uFF0C\u52A8\u624B\u505A\u67D0\u4E00\u6B65\u65F6\u7528 update \u6807\u4E3A in_progress\uFF0C\u505A\u5B8C\u6807\u4E3A done\u3002\u6E05\u5355\u8DDF\u968F\u5F53\u524D\u5BF9\u8BDD\u5206\u652F\u3002"),promptSnippet:o("todo - \u591A\u6B65\u9AA4\u4EFB\u52A1\u7528\u5F85\u529E\u6E05\u5355\u8DDF\u8E2A\u8FDB\u5EA6"),parameters:I,async execute(d,e,l,p,B){const s=i((u,r,A)=>{f(B);const v={action:r,todos:t.map(T=>({...T})),nextId:F};return A&&(v.error=A),{content:[{type:"text",text:u}],details:v}},"result"),x=i(u=>u===void 0?void 0:t.find(r=>r.id===u),"find"),D=i(()=>{const u=a(o("\u627E\u4E0D\u5230\u7F16\u53F7\u4E3A #{id} \u7684\u5F85\u529E"),{id:String(e.id)});return s(u,e.action,u)},"notFound"),C=i(()=>{const u=o("\u7F3A\u5C11\u5F85\u529E\u7F16\u53F7 id");return s(u,e.action,u)},"needsId");switch(e.action){case"list":return s(t.length?t.map(g).join(`
2
- `):o("\u5F85\u529E\u6E05\u5355\u662F\u7A7A\u7684"),"list");case"add":{const u=e.text?.trim();if(!u){const A=o("\u65B0\u589E\u5F85\u529E\u9700\u8981\u586B\u5199\u5185\u5BB9 text");return s(A,"add",A)}const r={id:F++,text:u,status:e.status??"pending"};return t.push(r),s(a(o("\u5DF2\u65B0\u589E\u5F85\u529E #{id}\uFF1A{text}"),{id:r.id,text:r.text}),"add")}case"update":{if(e.id===void 0)return C();const u=x(e.id);return u?(e.text?.trim()&&(u.text=e.text.trim()),e.status&&(u.status=e.status),s(a(o("\u5DF2\u66F4\u65B0\u5F85\u529E\uFF1A{todo}"),{todo:g(u)}),"update")):D()}case"remove":{if(e.id===void 0)return C();const u=x(e.id);return u?(t=t.filter(r=>r!==u),s(a(o("\u5DF2\u5220\u9664\u5F85\u529E #{id}\uFF1A{text}"),{id:u.id,text:u.text}),"remove")):D()}case"toggle":{if(e.id===void 0)return C();const u=x(e.id);return u?(u.status=u.status==="done"?"pending":"done",s(a(o("\u5DF2\u66F4\u65B0\u5F85\u529E\uFF1A{todo}"),{todo:g(u)}),"toggle")):D()}case"clear":{const u=t.length;return t=[],F=1,s(a(o("\u5DF2\u6E05\u7A7A {count} \u6761\u5F85\u529E"),{count:u}),"clear")}default:{const u=a(o("\u4E0D\u652F\u6301\u7684\u64CD\u4F5C\uFF1A{action}"),{action:String(e.action)});return s(u,"list",u)}}}}),{todos:i(()=>t,"todos")}}c(h,"R"),i(h,"registerTodo");export{g as formatTodo,h as registerTodo};
1
+ var S=Object.defineProperty;var c=(n,u)=>S(n,"name",{value:u,configurable:!0});var I=Object.defineProperty,s=c((n,u)=>I(n,"name",{value:u,configurable:!0}),"i");import{t as o}from"@dalcode/dal-pi-kit";import{StringEnum as b}from"@earendil-works/pi-ai";import{Type as g}from"typebox";import{fill as F}from"./shared.js";const O=g.Object({action:b(["list","add","update","remove","toggle","clear"],{description:o("\u64CD\u4F5C\uFF1Alist \u67E5\u770B\u3001add \u65B0\u589E\u3001update \u4FEE\u6539\u3001remove \u5220\u9664\u3001toggle \u5207\u6362\u5B8C\u6210\u3001clear \u6E05\u7A7A")}),text:g.Optional(g.String({description:o("\u5F85\u529E\u5185\u5BB9\uFF08add \u5FC5\u586B\uFF0Cupdate \u53EF\u9009\uFF09")})),id:g.Optional(g.Number({description:o("\u5F85\u529E\u7F16\u53F7\uFF08update / remove / toggle \u5FC5\u586B\uFF09")})),status:g.Optional(b(["pending","in_progress","done"],{description:o("\u72B6\u6001\uFF08add / update \u53EF\u9009\uFF09\uFF1Apending \u672A\u5F00\u59CB\u3001in_progress \u8FDB\u884C\u4E2D\u3001done \u5DF2\u5B8C\u6210")}))}),P={pending:"\u25CB",in_progress:"\u25D0",done:"\u2713"};function A(n){return`${P[n.status]} #${n.id} ${n.text}`}c(A,"T"),s(A,"formatTodo");function T(n){if(!n||typeof n!="object")return;const u=n;if(typeof u.id!="number"||typeof u.text!="string")return;const d=u.status==="pending"||u.status==="in_progress"||u.status==="done"?u.status:u.done===!0?"done":"pending";return{id:u.id,text:u.text,status:d}}c(T,"w"),s(T,"normalizeTodo");function _(n){let u=[],d=1;const h=s(()=>u.length>0&&u.every(i=>i.status==="done"),"allDone");function m(i){if(u.length===0||h()){i.ui.setPanel("dal-todos",void 0);return}const e=u.filter(l=>l.status==="done").length;i.ui.setPanel("dal-todos",{title:F(o("\u5F85\u529E {done}/{total}"),{done:e,total:u.length}),lines:u.map(A),placement:"aux"})}c(m,"S"),s(m,"updatePanel");function x(i){u=[],d=1;for(const e of i.sessionManager.getBranch()){if(e.type!=="message")continue;const l=e.message;if(l.role!=="toolResult"||l.toolName!=="todo")continue;const p=l.details;!p||!Array.isArray(p.todos)||typeof p.nextId!="number"||(u=p.todos.map(T).filter(D=>D!==void 0),d=p.nextId)}m(i)}return c(x,"A"),s(x,"reconstruct"),n.on("session_start",async(i,e)=>x(e)),n.on("session_tree",async(i,e)=>x(e)),n.registerTool({name:"todo",label:o("\u5F85\u529E\u6E05\u5355"),description:o("\u7BA1\u7406\u672C\u6B21\u4EFB\u52A1\u7684\u5F85\u529E\u6E05\u5355\u3002\u591A\u6B65\u9AA4\u4EFB\u52A1\u5F00\u59CB\u65F6\u5148\u7528 add \u5217\u51FA\u6B65\u9AA4\uFF0C\u52A8\u624B\u505A\u67D0\u4E00\u6B65\u65F6\u7528 update \u6807\u4E3A in_progress\uFF0C\u505A\u5B8C\u6807\u4E3A done\u3002\u6E05\u5355\u8DDF\u968F\u5F53\u524D\u5BF9\u8BDD\u5206\u652F\u3002"),promptSnippet:o("todo - \u591A\u6B65\u9AA4\u4EFB\u52A1\u7528\u5F85\u529E\u6E05\u5355\u8DDF\u8E2A\u8FDB\u5EA6"),parameters:O,async execute(i,e,l,p,D){const r=s((t,a,E)=>{m(D);const B={action:a,todos:u.map(f=>({...f})),nextId:d};return E&&(B.error=E),{content:[{type:"text",text:t}],details:B}},"result"),C=s(t=>t===void 0?void 0:u.find(a=>a.id===t),"find"),v=s(()=>{const t=F(o("\u627E\u4E0D\u5230\u7F16\u53F7\u4E3A #{id} \u7684\u5F85\u529E"),{id:String(e.id)});return r(t,e.action,t)},"notFound"),y=s(()=>{const t=o("\u7F3A\u5C11\u5F85\u529E\u7F16\u53F7 id");return r(t,e.action,t)},"needsId");switch(e.action){case"list":return r(u.length?u.map(A).join(`
2
+ `):o("\u5F85\u529E\u6E05\u5355\u662F\u7A7A\u7684"),"list");case"add":{const t=e.text?.trim();if(!t){const f=o("\u65B0\u589E\u5F85\u529E\u9700\u8981\u586B\u5199\u5185\u5BB9 text");return r(f,"add",f)}const a=h();a&&(u=[],d=1);const E={id:d++,text:t,status:e.status??"pending"};u.push(E);const B=F(o("\u5DF2\u65B0\u589E\u5F85\u529E #{id}\uFF1A{text}"),{id:E.id,text:E.text});return r(a?`${o("\u4E0A\u4E00\u4EFD\u6E05\u5355\u5DF2\u5168\u90E8\u5B8C\u6210\uFF0C\u5F00\u59CB\u65B0\u6E05\u5355\u3002")}${B}`:B,"add")}case"update":{if(e.id===void 0)return y();const t=C(e.id);return t?(e.text?.trim()&&(t.text=e.text.trim()),e.status&&(t.status=e.status),r(F(o("\u5DF2\u66F4\u65B0\u5F85\u529E\uFF1A{todo}"),{todo:A(t)}),"update")):v()}case"remove":{if(e.id===void 0)return y();const t=C(e.id);return t?(u=u.filter(a=>a!==t),r(F(o("\u5DF2\u5220\u9664\u5F85\u529E #{id}\uFF1A{text}"),{id:t.id,text:t.text}),"remove")):v()}case"toggle":{if(e.id===void 0)return y();const t=C(e.id);return t?(t.status=t.status==="done"?"pending":"done",r(F(o("\u5DF2\u66F4\u65B0\u5F85\u529E\uFF1A{todo}"),{todo:A(t)}),"toggle")):v()}case"clear":{const t=u.length;return u=[],d=1,r(F(o("\u5DF2\u6E05\u7A7A {count} \u6761\u5F85\u529E"),{count:t}),"clear")}default:{const t=F(o("\u4E0D\u652F\u6301\u7684\u64CD\u4F5C\uFF1A{action}"),{action:String(e.action)});return r(t,"list",t)}}}}),{todos:s(()=>u,"todos")}}c(_,"R"),s(_,"registerTodo");export{A as formatTodo,_ as registerTodo};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/deepailab",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -20,8 +20,8 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@dalcode/dal-pi-kit": "1.0.29",
24
- "@earendil-works/pi-ai": "^1.0.29"
23
+ "@dalcode/dal-pi-kit": "1.0.31",
24
+ "@earendil-works/pi-ai": "^1.0.31"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/chord",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "Application composition runtime for services, replicated state, RPC, and plugins",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-agent-core",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "README.md"
18
18
  ],
19
19
  "dependencies": {
20
- "@earendil-works/pi-ai": "^1.0.29",
20
+ "@earendil-works/pi-ai": "^1.0.31",
21
21
  "typebox": "1.3.27"
22
22
  },
23
23
  "keywords": [
@@ -1 +1 @@
1
- {"schemaVersion":6,"generatedAt":"2026-10-11T10:16:10.082Z","structureHash":"ab1f38844dab292086f654fbd6e2f2b6eac7d948660ec5caebd59eb1c7b8acb3","files":{"amazon-bedrock.json":"df227d426b678e44cd82deae1cf433855d6b27f36fedcff3ef4fb812fe882868","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"327ea610aca64889902458243e9b6a440eb678671f5993b88ad32ac6e827b587","azure.json":"46c4e25b84463c6475e706c581196d2735c35feb9612d2efca0ab932c917d727","baseten.json":"1fcdab8daf2881bd099eb08f9416f7df5bf39975937d2a63b841542bd032f2e6","cerebras.json":"3eccb58c5de3d0dc7ba49dc6e477ba29f00cb3150ce0a35cc90d59e6b5ab368e","cloudflare-ai-gateway.json":"4e8d768060efc471d44a730b7a8a7243527a0ae87515e9742da21412ab930a54","cloudflare-workers-ai.json":"98b9c8cb412139ae3f5d2f5e49134f8412ed4e139a12bf6cb3aeba38aacc6bb3","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"8db3c11f65a5d76260d5040a5dc5a9ef0f35b92de8505a30907c2355c2837b36","github-copilot.json":"8fb758ef096c015ea1b7946e6b8195f17a09f333906025f35e050c9ad66e8bb7","google-vertex.json":"96ecc19bf20a706f99ae658b021a0ee5438146119e1e99de5fd824a01fcfd81b","google.json":"64bdd2563cee0e3598aec4d93a6735c189b6d7d14b9c03f061cc2824f3730528","groq.json":"910952ad9dad07856983459d63fce0148dba1203edd7b10d801a77c5824f3405","huggingface.json":"6399e958790a9d90c21fb55d1cbef8569427a1ceb28de86dadeb3b4454ecfade","kimi-coding.json":"582250b920454d98940da3e7e99d30b807edbea28f2eb8ac15f658d2ef41e8fc","meta.json":"0c7e9a370a7005c5a89dc94f0f93bc67b8935c3f802de324f11af6ff56fff429","minimax-cn.json":"1bbfbd11c3edbd141841d3cef027e12157218f1aec92477e15772116c1fabe7a","minimax.json":"a4b6864bd97eddf5749b2e117f643e751ec237408e8e24bec9e2f947782fa244","mistral.json":"27aa66c71a0504b53dc87ec194286fa7e70b99747fc8df9b709b23b3548afe50","moonshotai-cn.json":"79c9585dc84ee525ebaebbc78b3c55f3d369ec884d4f943488f1e0b14e3587f5","moonshotai.json":"1da2c4e34f22aef17a07c974d85bdee8e1b68b6dc712e3769c935b3f1e7dadca","nvidia.json":"a75e963dc81779e3eec01c051b12277c15ec37c5b94ab51ece9e9ccb3b16407c","openai-codex.json":"3cc35a7e122e5c77ee8ec30a9a3bd8bd59629997e85ba2cb3f9e0ed62e9a09c0","openai.json":"f4c1ac9f8f84cb9f2a952b0ceec51c90a38b31b4cdf33200e018ece9d408e95f","opencode-go.json":"aa73a7dcdb088b40f6f84ea0a3e814985c298aefdf76580f6836afbd8198b160","opencode.json":"b12302468f2d47f7c142744f935427a1a17551c2e49c47750b9617d16db7cf8a","openrouter.json":"b31f08b368fce047a174acc8635d04171a5438fa20626d53e22960c40aa50a6d","qwen-token-plan-cn.json":"2469a4091c474ec3db0a49a9962d8d2726c074ad9065b96bc4e0c87861c4c6c5","qwen-token-plan-individual.json":"0fb7cf64faf39d1a3b0a884210a86c87084b805eda15644f5f39293287b959dd","qwen-token-plan.json":"eff10620cb577142de4ec02698d5961a71fda2fe4f6ae7ea9432bad9d6844176","radius.json":"c359cdebfde2b8219fb4938a7066cf00dfd3eadc53e7709092c31007164eefa1","together.json":"52293df62191c8e799ae3632f8ab1b3f52ee626aee0280677086627b32864bf7","typesafe.json":"a4429a2f696d5cc5273969af61a7310bda07d6bdcd27bf9ac9c76c534cc43716","vercel-ai-gateway.json":"fcc36626c8e870e010900f4ca1756de91cf94ea375bd3047e8d35a1cd0319eaa","xai.json":"879c49b78b663a52a220ac4ee013e726b10c4f50aaa03bc58ee53a4b54c76928","xiaomi-token-plan-ams.json":"ca65178f4525d9705bc8d085ed136cecbe149c4080e857ea6a64ae643d2ac00a","xiaomi-token-plan-cn.json":"b065326926681c2262084e59c1c19ebdaf146c07107b5242c76b456becf74db0","xiaomi-token-plan-sgp.json":"92c3d6d707f81fd9cd2b6d1fb57dc431d90ba51e10fe49d97bc8806035c23492","xiaomi.json":"b81d01a374f7b558728c78d81f4168efa9c8996e6e2b5618409a8094b083c759","zai-coding-cn.json":"ee5ee705fb6e413a6088db5e3616c27fce802a8ece6c355f1db35490d787f610","zai.json":"58e6642fdfb736f0b9a4a277c760c536a3cea66a030abbfb2615f7b2851d5c6f"}}
1
+ {"schemaVersion":6,"generatedAt":"2026-10-14T15:07:22.722Z","structureHash":"1eaa82cd39d0f39d204f90817e4ed18e82fc310fcb5169c5acaaff2e4cba2a5c","files":{"amazon-bedrock.json":"df227d426b678e44cd82deae1cf433855d6b27f36fedcff3ef4fb812fe882868","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"327ea610aca64889902458243e9b6a440eb678671f5993b88ad32ac6e827b587","azure.json":"46c4e25b84463c6475e706c581196d2735c35feb9612d2efca0ab932c917d727","baseten.json":"1fcdab8daf2881bd099eb08f9416f7df5bf39975937d2a63b841542bd032f2e6","cerebras.json":"3eccb58c5de3d0dc7ba49dc6e477ba29f00cb3150ce0a35cc90d59e6b5ab368e","cloudflare-ai-gateway.json":"388aefd2f1e5c5b0783673de1acda4a7ea8de853ebb5beeeede9646a90159a2a","cloudflare-workers-ai.json":"98b9c8cb412139ae3f5d2f5e49134f8412ed4e139a12bf6cb3aeba38aacc6bb3","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"8db3c11f65a5d76260d5040a5dc5a9ef0f35b92de8505a30907c2355c2837b36","github-copilot.json":"1c7d77a4c320081bb0a80b2c8e185b34f07b73d38e67d20f3dcabcf72f2f8fcd","google-vertex.json":"564d692a4292ef12e98c8ec056a39948ea64e10851f5ddaaebcc37b585545231","google.json":"e13d3c51b13028d8253153165f7438ea2f3c3eaa8f209be952d3e9ded4494b5a","groq.json":"910952ad9dad07856983459d63fce0148dba1203edd7b10d801a77c5824f3405","huggingface.json":"6399e958790a9d90c21fb55d1cbef8569427a1ceb28de86dadeb3b4454ecfade","kimi-coding.json":"582250b920454d98940da3e7e99d30b807edbea28f2eb8ac15f658d2ef41e8fc","meta.json":"563f5ec07973f52ab8c3eb26ef91a36ad8a79e950b37174935666cdcb624bf35","minimax-cn.json":"1bbfbd11c3edbd141841d3cef027e12157218f1aec92477e15772116c1fabe7a","minimax.json":"a4b6864bd97eddf5749b2e117f643e751ec237408e8e24bec9e2f947782fa244","mistral.json":"27aa66c71a0504b53dc87ec194286fa7e70b99747fc8df9b709b23b3548afe50","moonshotai-cn.json":"79c9585dc84ee525ebaebbc78b3c55f3d369ec884d4f943488f1e0b14e3587f5","moonshotai.json":"1da2c4e34f22aef17a07c974d85bdee8e1b68b6dc712e3769c935b3f1e7dadca","nvidia.json":"a75e963dc81779e3eec01c051b12277c15ec37c5b94ab51ece9e9ccb3b16407c","openai-codex.json":"3cc35a7e122e5c77ee8ec30a9a3bd8bd59629997e85ba2cb3f9e0ed62e9a09c0","openai.json":"f4c1ac9f8f84cb9f2a952b0ceec51c90a38b31b4cdf33200e018ece9d408e95f","opencode-go.json":"dcb44624d15d90aff3c35d672dd2a94fa93d368f0040e3d50d836ccd11e5c51b","opencode.json":"ab8fd50a76aa4c05c219232acaad9bc0018488d6d3078ab211b13264166ab69a","openrouter.json":"144224216de0c4189b52b4457fde8d389c52325cbfcda81d81562e4f3dfcb71a","qwen-token-plan-cn.json":"2469a4091c474ec3db0a49a9962d8d2726c074ad9065b96bc4e0c87861c4c6c5","qwen-token-plan-individual.json":"0fb7cf64faf39d1a3b0a884210a86c87084b805eda15644f5f39293287b959dd","qwen-token-plan.json":"eff10620cb577142de4ec02698d5961a71fda2fe4f6ae7ea9432bad9d6844176","radius.json":"b7c30119e41d4f932091867ac3edd7312aac5b2b8ca82809b245840d0d09b202","together.json":"52293df62191c8e799ae3632f8ab1b3f52ee626aee0280677086627b32864bf7","typesafe.json":"a4429a2f696d5cc5273969af61a7310bda07d6bdcd27bf9ac9c76c534cc43716","vercel-ai-gateway.json":"d731e15e7c3d46026294630c1d932f7a42919fa242144f5a15bf35f46393aa62","xai.json":"879c49b78b663a52a220ac4ee013e726b10c4f50aaa03bc58ee53a4b54c76928","xiaomi-token-plan-ams.json":"ca65178f4525d9705bc8d085ed136cecbe149c4080e857ea6a64ae643d2ac00a","xiaomi-token-plan-cn.json":"b065326926681c2262084e59c1c19ebdaf146c07107b5242c76b456becf74db0","xiaomi-token-plan-sgp.json":"92c3d6d707f81fd9cd2b6d1fb57dc431d90ba51e10fe49d97bc8806035c23492","xiaomi.json":"b81d01a374f7b558728c78d81f4168efa9c8996e6e2b5618409a8094b083c759","zai-coding-cn.json":"ee5ee705fb6e413a6088db5e3616c27fce802a8ece6c355f1db35490d787f610","zai.json":"58e6642fdfb736f0b9a4a277c760c536a3cea66a030abbfb2615f7b2851d5c6f"}}