@wirecat/cli-template 0.16.0 → 0.17.0

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 (102) hide show
  1. package/.github/workflows/ci.yml +18 -0
  2. package/.github/workflows/release-pr.yml +37 -0
  3. package/CHANGELOG.md +14 -0
  4. package/bin/release +10 -3
  5. package/biome.json +6 -0
  6. package/contracts/plan.json +2 -1
  7. package/dist/bin/clidev.js +2 -2
  8. package/dist/bundle/{all-profiles-FS7AEOE7.js → all-profiles-CCT2XPJL.js} +7 -7
  9. package/dist/bundle/{anthropic-5RN7BGDI.js → anthropic-QLLP7EE4.js} +4 -4
  10. package/dist/bundle/{app-server-WGTKZQKJ.js → app-server-ELI5TGL7.js} +36 -36
  11. package/dist/bundle/{bun-ILPS6AYA.js → bun-C7JS2V7G.js} +2 -2
  12. package/dist/bundle/{bun-sqlite-WK2IGBGD.js → bun-sqlite-OM72TCYT.js} +3 -3
  13. package/dist/bundle/{chunk-ADFSSIV4.js → chunk-2Y5NBD7U.js} +4 -4
  14. package/dist/bundle/{chunk-7EUX7AZV.js → chunk-33JGD2CR.js} +3 -3
  15. package/dist/bundle/{chunk-JFXWLQ2L.js → chunk-3VVIEZRY.js} +2 -2
  16. package/dist/bundle/{chunk-CGFQT3LQ.js → chunk-6PHTRAZA.js} +1 -1
  17. package/dist/bundle/{chunk-VS5LGSTM.js → chunk-6VCFDEHT.js} +1 -1
  18. package/dist/bundle/{chunk-NENYWEXF.js → chunk-7OQF5ZMN.js} +1 -1
  19. package/dist/bundle/{chunk-6WOJIAYA.js → chunk-AKUMR7PE.js} +2 -2
  20. package/dist/bundle/{chunk-BPMKAZSS.js → chunk-ASO23RNM.js} +152 -79
  21. package/dist/bundle/{chunk-VOTEB3AN.js → chunk-AUVPTFUS.js} +1 -1
  22. package/dist/bundle/{chunk-JJZCPBH3.js → chunk-BOCIYBBO.js} +53 -44
  23. package/dist/bundle/{chunk-QGOOPPEW.js → chunk-BXZRTMXA.js} +5 -5
  24. package/dist/bundle/{chunk-SKBRW5U3.js → chunk-DVLM23HB.js} +2 -2
  25. package/dist/bundle/{chunk-YIVY2WI3.js → chunk-E4KQOKQ5.js} +1 -1
  26. package/dist/bundle/{chunk-ZSY4WAGI.js → chunk-EQDVQN4E.js} +299 -258
  27. package/dist/bundle/{chunk-RFJKNFVF.js → chunk-FF3AGTHY.js} +6 -6
  28. package/dist/bundle/{chunk-TXHCL75B.js → chunk-GG5PXNMH.js} +25 -22
  29. package/dist/bundle/{chunk-DEHBTFIC.js → chunk-GUCMIUNB.js} +2 -2
  30. package/dist/bundle/{chunk-RYOAQCVJ.js → chunk-HVAEHUSZ.js} +2 -2
  31. package/dist/bundle/{chunk-CTBHQRX6.js → chunk-ITPFCKCL.js} +13 -13
  32. package/dist/bundle/{chunk-Z5NL6YNU.js → chunk-J2RUBXCI.js} +6 -6
  33. package/dist/bundle/{chunk-7Z4HR6GO.js → chunk-KRXN3FV3.js} +1 -1
  34. package/dist/bundle/{chunk-OF56L2JU.js → chunk-LFLN6PVS.js} +4 -4
  35. package/dist/bundle/{chunk-YNROUY3R.js → chunk-LN53L2V5.js} +11 -11
  36. package/dist/bundle/{chunk-WDWP5N6M.js → chunk-MLSN3UP4.js} +26 -26
  37. package/dist/bundle/{chunk-3MDNAYQA.js → chunk-O6PBO4BU.js} +1 -1
  38. package/dist/bundle/{chunk-5KAYQKBK.js → chunk-QJS4WWYK.js} +63 -63
  39. package/dist/bundle/{chunk-EA3TMI4A.js → chunk-QLBS6OC2.js} +2362 -1225
  40. package/dist/bundle/{chunk-5HHIPDNW.js → chunk-QVPTZDRA.js} +2 -2
  41. package/dist/bundle/{chunk-OGTRPW2K.js → chunk-R5CPFSPI.js} +7 -7
  42. package/dist/bundle/{chunk-2MWNE4L3.js → chunk-R5IY4O25.js} +4 -4
  43. package/dist/bundle/{chunk-C3GNOEJP.js → chunk-RGKXMVOZ.js} +3 -3
  44. package/dist/bundle/{chunk-G45R7M42.js → chunk-RT46AWIH.js} +1 -1
  45. package/dist/bundle/{chunk-MEXT6XDP.js → chunk-RUHNHEAF.js} +3 -3
  46. package/dist/bundle/{chunk-ORV4EGNC.js → chunk-S465TCR3.js} +8 -8
  47. package/dist/bundle/{chunk-WM5AMTRY.js → chunk-SQKP6V4S.js} +27 -13
  48. package/dist/bundle/{chunk-VPCXYY46.js → chunk-SQOXYNKF.js} +1 -1
  49. package/dist/bundle/{chunk-NVPWZF67.js → chunk-URPKIONS.js} +8 -8
  50. package/dist/bundle/{chunk-HTYLT6ME.js → chunk-UW4PJZVJ.js} +282 -170
  51. package/dist/bundle/{chunk-ENDBOYQR.js → chunk-WKUJCPSP.js} +89 -45
  52. package/dist/bundle/{chunk-FMO6F5Q2.js → chunk-WQBBSVZM.js} +2 -2
  53. package/dist/bundle/{chunk-LRHX62ZF.js → chunk-WRLOK7XC.js} +3 -3
  54. package/dist/bundle/{chunk-MBBOINK4.js → chunk-X44ZT64I.js} +3 -3
  55. package/dist/bundle/{chunk-ATHZEV2Z.js → chunk-XKL5FRH3.js} +3 -3
  56. package/dist/bundle/{chunk-ETJXPB6A.js → chunk-XS56LIQ7.js} +4 -4
  57. package/dist/bundle/{chunk-3WDYHOAF.js → chunk-YIH3PYWJ.js} +1 -1
  58. package/dist/bundle/{chunk-EILS4BTQ.js → chunk-ZRNBKTPP.js} +26 -26
  59. package/dist/bundle/clidev.js +3 -3
  60. package/dist/bundle/{command-contract-ZDU73EPH.js → command-contract-RV5ZOEAT.js} +11 -11
  61. package/dist/bundle/{decode-QMLOGZ6R.js → decode-V7HNHZBC.js} +3 -3
  62. package/dist/bundle/{echarts-DRDGGHJT.js → echarts-Y42YP2OL.js} +2 -2
  63. package/dist/bundle/{embed-PIR2LJR2.js → embed-JSQZL7JF.js} +4 -4
  64. package/dist/bundle/{embedder-6KBRPAEQ.js → embedder-7BHRCXWL.js} +7 -7
  65. package/dist/bundle/{first-run-JO3CMY3Z.js → first-run-BJ36KGST.js} +8 -8
  66. package/dist/bundle/first-screen-5YHQVNY4.js +26 -0
  67. package/dist/bundle/{instructions-EOQOXY6V.js → instructions-UWERND54.js} +1 -1
  68. package/dist/bundle/{mcp-7HBLFGCW.js → mcp-P4FSBSRS.js} +2 -2
  69. package/dist/bundle/{node-52WF2326.js → node-PZDNPKN7.js} +2 -2
  70. package/dist/bundle/{node-sqlite-LIK6OYNF.js → node-sqlite-4F5NLRNT.js} +4 -4
  71. package/dist/bundle/{oauth-7FVF7HQQ.js → oauth-VDXNA3DK.js} +5 -5
  72. package/dist/bundle/{open-CRZDEATN.js → open-EUJRQQNS.js} +3 -3
  73. package/dist/bundle/{openai-WAJ6WREQ.js → openai-EIBV2K72.js} +12 -12
  74. package/dist/bundle/{process-YIQPKLZI.js → process-XD5ZIFIL.js} +1 -1
  75. package/dist/bundle/{program-ZFFFPBRS.js → program-TJTVMIOX.js} +866 -495
  76. package/dist/bundle/{prompt-QQIVHO3M.js → prompt-LYUZNHDK.js} +3 -3
  77. package/dist/bundle/{recognize-4KLBZDEC.js → recognize-LQMHLOD5.js} +2 -2
  78. package/dist/bundle/{remote-BABMZTHA.js → remote-34HUWSZI.js} +5 -5
  79. package/dist/bundle/{rerank-P3IQQJIL.js → rerank-ONBASQ5Z.js} +5 -5
  80. package/dist/bundle/{serve-25SSAKRZ.js → serve-UJ7FDYAM.js} +7 -7
  81. package/dist/bundle/{server-P4XUYY5A.js → server-GNT76BXM.js} +28 -28
  82. package/dist/bundle/server-J4YIXKMI.js +52 -0
  83. package/dist/bundle/{state-QCQALQBJ.js → state-IW5OO6IZ.js} +4 -4
  84. package/dist/bundle/{store-ZECPRGGH.js → store-55UB27H2.js} +12 -10
  85. package/dist/bundle/store-maintenance-command-BLDKUZ3L.js +42 -0
  86. package/dist/commands/session.js +1 -1
  87. package/dist/commands/session.js.map +1 -1
  88. package/dist/program.d.ts.map +1 -1
  89. package/dist/program.js +1 -0
  90. package/dist/program.js.map +1 -1
  91. package/dist/version.d.ts +1 -1
  92. package/dist/version.js +1 -1
  93. package/docs/dev/skills/release/SKILL.md +9 -3
  94. package/docs/dev/skills/release/fresh-audit.md +1 -1
  95. package/kit/dist/new.js +1 -0
  96. package/package.json +4 -4
  97. package/src/commands/session.ts +1 -1
  98. package/src/program.ts +1 -0
  99. package/src/version.ts +1 -1
  100. package/dist/bundle/first-screen-3T5IXTFL.js +0 -26
  101. package/dist/bundle/server-G4GCDMYI.js +0 -52
  102. package/dist/bundle/store-maintenance-command-ECUO5G6L.js +0 -42
@@ -13,10 +13,10 @@ import {
13
13
  registerPrompts,
14
14
  stdinFieldOf,
15
15
  syncsFirst
16
- } from "./chunk-TXHCL75B.js";
16
+ } from "./chunk-GG5PXNMH.js";
17
17
  import {
18
18
  answeredWire
19
- } from "./chunk-VS5LGSTM.js";
19
+ } from "./chunk-6VCFDEHT.js";
20
20
  import {
21
21
  BinaryResource,
22
22
  Picture,
@@ -37,21 +37,21 @@ import {
37
37
  tool,
38
38
  toolKey,
39
39
  toolsFromCommands
40
- } from "./chunk-BPMKAZSS.js";
40
+ } from "./chunk-ASO23RNM.js";
41
41
  import {
42
42
  agentJson,
43
43
  skillResource
44
- } from "./chunk-WM5AMTRY.js";
44
+ } from "./chunk-SQKP6V4S.js";
45
45
  import {
46
46
  StdioServerTransport,
47
47
  callerOf,
48
48
  callingAgent,
49
49
  serveStdio
50
- } from "./chunk-JFXWLQ2L.js";
50
+ } from "./chunk-3VVIEZRY.js";
51
51
  import {
52
52
  connectedFor,
53
53
  guardFor
54
- } from "./chunk-JJZCPBH3.js";
54
+ } from "./chunk-BOCIYBBO.js";
55
55
  import {
56
56
  capability,
57
57
  dateWindow,
@@ -60,20 +60,20 @@ import {
60
60
  servicesFor,
61
61
  storedDeps,
62
62
  wholeList
63
- } from "./chunk-ZSY4WAGI.js";
63
+ } from "./chunk-EQDVQN4E.js";
64
64
  import {
65
65
  instructions
66
- } from "./chunk-G45R7M42.js";
66
+ } from "./chunk-RT46AWIH.js";
67
67
  import {
68
68
  McpServer,
69
69
  ResourceTemplate
70
70
  } from "./chunk-5D4AEUVA.js";
71
71
  import {
72
72
  mcpHttpMarker
73
- } from "./chunk-ETJXPB6A.js";
73
+ } from "./chunk-XS56LIQ7.js";
74
74
  import {
75
75
  findCommand
76
- } from "./chunk-MEXT6XDP.js";
76
+ } from "./chunk-RUHNHEAF.js";
77
77
  import {
78
78
  DEFAULT_OUTPUT_BYTES,
79
79
  changesAuthorityAt,
@@ -90,21 +90,21 @@ import {
90
90
  sealed,
91
91
  snakeKeys,
92
92
  typedCommand
93
- } from "./chunk-HTYLT6ME.js";
93
+ } from "./chunk-UW4PJZVJ.js";
94
94
  import {
95
95
  isCliFailure,
96
96
  withCaller
97
- } from "./chunk-ORV4EGNC.js";
97
+ } from "./chunk-S465TCR3.js";
98
98
  import {
99
99
  openStore,
100
100
  pdfPreviewLimits
101
- } from "./chunk-EA3TMI4A.js";
101
+ } from "./chunk-QLBS6OC2.js";
102
102
  import {
103
103
  timezoneOf
104
- } from "./chunk-5KAYQKBK.js";
104
+ } from "./chunk-QJS4WWYK.js";
105
105
  import {
106
106
  warmEmbedders
107
- } from "./chunk-Z5NL6YNU.js";
107
+ } from "./chunk-J2RUBXCI.js";
108
108
  import {
109
109
  CliError,
110
110
  description,
@@ -122,15 +122,15 @@ import {
122
122
  strictObject,
123
123
  string,
124
124
  visibleControls
125
- } from "./chunk-WDWP5N6M.js";
125
+ } from "./chunk-MLSN3UP4.js";
126
126
  import {
127
127
  __name
128
128
  } from "./chunk-ZVVMGPBJ.js";
129
129
 
130
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/mcp/server.js
130
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/server.js
131
131
  import { randomUUID } from "node:crypto";
132
132
 
133
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
133
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
134
134
  var agentLog = /* @__PURE__ */ __name((open) => {
135
135
  let held;
136
136
  return {
@@ -149,7 +149,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
149
149
  };
150
150
  }, "agentLog");
151
151
 
152
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/mcp/resources.js
152
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/resources.js
153
153
  var LISTED = 100;
154
154
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
155
155
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -187,7 +187,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
187
187
  });
188
188
  }, "registerResources");
189
189
 
190
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/mcp/session.js
190
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/session.js
191
191
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
192
192
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
193
193
  var MessengerSession = class {
@@ -262,7 +262,7 @@ var MessengerSession = class {
262
262
  }
263
263
  };
264
264
 
265
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
265
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
266
266
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
267
267
  const _command = messenger.app.command;
268
268
  return {
@@ -316,7 +316,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
316
316
  };
317
317
  }, "attachmentsTools");
318
318
 
319
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
319
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
320
320
  var PHOTO_LIMIT = 512 * 1024;
321
321
  var IMAGE_TYPES = [
322
322
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -370,7 +370,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
370
370
  return new Uint8Array(Buffer.concat(chunks));
371
371
  }, "readUpTo");
372
372
 
373
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
373
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
374
374
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
375
375
  stats_charts: tool({
376
376
  title: "A chart from a chat's statistics",
@@ -407,14 +407,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
407
407
  })
408
408
  }), "statsTools");
409
409
 
410
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/mcp/tools.js
410
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/tools.js
411
411
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
412
412
  ...messagesPhotoTools(messenger),
413
413
  ...attachmentsTools(messenger),
414
414
  ...statsTools(messenger)
415
415
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
416
416
 
417
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/mcp/server.js
417
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/server.js
418
418
  var PER_RUN = /* @__PURE__ */ new Set([
419
419
  "streams",
420
420
  "stdin",
@@ -738,7 +738,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
738
738
  }, "serveOverStdio");
739
739
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
740
740
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
741
- const { serveOverHttp } = await import("./serve-25SSAKRZ.js");
741
+ const { serveOverHttp } = await import("./serve-UJ7FDYAM.js");
742
742
  const appName = messenger.app.command;
743
743
  const appEnvPrefix = messenger.app.envPrefix;
744
744
  const listening = await serveOverHttp(build, {
@@ -3,10 +3,10 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  IDENTITY
6
- } from "./chunk-VPCXYY46.js";
6
+ } from "./chunk-SQOXYNKF.js";
7
7
  import {
8
8
  catchCrashes
9
- } from "./chunk-WDWP5N6M.js";
9
+ } from "./chunk-MLSN3UP4.js";
10
10
  import "./chunk-Y5E2WNWB.js";
11
11
  import "./chunk-ZVVMGPBJ.js";
12
12
 
@@ -14,7 +14,7 @@ import "./chunk-ZVVMGPBJ.js";
14
14
  import { enableCompileCache } from "node:module";
15
15
  enableCompileCache();
16
16
  var stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
17
- var { run } = await import("./program-ZFFFPBRS.js");
17
+ var { run } = await import("./program-TJTVMIOX.js");
18
18
  try {
19
19
  process.exitCode = await run(process.argv.slice(2));
20
20
  } finally {
@@ -6,17 +6,17 @@ import {
6
6
  commandPathOf,
7
7
  findCommand,
8
8
  outputOf
9
- } from "./chunk-MEXT6XDP.js";
10
- import "./chunk-HTYLT6ME.js";
11
- import "./chunk-ORV4EGNC.js";
12
- import "./chunk-ATHZEV2Z.js";
13
- import "./chunk-VOTEB3AN.js";
14
- import "./chunk-5KAYQKBK.js";
15
- import "./chunk-3WDYHOAF.js";
16
- import "./chunk-QGOOPPEW.js";
17
- import "./chunk-OF56L2JU.js";
18
- import "./chunk-6WOJIAYA.js";
19
- import "./chunk-WDWP5N6M.js";
9
+ } from "./chunk-RUHNHEAF.js";
10
+ import "./chunk-UW4PJZVJ.js";
11
+ import "./chunk-S465TCR3.js";
12
+ import "./chunk-XKL5FRH3.js";
13
+ import "./chunk-AUVPTFUS.js";
14
+ import "./chunk-QJS4WWYK.js";
15
+ import "./chunk-YIH3PYWJ.js";
16
+ import "./chunk-BXZRTMXA.js";
17
+ import "./chunk-LFLN6PVS.js";
18
+ import "./chunk-AKUMR7PE.js";
19
+ import "./chunk-MLSN3UP4.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
21
  import "./chunk-ZVVMGPBJ.js";
22
22
  export {
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-ADFSSIV4.js";
6
+ } from "./chunk-2Y5NBD7U.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-WDWP5N6M.js";
9
+ } from "./chunk-MLSN3UP4.js";
10
10
  import {
11
11
  importFrom
12
12
  } from "./chunk-Y5E2WNWB.js";
@@ -14,7 +14,7 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/speech/decode.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/speech/decode.js
18
18
  import { spawn } from "node:child_process";
19
19
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
20
20
  import { createRequire } from "node:module";
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,10 +13,10 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-Z5NL6YNU.js";
17
- import "./chunk-OF56L2JU.js";
18
- import "./chunk-6WOJIAYA.js";
19
- import "./chunk-WDWP5N6M.js";
16
+ } from "./chunk-J2RUBXCI.js";
17
+ import "./chunk-LFLN6PVS.js";
18
+ import "./chunk-AKUMR7PE.js";
19
+ import "./chunk-MLSN3UP4.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
21
  import "./chunk-ZVVMGPBJ.js";
22
22
  export {
@@ -4,12 +4,12 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-Z5NL6YNU.js";
8
- import "./chunk-OF56L2JU.js";
9
- import "./chunk-6WOJIAYA.js";
7
+ } from "./chunk-J2RUBXCI.js";
8
+ import "./chunk-LFLN6PVS.js";
9
+ import "./chunk-AKUMR7PE.js";
10
10
  import {
11
11
  CliError
12
- } from "./chunk-WDWP5N6M.js";
12
+ } from "./chunk-MLSN3UP4.js";
13
13
  import {
14
14
  importFrom
15
15
  } from "./chunk-Y5E2WNWB.js";
@@ -17,11 +17,11 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
21
21
  import { readFileSync } from "node:fs";
22
22
  import { join } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
25
25
  var SIZE = 224;
26
26
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
27
27
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -60,7 +60,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
60
60
  return pixels;
61
61
  }, "preprocess");
62
62
 
63
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
63
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
64
64
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
65
65
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
66
66
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -5,14 +5,14 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-YNROUY3R.js";
9
- import "./chunk-2MWNE4L3.js";
10
- import "./chunk-7Z4HR6GO.js";
11
- import "./chunk-ATHZEV2Z.js";
12
- import "./chunk-NVPWZF67.js";
13
- import "./chunk-QGOOPPEW.js";
14
- import "./chunk-6WOJIAYA.js";
15
- import "./chunk-WDWP5N6M.js";
8
+ } from "./chunk-LN53L2V5.js";
9
+ import "./chunk-R5IY4O25.js";
10
+ import "./chunk-KRXN3FV3.js";
11
+ import "./chunk-XKL5FRH3.js";
12
+ import "./chunk-URPKIONS.js";
13
+ import "./chunk-BXZRTMXA.js";
14
+ import "./chunk-AKUMR7PE.js";
15
+ import "./chunk-MLSN3UP4.js";
16
16
  import "./chunk-Y5E2WNWB.js";
17
17
  import "./chunk-ZVVMGPBJ.js";
18
18
  export {
@@ -0,0 +1,26 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ WIRECAT_TOOLS,
5
+ firstScreen,
6
+ installHelp
7
+ } from "./chunk-R5CPFSPI.js";
8
+ import "./chunk-HTQTIKWP.js";
9
+ import "./chunk-RUHNHEAF.js";
10
+ import "./chunk-UW4PJZVJ.js";
11
+ import "./chunk-S465TCR3.js";
12
+ import "./chunk-XKL5FRH3.js";
13
+ import "./chunk-AUVPTFUS.js";
14
+ import "./chunk-QJS4WWYK.js";
15
+ import "./chunk-YIH3PYWJ.js";
16
+ import "./chunk-BXZRTMXA.js";
17
+ import "./chunk-LFLN6PVS.js";
18
+ import "./chunk-AKUMR7PE.js";
19
+ import "./chunk-MLSN3UP4.js";
20
+ import "./chunk-Y5E2WNWB.js";
21
+ import "./chunk-ZVVMGPBJ.js";
22
+ export {
23
+ WIRECAT_TOOLS,
24
+ firstScreen,
25
+ installHelp
26
+ };
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-G45R7M42.js";
6
+ } from "./chunk-RT46AWIH.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -4,13 +4,13 @@ import {
4
4
  executableEnvironment,
5
5
  executableOnPath,
6
6
  require_cross_spawn
7
- } from "./chunk-7Z4HR6GO.js";
7
+ } from "./chunk-KRXN3FV3.js";
8
8
  import {
9
9
  __name,
10
10
  __toESM
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
13
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
14
14
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
15
15
  var realRun = /* @__PURE__ */ __name((file, args) => {
16
16
  const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-CGFQT3LQ.js";
21
+ } from "./chunk-6PHTRAZA.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
27
27
  import { DatabaseSync } from "node:sqlite";
28
28
  var nodeSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-DEHBTFIC.js";
6
+ } from "./chunk-GUCMIUNB.js";
7
7
  import {
8
8
  TIME_LIMIT_FUNCTION,
9
9
  beforeTimeLimit
10
- } from "./chunk-3MDNAYQA.js";
11
- import "./chunk-WDWP5N6M.js";
10
+ } from "./chunk-O6PBO4BU.js";
11
+ import "./chunk-MLSN3UP4.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
18
18
  import { DatabaseSync } from "node:sqlite";
19
19
  var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
20
20
  var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ownerLogin,
5
5
  revokeAll
6
- } from "./chunk-SKBRW5U3.js";
6
+ } from "./chunk-DVLM23HB.js";
7
7
  import "./chunk-5D4AEUVA.js";
8
- import "./chunk-ETJXPB6A.js";
9
- import "./chunk-C3GNOEJP.js";
10
- import "./chunk-VOTEB3AN.js";
11
- import "./chunk-WDWP5N6M.js";
8
+ import "./chunk-XS56LIQ7.js";
9
+ import "./chunk-RGKXMVOZ.js";
10
+ import "./chunk-AUVPTFUS.js";
11
+ import "./chunk-MLSN3UP4.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
13
  import "./chunk-ZVVMGPBJ.js";
14
14
  export {
@@ -6,9 +6,9 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-RFJKNFVF.js";
10
- import "./chunk-3MDNAYQA.js";
11
- import "./chunk-WDWP5N6M.js";
9
+ } from "./chunk-FF3AGTHY.js";
10
+ import "./chunk-O6PBO4BU.js";
11
+ import "./chunk-MLSN3UP4.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
13
  import "./chunk-ZVVMGPBJ.js";
14
14
  export {
@@ -2,38 +2,38 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  providerWaitMs
5
- } from "./chunk-7EUX7AZV.js";
5
+ } from "./chunk-33JGD2CR.js";
6
6
  import {
7
7
  SAMPLE_RATE,
8
8
  toModelRate
9
- } from "./chunk-ADFSSIV4.js";
10
- import "./chunk-CTBHQRX6.js";
9
+ } from "./chunk-2Y5NBD7U.js";
10
+ import "./chunk-ITPFCKCL.js";
11
11
  import {
12
12
  OPENAI_URL
13
- } from "./chunk-MBBOINK4.js";
14
- import "./chunk-Z5NL6YNU.js";
13
+ } from "./chunk-X44ZT64I.js";
14
+ import "./chunk-J2RUBXCI.js";
15
15
  import {
16
16
  OPENAI_TRANSCRIBE_MODEL,
17
17
  VAD,
18
18
  filesPresent,
19
19
  modelsDirectory,
20
20
  vadPath
21
- } from "./chunk-OF56L2JU.js";
22
- import "./chunk-6WOJIAYA.js";
21
+ } from "./chunk-LFLN6PVS.js";
22
+ import "./chunk-AKUMR7PE.js";
23
23
  import {
24
24
  CliError,
25
25
  DEFAULT_RETRY,
26
26
  backoffMs
27
- } from "./chunk-WDWP5N6M.js";
27
+ } from "./chunk-MLSN3UP4.js";
28
28
  import "./chunk-Y5E2WNWB.js";
29
29
  import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/speech/openai.js
33
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/speech/openai.js
34
34
  import { setTimeout as wait } from "node:timers/promises";
35
35
 
36
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/speech/wav.js
36
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/speech/wav.js
37
37
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
38
38
  const bytes = Buffer.alloc(44 + samples.length * 2);
39
39
  bytes.write("RIFF", 0, "ascii");
@@ -54,7 +54,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
54
54
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
55
55
  }, "encodeWav");
56
56
 
57
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/speech/openai.js
57
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/speech/openai.js
58
58
  var LONGEST_REQUEST_SECONDS = 600;
59
59
  var JOINED_SECONDS = 0.2;
60
60
  var PAD_SECONDS = 0.2;
@@ -176,7 +176,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
176
176
  return pieces;
177
177
  }, "piecesOf");
178
178
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
179
- const { openSpeechCutter } = await import("./recognize-4KLBZDEC.js");
179
+ const { openSpeechCutter } = await import("./recognize-LQMHLOD5.js");
180
180
  return openSpeechCutter(vadModel);
181
181
  }, "openCutter");
182
182
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -5,7 +5,7 @@ import {
5
5
  __name
6
6
  } from "./chunk-ZVVMGPBJ.js";
7
7
 
8
- // node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ab8c0b68b8b4768d5b87d6e249ef10da/node_modules/@wirecat/cli-core/dist/embeddings/process.js
8
+ // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/embeddings/process.js
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";