dal-code 1.0.0 → 1.0.7

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 (166) hide show
  1. package/CHANGELOG.md +67 -1
  2. package/dist/core/auth-guidance.d.ts +1 -0
  3. package/dist/core/auth-guidance.d.ts.map +1 -1
  4. package/dist/core/auth-guidance.js +6 -0
  5. package/dist/core/auth-guidance.js.map +1 -1
  6. package/dist/core/compaction/compaction.d.ts.map +1 -1
  7. package/dist/core/compaction/compaction.js +4 -7
  8. package/dist/core/compaction/compaction.js.map +1 -1
  9. package/dist/core/extensions/index.d.ts +1 -1
  10. package/dist/core/extensions/index.d.ts.map +1 -1
  11. package/dist/core/extensions/index.js.map +1 -1
  12. package/dist/core/extensions/loader.d.ts.map +1 -1
  13. package/dist/core/extensions/loader.js +13 -1
  14. package/dist/core/extensions/loader.js.map +1 -1
  15. package/dist/core/extensions/runner.d.ts.map +1 -1
  16. package/dist/core/extensions/runner.js +47 -48
  17. package/dist/core/extensions/runner.js.map +1 -1
  18. package/dist/core/extensions/types.d.ts +46 -43
  19. package/dist/core/extensions/types.d.ts.map +1 -1
  20. package/dist/core/extensions/types.js.map +1 -1
  21. package/dist/core/keybindings.d.ts +10 -0
  22. package/dist/core/keybindings.d.ts.map +1 -1
  23. package/dist/core/keybindings.js +13 -0
  24. package/dist/core/keybindings.js.map +1 -1
  25. package/dist/core/tools/bash.d.ts +3 -1
  26. package/dist/core/tools/bash.d.ts.map +1 -1
  27. package/dist/core/tools/bash.js +61 -8
  28. package/dist/core/tools/bash.js.map +1 -1
  29. package/dist/core/tools/renderers/bash.d.ts.map +1 -1
  30. package/dist/core/tools/renderers/bash.js +43 -6
  31. package/dist/core/tools/renderers/bash.js.map +1 -1
  32. package/dist/dal/builtins.d.ts.map +1 -1
  33. package/dist/dal/builtins.js +1 -0
  34. package/dist/dal/builtins.js.map +1 -1
  35. package/dist/index.d.ts +1 -1
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js.map +1 -1
  38. package/dist/main.d.ts.map +1 -1
  39. package/dist/main.js +6 -0
  40. package/dist/main.js.map +1 -1
  41. package/dist/modes/interactive/components/assistant-message.d.ts +12 -0
  42. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
  43. package/dist/modes/interactive/components/assistant-message.js +22 -1
  44. package/dist/modes/interactive/components/assistant-message.js.map +1 -1
  45. package/dist/modes/interactive/components/footer.d.ts +2 -0
  46. package/dist/modes/interactive/components/footer.d.ts.map +1 -1
  47. package/dist/modes/interactive/components/footer.js +24 -7
  48. package/dist/modes/interactive/components/footer.js.map +1 -1
  49. package/dist/modes/interactive/components/tool-execution.d.ts +39 -2
  50. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  51. package/dist/modes/interactive/components/tool-execution.js +200 -29
  52. package/dist/modes/interactive/components/tool-execution.js.map +1 -1
  53. package/dist/modes/interactive/interactive-mode.d.ts +35 -0
  54. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  55. package/dist/modes/interactive/interactive-mode.js +177 -23
  56. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  57. package/dist/modes/interactive/theme/dark.json +1 -1
  58. package/dist/modes/interactive/theme/light.json +1 -1
  59. package/dist/modes/interactive/tui-renderer.d.ts.map +1 -1
  60. package/dist/modes/interactive/tui-renderer.js +2 -2
  61. package/dist/modes/interactive/tui-renderer.js.map +1 -1
  62. package/dist/node_modules/@dalcode/dal-bridge/package.json +3 -3
  63. package/dist/node_modules/@dalcode/dal-gateway/package.json +3 -3
  64. package/dist/node_modules/@dalcode/dal-guard/package.json +5 -5
  65. package/dist/node_modules/@dalcode/dal-halo/package.json +2 -2
  66. package/dist/node_modules/@dalcode/dal-lang/package.json +4 -4
  67. package/dist/node_modules/@dalcode/dal-lsp/package.json +4 -4
  68. package/dist/node_modules/@dalcode/dal-mcp/package.json +9 -6
  69. package/dist/node_modules/@dalcode/dal-mcp/src/add-wizard.ts +142 -0
  70. package/dist/node_modules/@dalcode/dal-mcp/src/command-parser.ts +218 -0
  71. package/dist/node_modules/@dalcode/dal-mcp/src/config-edit.ts +99 -0
  72. package/dist/node_modules/@dalcode/dal-mcp/src/index.ts +161 -18
  73. package/dist/node_modules/@dalcode/dal-mcp/src/stdio-client.ts +8 -3
  74. package/dist/node_modules/@dalcode/dal-office/LICENSE +21 -0
  75. package/dist/node_modules/@dalcode/dal-office/package.json +37 -0
  76. package/dist/node_modules/@dalcode/dal-office/src/extract/csv.ts +84 -0
  77. package/dist/node_modules/@dalcode/dal-office/src/extract/index.ts +111 -0
  78. package/dist/node_modules/@dalcode/dal-office/src/extract/ooxml.ts +109 -0
  79. package/dist/node_modules/@dalcode/dal-office/src/extract/pdf.ts +43 -0
  80. package/dist/node_modules/@dalcode/dal-office/src/index.ts +43 -0
  81. package/dist/node_modules/@dalcode/dal-office/src/paths.ts +107 -0
  82. package/dist/node_modules/@dalcode/dal-office/src/render/chart.ts +111 -0
  83. package/dist/node_modules/@dalcode/dal-office/src/render/docx.ts +155 -0
  84. package/dist/node_modules/@dalcode/dal-office/src/render/pptx.ts +386 -0
  85. package/dist/node_modules/@dalcode/dal-office/src/render/xlsx.ts +99 -0
  86. package/dist/node_modules/@dalcode/dal-office/src/scenes.ts +197 -0
  87. package/dist/node_modules/@dalcode/dal-office/src/scratchpad.ts +49 -0
  88. package/dist/node_modules/@dalcode/dal-office/src/themes.ts +240 -0
  89. package/dist/node_modules/@dalcode/dal-office/src/tools/chart-generate.ts +122 -0
  90. package/dist/node_modules/@dalcode/dal-office/src/tools/doc-generate.ts +123 -0
  91. package/dist/node_modules/@dalcode/dal-office/src/tools/drawio-generate.ts +99 -0
  92. package/dist/node_modules/@dalcode/dal-office/src/tools/md-generate.ts +76 -0
  93. package/dist/node_modules/@dalcode/dal-office/src/tools/ppt-generate.ts +106 -0
  94. package/dist/node_modules/@dalcode/dal-office/src/tools/ppt-plan.ts +91 -0
  95. package/dist/node_modules/@dalcode/dal-office/src/tools/read-file.ts +71 -0
  96. package/dist/node_modules/@dalcode/dal-office/src/tools/shared.ts +54 -0
  97. package/dist/node_modules/@dalcode/dal-office/src/tools/sheet-generate.ts +101 -0
  98. package/dist/node_modules/@dalcode/dal-office/src/truncate.ts +27 -0
  99. package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.d.ts.map +1 -1
  100. package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.js +233 -1
  101. package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.js.map +1 -1
  102. package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
  103. package/dist/node_modules/@dalcode/dal-pi-kit/src/i18n.ts +322 -1
  104. package/dist/node_modules/@dalcode/dal-skills/package.json +4 -4
  105. package/dist/node_modules/@dalcode/dal-skills/src/discover.ts +101 -0
  106. package/dist/node_modules/@dalcode/dal-skills/src/index.ts +71 -9
  107. package/dist/node_modules/@dalcode/dal-skills/src/install.ts +140 -0
  108. package/dist/node_modules/@dalcode/dal-skills/src/manage.ts +446 -0
  109. package/dist/node_modules/@dalcode/dal-skills/src/packages.ts +39 -1
  110. package/dist/node_modules/@dalcode/dal-subagent/package.json +6 -6
  111. package/dist/node_modules/@dalcode/dal-subagent/src/index.ts +46 -4
  112. package/dist/node_modules/@dalcode/dal-telemetry/package.json +3 -3
  113. package/dist/node_modules/@dalcode/deepailab/package.json +4 -4
  114. package/dist/node_modules/@dalcode/deepailab/src/index.ts +7 -1
  115. package/dist/node_modules/@dalcode/deepailab/src/model-defaults.ts +42 -6
  116. package/dist/node_modules/@earendil-works/pi-agent-core/package.json +3 -3
  117. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  118. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
  119. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
  120. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
  121. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
  122. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
  123. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
  124. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  125. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  126. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
  127. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
  128. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  129. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
  130. package/dist/node_modules/@earendil-works/pi-ai/package.json +2 -2
  131. package/dist/node_modules/@earendil-works/pi-client/package.json +2 -2
  132. package/dist/node_modules/@earendil-works/pi-protocol/package.json +1 -1
  133. package/dist/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  134. package/dist/node_modules/@earendil-works/pi-tui/dist/autocomplete.d.ts.map +1 -1
  135. package/dist/node_modules/@earendil-works/pi-tui/dist/autocomplete.js +3 -1
  136. package/dist/node_modules/@earendil-works/pi-tui/dist/autocomplete.js.map +1 -1
  137. package/dist/node_modules/@earendil-works/pi-tui/dist/components/input.d.ts.map +1 -1
  138. package/dist/node_modules/@earendil-works/pi-tui/dist/components/input.js +3 -1
  139. package/dist/node_modules/@earendil-works/pi-tui/dist/components/input.js.map +1 -1
  140. package/dist/node_modules/@earendil-works/pi-tui/dist/fuzzy.d.ts.map +1 -1
  141. package/dist/node_modules/@earendil-works/pi-tui/dist/fuzzy.js +23 -22
  142. package/dist/node_modules/@earendil-works/pi-tui/dist/fuzzy.js.map +1 -1
  143. package/dist/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.d.ts +4 -3
  144. package/dist/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.d.ts.map +1 -1
  145. package/dist/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +4 -2
  146. package/dist/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js.map +1 -1
  147. package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
  148. package/dist/utils/changelog.d.ts +37 -4
  149. package/dist/utils/changelog.d.ts.map +1 -1
  150. package/dist/utils/changelog.js +80 -17
  151. package/dist/utils/changelog.js.map +1 -1
  152. package/dist/utils/clipboard.d.ts.map +1 -1
  153. package/dist/utils/clipboard.js +13 -1
  154. package/dist/utils/clipboard.js.map +1 -1
  155. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  156. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  157. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  158. package/examples/extensions/gondolin/package-lock.json +2 -2
  159. package/examples/extensions/gondolin/package.json +1 -1
  160. package/examples/extensions/sandbox/package-lock.json +2 -2
  161. package/examples/extensions/sandbox/package.json +1 -1
  162. package/examples/extensions/with-deps/package-lock.json +2 -2
  163. package/examples/extensions/with-deps/package.json +1 -1
  164. package/examples/plugins/pi-example-plugin/package.json +1 -1
  165. package/npm-shrinkwrap.json +1511 -25
  166. package/package.json +8 -2
@@ -99,12 +99,34 @@ function filePathFromInput(input: Record<string, unknown>): string | undefined {
99
99
  return undefined;
100
100
  }
101
101
 
102
+ /** The shortest honest label for one sub-agent step: the tool, plus its target when there is one. */
103
+ function describeSubagentStep(toolName: string, params: unknown): string {
104
+ const hint = filePathFromInput(params as Record<string, unknown>);
105
+ if (hint) return `${toolName} ${hint.split("/").slice(-2).join("/")}`;
106
+ const record = (params ?? {}) as Record<string, unknown>;
107
+ for (const key of ["command", "pattern", "query"]) {
108
+ const value = record[key];
109
+ if (typeof value === "string" && value.trim()) {
110
+ const compact = value.replace(/\s+/g, " ").trim();
111
+ return `${toolName} ${compact.length > 40 ? `${compact.slice(0, 39)}…` : compact}`;
112
+ }
113
+ }
114
+ return toolName;
115
+ }
116
+
102
117
  /** Wraps each tool's execute so it goes through dal-guard's approval decision first, with hasUI forced false. */
103
- export function buildSubagentTools(cwd: string, readOnly: boolean, changedFiles?: string[]): AgentTool<any>[] {
118
+ export function buildSubagentTools(
119
+ cwd: string,
120
+ readOnly: boolean,
121
+ changedFiles?: string[],
122
+ /** Called as the sub-agent starts each tool, so the parent can show progress. */
123
+ onToolStart?: (toolName: string, params: unknown) => void,
124
+ ): AgentTool<any>[] {
104
125
  const tools = readOnly ? createReadOnlyTools(cwd) : createCodingTools(cwd);
105
126
  return tools.map((tool) => ({
106
127
  ...tool,
107
128
  execute: async (toolCallId, params, signal, onUpdate) => {
129
+ onToolStart?.(tool.name, params);
108
130
  const event = {
109
131
  type: "tool_call",
110
132
  toolCallId,
@@ -141,9 +163,23 @@ export function buildSubagentSystemPrompt(): string {
141
163
  );
142
164
  }
143
165
 
166
+ /**
167
+ * A line describing what the sub-agent is doing right now.
168
+ *
169
+ * Without this the parent shows nothing at all between dispatch and the final
170
+ * answer — four sub-agents could run for minutes behind a blank screen, which
171
+ * reads as the product having hung rather than as work in progress. The
172
+ * onUpdate callback was handed to the task tool from the start and ignored.
173
+ */
174
+ function progressLine(description: string, steps: number, current: string | undefined): string {
175
+ const suffix = current ? ` · ${current}` : "";
176
+ return `${description} — ${steps} ${t("步")}${suffix}`;
177
+ }
178
+
144
179
  async function runSubagent(
145
180
  input: TaskToolInput,
146
181
  ctx: ExtensionContext,
182
+ onProgress?: (text: string) => void,
147
183
  ): Promise<{ text: string; changedFiles: string[] }> {
148
184
  const model = ctx.model;
149
185
  if (!model) {
@@ -153,7 +189,11 @@ async function runSubagent(
153
189
  const release = await subagentSemaphore.acquire();
154
190
  const changedFiles: string[] = [];
155
191
  try {
156
- const tools = buildSubagentTools(ctx.cwd, input.readOnly === true, changedFiles);
192
+ let steps = 0;
193
+ const tools = buildSubagentTools(ctx.cwd, input.readOnly === true, changedFiles, (toolName, params) => {
194
+ steps += 1;
195
+ onProgress?.(progressLine(input.description, steps, describeSubagentStep(toolName, params)));
196
+ });
157
197
  const subagent = new Agent({
158
198
  initialState: {
159
199
  systemPrompt: buildSubagentSystemPrompt(),
@@ -204,8 +244,10 @@ export default function (pi: ExtensionAPI) {
204
244
  promptSnippet: t("task - 派发子 agent 并行处理独立子任务"),
205
245
  parameters: taskSchema,
206
246
  executionMode: "parallel",
207
- execute: async (_toolCallId, params, _signal, _onUpdate, ctx) => {
208
- const { text, changedFiles } = await runSubagent(params, ctx);
247
+ execute: async (_toolCallId, params, _signal, onUpdate, ctx) => {
248
+ const { text, changedFiles } = await runSubagent(params, ctx, (progress) => {
249
+ onUpdate?.({ content: [{ type: "text", text: progress }], details: { description: params.description } });
250
+ });
209
251
  return {
210
252
  content: [{ type: "text", text }],
211
253
  details: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-telemetry",
3
- "version": "1.0.0",
3
+ "version": "1.0.7",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -20,10 +20,10 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@dalcode/dal-pi-kit": "1.0.0"
23
+ "@dalcode/dal-pi-kit": "1.0.7"
24
24
  },
25
25
  "peerDependencies": {
26
- "@earendil-works/pi-coding-agent": "^0.1.2"
26
+ "@earendil-works/pi-coding-agent": "^1.0.0"
27
27
  },
28
28
  "peerDependenciesMeta": {
29
29
  "@earendil-works/pi-coding-agent": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/deepailab",
3
- "version": "1.0.0",
3
+ "version": "1.0.7",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -19,11 +19,11 @@
19
19
  ]
20
20
  },
21
21
  "dependencies": {
22
- "@dalcode/dal-pi-kit": "1.0.0",
23
- "@earendil-works/pi-ai": "^0.1.2"
22
+ "@dalcode/dal-pi-kit": "1.0.7",
23
+ "@earendil-works/pi-ai": "^1.0.7"
24
24
  },
25
25
  "peerDependencies": {
26
- "@earendil-works/pi-coding-agent": "^0.1.2"
26
+ "@earendil-works/pi-coding-agent": "^1.0.0"
27
27
  },
28
28
  "peerDependenciesMeta": {
29
29
  "@earendil-works/pi-coding-agent": {
@@ -276,7 +276,13 @@ export default function (pi: ExtensionAPI) {
276
276
  max_output_tokens?: number;
277
277
  capabilities?: string[];
278
278
  reasoning_efforts?: string[];
279
- pricing?: { input_per_1m?: number; output_per_1m?: number; currency?: string };
279
+ pricing?: {
280
+ input_per_1m?: number;
281
+ output_per_1m?: number;
282
+ cache_read_per_1m?: number;
283
+ cache_write_per_1m?: number;
284
+ currency?: string;
285
+ };
280
286
  }>;
281
287
  };
282
288
  // Known ids keep their verified seed config; new catalog entries get
@@ -57,9 +57,15 @@ const ZERO_COST = { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 };
57
57
  * and the compaction hint never showed `(~$X)`: a metered product with no cost
58
58
  * visibility in its own terminal.
59
59
  *
60
- * Cache rates are left at zero rather than guessed. The gateway publishes two
61
- * numbers, and inventing a cache multiplier here would be the same mistake as
62
- * inferring the context window from the model name.
60
+ * Cache rates used to be pinned to zero because the gateway published only an
61
+ * input and an output number, and guessing a cache multiplier would have been
62
+ * the same mistake as inferring the context window from the model name. The
63
+ * gateway now publishes them, so they are read: a cache-heavy session against
64
+ * gpt-5.6-sol was being costed as if every cached token were free.
65
+ *
66
+ * A missing cache rate still means zero rather than "unknown", because that is
67
+ * what the billing table charges for one — several providers genuinely do not
68
+ * bill cache reads separately.
63
69
  *
64
70
  * A non-USD catalog is declined rather than converted. `ModelCostRates` has no
65
71
  * currency field, so a CNY figure would be rendered with a dollar sign and be
@@ -71,7 +77,14 @@ function costFromGateway(pricing: GatewayModelMeta["pricing"]): typeof ZERO_COST
71
77
  if (typeof input !== "number" || typeof output !== "number") return undefined;
72
78
  if (!Number.isFinite(input) || !Number.isFinite(output) || input < 0 || output < 0) return undefined;
73
79
  if (currency !== undefined && currency.toUpperCase() !== "USD") return undefined;
74
- return { input, output, cacheRead: 0, cacheWrite: 0 };
80
+ const rate = (value: number | undefined): number =>
81
+ typeof value === "number" && Number.isFinite(value) && value >= 0 ? value : 0;
82
+ return {
83
+ input,
84
+ output,
85
+ cacheRead: rate(pricing.cache_read_per_1m),
86
+ cacheWrite: rate(pricing.cache_write_per_1m),
87
+ };
75
88
  }
76
89
 
77
90
  /**
@@ -174,8 +187,31 @@ export interface GatewayModelMeta {
174
187
  * hid "xhigh"/"max" for deepseek-flash, which accepts both.
175
188
  */
176
189
  reasoningEfforts?: readonly string[];
177
- /** Per-million-token rates from the gateway's sales catalog. */
178
- pricing?: { input_per_1m?: number; output_per_1m?: number; currency?: string };
190
+ /**
191
+ * Per-million-token rates from the gateway's sales catalog.
192
+ *
193
+ * The unsuffixed fields are the PEAK rates. Some upstreams (DeepSeek) also
194
+ * publish a cheaper off-peak sheet plus the window it applies in, which the
195
+ * gateway forwards as `offpeak`/`peak_schedule`. pi's `cost` has no time
196
+ * dimension to put them in, so they are deliberately not read here: quoting
197
+ * the peak rate over-states the bill, and over-stating is the only safe
198
+ * direction to be wrong in. Declared so the shape is documented rather than
199
+ * silently dropped.
200
+ */
201
+ pricing?: {
202
+ input_per_1m?: number;
203
+ output_per_1m?: number;
204
+ cache_read_per_1m?: number;
205
+ cache_write_per_1m?: number;
206
+ currency?: string;
207
+ offpeak?: {
208
+ input_per_1m?: number;
209
+ output_per_1m?: number;
210
+ cache_read_per_1m?: number;
211
+ cache_write_per_1m?: number;
212
+ };
213
+ peak_schedule?: unknown;
214
+ };
179
215
  }
180
216
 
181
217
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-agent-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.7",
4
4
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -41,8 +41,8 @@
41
41
  "README.md"
42
42
  ],
43
43
  "dependencies": {
44
- "@earendil-works/pi-ai": "^0.1.2",
45
- "@earendil-works/pi-telemetry": "^0.1.2",
44
+ "@earendil-works/pi-ai": "^1.0.7",
45
+ "@earendil-works/pi-telemetry": "^1.0.7",
46
46
  "diff": "8.0.4",
47
47
  "ignore": "7.0.5",
48
48
  "typebox": "1.3.7",
@@ -1 +1 @@
1
- {"schemaVersion":3,"generatedAt":"2026-09-13T07:08:04.528Z","structureHash":"0391de1594a7ee3a37d882f2a09c66c924fbf8fd20ea444378fe626cc0b6e9cf","files":{"amazon-bedrock.json":"071c7bc23767d6c5c5b4f9fb3c94fbd103473f899a1f9b52024945e42275a98e","ant-ling.json":"4979fe79d99ed97382d7ce40170c6132e932e77906de1eb54464c042e7d63633","anthropic.json":"c0e1cfcef8531b5d0852c0e74790290f130dbcb4591b6578bb0d8a4b464231c0","azure-openai-responses.json":"2f42741e47dbebd8491cf40bff1de313fc2221f55e16bc02fd6e5d50b5f8fefe","baseten.json":"d155c434294b5167244cffb6dea6793f9669e91e8ab65b564f9510d81b330e37","cerebras.json":"9eaa554e1b02f3665f8f63e6432d253bf81351af7c72001054dd8108aa528a52","cloudflare-ai-gateway.json":"eb2bf274394a157714072a2726675fbdfd2cc370e359b6665fa6aca409617089","cloudflare-workers-ai.json":"07ef63208ff7517fd1a80962f18143e21de399640423329490b157f459ccf995","deepseek.json":"8cc5e02a8eb3f1ead25da01d6ebac7dbd9aa5134c561026de2076cc990eb3349","fireworks.json":"e7a91f879dae810ebccbc800526ad498ca5189a4a0e6a27489ffbc3f30f02123","github-copilot.json":"5ddbd26a51c3d60975dfc41c685f65ee0964b94352379f9f3dac77715f389004","google-vertex.json":"e1631109172dc1f7d7977570420a5bb86258bdd1088427e244a2c51545c4f24d","google.json":"7619bf03edd2a7acb06a2274a14b13c3a61354288abe029a758401d4de36a8fd","groq.json":"e4728fd72e358cd8f25e9a518e9b49a521ef44523d3debe38a7db9e0663c4077","huggingface.json":"a488b6f175b382277ccf7d487f877ef0c698994576bb55d2410838bf9c8c7c41","kimi-coding.json":"5e28e32e5b16df506a3a1c620ed7870fa7e5e57d8ede4a2aa44dbb24ecf1ba2f","minimax-cn.json":"65d37e55a6d9585855f94b3fb7739308d107fe248ebd9e1001d1c5d4606ad2c4","minimax.json":"c7dc5765995ae77242916430929c7cc9a782589f7e483e13f7e01663190d028e","mistral.json":"e3a109306644bf2f2fa38fece50b2d3ce1dbe3b87b1f1b9e2d70cce7eb5c0ea1","moonshotai-cn.json":"63f77de8782dce6a8d4649b6075ee04c9732863ae85561e0867871220c558bde","moonshotai.json":"2a8dfb97eb905e991c22081dc09bd4a61c05b7fa9ac0d5c72d6930f601f490f1","nvidia.json":"d9fbf18e811fcf04521c3dad7bd8a31c6716938611de392548319acc560c1e0c","openai-codex.json":"a10bfcfd34db6bcb98d8ee46175e154cab30530a137dbf31ac1434020ed3ffdd","openai.json":"775d3b7d95d14b741d0b287b1153d40f051a9ea03035a82b487889acc7fa69e2","opencode-go.json":"274c4fb1a4e99c286860174700b0b38997df62839efd2b76a8884db1d8dc331a","opencode.json":"7b878f5fb48e9fce68af0c3b507ddafd88a07b5ec7a8c06e9b99cf85b27324ac","openrouter.json":"1d229919fd787a9cde9ea5a6c86433fbf3fe107f7b5d67fd44ea4066d338dab7","qwen-token-plan-cn.json":"d24c5318361ae5395866faaaffde5e52341be58e607def0cc219cae49326492a","qwen-token-plan-individual.json":"eb040e78595853e980011308b1bf9caacae6dc8a91abbac5ffebd402515dd2a6","qwen-token-plan.json":"0545c9881decb710a9535f67960174089b04f607c1200335cdad9de4670ec92a","together.json":"927c707d06f2236cdab13f14c870fb58bce0614ba7287bbcd57cc9fd66d191ed","vercel-ai-gateway.json":"f86a64fb30252dc8b1f8f828b274190a11bc7806032fa2d6b4395130c07efb14","xai.json":"037bde3de5ea72814c3f0b79da8b244c89feb708cc0cbf8596cdfac7682477b6","xiaomi-token-plan-ams.json":"a36446cb9e3cb4f7054617676fd711092245a74f703ba89573f21d2673b85fa8","xiaomi-token-plan-cn.json":"c295dadf4097b5d86af15e924fb2a1a6342bae9e0a9a5839c9fca216308c51e5","xiaomi-token-plan-sgp.json":"93d359575c2348c97d79a2b14e1e9437199bd4aee948d58611b3fbab75cd9fb3","xiaomi.json":"f06f1011d606d22311b1f4c50eb36d38b8cd99abf5760faee657d5559e87452b","zai-coding-cn.json":"d3c969020a7ab978497837a3301c7bca364d704082832221cfe61e6596333e56","zai.json":"f42790c77fb4681a656897a9d860b939916c0ddf979a5f16856bce9573cdf64e"}}
1
+ {"schemaVersion":3,"generatedAt":"2026-09-19T01:24:10.221Z","structureHash":"45fc0a2dea0ba3f95f2675409391f0b9c14e984739e489574c658c0dab592644","files":{"amazon-bedrock.json":"843ede349a0435b8a4228733dfde8cff3baea7c134cb46fe7409ceef1b424f9c","ant-ling.json":"4979fe79d99ed97382d7ce40170c6132e932e77906de1eb54464c042e7d63633","anthropic.json":"c0e1cfcef8531b5d0852c0e74790290f130dbcb4591b6578bb0d8a4b464231c0","azure-openai-responses.json":"2f42741e47dbebd8491cf40bff1de313fc2221f55e16bc02fd6e5d50b5f8fefe","baseten.json":"d155c434294b5167244cffb6dea6793f9669e91e8ab65b564f9510d81b330e37","cerebras.json":"9eaa554e1b02f3665f8f63e6432d253bf81351af7c72001054dd8108aa528a52","cloudflare-ai-gateway.json":"b24435335ff0791aebd8f160196dcd5f82ef507a070c7ebd2af52f080d72f8e1","cloudflare-workers-ai.json":"07ef63208ff7517fd1a80962f18143e21de399640423329490b157f459ccf995","deepseek.json":"8cc5e02a8eb3f1ead25da01d6ebac7dbd9aa5134c561026de2076cc990eb3349","fireworks.json":"5c78b20559ecca681967472c974b8398fa4d70254087ee4df9a64f2089fc5f0c","github-copilot.json":"5ddbd26a51c3d60975dfc41c685f65ee0964b94352379f9f3dac77715f389004","google-vertex.json":"e1631109172dc1f7d7977570420a5bb86258bdd1088427e244a2c51545c4f24d","google.json":"7619bf03edd2a7acb06a2274a14b13c3a61354288abe029a758401d4de36a8fd","groq.json":"e4728fd72e358cd8f25e9a518e9b49a521ef44523d3debe38a7db9e0663c4077","huggingface.json":"a488b6f175b382277ccf7d487f877ef0c698994576bb55d2410838bf9c8c7c41","kimi-coding.json":"202d4b9a3e3327cebb01626fb1818f92627e59800f27858902c4ce69105f0bd7","minimax-cn.json":"65d37e55a6d9585855f94b3fb7739308d107fe248ebd9e1001d1c5d4606ad2c4","minimax.json":"c7dc5765995ae77242916430929c7cc9a782589f7e483e13f7e01663190d028e","mistral.json":"be522597b22bceeb0bb9a0ba1781647649ffd19637d0c8e67b056d7b0ec33d52","moonshotai-cn.json":"63f77de8782dce6a8d4649b6075ee04c9732863ae85561e0867871220c558bde","moonshotai.json":"2a8dfb97eb905e991c22081dc09bd4a61c05b7fa9ac0d5c72d6930f601f490f1","nvidia.json":"2ff6862206269af88a694e627c4b54753055357710adaf49ac8518d102c17407","openai-codex.json":"a10bfcfd34db6bcb98d8ee46175e154cab30530a137dbf31ac1434020ed3ffdd","openai.json":"775d3b7d95d14b741d0b287b1153d40f051a9ea03035a82b487889acc7fa69e2","opencode-go.json":"274c4fb1a4e99c286860174700b0b38997df62839efd2b76a8884db1d8dc331a","opencode.json":"3391009f454ad02a1fe946e2c47a9289bbbc28b606819a2c4e11a130838befcf","openrouter.json":"5f54a6842ec9fe821e015a576e66ce2a382753e06995e04fc08dbbd628f71f02","qwen-token-plan-cn.json":"4bf520ed38e5c3045680d2ec2816fa8a69079dbe97f7b929767a63172288da6b","qwen-token-plan-individual.json":"eb040e78595853e980011308b1bf9caacae6dc8a91abbac5ffebd402515dd2a6","qwen-token-plan.json":"a5c67213745329ec3ba79f712f31c1c32a781d7ffb8c04f9819f36c27672531f","together.json":"927c707d06f2236cdab13f14c870fb58bce0614ba7287bbcd57cc9fd66d191ed","vercel-ai-gateway.json":"5bd4892c0afd70aad202750001a99c08f15afd976bfef5a02d5810ec74af9c89","xai.json":"037bde3de5ea72814c3f0b79da8b244c89feb708cc0cbf8596cdfac7682477b6","xiaomi-token-plan-ams.json":"a36446cb9e3cb4f7054617676fd711092245a74f703ba89573f21d2673b85fa8","xiaomi-token-plan-cn.json":"c295dadf4097b5d86af15e924fb2a1a6342bae9e0a9a5839c9fca216308c51e5","xiaomi-token-plan-sgp.json":"93d359575c2348c97d79a2b14e1e9437199bd4aee948d58611b3fbab75cd9fb3","xiaomi.json":"f06f1011d606d22311b1f4c50eb36d38b8cd99abf5760faee657d5559e87452b","zai-coding-cn.json":"c68da532c6e8fa126372e743a2474d9f483ac3260bf9b1fad3ee40183957e141","zai.json":"f42790c77fb4681a656897a9d860b939916c0ddf979a5f16856bce9573cdf64e"}}