@wirecat/cli-memo 0.131.55 → 0.131.57

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 (125) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-PJR2VHDP.js → all-profiles-XWRUFNP2.js} +7 -7
  3. package/dist/bundle/{anthropic-ZUDIWREK.js → anthropic-266QJJGV.js} +5 -5
  4. package/dist/bundle/{app-server-EYNQ4L2V.js → app-server-YV3D7PPC.js} +38 -38
  5. package/dist/bundle/auto-B7SEJAR5.js +86 -0
  6. package/dist/bundle/{bun-W2ZP6I6Z.js → bun-22MM6T54.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-T2CTJ6AR.js → bun-sqlite-V73FFF2C.js} +4 -4
  8. package/dist/bundle/{chunk-MGDBKE7E.js → chunk-2CF2R7SA.js} +7 -7
  9. package/dist/bundle/{chunk-VQTU4ILC.js → chunk-2LPPNYOZ.js} +1 -1
  10. package/dist/bundle/{chunk-6NJ5OI2S.js → chunk-3BWYMNWP.js} +1 -1
  11. package/dist/bundle/{chunk-2NVP4FZH.js → chunk-3N7LEJRT.js} +2 -2
  12. package/dist/bundle/{chunk-T5WGWLY2.js → chunk-4K2ECEHT.js} +11 -11
  13. package/dist/bundle/{chunk-4335SGVD.js → chunk-4XKHXETB.js} +7007 -2683
  14. package/dist/bundle/{chunk-7ZO2LAFF.js → chunk-5FYDQEM7.js} +5 -5
  15. package/dist/bundle/{chunk-IVDBHH3N.js → chunk-6FABO4WB.js} +1 -1
  16. package/dist/bundle/{chunk-WYZDNDQ5.js → chunk-6WWF4RST.js} +734 -491
  17. package/dist/bundle/{chunk-OSPAMIIY.js → chunk-72ZEEKOJ.js} +3 -3
  18. package/dist/bundle/{chunk-MZMJALJT.js → chunk-ASWLM74P.js} +2 -2
  19. package/dist/bundle/{chunk-5UM2OEOR.js → chunk-ATEHG5O6.js} +2 -2
  20. package/dist/bundle/{chunk-JBQP2M7J.js → chunk-BLCYVRW3.js} +8 -8
  21. package/dist/bundle/{chunk-PSJB456T.js → chunk-CQPMBTB6.js} +1 -1
  22. package/dist/bundle/{chunk-ZTM4UUCP.js → chunk-D7FZIH5H.js} +10 -10
  23. package/dist/bundle/{chunk-O7CBAY6J.js → chunk-DQWHLOKG.js} +4 -4
  24. package/dist/bundle/{chunk-MU4MPJCU.js → chunk-DUBGCFRO.js} +3 -3
  25. package/dist/bundle/{chunk-WLKDS65F.js → chunk-EMNQPMZO.js} +1 -1
  26. package/dist/bundle/{chunk-LCE5LBZC.js → chunk-EQQIUVLP.js} +4 -4
  27. package/dist/bundle/{chunk-4VQ7FPNW.js → chunk-EUE76Q4D.js} +3 -3
  28. package/dist/bundle/{chunk-JGY2PJ3N.js → chunk-F5DOQOCK.js} +12 -12
  29. package/dist/bundle/{chunk-OKERVM3M.js → chunk-FG7ZGEZ6.js} +4 -4
  30. package/dist/bundle/{chunk-26QKDK5P.js → chunk-FU3XDL34.js} +5 -5
  31. package/dist/bundle/{chunk-3MWNNJII.js → chunk-G3QR3IYN.js} +9 -9
  32. package/dist/bundle/{chunk-VXZ7FWKU.js → chunk-GBOES7QS.js} +3 -3
  33. package/dist/bundle/{chunk-KTVYCPJW.js → chunk-HVHUHYNF.js} +1 -1
  34. package/dist/bundle/{chunk-LWWJW5V7.js → chunk-IRTWA4KO.js} +6 -6
  35. package/dist/bundle/{chunk-P5UTNYA7.js → chunk-IY7GB2SJ.js} +2 -2
  36. package/dist/bundle/{chunk-KK2ATSEC.js → chunk-JYUNAC6P.js} +7 -7
  37. package/dist/bundle/{chunk-IRFHHNSX.js → chunk-KZDKFYIF.js} +320 -182
  38. package/dist/bundle/{chunk-MFVZXEQN.js → chunk-L3GFAQFP.js} +22 -22
  39. package/dist/bundle/{chunk-DIFRVXKQ.js → chunk-MV6ZSBA3.js} +1124 -435
  40. package/dist/bundle/{chunk-MV5W4FLV.js → chunk-N2TGYTKE.js} +1 -1
  41. package/dist/bundle/{chunk-UBZN4EWJ.js → chunk-NDCURVJS.js} +5 -5
  42. package/dist/bundle/{chunk-VPCNLTME.js → chunk-NEWKSMXP.js} +2 -2
  43. package/dist/bundle/{chunk-ACSHPLHQ.js → chunk-NFAF27AD.js} +7 -7
  44. package/dist/bundle/{chunk-AYY5CYJJ.js → chunk-ONJNZ2RJ.js} +1 -1
  45. package/dist/bundle/{chunk-RSBROHX4.js → chunk-OROO3KYQ.js} +2 -2
  46. package/dist/bundle/{chunk-MMWIVZ7F.js → chunk-P7L4FG5S.js} +2 -2
  47. package/dist/bundle/{chunk-PHP3T567.js → chunk-PBVG3KJR.js} +3 -3
  48. package/dist/bundle/{chunk-B5VQSSL2.js → chunk-PE7RYCI4.js} +14 -14
  49. package/dist/bundle/{chunk-YHHR7NQ3.js → chunk-PHWJBFZ6.js} +33 -33
  50. package/dist/bundle/{chunk-XD52BEML.js → chunk-QHZTKYHC.js} +5 -5
  51. package/dist/bundle/{chunk-CADGAURO.js → chunk-QLCPRKFK.js} +29 -29
  52. package/dist/bundle/{chunk-64JCY7XJ.js → chunk-RCGFSWZE.js} +44 -0
  53. package/dist/bundle/{chunk-BC7N6IQ6.js → chunk-RJWL3NEL.js} +1 -1
  54. package/dist/bundle/{chunk-GESLAB4N.js → chunk-RTROEIYE.js} +2 -2
  55. package/dist/bundle/{chunk-JB43Q2QL.js → chunk-RYDNM3K2.js} +1 -1
  56. package/dist/bundle/{chunk-IR45YH4T.js → chunk-SMLBSPMG.js} +5 -5
  57. package/dist/bundle/{chunk-AF2ZDP3M.js → chunk-TB4IRRAC.js} +1 -1
  58. package/dist/bundle/{chunk-SR3ZNX24.js → chunk-V4BKQWDS.js} +132 -114
  59. package/dist/bundle/{chunk-RX6JTLKD.js → chunk-VEDOHZEU.js} +7 -7
  60. package/dist/bundle/{chunk-BEO6VJ2E.js → chunk-WKMLLL2F.js} +106 -96
  61. package/dist/bundle/{chunk-P3MKPY7D.js → chunk-XC6OYACL.js} +74 -15
  62. package/dist/bundle/{chunk-FUINFNUC.js → chunk-XEQPZBIH.js} +1 -1
  63. package/dist/bundle/{chunk-643B3X4D.js → chunk-XLYMVYMU.js} +2 -2
  64. package/dist/bundle/{chunk-DDD3CXHR.js → chunk-XXOWA66S.js} +31 -24
  65. package/dist/bundle/{chunk-BSA22I76.js → chunk-YC4KNMOZ.js} +5 -5
  66. package/dist/bundle/{chunk-34GJQ4ZR.js → chunk-YTAQKOAW.js} +1 -1
  67. package/dist/bundle/{chunk-VBYV6XQI.js → chunk-Z6RSOFHK.js} +2 -2
  68. package/dist/bundle/{command-contract-EWPKHGAZ.js → command-contract-DKK56GZX.js} +13 -13
  69. package/dist/bundle/{decode-UWT3Y66W.js → decode-JHVAOF3N.js} +4 -4
  70. package/dist/bundle/{dispatch-W4ZVXTJT.js → dispatch-CRYB6Q2V.js} +1 -1
  71. package/dist/bundle/{echarts-7VGTR45R.js → echarts-KCOXA225.js} +2 -2
  72. package/dist/bundle/{embed-CM2QSTNK.js → embed-4NYYOVNS.js} +5 -5
  73. package/dist/bundle/{embedder-CDCAMVV7.js → embedder-SHPWEDIQ.js} +8 -8
  74. package/dist/bundle/{entry-WHEWBNJL.js → entry-VZE4CVPX.js} +6 -6
  75. package/dist/bundle/failure-CMZXMZO6.js +66 -0
  76. package/dist/bundle/{failure-GQHAQVGH.js → failure-ZMQJF3RO.js} +1 -1
  77. package/dist/bundle/{first-run-ZBIQO5RZ.js → first-run-EKXME7UK.js} +8 -8
  78. package/dist/bundle/first-screen-QS5PVWDZ.js +30 -0
  79. package/dist/bundle/{instructions-LYKSTUGQ.js → instructions-ER3ONEOR.js} +1 -1
  80. package/dist/bundle/mcp-3ABYEJI3.js +90 -0
  81. package/dist/bundle/memo.js +9 -9
  82. package/dist/bundle/{node-LFRTSZBZ.js → node-DBZKVPDA.js} +2 -2
  83. package/dist/bundle/{node-sqlite-Y47T5FTT.js → node-sqlite-UZVU7EXS.js} +5 -5
  84. package/dist/bundle/{oauth-YM5C6VS3.js → oauth-VEFHKRWG.js} +6 -6
  85. package/dist/bundle/{open-WPA4DW5G.js → open-XNRAMLOK.js} +4 -4
  86. package/dist/bundle/{openai-RCPT23DA.js → openai-4XIX5RN2.js} +9 -9
  87. package/dist/bundle/{process-P2X2KFMR.js → process-EIGF77RB.js} +1 -1
  88. package/dist/bundle/{program-W35YGVVL.js → program-6ZIWHNZV.js} +103 -70
  89. package/dist/bundle/{prompt-65WPTVYC.js → prompt-V7RFTWTA.js} +4 -4
  90. package/dist/bundle/{recognize-MEFMK7HT.js → recognize-7PWWI67V.js} +3 -3
  91. package/dist/bundle/{remote-4XIR3ZYK.js → remote-NOKKQ2U5.js} +6 -6
  92. package/dist/bundle/{rerank-YRLAXFFL.js → rerank-X7UWX2ZF.js} +6 -6
  93. package/dist/bundle/{serve-6SPZH6CY.js → serve-Z6YCLXXP.js} +8 -8
  94. package/dist/bundle/server-AXMJBL6J.js +61 -0
  95. package/dist/bundle/server-KABSY3RL.js +48 -0
  96. package/dist/bundle/{server-7VLGYAOI.js → server-LXD7DXU3.js} +53 -53
  97. package/dist/bundle/{state-G34NVZ7F.js → state-K5D3BMKT.js} +5 -5
  98. package/dist/bundle/{store-6U4SYK4Q.js → store-6SZBCSUF.js} +21 -11
  99. package/dist/bundle/store-maintenance-command-GTMZOLMZ.js +48 -0
  100. package/dist/bundle/update-63B3BTGO.js +69 -0
  101. package/dist/doctor/command.d.ts.map +1 -1
  102. package/dist/doctor/command.js +13 -3
  103. package/dist/doctor/command.js.map +1 -1
  104. package/dist/examples.d.ts.map +1 -1
  105. package/dist/examples.js +5 -1
  106. package/dist/examples.js.map +1 -1
  107. package/dist/notes/embed.d.ts +5 -3
  108. package/dist/notes/embed.d.ts.map +1 -1
  109. package/dist/notes/embed.js +23 -9
  110. package/dist/notes/embed.js.map +1 -1
  111. package/dist/search/answers.d.ts.map +1 -1
  112. package/dist/search/answers.js +8 -0
  113. package/dist/search/answers.js.map +1 -1
  114. package/dist/version.d.ts +1 -1
  115. package/dist/version.js +1 -1
  116. package/package.json +2 -2
  117. package/dist/bundle/auto-K7FXWNR2.js +0 -86
  118. package/dist/bundle/failure-PFBL75CT.js +0 -66
  119. package/dist/bundle/first-screen-CUAY5N6E.js +0 -30
  120. package/dist/bundle/mcp-I72UY3QP.js +0 -90
  121. package/dist/bundle/server-FB75UHSF.js +0 -48
  122. package/dist/bundle/server-IELXA6S2.js +0 -61
  123. package/dist/bundle/store-maintenance-command-ONVPBZLT.js +0 -48
  124. package/dist/bundle/update-WJ2N47FV.js +0 -69
  125. /package/dist/bundle/{chunk-2H36DXV7.js → chunk-SO2HNIPX.js} +0 -0
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-B5VQSSL2.js";
23
+ } from "./chunk-PE7RYCI4.js";
24
24
  import {
25
25
  CHART_KINDS,
26
26
  CHART_SIZE,
@@ -33,24 +33,24 @@ import {
33
33
  registerPrompts,
34
34
  stdinFieldOf,
35
35
  syncsFirst
36
- } from "./chunk-DDD3CXHR.js";
36
+ } from "./chunk-XXOWA66S.js";
37
37
  import {
38
38
  mcpUrlOf
39
- } from "./chunk-BC7N6IQ6.js";
39
+ } from "./chunk-RJWL3NEL.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-P3MKPY7D.js";
43
+ } from "./chunk-XC6OYACL.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-AF2ZDP3M.js";
46
+ } from "./chunk-TB4IRRAC.js";
47
47
  import {
48
48
  answeredWire
49
- } from "./chunk-IVDBHH3N.js";
49
+ } from "./chunk-6FABO4WB.js";
50
50
  import {
51
51
  callerOf,
52
52
  callingAgent
53
- } from "./chunk-GESLAB4N.js";
53
+ } from "./chunk-RTROEIYE.js";
54
54
  import {
55
55
  StdioServerTransport,
56
56
  serveStdio
@@ -62,7 +62,7 @@ import {
62
62
  import {
63
63
  connectedFor,
64
64
  guardFor
65
- } from "./chunk-MFVZXEQN.js";
65
+ } from "./chunk-L3GFAQFP.js";
66
66
  import {
67
67
  capability,
68
68
  dateWindow,
@@ -71,10 +71,10 @@ import {
71
71
  servicesFor,
72
72
  storedDeps,
73
73
  wholeList
74
- } from "./chunk-WYZDNDQ5.js";
74
+ } from "./chunk-6WWF4RST.js";
75
75
  import {
76
76
  findCommand
77
- } from "./chunk-VXZ7FWKU.js";
77
+ } from "./chunk-GBOES7QS.js";
78
78
  import {
79
79
  DEFAULT_OUTPUT_BYTES,
80
80
  changesAuthorityAt,
@@ -90,29 +90,29 @@ import {
90
90
  sealed,
91
91
  snakeKeys,
92
92
  typedCommand
93
- } from "./chunk-IRFHHNSX.js";
93
+ } from "./chunk-KZDKFYIF.js";
94
94
  import {
95
95
  withCaller
96
- } from "./chunk-MGDBKE7E.js";
96
+ } from "./chunk-2CF2R7SA.js";
97
97
  import {
98
98
  readOnlyLockOf
99
- } from "./chunk-6NJ5OI2S.js";
99
+ } from "./chunk-3BWYMNWP.js";
100
100
  import {
101
101
  mcpHttpMarker
102
- } from "./chunk-OKERVM3M.js";
102
+ } from "./chunk-FG7ZGEZ6.js";
103
103
  import {
104
104
  openStore,
105
105
  pdfPreviewLimits
106
- } from "./chunk-4335SGVD.js";
106
+ } from "./chunk-4XKHXETB.js";
107
107
  import {
108
108
  timezoneOf
109
- } from "./chunk-SR3ZNX24.js";
109
+ } from "./chunk-V4BKQWDS.js";
110
110
  import {
111
111
  isCliFailure
112
- } from "./chunk-P5UTNYA7.js";
112
+ } from "./chunk-IY7GB2SJ.js";
113
113
  import {
114
114
  warmEmbedders
115
- } from "./chunk-26QKDK5P.js";
115
+ } from "./chunk-FU3XDL34.js";
116
116
  import {
117
117
  description,
118
118
  integer,
@@ -128,7 +128,7 @@ import {
128
128
  regex,
129
129
  strictObject,
130
130
  string
131
- } from "./chunk-64JCY7XJ.js";
131
+ } from "./chunk-RCGFSWZE.js";
132
132
  import {
133
133
  CliError,
134
134
  visibleControls
@@ -137,10 +137,10 @@ import {
137
137
  __name
138
138
  } from "./chunk-ZVVMGPBJ.js";
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/server.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/server.js
141
141
  import { randomUUID } from "node:crypto";
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
144
144
  var agentLog = /* @__PURE__ */ __name((open) => {
145
145
  let held;
146
146
  return {
@@ -159,7 +159,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
159
159
  };
160
160
  }, "agentLog");
161
161
 
162
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/resources.js
162
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/resources.js
163
163
  var LISTED = 100;
164
164
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
165
165
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -197,7 +197,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
197
197
  });
198
198
  }, "registerResources");
199
199
 
200
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/session.js
200
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/session.js
201
201
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
202
202
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
203
203
  var MessengerSession = class {
@@ -272,7 +272,7 @@ var MessengerSession = class {
272
272
  }
273
273
  };
274
274
 
275
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
275
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
276
276
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
277
277
  const _command = messenger.app.command;
278
278
  return {
@@ -326,7 +326,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
326
326
  };
327
327
  }, "attachmentsTools");
328
328
 
329
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
329
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
330
330
  var PHOTO_LIMIT = 512 * 1024;
331
331
  var IMAGE_TYPES = [
332
332
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -380,7 +380,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
380
380
  return new Uint8Array(Buffer.concat(chunks));
381
381
  }, "readUpTo");
382
382
 
383
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
383
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
384
384
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
385
385
  stats_charts: tool({
386
386
  title: "A chart from a chat's statistics",
@@ -417,14 +417,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
417
417
  })
418
418
  }), "statsTools");
419
419
 
420
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/tools.js
420
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/tools.js
421
421
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
422
422
  ...messagesPhotoTools(messenger),
423
423
  ...attachmentsTools(messenger),
424
424
  ...statsTools(messenger)
425
425
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
426
426
 
427
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/server.js
427
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/server.js
428
428
  var PER_RUN = /* @__PURE__ */ new Set([
429
429
  "streams",
430
430
  "stdin",
@@ -748,7 +748,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
748
748
  }, "serveOverStdio");
749
749
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
750
750
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
751
- const { serveOverHttp } = await import("./serve-6SPZH6CY.js");
751
+ const { serveOverHttp } = await import("./serve-Z6YCLXXP.js");
752
752
  const appName = messenger.app.command;
753
753
  const appEnvPrefix = messenger.app.envPrefix;
754
754
  const listening = await serveOverHttp(build, {
@@ -389,6 +389,23 @@ function safeInteger(message$1) {
389
389
  }
390
390
  __name(safeInteger, "safeInteger");
391
391
  // @__NO_SIDE_EFFECTS__
392
+ function startsWith(requirement, message$1) {
393
+ return {
394
+ kind: "validation",
395
+ type: "starts_with",
396
+ reference: startsWith,
397
+ async: false,
398
+ expects: `"${requirement}"`,
399
+ requirement,
400
+ message: message$1,
401
+ "~run"(dataset, config$1) {
402
+ if (dataset.typed && !dataset.value.startsWith(this.requirement)) _addIssue(this, "start", dataset, config$1, { received: `"${dataset.value.slice(0, this.requirement.length)}"` });
403
+ return dataset;
404
+ }
405
+ };
406
+ }
407
+ __name(startsWith, "startsWith");
408
+ // @__NO_SIDE_EFFECTS__
392
409
  function transform(operation) {
393
410
  return {
394
411
  kind: "transformation",
@@ -417,6 +434,31 @@ function trim() {
417
434
  };
418
435
  }
419
436
  __name(trim, "trim");
437
+ // @__NO_SIDE_EFFECTS__
438
+ function url(message$1) {
439
+ return {
440
+ kind: "validation",
441
+ type: "url",
442
+ reference: url,
443
+ async: false,
444
+ expects: null,
445
+ requirement(input) {
446
+ try {
447
+ if (URL.canParse) return URL.canParse(input);
448
+ new URL(input);
449
+ return true;
450
+ } catch {
451
+ return false;
452
+ }
453
+ },
454
+ message: message$1,
455
+ "~run"(dataset, config$1) {
456
+ if (dataset.typed && !this.requirement(dataset.value)) _addIssue(this, "URL", dataset, config$1);
457
+ return dataset;
458
+ }
459
+ };
460
+ }
461
+ __name(url, "url");
420
462
  var ABORT_EARLY_CONFIG = { abortEarly: true };
421
463
  // @__NO_SIDE_EFFECTS__
422
464
  function getFallback(schema, dataset, config$1) {
@@ -2375,8 +2417,10 @@ export {
2375
2417
  nonEmpty,
2376
2418
  regex,
2377
2419
  safeInteger,
2420
+ startsWith,
2378
2421
  transform,
2379
2422
  trim,
2423
+ url,
2380
2424
  forward,
2381
2425
  array,
2382
2426
  boolean,
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/http/public-url.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/http/public-url.js
11
11
  var EXAMPLE = "--public-url https://<name>.ts.net";
12
12
  var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
13
13
  if (!given)
@@ -7,12 +7,12 @@ import {
7
7
  agentOf,
8
8
  clientHash,
9
9
  currentCaller
10
- } from "./chunk-MGDBKE7E.js";
10
+ } from "./chunk-2CF2R7SA.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/caller.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/caller.js
16
16
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
17
17
  const client = caller?.agent?.client?.name;
18
18
  if (client && client !== "unknown")
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
9
  import { Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  agentResult,
5
5
  failureContext
6
- } from "./chunk-P3MKPY7D.js";
6
+ } from "./chunk-XC6OYACL.js";
7
7
  import {
8
8
  CommanderError,
9
9
  judgedEffects,
10
10
  metaOf
11
- } from "./chunk-IRFHHNSX.js";
11
+ } from "./chunk-KZDKFYIF.js";
12
12
  import {
13
13
  storeDamaged
14
- } from "./chunk-P5UTNYA7.js";
14
+ } from "./chunk-IY7GB2SJ.js";
15
15
  import {
16
16
  interactiveOf,
17
17
  optionsOf
18
18
  } from "./chunk-BPGYTJNB.js";
19
19
  import {
20
20
  APP
21
- } from "./chunk-MMWIVZ7F.js";
21
+ } from "./chunk-P7L4FG5S.js";
22
22
  import {
23
23
  ValiError,
24
24
  errorObjectOf,
@@ -26,7 +26,7 @@ import {
26
26
  exitCodeOfError,
27
27
  mcpErrorResult,
28
28
  renderError
29
- } from "./chunk-64JCY7XJ.js";
29
+ } from "./chunk-RCGFSWZE.js";
30
30
  import {
31
31
  CliError
32
32
  } from "./chunk-4ZW6ZJ2V.js";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");