@wirecat/notion-cli 0.2.0 → 0.3.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 (160) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +6 -2
  3. package/contracts/wirecat.json +48 -0
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/{all-profiles-JGYLQZ5C.js → all-profiles-4IONYZB6.js} +10 -10
  6. package/dist/bundle/{anthropic-S2VSMIKQ.js → anthropic-OXF74J4P.js} +6 -6
  7. package/dist/bundle/{app-server-SASYDBCA.js → app-server-M2VF6ABM.js} +59 -59
  8. package/dist/bundle/{bun-LU5LP3JI.js → bun-DLA6QRLL.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-JBSINB4O.js → bun-sqlite-F4BYLW3F.js} +7 -7
  10. package/dist/bundle/{chunk-4HWJOU7N.js → chunk-2MHMKNWD.js} +1 -1
  11. package/dist/bundle/{chunk-SHJQ6JKG.js → chunk-4KUJTSHG.js} +2 -2
  12. package/dist/bundle/{chunk-SWAOWNKW.js → chunk-4TQVZXOV.js} +3 -3
  13. package/dist/bundle/{chunk-ODBZNSZ6.js → chunk-5LBJNTEJ.js} +6 -6
  14. package/dist/bundle/{chunk-SZOVLP44.js → chunk-5UA2TYMI.js} +2 -2
  15. package/dist/bundle/{chunk-22QQUKWA.js → chunk-5XP4KQ2F.js} +1 -1
  16. package/dist/bundle/{chunk-4IPURN72.js → chunk-6GN7KU7X.js} +9 -9
  17. package/dist/bundle/{chunk-X4TIMMKJ.js → chunk-6JBLIQQN.js} +1 -1
  18. package/dist/bundle/{chunk-4ZTVJHWU.js → chunk-7NF3V5L2.js} +4 -4
  19. package/dist/bundle/{chunk-OTV53F34.js → chunk-7NGFGFE5.js} +9 -60
  20. package/dist/bundle/{chunk-VBHETQVV.js → chunk-7NVPM55S.js} +1908 -1013
  21. package/dist/bundle/{chunk-Z56QFOBR.js → chunk-7YZPBAQX.js} +1 -1
  22. package/dist/bundle/{chunk-3AL7QUS3.js → chunk-AYU5TFDU.js} +20 -20
  23. package/dist/bundle/{chunk-FPY6EJ7B.js → chunk-BEPFGITI.js} +55 -55
  24. package/dist/bundle/{chunk-VCIALTEM.js → chunk-CBGBFAYJ.js} +12 -4
  25. package/dist/bundle/{chunk-NQWV4WQO.js → chunk-CDGZZNGY.js} +6 -6
  26. package/dist/bundle/{chunk-DH5PRHT4.js → chunk-CIVXTBJY.js} +13 -13
  27. package/dist/bundle/{chunk-B26TQZKZ.js → chunk-COH7OEER.js} +14 -13
  28. package/dist/bundle/{chunk-XF26XKTS.js → chunk-D6RCRBDH.js} +2 -2
  29. package/dist/bundle/{chunk-YMYUBZWT.js → chunk-EQPAZ33O.js} +17 -17
  30. package/dist/bundle/{chunk-LAYPFBOM.js → chunk-EY6S7FV3.js} +6 -6
  31. package/dist/bundle/chunk-FEMHUSGO.js +88 -0
  32. package/dist/bundle/{chunk-FWVBPRL4.js → chunk-FSJHASRQ.js} +79 -62
  33. package/dist/bundle/{chunk-TPX2M45D.js → chunk-GBFEEHQC.js} +10 -10
  34. package/dist/bundle/{chunk-5IYKVRH2.js → chunk-GCCPFKSU.js} +434 -343
  35. package/dist/bundle/{chunk-3Z4YTSRY.js → chunk-GK4GLPG2.js} +3 -3
  36. package/dist/bundle/{chunk-GZOUFX3C.js → chunk-GSNE7OB4.js} +4 -4
  37. package/dist/bundle/{chunk-TSDBSIFM.js → chunk-HTKSCSJU.js} +4 -4
  38. package/dist/bundle/{chunk-5NFK5EM2.js → chunk-IJMFG7HB.js} +7 -7
  39. package/dist/bundle/{chunk-D7QSEEYW.js → chunk-JIRRF6BM.js} +4 -4
  40. package/dist/bundle/{chunk-5RSC54NA.js → chunk-JODE2XED.js} +25 -25
  41. package/dist/bundle/{chunk-RV64YUQX.js → chunk-K5I64ZVI.js} +9 -9
  42. package/dist/bundle/{chunk-AOCUKEAX.js → chunk-KL3P5TQK.js} +4 -4
  43. package/dist/bundle/{chunk-2LWO3PDX.js → chunk-L62XTC7N.js} +11 -11
  44. package/dist/bundle/{chunk-LLG2POQ7.js → chunk-L6H7PY4X.js} +3 -3
  45. package/dist/bundle/{chunk-5RDNBG7D.js → chunk-LIQMUDIZ.js} +2 -2
  46. package/dist/bundle/{chunk-WF4D56CA.js → chunk-M2EEIYBU.js} +2 -2
  47. package/dist/bundle/{chunk-MZU2YFBZ.js → chunk-M6DGZ2O6.js} +8 -8
  48. package/dist/bundle/{chunk-FXEJY4OL.js → chunk-MRA62W5K.js} +233 -167
  49. package/dist/bundle/{chunk-XYIT2XB3.js → chunk-MVA5HVKL.js} +20 -0
  50. package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
  51. package/dist/bundle/{chunk-WCSOH4JS.js → chunk-OCDJ4FFA.js} +4 -4
  52. package/dist/bundle/{chunk-2F4QQ7WB.js → chunk-OI5DWZJG.js} +3 -3
  53. package/dist/bundle/{chunk-EUIVXFLJ.js → chunk-P3P6DA6K.js} +6 -6
  54. package/dist/bundle/{chunk-MY742GAD.js → chunk-QX3TPFEX.js} +37 -37
  55. package/dist/bundle/{chunk-6RA3EABS.js → chunk-R6SDRSZK.js} +62 -32
  56. package/dist/bundle/{chunk-5QIQEUOG.js → chunk-RMJMID5D.js} +8 -8
  57. package/dist/bundle/{chunk-BNPTZ5ZB.js → chunk-SGBS5QCU.js} +4 -4
  58. package/dist/bundle/{chunk-YNTLT3Z3.js → chunk-T5UNSFES.js} +8 -8
  59. package/dist/bundle/{chunk-M7S2NDWB.js → chunk-TFNRCCGR.js} +4 -4
  60. package/dist/bundle/{chunk-B7ON6KPT.js → chunk-TJCPTRYD.js} +7 -7
  61. package/dist/bundle/{chunk-KM6WHPHI.js → chunk-TXONV3HW.js} +2 -2
  62. package/dist/bundle/{chunk-NOQ7B5N7.js → chunk-TZ2QJ53V.js} +2 -2
  63. package/dist/bundle/{chunk-KGERXYTV.js → chunk-UKE3CGHK.js} +1 -1
  64. package/dist/bundle/{chunk-6EVKHZKN.js → chunk-UROEWCOG.js} +3 -3
  65. package/dist/bundle/{chunk-WJHZMR2W.js → chunk-WHJWURZB.js} +6 -6
  66. package/dist/bundle/{chunk-G3EZFRSS.js → chunk-WU3XHGOB.js} +112 -42
  67. package/dist/bundle/{chunk-2F6VO5HA.js → chunk-WZEEEQGC.js} +3 -3
  68. package/dist/bundle/{chunk-M3KB25D3.js → chunk-XCTOCVMW.js} +14 -14
  69. package/dist/bundle/{chunk-FT3LN3HP.js → chunk-Y5LAJWR5.js} +1 -1
  70. package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
  71. package/dist/bundle/{chunk-HL52XXZX.js → chunk-YFWLHTNO.js} +1 -1
  72. package/dist/bundle/{chunk-P7CUM5IB.js → chunk-YGCI3DHS.js} +1 -1
  73. package/dist/bundle/{chunk-KCLOUUYF.js → chunk-Z53LYX4M.js} +3 -3
  74. package/dist/bundle/{chunk-ZKAEZXUP.js → chunk-ZC6ZQQ55.js} +36 -37
  75. package/dist/bundle/command-contract-UBXS6NHI.js +38 -0
  76. package/dist/bundle/{command-server-entry-UFSG7KRO.js → command-server-entry-2SORMVRM.js} +27 -27
  77. package/dist/bundle/{decode-7LLWTSPT.js → decode-5O7IEFPN.js} +6 -6
  78. package/dist/bundle/{dispatch-2GY6JIJH.js → dispatch-YHQX6FEJ.js} +8 -8
  79. package/dist/bundle/{echarts-BXX4OQWC.js → echarts-ARLMVQC7.js} +2 -2
  80. package/dist/bundle/{embed-JXFNBTKH.js → embed-FUDUKQ3K.js} +7 -7
  81. package/dist/bundle/{embedder-57YZ44KO.js → embedder-HDRV7GX3.js} +10 -10
  82. package/dist/bundle/{failure-MYT4HPE3.js → failure-JHXICWIL.js} +3 -3
  83. package/dist/bundle/first-run-BGEFTXOE.js +29 -0
  84. package/dist/bundle/first-screen-F5F3VS6Y.js +38 -0
  85. package/dist/bundle/{instructions-2VECIDXF.js → instructions-MEFIKCDI.js} +1 -1
  86. package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
  87. package/dist/bundle/meeting-combined-HNSS3FQY.js +24 -0
  88. package/dist/bundle/meeting-model-REZVYGQW.js +26 -0
  89. package/dist/bundle/{meeting-semantic-ETN3A4BJ.js → meeting-semantic-R4CSLVRG.js} +7 -7
  90. package/dist/bundle/{node-MPEQSFI3.js → node-MAQALPLA.js} +2 -2
  91. package/dist/bundle/{node-sqlite-WA32MYSJ.js → node-sqlite-J7IJYNBO.js} +8 -8
  92. package/dist/bundle/notion.js +14 -14
  93. package/dist/bundle/{oauth-IAFZG3IR.js → oauth-AMV4YGJD.js} +8 -8
  94. package/dist/bundle/{open-M3JQUC5G.js → open-AB27MTGR.js} +6 -6
  95. package/dist/bundle/{openai-HXUEHUSD.js → openai-D77MU5XV.js} +17 -17
  96. package/dist/bundle/{process-F6TKXWWA.js → process-SIOWTRJ6.js} +1 -1
  97. package/dist/bundle/{program-Y7JAB6TG.js → program-QC5MX4ZJ.js} +2816 -1645
  98. package/dist/bundle/{prompt-IMUQLZD2.js → prompt-W77YDHA6.js} +6 -6
  99. package/dist/bundle/{recognize-2MZAYHAA.js → recognize-3JAXQQ36.js} +5 -5
  100. package/dist/bundle/{remote-OV4LB6VR.js → remote-PSOJXCXO.js} +11 -11
  101. package/dist/bundle/{rerank-ZIULUS34.js → rerank-EE44ZTGL.js} +8 -8
  102. package/dist/bundle/{schemas-DIVZS6TU.js → schemas-LBYUMBC6.js} +2 -2
  103. package/dist/bundle/{serve-YU7QBP6L.js → serve-XJMGAMFW.js} +10 -10
  104. package/dist/bundle/{server-LGMNONSB.js → server-ASU6CP5R.js} +51 -51
  105. package/dist/bundle/server-WSPQ5EOA.js +72 -0
  106. package/dist/bundle/{services-5WY4DCPJ.js → services-PT4PA4J6.js} +46 -39
  107. package/dist/bundle/{sqlite-runtime-5MXZDETH.js → sqlite-runtime-YHXRTVXE.js} +7 -7
  108. package/dist/bundle/{state-LWMZH2KI.js → state-T6ZKFWGD.js} +7 -7
  109. package/dist/bundle/{store-EPZYV4VW.js → store-3MUCZEI3.js} +20 -18
  110. package/dist/bundle/{store-QE6FEIZD.js → store-E5EE25FY.js} +24 -20
  111. package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +63 -0
  112. package/dist/commands/api.d.ts.map +1 -1
  113. package/dist/commands/api.js +13 -4
  114. package/dist/commands/api.js.map +1 -1
  115. package/dist/commands/documents.d.ts +8 -0
  116. package/dist/commands/documents.d.ts.map +1 -1
  117. package/dist/commands/documents.js +173 -3
  118. package/dist/commands/documents.js.map +1 -1
  119. package/dist/commands/library.d.ts.map +1 -1
  120. package/dist/commands/library.js +3 -1
  121. package/dist/commands/library.js.map +1 -1
  122. package/dist/config.d.ts +19 -0
  123. package/dist/config.d.ts.map +1 -1
  124. package/dist/config.js +73 -5
  125. package/dist/config.js.map +1 -1
  126. package/dist/context.d.ts +3 -0
  127. package/dist/context.d.ts.map +1 -1
  128. package/dist/context.js +3 -0
  129. package/dist/context.js.map +1 -1
  130. package/dist/generated/types.d.ts +485 -375
  131. package/dist/generated/types.d.ts.map +1 -1
  132. package/dist/notion/errors.d.ts +5 -0
  133. package/dist/notion/errors.d.ts.map +1 -1
  134. package/dist/notion/errors.js +7 -0
  135. package/dist/notion/errors.js.map +1 -1
  136. package/dist/notion/writes.d.ts +40 -0
  137. package/dist/notion/writes.d.ts.map +1 -0
  138. package/dist/notion/writes.js +112 -0
  139. package/dist/notion/writes.js.map +1 -0
  140. package/dist/sync/cursor.d.ts +12 -0
  141. package/dist/sync/cursor.d.ts.map +1 -1
  142. package/dist/sync/files.d.ts +10 -0
  143. package/dist/sync/files.d.ts.map +1 -1
  144. package/dist/sync/files.js +19 -0
  145. package/dist/sync/files.js.map +1 -1
  146. package/dist/sync/source.d.ts.map +1 -1
  147. package/dist/sync/source.js +43 -25
  148. package/dist/sync/source.js.map +1 -1
  149. package/dist/version.d.ts +1 -1
  150. package/dist/version.js +1 -1
  151. package/package.json +3 -3
  152. package/skills/notion-cli/SKILL.md +6 -0
  153. package/dist/bundle/command-contract-JS5V27NX.js +0 -38
  154. package/dist/bundle/first-run-3PF7T74J.js +0 -29
  155. package/dist/bundle/first-screen-7BEROEQR.js +0 -36
  156. package/dist/bundle/meeting-combined-PPUQ3KBR.js +0 -24
  157. package/dist/bundle/meeting-model-ZNMYKMCD.js +0 -26
  158. package/dist/bundle/server-FKQET4ZO.js +0 -71
  159. package/dist/bundle/store-maintenance-command-ZUUUFCHL.js +0 -62
  160. /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
@@ -12,10 +12,10 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-5RSC54NA.js";
15
+ } from "./chunk-JODE2XED.js";
16
16
  import {
17
17
  stdinFieldOf
18
- } from "./chunk-P7CUM5IB.js";
18
+ } from "./chunk-YGCI3DHS.js";
19
19
  import {
20
20
  BinaryResource,
21
21
  Picture,
@@ -36,28 +36,28 @@ import {
36
36
  tool,
37
37
  toolKey,
38
38
  toolsFromCommands
39
- } from "./chunk-6RA3EABS.js";
39
+ } from "./chunk-R6SDRSZK.js";
40
40
  import {
41
41
  agentJson,
42
- skillResource
43
- } from "./chunk-G3EZFRSS.js";
42
+ skillResources
43
+ } from "./chunk-WU3XHGOB.js";
44
44
  import {
45
45
  StdioServerTransport,
46
46
  answeredWire,
47
47
  callerOf,
48
48
  callingAgent,
49
49
  serveStdio
50
- } from "./chunk-3Z4YTSRY.js";
50
+ } from "./chunk-GK4GLPG2.js";
51
51
  import {
52
52
  connectedFor
53
- } from "./chunk-M3KB25D3.js";
53
+ } from "./chunk-XCTOCVMW.js";
54
54
  import {
55
55
  lackedNeed,
56
56
  wholeList
57
- } from "./chunk-2LWO3PDX.js";
57
+ } from "./chunk-L62XTC7N.js";
58
58
  import {
59
59
  instructions
60
- } from "./chunk-22QQUKWA.js";
60
+ } from "./chunk-5XP4KQ2F.js";
61
61
  import {
62
62
  McpServer,
63
63
  ResourceTemplate
@@ -69,13 +69,13 @@ import {
69
69
  imageSize,
70
70
  servicesFor,
71
71
  storedDeps
72
- } from "./chunk-5IYKVRH2.js";
72
+ } from "./chunk-GCCPFKSU.js";
73
73
  import {
74
74
  mcpHttpMarker
75
- } from "./chunk-BNPTZ5ZB.js";
75
+ } from "./chunk-SGBS5QCU.js";
76
76
  import {
77
77
  findCommand
78
- } from "./chunk-AOCUKEAX.js";
78
+ } from "./chunk-KL3P5TQK.js";
79
79
  import {
80
80
  DEFAULT_OUTPUT_BYTES,
81
81
  changesAuthorityAt,
@@ -93,30 +93,30 @@ import {
93
93
  rootOf2 as rootOf,
94
94
  sealed,
95
95
  snakeKeys
96
- } from "./chunk-FXEJY4OL.js";
96
+ } from "./chunk-MRA62W5K.js";
97
97
  import {
98
98
  withCaller
99
- } from "./chunk-5NFK5EM2.js";
99
+ } from "./chunk-IJMFG7HB.js";
100
100
  import {
101
101
  openStore,
102
102
  pdfPreviewLimits
103
- } from "./chunk-VBHETQVV.js";
103
+ } from "./chunk-7NVPM55S.js";
104
104
  import {
105
105
  typedCommand
106
- } from "./chunk-MY742GAD.js";
106
+ } from "./chunk-QX3TPFEX.js";
107
107
  import {
108
108
  isCliFailure
109
- } from "./chunk-6EVKHZKN.js";
109
+ } from "./chunk-UROEWCOG.js";
110
110
  import {
111
111
  timezoneOf
112
- } from "./chunk-FWVBPRL4.js";
112
+ } from "./chunk-FSJHASRQ.js";
113
113
  import {
114
114
  warmEmbedders
115
- } from "./chunk-ODBZNSZ6.js";
115
+ } from "./chunk-5LBJNTEJ.js";
116
116
  import {
117
117
  errorObjectOf,
118
118
  mcpErrorResult
119
- } from "./chunk-4IPURN72.js";
119
+ } from "./chunk-6GN7KU7X.js";
120
120
  import {
121
121
  description,
122
122
  integer,
@@ -131,19 +131,19 @@ import {
131
131
  regex,
132
132
  strictObject,
133
133
  string
134
- } from "./chunk-XYIT2XB3.js";
134
+ } from "./chunk-MVA5HVKL.js";
135
135
  import {
136
136
  CliError,
137
137
  visibleControls
138
- } from "./chunk-5RDNBG7D.js";
138
+ } from "./chunk-LIQMUDIZ.js";
139
139
  import {
140
140
  __name
141
141
  } from "./chunk-ZVVMGPBJ.js";
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/server.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/server.js
144
144
  import { randomUUID } from "node:crypto";
145
145
 
146
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
146
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
147
147
  var agentLog = /* @__PURE__ */ __name((open) => {
148
148
  let held;
149
149
  return {
@@ -162,7 +162,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
162
162
  };
163
163
  }, "agentLog");
164
164
 
165
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/resources.js
165
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/resources.js
166
166
  var LISTED = 100;
167
167
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
168
168
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -200,7 +200,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
200
200
  });
201
201
  }, "registerResources");
202
202
 
203
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/session.js
203
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/session.js
204
204
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
205
205
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
206
206
  var MessengerSession = class {
@@ -275,7 +275,7 @@ var MessengerSession = class {
275
275
  }
276
276
  };
277
277
 
278
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
278
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
279
279
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
280
280
  const _command = messenger.app.command;
281
281
  return {
@@ -329,7 +329,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
329
329
  };
330
330
  }, "attachmentsTools");
331
331
 
332
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
332
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
333
333
  var PHOTO_LIMIT = 512 * 1024;
334
334
  var IMAGE_TYPES = [
335
335
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -385,7 +385,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
385
385
  return new Uint8Array(Buffer.concat(chunks));
386
386
  }, "readUpTo");
387
387
 
388
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
388
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
389
389
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
390
390
  stats_charts: tool({
391
391
  title: "A chart from a chat's statistics",
@@ -422,14 +422,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
422
422
  })
423
423
  }), "statsTools");
424
424
 
425
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/tools.js
425
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/tools.js
426
426
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
427
427
  ...messagesPhotoTools(messenger),
428
428
  ...attachmentsTools(messenger),
429
429
  ...statsTools(messenger)
430
430
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
431
431
 
432
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/mcp/server.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/server.js
433
433
  var PER_RUN = /* @__PURE__ */ new Set([
434
434
  "streams",
435
435
  "stdin",
@@ -547,7 +547,8 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
547
547
  ...messenger.diagnose ? { [messenger.provider]: await messenger.diagnose(command, context) } : {}
548
548
  }), "local")
549
549
  });
550
- const skill = messenger.skill ? skillResource(app, messenger.skill) : void 0;
550
+ const skills = messenger.skill ? skillResources(app, messenger.skill) : [];
551
+ const skill = skills[0];
551
552
  const log = agentLog(() => openStore({ env: context.env, command: app.command, version: app.version }));
552
553
  const audit = /* @__PURE__ */ __name(async (call, caller) => {
553
554
  if (!recalledAccount(app, provider, settings.profile, context.env))
@@ -717,10 +718,8 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
717
718
  });
718
719
  }, "assertRead")
719
720
  });
720
- if (skill) {
721
- const { uri, name: resource, title, description: description2, mimeType, read } = skill;
722
- server.registerResource(resource, uri, { title, description: description2, mimeType }, read);
723
- }
721
+ for (const { uri, name: name2, title, description: description2, mimeType, read } of skills)
722
+ server.registerResource(name2, uri, { title, description: description2, mimeType }, read);
724
723
  return server;
725
724
  }, "build");
726
725
  return { session, embedders, build, log, offered: [...commands.map((one) => one.command), ...pictured] };
@@ -746,7 +745,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
746
745
  }, "serveOverStdio");
747
746
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
748
747
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
749
- const { serveOverHttp } = await import("./serve-YU7QBP6L.js");
748
+ const { serveOverHttp } = await import("./serve-XJMGAMFW.js");
750
749
  const appName = messenger.app.command;
751
750
  const appEnvPrefix = messenger.app.envPrefix;
752
751
  const listening = await serveOverHttp(build, {
@@ -0,0 +1,38 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-KL3P5TQK.js";
10
+ import "./chunk-MRA62W5K.js";
11
+ import "./chunk-IJMFG7HB.js";
12
+ import "./chunk-4TQVZXOV.js";
13
+ import "./chunk-WHJWURZB.js";
14
+ import "./chunk-7YZPBAQX.js";
15
+ import "./chunk-HTKSCSJU.js";
16
+ import "./chunk-QX3TPFEX.js";
17
+ import "./chunk-UROEWCOG.js";
18
+ import "./chunk-5UA2TYMI.js";
19
+ import "./chunk-FSJHASRQ.js";
20
+ import "./chunk-WZEEEQGC.js";
21
+ import "./chunk-TJCPTRYD.js";
22
+ import "./chunk-JIRRF6BM.js";
23
+ import "./chunk-SHTHNBHG.js";
24
+ import "./chunk-CDGZZNGY.js";
25
+ import "./chunk-M2EEIYBU.js";
26
+ import "./chunk-AYU5TFDU.js";
27
+ import "./chunk-6GN7KU7X.js";
28
+ import "./chunk-MVA5HVKL.js";
29
+ import "./chunk-Y5E2WNWB.js";
30
+ import "./chunk-LIQMUDIZ.js";
31
+ import "./chunk-ZVVMGPBJ.js";
32
+ export {
33
+ SCHEMA_DIALECT,
34
+ commandContract,
35
+ commandPathOf,
36
+ findCommand,
37
+ outputOf
38
+ };
@@ -4,50 +4,50 @@ import {
4
4
  COMMAND_SERVER_CONCURRENT,
5
5
  enterCommandServer,
6
6
  serveCommands
7
- } from "./chunk-5QIQEUOG.js";
8
- import "./chunk-P7CUM5IB.js";
7
+ } from "./chunk-RMJMID5D.js";
8
+ import "./chunk-YGCI3DHS.js";
9
9
  import {
10
10
  ensureSqlite
11
- } from "./chunk-SHJQ6JKG.js";
12
- import "./chunk-AOCUKEAX.js";
11
+ } from "./chunk-4KUJTSHG.js";
12
+ import "./chunk-KL3P5TQK.js";
13
13
  import {
14
14
  commandServerRequest,
15
15
  exitCodeSet,
16
16
  inCommandServerRequest
17
- } from "./chunk-FXEJY4OL.js";
18
- import "./chunk-5NFK5EM2.js";
19
- import "./chunk-SWAOWNKW.js";
20
- import "./chunk-WJHZMR2W.js";
21
- import "./chunk-Z56QFOBR.js";
22
- import "./chunk-TSDBSIFM.js";
17
+ } from "./chunk-MRA62W5K.js";
18
+ import "./chunk-IJMFG7HB.js";
19
+ import "./chunk-4TQVZXOV.js";
20
+ import "./chunk-WHJWURZB.js";
21
+ import "./chunk-7YZPBAQX.js";
22
+ import "./chunk-HTKSCSJU.js";
23
23
  import {
24
24
  asOwnProcess
25
- } from "./chunk-MY742GAD.js";
26
- import "./chunk-6EVKHZKN.js";
27
- import "./chunk-SZOVLP44.js";
28
- import "./chunk-FWVBPRL4.js";
29
- import "./chunk-2F6VO5HA.js";
30
- import "./chunk-B7ON6KPT.js";
31
- import "./chunk-D7QSEEYW.js";
32
- import "./chunk-VKE77B3F.js";
33
- import "./chunk-NQWV4WQO.js";
34
- import "./chunk-WF4D56CA.js";
35
- import "./chunk-LAYPFBOM.js";
36
- import "./chunk-4HWJOU7N.js";
37
- import "./chunk-3AL7QUS3.js";
25
+ } from "./chunk-QX3TPFEX.js";
26
+ import "./chunk-UROEWCOG.js";
27
+ import "./chunk-5UA2TYMI.js";
28
+ import "./chunk-FSJHASRQ.js";
29
+ import "./chunk-WZEEEQGC.js";
30
+ import "./chunk-TJCPTRYD.js";
31
+ import "./chunk-JIRRF6BM.js";
32
+ import "./chunk-SHTHNBHG.js";
33
+ import "./chunk-CDGZZNGY.js";
34
+ import "./chunk-M2EEIYBU.js";
35
+ import "./chunk-EY6S7FV3.js";
36
+ import "./chunk-2MHMKNWD.js";
37
+ import "./chunk-AYU5TFDU.js";
38
38
  import {
39
39
  catchCrashes
40
- } from "./chunk-4IPURN72.js";
41
- import "./chunk-XYIT2XB3.js";
40
+ } from "./chunk-6GN7KU7X.js";
41
+ import "./chunk-MVA5HVKL.js";
42
42
  import "./chunk-Y5E2WNWB.js";
43
43
  import {
44
44
  CliError
45
- } from "./chunk-5RDNBG7D.js";
45
+ } from "./chunk-LIQMUDIZ.js";
46
46
  import {
47
47
  __name
48
48
  } from "./chunk-ZVVMGPBJ.js";
49
49
 
50
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
51
51
  import { PassThrough } from "node:stream";
52
52
  var route = /* @__PURE__ */ __name((stream, sink) => {
53
53
  const original = stream.write;
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-GZOUFX3C.js";
7
- import "./chunk-3AL7QUS3.js";
8
- import "./chunk-4IPURN72.js";
9
- import "./chunk-XYIT2XB3.js";
6
+ } from "./chunk-GSNE7OB4.js";
7
+ import "./chunk-AYU5TFDU.js";
8
+ import "./chunk-6GN7KU7X.js";
9
+ import "./chunk-MVA5HVKL.js";
10
10
  import {
11
11
  importFrom
12
12
  } from "./chunk-Y5E2WNWB.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-5RDNBG7D.js";
15
+ } from "./chunk-LIQMUDIZ.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/speech/decode.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/speech/decode.js
21
21
  import { spawn } from "node:child_process";
22
22
  import { mkdtemp, open, readFile, rm, writeFile } from "node:fs/promises";
23
23
  import { createRequire } from "node:module";
@@ -14,22 +14,22 @@ import {
14
14
  parseDescribe,
15
15
  shimFiles,
16
16
  writeShim
17
- } from "./chunk-4ZTVJHWU.js";
17
+ } from "./chunk-7NF3V5L2.js";
18
18
  import "./chunk-Y5E2WNWB.js";
19
19
  import {
20
20
  CliError
21
- } from "./chunk-5RDNBG7D.js";
21
+ } from "./chunk-LIQMUDIZ.js";
22
22
  import {
23
23
  __name,
24
24
  __toESM
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
27
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
28
28
  var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
29
29
  import { randomUUID } from "node:crypto";
30
30
  import { constants } from "node:os";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
32
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
33
33
  import { readdirSync, statSync } from "node:fs";
34
34
  import { join } from "node:path";
35
35
  var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
101
101
  }, "findTools");
102
102
  var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
103
103
 
104
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
104
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
105
105
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
106
106
  import { readFileSync } from "node:fs";
107
107
  var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
149
149
  }
150
150
  }, "baseVersion");
151
151
 
152
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
152
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
153
153
  import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
154
154
  import { basename, dirname } from "node:path";
155
155
  var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
241
241
  return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
242
242
  }), "removeShortcuts");
243
243
 
244
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
244
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
245
245
  var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
246
246
  var listTools = /* @__PURE__ */ __name(async (context) => {
247
247
  const installed = installedPrograms(context);
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
338
338
  });
339
339
  }), "runTool");
340
340
  var fail = /* @__PURE__ */ __name(async (error, json, context) => {
341
- const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-MYT4HPE3.js");
341
+ const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-JHXICWIL.js");
342
342
  const object = errorObjectOf(error);
343
343
  context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
344
344
  `);
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/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.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/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,14 +13,14 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-ODBZNSZ6.js";
17
- import "./chunk-D7QSEEYW.js";
18
- import "./chunk-WF4D56CA.js";
19
- import "./chunk-3AL7QUS3.js";
20
- import "./chunk-4IPURN72.js";
21
- import "./chunk-XYIT2XB3.js";
16
+ } from "./chunk-5LBJNTEJ.js";
17
+ import "./chunk-JIRRF6BM.js";
18
+ import "./chunk-M2EEIYBU.js";
19
+ import "./chunk-AYU5TFDU.js";
20
+ import "./chunk-6GN7KU7X.js";
21
+ import "./chunk-MVA5HVKL.js";
22
22
  import "./chunk-Y5E2WNWB.js";
23
- import "./chunk-5RDNBG7D.js";
23
+ import "./chunk-LIQMUDIZ.js";
24
24
  import "./chunk-ZVVMGPBJ.js";
25
25
  export {
26
26
  WARM_IDLE_MS,
@@ -4,27 +4,27 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-ODBZNSZ6.js";
8
- import "./chunk-D7QSEEYW.js";
9
- import "./chunk-WF4D56CA.js";
10
- import "./chunk-3AL7QUS3.js";
11
- import "./chunk-4IPURN72.js";
12
- import "./chunk-XYIT2XB3.js";
7
+ } from "./chunk-5LBJNTEJ.js";
8
+ import "./chunk-JIRRF6BM.js";
9
+ import "./chunk-M2EEIYBU.js";
10
+ import "./chunk-AYU5TFDU.js";
11
+ import "./chunk-6GN7KU7X.js";
12
+ import "./chunk-MVA5HVKL.js";
13
13
  import {
14
14
  importFrom
15
15
  } from "./chunk-Y5E2WNWB.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-5RDNBG7D.js";
18
+ } from "./chunk-LIQMUDIZ.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
24
24
  import { readFileSync } from "node:fs";
25
25
  import { join } from "node:path";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
28
28
  var SIZE = 224;
29
29
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
30
30
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -63,7 +63,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
63
63
  return pixels;
64
64
  }, "preprocess");
65
65
 
66
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
66
+ // node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
67
67
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
68
68
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
69
69
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -9,9 +9,9 @@ import {
9
9
  mcpErrorResult,
10
10
  renderError,
11
11
  retryOf
12
- } from "./chunk-4IPURN72.js";
13
- import "./chunk-XYIT2XB3.js";
14
- import "./chunk-5RDNBG7D.js";
12
+ } from "./chunk-6GN7KU7X.js";
13
+ import "./chunk-MVA5HVKL.js";
14
+ import "./chunk-LIQMUDIZ.js";
15
15
  import "./chunk-ZVVMGPBJ.js";
16
16
  export {
17
17
  catchCrashes,
@@ -0,0 +1,29 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ askSetupQuestions,
5
+ asksAtStart,
6
+ setupAtStart,
7
+ systemLanguage
8
+ } from "./chunk-COH7OEER.js";
9
+ import "./chunk-OCDJ4FFA.js";
10
+ import "./chunk-NO2LIHWA.js";
11
+ import "./chunk-4TQVZXOV.js";
12
+ import "./chunk-T5UNSFES.js";
13
+ import "./chunk-6JBLIQQN.js";
14
+ import "./chunk-TJCPTRYD.js";
15
+ import "./chunk-YAPDU3SV.js";
16
+ import "./chunk-D72URWJE.js";
17
+ import "./chunk-M2EEIYBU.js";
18
+ import "./chunk-AYU5TFDU.js";
19
+ import "./chunk-6GN7KU7X.js";
20
+ import "./chunk-MVA5HVKL.js";
21
+ import "./chunk-Y5E2WNWB.js";
22
+ import "./chunk-LIQMUDIZ.js";
23
+ import "./chunk-ZVVMGPBJ.js";
24
+ export {
25
+ askSetupQuestions,
26
+ asksAtStart,
27
+ setupAtStart,
28
+ systemLanguage
29
+ };
@@ -0,0 +1,38 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ firstScreen,
5
+ installHelp
6
+ } from "./chunk-7NGFGFE5.js";
7
+ import "./chunk-EH6ZEJGT.js";
8
+ import {
9
+ WIRECAT_TOOLS
10
+ } from "./chunk-FEMHUSGO.js";
11
+ import "./chunk-KL3P5TQK.js";
12
+ import "./chunk-MRA62W5K.js";
13
+ import "./chunk-IJMFG7HB.js";
14
+ import "./chunk-4TQVZXOV.js";
15
+ import "./chunk-WHJWURZB.js";
16
+ import "./chunk-7YZPBAQX.js";
17
+ import "./chunk-HTKSCSJU.js";
18
+ import "./chunk-QX3TPFEX.js";
19
+ import "./chunk-UROEWCOG.js";
20
+ import "./chunk-5UA2TYMI.js";
21
+ import "./chunk-FSJHASRQ.js";
22
+ import "./chunk-WZEEEQGC.js";
23
+ import "./chunk-TJCPTRYD.js";
24
+ import "./chunk-JIRRF6BM.js";
25
+ import "./chunk-SHTHNBHG.js";
26
+ import "./chunk-CDGZZNGY.js";
27
+ import "./chunk-M2EEIYBU.js";
28
+ import "./chunk-AYU5TFDU.js";
29
+ import "./chunk-6GN7KU7X.js";
30
+ import "./chunk-MVA5HVKL.js";
31
+ import "./chunk-Y5E2WNWB.js";
32
+ import "./chunk-LIQMUDIZ.js";
33
+ import "./chunk-ZVVMGPBJ.js";
34
+ export {
35
+ WIRECAT_TOOLS,
36
+ firstScreen,
37
+ installHelp
38
+ };
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-22QQUKWA.js";
6
+ } from "./chunk-5XP4KQ2F.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-YVI5SQPY.js";
6
+ } from "./chunk-NO2LIHWA.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
@@ -12,7 +12,7 @@ import {
12
12
  __toESM
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-base@0.102.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
15
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_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
16
16
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
17
17
  var realRun = /* @__PURE__ */ __name((file, args) => {
18
18
  const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {