@wirecat/cli-memo 0.131.26 → 0.131.28

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 (127) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-VULFSNYE.js → all-profiles-5T23TSLS.js} +5 -5
  3. package/dist/bundle/{anthropic-VXQ6ST2U.js → anthropic-AKD5CPO6.js} +3 -3
  4. package/dist/bundle/{app-server-HQPELIPY.js → app-server-NE7EMWAU.js} +35 -35
  5. package/dist/bundle/auto-UI3T442Q.js +86 -0
  6. package/dist/bundle/{bun-2NMWL5YB.js → bun-MWSCIVYY.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-CT544OXO.js → bun-sqlite-K2OK3SS6.js} +2 -2
  8. package/dist/bundle/{chunk-7LMTWOTP.js → chunk-25IIXY5K.js} +1 -1
  9. package/dist/bundle/{chunk-OYB3FUYQ.js → chunk-2JM3HWSF.js} +1 -1
  10. package/dist/bundle/{chunk-TKVRZZE3.js → chunk-2O34ULVN.js} +1 -1
  11. package/dist/bundle/{chunk-ARDUJR5Z.js → chunk-3NCXHUGK.js} +1 -1
  12. package/dist/bundle/{chunk-CRC3AW6N.js → chunk-3NERKJCL.js} +2 -2
  13. package/dist/bundle/{chunk-KFDPW2AR.js → chunk-4BUJ4P4V.js} +2 -2
  14. package/dist/bundle/{chunk-A4NZ2XOG.js → chunk-4ETZKMSQ.js} +7 -7
  15. package/dist/bundle/{chunk-BO4FN4UB.js → chunk-52DNGWWV.js} +2 -2
  16. package/dist/bundle/{chunk-J57DDKF4.js → chunk-5FTTDKHU.js} +1 -1
  17. package/dist/bundle/{chunk-NAM2Y63Z.js → chunk-5VD4BWQ5.js} +2 -2
  18. package/dist/bundle/{chunk-CW3NJ764.js → chunk-6GF5XTEK.js} +4 -4
  19. package/dist/bundle/{chunk-7ISENDNK.js → chunk-7STRA63S.js} +10 -10
  20. package/dist/bundle/{chunk-A6PITALJ.js → chunk-7UZF7FFF.js} +1 -1
  21. package/dist/bundle/{chunk-3ZJE5TIG.js → chunk-7VIPLKQY.js} +1 -1
  22. package/dist/bundle/{chunk-LJZFMXDC.js → chunk-7XJX6KV7.js} +20 -20
  23. package/dist/bundle/{chunk-BELLQAWL.js → chunk-BRYOBI2N.js} +7 -7
  24. package/dist/bundle/{chunk-S3RBWUUA.js → chunk-BWH7HBVK.js} +5 -5
  25. package/dist/bundle/{chunk-6PRRZC7Z.js → chunk-BWHPJFJQ.js} +1 -1
  26. package/dist/bundle/{chunk-FHY664YS.js → chunk-C6A2FRMX.js} +3 -3
  27. package/dist/bundle/{chunk-5FPQGUJA.js → chunk-CUUQ5SGZ.js} +1 -1
  28. package/dist/bundle/{chunk-XKGXVVYV.js → chunk-DFSJNUV3.js} +4 -4
  29. package/dist/bundle/{chunk-HVVBSM2C.js → chunk-EDGK35LX.js} +245 -245
  30. package/dist/bundle/{chunk-UZXCBBDC.js → chunk-EKSAED2S.js} +9 -9
  31. package/dist/bundle/{chunk-H6O6IQND.js → chunk-FAMGHE4L.js} +3 -3
  32. package/dist/bundle/{chunk-NH2JSH24.js → chunk-FXUDATZI.js} +4 -4
  33. package/dist/bundle/{chunk-CUWI6JIX.js → chunk-GOZXK5ZB.js} +5 -5
  34. package/dist/bundle/{chunk-254TXVLA.js → chunk-GR4Z3X3R.js} +1 -1
  35. package/dist/bundle/{chunk-DKKWZMR7.js → chunk-GYQQZAPM.js} +1 -1
  36. package/dist/bundle/{chunk-2ND2XYME.js → chunk-HG2ZICMV.js} +24 -16
  37. package/dist/bundle/{chunk-TPFWNOPG.js → chunk-HMZLIJZI.js} +4 -4
  38. package/dist/bundle/{chunk-QKQ7A4L7.js → chunk-IPVYKIDQ.js} +43 -43
  39. package/dist/bundle/{chunk-IJ34FAES.js → chunk-JVJSEZRZ.js} +11 -11
  40. package/dist/bundle/{chunk-M4QN77GH.js → chunk-JXPSZJRX.js} +3 -3
  41. package/dist/bundle/{chunk-Z3YGDBBS.js → chunk-KNAXSFFK.js} +2 -2
  42. package/dist/bundle/{chunk-GJBK3M6X.js → chunk-L2AJTH4B.js} +4 -4
  43. package/dist/bundle/{chunk-HN3EDDVX.js → chunk-L32UNV6A.js} +12 -12
  44. package/dist/bundle/{chunk-MQAHMAJB.js → chunk-LCU6HHIT.js} +1 -1
  45. package/dist/bundle/{chunk-TXANQZEG.js → chunk-LYBA6YTS.js} +2 -2
  46. package/dist/bundle/{chunk-M6O4DH5F.js → chunk-MMQ3PNY2.js} +1 -1
  47. package/dist/bundle/{chunk-3CVDHJER.js → chunk-N3YOSX2R.js} +1 -1
  48. package/dist/bundle/{chunk-KTDNFSXC.js → chunk-NSU2QZ2Y.js} +20 -20
  49. package/dist/bundle/{chunk-GPYGMETC.js → chunk-P6KGH4HJ.js} +445 -300
  50. package/dist/bundle/{chunk-SY7M2DLJ.js → chunk-QM7JJICP.js} +8 -8
  51. package/dist/bundle/{chunk-KMZRXGTF.js → chunk-R2YCDWZB.js} +1 -1
  52. package/dist/bundle/{chunk-AGMYCYSG.js → chunk-RQ37GH4Q.js} +150 -150
  53. package/dist/bundle/{chunk-LMN7SYX4.js → chunk-SS6NIBT3.js} +1 -1
  54. package/dist/bundle/{chunk-4ENVJFRM.js → chunk-SUWRZHLN.js} +27 -27
  55. package/dist/bundle/{chunk-ZR3BPBS6.js → chunk-TOCIBRXE.js} +7 -7
  56. package/dist/bundle/{chunk-IUM5XZWV.js → chunk-TPRGT6QU.js} +5 -5
  57. package/dist/bundle/{chunk-WRZ7JDA2.js → chunk-TZQBS2W6.js} +5 -5
  58. package/dist/bundle/{chunk-YFBKS5BW.js → chunk-UQVZIZ3X.js} +2 -2
  59. package/dist/bundle/{chunk-VL3YCTZD.js → chunk-WF5E3GTN.js} +6 -6
  60. package/dist/bundle/{chunk-6TJCRDNZ.js → chunk-WXMIDNA5.js} +3 -3
  61. package/dist/bundle/{chunk-DUHXWFCB.js → chunk-YS26XHBU.js} +4 -4
  62. package/dist/bundle/{chunk-PWA3RNXN.js → chunk-ZAHUDQE4.js} +256 -256
  63. package/dist/bundle/{chunk-GOEHJK2R.js → chunk-ZJO43QQG.js} +4 -4
  64. package/dist/bundle/{chunk-QFW4MJIH.js → chunk-ZLTARJG7.js} +51 -51
  65. package/dist/bundle/{command-contract-RQMIQKBS.js → command-contract-YR55Y4J2.js} +11 -11
  66. package/dist/bundle/{decode-7VB3CHK2.js → decode-KGZGT6YR.js} +2 -2
  67. package/dist/bundle/{echarts-45D6USAX.js → echarts-ZVR7COJR.js} +2 -2
  68. package/dist/bundle/{embed-KU2RGB24.js → embed-E3SYH7BI.js} +3 -3
  69. package/dist/bundle/{embedder-E7YZDZ5Y.js → embedder-2OGNW5GQ.js} +6 -6
  70. package/dist/bundle/{entry-N42HJMIN.js → entry-ZVAL5NC5.js} +4 -4
  71. package/dist/bundle/failure-62K4QAPV.js +66 -0
  72. package/dist/bundle/{first-run-Y5YNAAO3.js → first-run-IH2OAKCU.js} +5 -5
  73. package/dist/bundle/{first-screen-SNPGBQFZ.js → first-screen-HLMFDOCL.js} +12 -12
  74. package/dist/bundle/{instructions-6EFSPC7C.js → instructions-BQO5IVUS.js} +1 -1
  75. package/dist/bundle/{mcp-6Z7UKX7E.js → mcp-JQ6WGHBL.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-OXC26QXO.js → node-SESRJP6V.js} +2 -2
  78. package/dist/bundle/{node-sqlite-FNTICDEN.js → node-sqlite-E6WGF6VQ.js} +3 -3
  79. package/dist/bundle/{oauth-4JFOFCBB.js → oauth-5XEPM7P2.js} +4 -4
  80. package/dist/bundle/{open-WXFCCY7S.js → open-ORDS45GQ.js} +2 -2
  81. package/dist/bundle/{openai-TPQKQNM7.js → openai-IWEPM3B7.js} +7 -7
  82. package/dist/bundle/{process-YWPAOI6G.js → process-EVTLTA56.js} +1 -1
  83. package/dist/bundle/{program-WFUPN7XO.js → program-QJOC2VHS.js} +95 -79
  84. package/dist/bundle/{prompt-HJUH4EP4.js → prompt-GSBAQBKX.js} +2 -2
  85. package/dist/bundle/{recognize-DAIRHALM.js → recognize-D5ZG7KRK.js} +1 -1
  86. package/dist/bundle/{remote-MJLWTLAX.js → remote-Q5KOZYAA.js} +4 -4
  87. package/dist/bundle/{rerank-VAK5HSJE.js → rerank-BDBJYOQV.js} +4 -4
  88. package/dist/bundle/{serve-M2A66WOW.js → serve-JR7XMZ4X.js} +6 -6
  89. package/dist/bundle/server-EWORQZZB.js +48 -0
  90. package/dist/bundle/server-HHTRVQYX.js +61 -0
  91. package/dist/bundle/{server-NN2CBVSX.js → server-RWZYJVLZ.js} +50 -50
  92. package/dist/bundle/{state-6TBUXJOX.js → state-WTKI4AQ7.js} +3 -3
  93. package/dist/bundle/{store-TJCL3QBY.js → store-XMGQNBP3.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-EY5EIO2H.js +48 -0
  95. package/dist/bundle/update-CUBOZISO.js +69 -0
  96. package/dist/contract-overrides/skill.d.ts.map +1 -1
  97. package/dist/contract-overrides/skill.js +1 -1
  98. package/dist/contract-overrides/skill.js.map +1 -1
  99. package/dist/examples.d.ts.map +1 -1
  100. package/dist/examples.js +1 -0
  101. package/dist/examples.js.map +1 -1
  102. package/dist/facts/command.d.ts.map +1 -1
  103. package/dist/facts/command.js +1 -0
  104. package/dist/facts/command.js.map +1 -1
  105. package/dist/program.d.ts +2 -0
  106. package/dist/program.d.ts.map +1 -1
  107. package/dist/program.js +15 -1
  108. package/dist/program.js.map +1 -1
  109. package/dist/version.d.ts +1 -1
  110. package/dist/version.js +1 -1
  111. package/package.json +2 -2
  112. package/skills/cli-memo/SKILL.md +28 -204
  113. package/skills/cli-memo/topics/mail.md +31 -0
  114. package/skills/cli-memo/topics/mcp.md +13 -0
  115. package/skills/cli-memo/topics/meetings.md +36 -0
  116. package/skills/cli-memo/topics/money.md +14 -0
  117. package/skills/cli-memo/topics/projects.md +44 -0
  118. package/skills/cli-memo/topics/proposals.md +19 -0
  119. package/skills/cli-memo/topics/search.md +60 -0
  120. package/skills/cli-memo/topics/vocabulary.md +8 -0
  121. package/dist/bundle/auto-3R4RFJGK.js +0 -86
  122. package/dist/bundle/failure-R355OCVE.js +0 -66
  123. package/dist/bundle/server-33FB7QXW.js +0 -48
  124. package/dist/bundle/server-AIPDQO57.js +0 -61
  125. package/dist/bundle/store-maintenance-command-NKJV5A3G.js +0 -48
  126. package/dist/bundle/update-OXR3SNM2.js +0 -69
  127. /package/dist/bundle/{chunk-DF7NE4ZG.js → chunk-3HNCLKYR.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-IJ34FAES.js";
23
+ } from "./chunk-JVJSEZRZ.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-KTDNFSXC.js";
36
+ } from "./chunk-NSU2QZ2Y.js";
37
37
  import {
38
38
  mcpUrlOf
39
- } from "./chunk-254TXVLA.js";
39
+ } from "./chunk-GR4Z3X3R.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-2ND2XYME.js";
43
+ } from "./chunk-HG2ZICMV.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-5FPQGUJA.js";
46
+ } from "./chunk-CUUQ5SGZ.js";
47
47
  import {
48
48
  answeredWire
49
- } from "./chunk-ARDUJR5Z.js";
49
+ } from "./chunk-3NCXHUGK.js";
50
50
  import {
51
51
  callerOf,
52
52
  callingAgent
53
- } from "./chunk-KFDPW2AR.js";
53
+ } from "./chunk-4BUJ4P4V.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-LJZFMXDC.js";
65
+ } from "./chunk-7XJX6KV7.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-PWA3RNXN.js";
74
+ } from "./chunk-ZAHUDQE4.js";
75
75
  import {
76
76
  findCommand
77
- } from "./chunk-CRC3AW6N.js";
77
+ } from "./chunk-3NERKJCL.js";
78
78
  import {
79
79
  DEFAULT_OUTPUT_BYTES,
80
80
  changesAuthorityAt,
@@ -90,27 +90,27 @@ import {
90
90
  sealed,
91
91
  snakeKeys,
92
92
  typedCommand
93
- } from "./chunk-AGMYCYSG.js";
93
+ } from "./chunk-RQ37GH4Q.js";
94
94
  import {
95
95
  isCliFailure,
96
96
  withCaller
97
- } from "./chunk-BELLQAWL.js";
97
+ } from "./chunk-BRYOBI2N.js";
98
98
  import {
99
99
  readOnlyLockOf
100
- } from "./chunk-A6PITALJ.js";
100
+ } from "./chunk-7UZF7FFF.js";
101
101
  import {
102
102
  mcpHttpMarker
103
- } from "./chunk-CW3NJ764.js";
103
+ } from "./chunk-6GF5XTEK.js";
104
104
  import {
105
105
  openStore,
106
106
  pdfPreviewLimits
107
- } from "./chunk-GPYGMETC.js";
107
+ } from "./chunk-P6KGH4HJ.js";
108
108
  import {
109
109
  timezoneOf
110
- } from "./chunk-QFW4MJIH.js";
110
+ } from "./chunk-ZLTARJG7.js";
111
111
  import {
112
112
  warmEmbedders
113
- } from "./chunk-IUM5XZWV.js";
113
+ } from "./chunk-TPRGT6QU.js";
114
114
  import {
115
115
  description,
116
116
  integer,
@@ -135,10 +135,10 @@ import {
135
135
  __name
136
136
  } from "./chunk-ZVVMGPBJ.js";
137
137
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/server.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/server.js
139
139
  import { randomUUID } from "node:crypto";
140
140
 
141
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
141
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
142
142
  var agentLog = /* @__PURE__ */ __name((open) => {
143
143
  let held;
144
144
  return {
@@ -157,7 +157,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
157
157
  };
158
158
  }, "agentLog");
159
159
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/resources.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/resources.js
161
161
  var LISTED = 100;
162
162
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
163
163
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -195,7 +195,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
195
195
  });
196
196
  }, "registerResources");
197
197
 
198
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/session.js
198
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/session.js
199
199
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
200
200
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
201
201
  var MessengerSession = class {
@@ -270,7 +270,7 @@ var MessengerSession = class {
270
270
  }
271
271
  };
272
272
 
273
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
273
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
274
274
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
275
275
  const _command = messenger.app.command;
276
276
  return {
@@ -324,7 +324,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
324
324
  };
325
325
  }, "attachmentsTools");
326
326
 
327
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
327
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
328
328
  var PHOTO_LIMIT = 512 * 1024;
329
329
  var IMAGE_TYPES = [
330
330
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -378,7 +378,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
378
378
  return new Uint8Array(Buffer.concat(chunks));
379
379
  }, "readUpTo");
380
380
 
381
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
381
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
382
382
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
383
383
  stats_charts: tool({
384
384
  title: "A chart from a chat's statistics",
@@ -415,14 +415,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
415
415
  })
416
416
  }), "statsTools");
417
417
 
418
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools.js
418
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/tools.js
419
419
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
420
420
  ...messagesPhotoTools(messenger),
421
421
  ...attachmentsTools(messenger),
422
422
  ...statsTools(messenger)
423
423
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
424
424
 
425
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/server.js
425
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/server.js
426
426
  var PER_RUN = /* @__PURE__ */ new Set([
427
427
  "streams",
428
428
  "stdin",
@@ -746,7 +746,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
746
746
  }, "serveOverStdio");
747
747
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
748
748
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
749
- const { serveOverHttp } = await import("./serve-M2A66WOW.js");
749
+ const { serveOverHttp } = await import("./serve-JR7XMZ4X.js");
750
750
  const appName = messenger.app.command;
751
751
  const appEnvPrefix = messenger.app.envPrefix;
752
752
  const listening = await serveOverHttp(build, {
@@ -3,17 +3,17 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-FHY664YS.js";
6
+ } from "./chunk-C6A2FRMX.js";
7
7
  import {
8
8
  OPENAI_URL
9
- } from "./chunk-YFBKS5BW.js";
9
+ } from "./chunk-UQVZIZ3X.js";
10
10
  import {
11
11
  OPENAI_TRANSCRIBE_MODEL,
12
12
  VAD,
13
13
  filesPresent,
14
14
  modelsDirectory,
15
15
  vadPath
16
- } from "./chunk-M4QN77GH.js";
16
+ } from "./chunk-JXPSZJRX.js";
17
17
  import {
18
18
  DEFAULT_RETRY,
19
19
  backoffMs
@@ -25,7 +25,7 @@ import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/speech/openai.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/speech/openai.js
29
29
  import { setTimeout as wait } from "node:timers/promises";
30
30
 
31
31
  // 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/http/index.js
@@ -52,7 +52,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
52
52
  }, "parseRateLimitReset");
53
53
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/speech/wav.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/speech/wav.js
56
56
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
57
57
  const bytes = Buffer.alloc(44 + samples.length * 2);
58
58
  bytes.write("RIFF", 0, "ascii");
@@ -73,7 +73,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
73
73
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
74
74
  }, "encodeWav");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/speech/openai.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/speech/openai.js
77
77
  var LONGEST_REQUEST_SECONDS = 600;
78
78
  var JOINED_SECONDS = 0.2;
79
79
  var PAD_SECONDS = 0.2;
@@ -195,7 +195,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
195
195
  return pieces;
196
196
  }, "piecesOf");
197
197
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
198
- const { openSpeechCutter } = await import("./recognize-DAIRHALM.js");
198
+ const { openSpeechCutter } = await import("./recognize-D5ZG7KRK.js");
199
199
  return openSpeechCutter(vadModel);
200
200
  }, "openCutter");
201
201
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -5,7 +5,7 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-M4QN77GH.js";
8
+ } from "./chunk-JXPSZJRX.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
@@ -16,12 +16,12 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadConfig
5
- } from "./chunk-GJBK3M6X.js";
5
+ } from "./chunk-L2AJTH4B.js";
6
6
  import {
7
7
  upgradeCommand
8
- } from "./chunk-HVVBSM2C.js";
8
+ } from "./chunk-EDGK35LX.js";
9
9
  import {
10
10
  FETCH,
11
11
  annotate,
12
12
  overrideSharedContract
13
- } from "./chunk-AGMYCYSG.js";
13
+ } from "./chunk-RQ37GH4Q.js";
14
14
  import {
15
15
  latestVersion,
16
16
  runUpdate,
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  APP,
21
21
  VERSION
22
- } from "./chunk-TKVRZZE3.js";
22
+ } from "./chunk-2O34ULVN.js";
23
23
  import {
24
24
  installerOf
25
25
  } from "./chunk-KV4267S4.js";
@@ -34,7 +34,7 @@ import {
34
34
  // dist/update.js
35
35
  import { join } from "node:path";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/update/index.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/update/index.js
38
38
  import { realpathSync } from "node:fs";
39
39
  import { fileURLToPath } from "node:url";
40
40
  var QUIET_WORDS = [
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-IUM5XZWV.js";
5
+ } from "./chunk-TPRGT6QU.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-EB2IULWB.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {
@@ -7,7 +7,7 @@ import {
7
7
  commandPathOf,
8
8
  findCommand,
9
9
  outputOf
10
- } from "./chunk-CRC3AW6N.js";
10
+ } from "./chunk-3NERKJCL.js";
11
11
  import {
12
12
  Command,
13
13
  Help,
@@ -18,7 +18,7 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-AGMYCYSG.js";
21
+ } from "./chunk-RQ37GH4Q.js";
22
22
  import {
23
23
  writes
24
24
  } from "./chunk-G2BB5WY5.js";
@@ -29,7 +29,7 @@ import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
33
33
  var SECTIONS = {
34
34
  read: "Read",
35
35
  write: "Write",
@@ -94,7 +94,7 @@ var CORE_SECTIONS = {
94
94
  upgrade: "setup"
95
95
  };
96
96
 
97
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
97
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
98
98
  var DESCRIPTION = 90;
99
99
  var COLUMN = 52;
100
100
  var short = /* @__PURE__ */ __name((text) => {
@@ -133,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
133
133
  `;
134
134
  }, "commandsText");
135
135
 
136
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
136
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
137
137
  var ARGUMENT_KINDS = {
138
138
  chat: "chat",
139
139
  chats: "chat",
@@ -325,7 +325,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
325
325
  command.addHelpText("after", () => commandHelpText(command));
326
326
  }, "installCommandHelp");
327
327
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
329
329
  var WIRECAT_TOOLS = [
330
330
  {
331
331
  command: "tg",
@@ -4,10 +4,10 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-NH2JSH24.js";
7
+ } from "./chunk-FXUDATZI.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-MQAHMAJB.js";
10
+ } from "./chunk-LCU6HHIT.js";
11
11
  import {
12
12
  CliError
13
13
  } from "./chunk-EB2IULWB.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
19
19
  var PERMISSION_ANSWERS = ["readonly", "allow"];
20
20
  var QUESTIONS = ["languages", "tools", "permissions"];
21
21
  var SECTION = "setup";
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  listen
5
- } from "./chunk-OYB3FUYQ.js";
5
+ } from "./chunk-2JM3HWSF.js";
6
6
  import {
7
7
  ownerLogin
8
- } from "./chunk-Z3YGDBBS.js";
8
+ } from "./chunk-KNAXSFFK.js";
9
9
  import {
10
10
  WebStandardStreamableHTTPServerTransport,
11
11
  createMcpHandler,
@@ -22,7 +22,7 @@ import {
22
22
  calledTools,
23
23
  httpActivityFile,
24
24
  httpLock
25
- } from "./chunk-CW3NJ764.js";
25
+ } from "./chunk-6GF5XTEK.js";
26
26
  import {
27
27
  CliError
28
28
  } from "./chunk-EB2IULWB.js";
@@ -30,7 +30,7 @@ import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
33
+ // node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
34
34
  import { randomUUID } from "node:crypto";
35
35
  var MCP_PATH = "/mcp";
36
36
  var AS_METADATA = "/.well-known/oauth-authorization-server";