@wirecat/attio-cli 0.2.1 → 0.2.2

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 (131) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/contracts/wirecat.json +5 -20
  3. package/dist/bin/attio.js +2 -2
  4. package/dist/bundle/agent-3FYEIRN4.js +37 -0
  5. package/dist/bundle/{all-profiles-LZDKPHN2.js → all-profiles-RAFO3NFW.js} +10 -10
  6. package/dist/bundle/{anthropic-BF72H77D.js → anthropic-TNR6QJGA.js} +5 -5
  7. package/dist/bundle/{app-server-H57FZJX5.js → app-server-BXVGXUGQ.js} +61 -61
  8. package/dist/bundle/attio.js +11 -11
  9. package/dist/bundle/{bun-WO77T4LG.js → bun-3RTK5XYF.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-2BP7JDVO.js → bun-sqlite-I5K5Z2ZK.js} +6 -6
  11. package/dist/bundle/{chunk-CMO5ND3Y.js → chunk-2CS7VHUB.js} +34 -34
  12. package/dist/bundle/{chunk-XXOTX4M3.js → chunk-2JB5XD5R.js} +7 -7
  13. package/dist/bundle/{chunk-EQGXEKSV.js → chunk-2PSAS4TT.js} +7 -7
  14. package/dist/bundle/{chunk-EEPE3SOW.js → chunk-2TLGP7BS.js} +5 -5
  15. package/dist/bundle/{chunk-X5S5KUSU.js → chunk-3BM6KBWP.js} +19 -19
  16. package/dist/bundle/{chunk-QLHDUYGE.js → chunk-3JRLPNPO.js} +1 -1
  17. package/dist/bundle/{chunk-J5P5VSRG.js → chunk-3LMW7U7F.js} +8 -8
  18. package/dist/bundle/{chunk-G6FQMVKW.js → chunk-4F3FQ5QX.js} +3 -3
  19. package/dist/bundle/{chunk-LWJ4ZGUM.js → chunk-53BHLQRA.js} +13 -13
  20. package/dist/bundle/{chunk-EQXT7KO4.js → chunk-62FENOMX.js} +6 -6
  21. package/dist/bundle/{chunk-JSTBW7F4.js → chunk-6HYTDMOL.js} +6 -6
  22. package/dist/bundle/{chunk-L5WS6CYZ.js → chunk-6ZBJCBXA.js} +2 -2
  23. package/dist/bundle/{chunk-Q7BSTQ3T.js → chunk-7626I3P4.js} +1 -1
  24. package/dist/bundle/{chunk-VW5F6FK3.js → chunk-7JVKQ6NM.js} +4 -4
  25. package/dist/bundle/{chunk-PMP37KLR.js → chunk-7QH5BZUG.js} +3 -3
  26. package/dist/bundle/{chunk-ZDBTYBFR.js → chunk-7WS4ONXZ.js} +3 -3
  27. package/dist/bundle/{chunk-MT2ZUZRA.js → chunk-AHPGTDO2.js} +43 -64
  28. package/dist/bundle/{chunk-GBZ6JUXU.js → chunk-AMRELFBT.js} +2 -2
  29. package/dist/bundle/{chunk-S7K2XFQB.js → chunk-APNSAKSO.js} +6 -6
  30. package/dist/bundle/{chunk-DSRXCLPO.js → chunk-AV2ZJ4WX.js} +1 -1
  31. package/dist/bundle/{chunk-2E6JGBM5.js → chunk-AXGSAG53.js} +14 -14
  32. package/dist/bundle/{chunk-I3WS6V5H.js → chunk-B7U5FLPP.js} +8 -8
  33. package/dist/bundle/{chunk-HG7FT3H3.js → chunk-BDFNXTNK.js} +7 -7
  34. package/dist/bundle/{chunk-AMUONYQR.js → chunk-BFWERPF6.js} +2 -2
  35. package/dist/bundle/{chunk-5K3FGXZH.js → chunk-CFQQTDSA.js} +1 -1
  36. package/dist/bundle/{chunk-VDMIJ3JW.js → chunk-CKG7GIHR.js} +3 -3
  37. package/dist/bundle/{chunk-X6R74TWX.js → chunk-CZP6C6MX.js} +4 -4
  38. package/dist/bundle/{chunk-RU5J7DWY.js → chunk-DKSO7UTS.js} +31 -9
  39. package/dist/bundle/{chunk-IDU4ESRZ.js → chunk-EMZ4MGPD.js} +8 -1
  40. package/dist/bundle/{chunk-MNQACPXG.js → chunk-FPMWW2HK.js} +25 -25
  41. package/dist/bundle/{chunk-WK7GLHHL.js → chunk-FRCORPOY.js} +5 -5
  42. package/dist/bundle/{chunk-G3JTLVVL.js → chunk-GT3HXSKW.js} +7 -7
  43. package/dist/bundle/{chunk-BUGROVF3.js → chunk-HM6AMYHR.js} +2 -2
  44. package/dist/bundle/{chunk-3NVOKVRY.js → chunk-HMYJLOXE.js} +343 -274
  45. package/dist/bundle/{chunk-3I2FGNWO.js → chunk-HVXOA4FO.js} +1 -1
  46. package/dist/bundle/{chunk-ASCUOOLO.js → chunk-JFFCP52L.js} +1 -1
  47. package/dist/bundle/{chunk-AFAULIL5.js → chunk-JSAXTIRX.js} +1 -1
  48. package/dist/bundle/{chunk-DF2IIO32.js → chunk-JWRI6ZY6.js} +174 -159
  49. package/dist/bundle/{chunk-4STBJZR4.js → chunk-L7BMGR5W.js} +76 -37
  50. package/dist/bundle/{chunk-XXLQNHKF.js → chunk-LG6Y4NAT.js} +2 -2
  51. package/dist/bundle/{chunk-WARIIYSW.js → chunk-LHKVAZ5T.js} +2 -2
  52. package/dist/bundle/{chunk-GLHFJPYS.js → chunk-LIIOT3AN.js} +3 -3
  53. package/dist/bundle/{chunk-H7QDPW3D.js → chunk-MG4U6AKG.js} +1 -1
  54. package/dist/bundle/{chunk-MC2RQ2OB.js → chunk-MHMHZ6GY.js} +1 -1
  55. package/dist/bundle/{chunk-V6BTAILB.js → chunk-MI6IH5UW.js} +61 -61
  56. package/dist/bundle/{chunk-KHDXRFJZ.js → chunk-MW2OS2GD.js} +8 -8
  57. package/dist/bundle/{chunk-6ALPRBNV.js → chunk-NQJ7QMEF.js} +3 -3
  58. package/dist/bundle/{chunk-OFR3YYT6.js → chunk-NQNFMKL2.js} +1 -1
  59. package/dist/bundle/{chunk-76RRELCU.js → chunk-NWDO4DE3.js} +958 -550
  60. package/dist/bundle/{chunk-7MXCUMHG.js → chunk-O4SX6FXT.js} +1 -1
  61. package/dist/bundle/{chunk-SQHDE3TC.js → chunk-OC35ZLPE.js} +4 -4
  62. package/dist/bundle/{chunk-MRREDVPY.js → chunk-OHCYBSCA.js} +20 -14
  63. package/dist/bundle/{chunk-OBXDRUO4.js → chunk-P76XVKVC.js} +1 -1
  64. package/dist/bundle/{chunk-3YFDZSM3.js → chunk-PRERT2BZ.js} +1 -1
  65. package/dist/bundle/{chunk-MOSH2KPD.js → chunk-Q2U6DGSV.js} +10 -10
  66. package/dist/bundle/{chunk-O4A33Y54.js → chunk-QSUFJGTG.js} +2 -2
  67. package/dist/bundle/{chunk-ERW2WOJT.js → chunk-RKKY3MSZ.js} +1 -1
  68. package/dist/bundle/{chunk-4SMGM2Q6.js → chunk-SEDD6YZQ.js} +4 -4
  69. package/dist/bundle/{chunk-Q3JCUUOR.js → chunk-SYBAMYFY.js} +3 -3
  70. package/dist/bundle/{chunk-ZGADZ4CH.js → chunk-T6DV3ED2.js} +15 -15
  71. package/dist/bundle/{chunk-JA26HG7T.js → chunk-TUOFAUBR.js} +8 -8
  72. package/dist/bundle/{chunk-6SK3YB2B.js → chunk-UTTNGFKW.js} +12 -12
  73. package/dist/bundle/{chunk-CHZ26CW5.js → chunk-UZYL4AMA.js} +61 -58
  74. package/dist/bundle/{chunk-IXCIQ7FZ.js → chunk-V4JWUVNO.js} +4 -4
  75. package/dist/bundle/{chunk-34FJ26K2.js → chunk-VQSVE4RD.js} +2 -2
  76. package/dist/bundle/{chunk-GW4G5KLS.js → chunk-WALQNDXO.js} +8 -8
  77. package/dist/bundle/{chunk-6NDJDDSQ.js → chunk-WHDVRMB7.js} +35 -35
  78. package/dist/bundle/{chunk-ESH2QGCA.js → chunk-XQIRF6PS.js} +24 -8
  79. package/dist/bundle/{chunk-7ZUOI3HY.js → chunk-XSUU7PB7.js} +3 -3
  80. package/dist/bundle/{chunk-DQ6P3R4B.js → chunk-YBJBYPS7.js} +3 -3
  81. package/dist/bundle/{chunk-W6F2CQZ6.js → chunk-Z3HZD24R.js} +17 -17
  82. package/dist/bundle/{chunk-TF7ZGCOK.js → chunk-ZI3IRII7.js} +3 -3
  83. package/dist/bundle/command-contract-N5X3UOTT.js +37 -0
  84. package/dist/bundle/{command-server-entry-MNVPYQZ3.js → command-server-entry-ZKWL26Q5.js} +25 -25
  85. package/dist/bundle/{decode-MQNKNXLK.js → decode-TG45PUJW.js} +5 -5
  86. package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-JQBAZWCL.js} +8 -8
  87. package/dist/bundle/{echarts-6ZSUNO4L.js → echarts-AWICNZBO.js} +2 -2
  88. package/dist/bundle/{embed-PHCCJJ5Z.js → embed-TN6HQUK2.js} +6 -6
  89. package/dist/bundle/{embedder-WLZZQTKZ.js → embedder-T3KJA3I4.js} +9 -9
  90. package/dist/bundle/{failure-MR2XVHFP.js → failure-I6AAF5R5.js} +2 -2
  91. package/dist/bundle/{first-run-64LREHSV.js → first-run-BZUITKMF.js} +12 -12
  92. package/dist/bundle/first-screen-I23NJLFH.js +37 -0
  93. package/dist/bundle/{instructions-22GCKNR5.js → instructions-FRJHLLZX.js} +1 -1
  94. package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-YGOAUNC3.js} +2 -2
  95. package/dist/bundle/meeting-combined-7ZNV4MZ2.js +24 -0
  96. package/dist/bundle/{meeting-model-JWDTCGLZ.js → meeting-model-TENJU3OG.js} +11 -11
  97. package/dist/bundle/{meeting-semantic-375GYPZQ.js → meeting-semantic-ZKOG2XMU.js} +6 -6
  98. package/dist/bundle/{node-ITDTNRRZ.js → node-3ZISJOEM.js} +2 -2
  99. package/dist/bundle/{node-sqlite-IRAGRMEZ.js → node-sqlite-KA35X4F4.js} +7 -7
  100. package/dist/bundle/{oauth-CACOQJEL.js → oauth-C74B6XHN.js} +7 -7
  101. package/dist/bundle/{open-HU4KHKDR.js → open-CJESRWUG.js} +5 -5
  102. package/dist/bundle/{openai-JQUPAVKX.js → openai-WLXOXSTV.js} +15 -15
  103. package/dist/bundle/{process-QS5OHEUK.js → process-JV3KVGJY.js} +1 -1
  104. package/dist/bundle/{program-5OTAVU5S.js → program-HSVLSH7A.js} +694 -477
  105. package/dist/bundle/{prompt-VA5MKXJU.js → prompt-EEBVB3XG.js} +5 -5
  106. package/dist/bundle/{recognize-JGA5IVKC.js → recognize-ZFITQZ4W.js} +4 -4
  107. package/dist/bundle/{remote-NPY2KZQ4.js → remote-RZXSYHOJ.js} +9 -9
  108. package/dist/bundle/{rerank-4H2QR4XU.js → rerank-2BHYAEO3.js} +7 -7
  109. package/dist/bundle/{schemas-THAI3G5S.js → schemas-6GTYA2NR.js} +1 -1
  110. package/dist/bundle/{serve-UH46SZQG.js → serve-G3M5H5JM.js} +9 -9
  111. package/dist/bundle/server-3ZL5TECF.js +79 -0
  112. package/dist/bundle/{server-6H7JS6SU.js → server-44WJ5K2W.js} +53 -53
  113. package/dist/bundle/{sqlite-runtime-EJWEUTBR.js → sqlite-runtime-TRISCWIG.js} +6 -6
  114. package/dist/bundle/{state-34B6AUQZ.js → state-BF6IMDP2.js} +6 -6
  115. package/dist/bundle/{store-XSE35P3U.js → store-LZPZC72J.js} +20 -20
  116. package/dist/bundle/{store-3R4ILTCJ.js → store-VSKYLTLH.js} +22 -18
  117. package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +66 -0
  118. package/dist/bundle/surface-OHYA3YS6.js +65 -0
  119. package/dist/commands/crm.d.ts.map +1 -1
  120. package/dist/commands/crm.js +2 -0
  121. package/dist/commands/crm.js.map +1 -1
  122. package/dist/version.d.ts +1 -1
  123. package/dist/version.js +1 -1
  124. package/package.json +3 -3
  125. package/dist/bundle/agent-DYTWDBTT.js +0 -37
  126. package/dist/bundle/command-contract-7M6EPH3D.js +0 -37
  127. package/dist/bundle/first-screen-YSCAZIYJ.js +0 -37
  128. package/dist/bundle/meeting-combined-YX3T5WJD.js +0 -24
  129. package/dist/bundle/server-SR52KBL3.js +0 -79
  130. package/dist/bundle/store-maintenance-command-ABJARLI4.js +0 -66
  131. package/dist/bundle/surface-NOTIEJB5.js +0 -65
@@ -12,31 +12,31 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-MNQACPXG.js";
15
+ } from "./chunk-FPMWW2HK.js";
16
16
  import {
17
17
  skillResources
18
- } from "./chunk-EQXT7KO4.js";
18
+ } from "./chunk-62FENOMX.js";
19
19
  import {
20
20
  StdioServerTransport,
21
21
  answeredWire,
22
22
  serveStdio
23
- } from "./chunk-Q7BSTQ3T.js";
23
+ } from "./chunk-7626I3P4.js";
24
24
  import {
25
25
  stdinFieldOf
26
- } from "./chunk-7MXCUMHG.js";
26
+ } from "./chunk-O4SX6FXT.js";
27
27
  import {
28
28
  connectedFor
29
- } from "./chunk-2E6JGBM5.js";
29
+ } from "./chunk-AXGSAG53.js";
30
30
  import {
31
31
  wholeList
32
- } from "./chunk-JA26HG7T.js";
32
+ } from "./chunk-TUOFAUBR.js";
33
33
  import {
34
34
  runCommandForAgent,
35
35
  toolsFromCommands
36
- } from "./chunk-4STBJZR4.js";
36
+ } from "./chunk-L7BMGR5W.js";
37
37
  import {
38
38
  instructions
39
- } from "./chunk-ASCUOOLO.js";
39
+ } from "./chunk-JFFCP52L.js";
40
40
  import {
41
41
  BinaryResource,
42
42
  Picture,
@@ -55,35 +55,35 @@ import {
55
55
  tierOf,
56
56
  tool,
57
57
  toolKey
58
- } from "./chunk-ZGADZ4CH.js";
58
+ } from "./chunk-T6DV3ED2.js";
59
59
  import {
60
60
  agentJson
61
- } from "./chunk-RU5J7DWY.js";
61
+ } from "./chunk-DKSO7UTS.js";
62
62
  import {
63
63
  guardFor,
64
64
  imageSize,
65
65
  lackedNeed,
66
66
  servicesFor,
67
67
  storedDeps
68
- } from "./chunk-3NVOKVRY.js";
68
+ } from "./chunk-HMYJLOXE.js";
69
69
  import {
70
70
  callerOf,
71
71
  callingAgent
72
- } from "./chunk-GBZ6JUXU.js";
72
+ } from "./chunk-AMRELFBT.js";
73
73
  import {
74
74
  capability,
75
75
  dateWindow
76
- } from "./chunk-MRREDVPY.js";
76
+ } from "./chunk-OHCYBSCA.js";
77
77
  import {
78
78
  McpServer,
79
79
  ResourceTemplate
80
80
  } from "./chunk-PL5P7UKW.js";
81
81
  import {
82
82
  mcpHttpMarker
83
- } from "./chunk-IXCIQ7FZ.js";
83
+ } from "./chunk-V4JWUVNO.js";
84
84
  import {
85
85
  findCommand
86
- } from "./chunk-X6R74TWX.js";
86
+ } from "./chunk-CZP6C6MX.js";
87
87
  import {
88
88
  DEFAULT_OUTPUT_BYTES,
89
89
  changesAuthorityAt,
@@ -101,30 +101,30 @@ import {
101
101
  rootOf2 as rootOf,
102
102
  sealed,
103
103
  snakeKeys
104
- } from "./chunk-DF2IIO32.js";
104
+ } from "./chunk-JWRI6ZY6.js";
105
105
  import {
106
106
  withCaller
107
- } from "./chunk-XXOTX4M3.js";
107
+ } from "./chunk-2JB5XD5R.js";
108
108
  import {
109
109
  openStore,
110
110
  pdfPreviewLimits
111
- } from "./chunk-76RRELCU.js";
111
+ } from "./chunk-NWDO4DE3.js";
112
112
  import {
113
113
  typedCommand
114
- } from "./chunk-6NDJDDSQ.js";
114
+ } from "./chunk-WHDVRMB7.js";
115
115
  import {
116
116
  isCliFailure
117
- } from "./chunk-GLHFJPYS.js";
117
+ } from "./chunk-LIIOT3AN.js";
118
118
  import {
119
119
  timezoneOf
120
- } from "./chunk-V6BTAILB.js";
120
+ } from "./chunk-MI6IH5UW.js";
121
121
  import {
122
122
  warmEmbedders
123
- } from "./chunk-MT2ZUZRA.js";
123
+ } from "./chunk-AHPGTDO2.js";
124
124
  import {
125
125
  errorObjectOf,
126
126
  mcpErrorResult
127
- } from "./chunk-J5P5VSRG.js";
127
+ } from "./chunk-3LMW7U7F.js";
128
128
  import {
129
129
  description,
130
130
  integer,
@@ -143,15 +143,15 @@ import {
143
143
  import {
144
144
  CliError,
145
145
  visibleControls
146
- } from "./chunk-BUGROVF3.js";
146
+ } from "./chunk-HM6AMYHR.js";
147
147
  import {
148
148
  __name
149
149
  } from "./chunk-ZVVMGPBJ.js";
150
150
 
151
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/server.js
151
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/server.js
152
152
  import { randomUUID } from "node:crypto";
153
153
 
154
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
155
155
  var agentLog = /* @__PURE__ */ __name((open) => {
156
156
  let held;
157
157
  return {
@@ -170,7 +170,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
170
170
  };
171
171
  }, "agentLog");
172
172
 
173
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/resources.js
173
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/resources.js
174
174
  var LISTED = 100;
175
175
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
176
176
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -208,7 +208,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
208
208
  });
209
209
  }, "registerResources");
210
210
 
211
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/session.js
211
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/session.js
212
212
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
213
213
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
214
214
  var MessengerSession = class {
@@ -283,7 +283,7 @@ var MessengerSession = class {
283
283
  }
284
284
  };
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
287
287
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
288
288
  const _command = messenger.app.command;
289
289
  return {
@@ -337,7 +337,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
337
337
  };
338
338
  }, "attachmentsTools");
339
339
 
340
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
340
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
341
341
  var PHOTO_LIMIT = 512 * 1024;
342
342
  var IMAGE_TYPES = [
343
343
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -393,7 +393,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
393
393
  return new Uint8Array(Buffer.concat(chunks));
394
394
  }, "readUpTo");
395
395
 
396
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
396
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
397
397
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
398
398
  stats_charts: tool({
399
399
  title: "A chart from a chat's statistics",
@@ -430,14 +430,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
430
430
  })
431
431
  }), "statsTools");
432
432
 
433
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/tools.js
433
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/tools.js
434
434
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
435
435
  ...messagesPhotoTools(messenger),
436
436
  ...attachmentsTools(messenger),
437
437
  ...statsTools(messenger)
438
438
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
439
439
 
440
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/server.js
440
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/server.js
441
441
  var PER_RUN = /* @__PURE__ */ new Set([
442
442
  "streams",
443
443
  "stdin",
@@ -753,7 +753,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
753
753
  }, "serveOverStdio");
754
754
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
755
755
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
756
- const { serveOverHttp } = await import("./serve-UH46SZQG.js");
756
+ const { serveOverHttp } = await import("./serve-G3M5H5JM.js");
757
757
  const appName = messenger.app.command;
758
758
  const appEnvPrefix = messenger.app.envPrefix;
759
759
  const listening = await serveOverHttp(build, {
@@ -4,22 +4,22 @@ import {
4
4
  isCliFailure,
5
5
  secretNamed,
6
6
  withoutSecrets
7
- } from "./chunk-GLHFJPYS.js";
7
+ } from "./chunk-LIIOT3AN.js";
8
8
  import {
9
9
  isContentKey
10
- } from "./chunk-X5S5KUSU.js";
10
+ } from "./chunk-3BM6KBWP.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/run-context.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/run-context.js
16
16
  import { AsyncLocalStorage } from "node:async_hooks";
17
17
  import { createHash } from "node:crypto";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
20
20
  import { homedir } from "node:os";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/events.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/events.js
23
23
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
24
24
  var renderEvent = /* @__PURE__ */ __name((event) => {
25
25
  if (event.event === "store")
@@ -71,7 +71,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
71
71
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
72
72
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
73
73
 
74
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
74
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
75
75
  var MESSAGE_AT_MOST = 500;
76
76
  var CAUSES_AT_MOST = 5;
77
77
  var FRAMES_AT_MOST = 15;
@@ -183,7 +183,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
183
183
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
184
184
  }, "redactText");
185
185
 
186
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/run-context.js
186
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/run-context.js
187
187
  var REDACTED = "[redacted]";
188
188
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
189
189
  if (!record)
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-34FJ26K2.js";
5
+ } from "./chunk-VQSVE4RD.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-X5S5KUSU.js";
9
+ } from "./chunk-3BM6KBWP.js";
10
10
  import {
11
11
  CliError,
12
12
  singleLine
13
- } from "./chunk-BUGROVF3.js";
13
+ } from "./chunk-HM6AMYHR.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/shared-config.js
19
19
  import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
20
20
  import { dirname, join, resolve } from "node:path";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
23
23
  var REPAIR_WORDS = {
24
24
  byte_order_mark: "an invisible byte-order mark at the start",
25
25
  comment: "a comment, which JSON does not allow",
@@ -303,7 +303,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
303
303
  return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
304
304
  }, "explainBrokenJson");
305
305
 
306
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
306
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
307
307
  var DEFAULT_TASK_CATEGORIES = [
308
308
  {
309
309
  name: "taxes",
@@ -1058,7 +1058,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
1058
1058
  }
1059
1059
  }, "storedTaskCategories");
1060
1060
 
1061
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1061
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1062
1062
  var SECTION = "task_categories";
1063
1063
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
1064
1064
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  throughWrapper
5
- } from "./chunk-MRREDVPY.js";
5
+ } from "./chunk-OHCYBSCA.js";
6
6
  import {
7
7
  environmentOf,
8
8
  readOnlyLockOf
9
- } from "./chunk-DF2IIO32.js";
9
+ } from "./chunk-JWRI6ZY6.js";
10
10
  import {
11
11
  array,
12
12
  boolean,
@@ -19,12 +19,12 @@ import {
19
19
  } from "./chunk-S4UUN6LD.js";
20
20
  import {
21
21
  CliError
22
- } from "./chunk-BUGROVF3.js";
22
+ } from "./chunk-HM6AMYHR.js";
23
23
  import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/background/relay.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/background/relay.js
28
28
  import { createHash } from "node:crypto";
29
29
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
30
30
  import { createConnection, createServer } from "node:net";
@@ -245,7 +245,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
245
245
  }, () => finish({ error: stopped() }));
246
246
  }), "relayCommand");
247
247
 
248
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
248
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
249
249
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
250
250
  close: /* @__PURE__ */ __name(async () => {
251
251
  }, "close"),
@@ -7,7 +7,7 @@ import {
7
7
  isoTime,
8
8
  parseRegistry,
9
9
  text
10
- } from "./chunk-J5P5VSRG.js";
10
+ } from "./chunk-3LMW7U7F.js";
11
11
  import {
12
12
  array,
13
13
  getDotPath,
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  CliError,
27
27
  visibleControls
28
- } from "./chunk-BUGROVF3.js";
28
+ } from "./chunk-HM6AMYHR.js";
29
29
  import {
30
30
  __commonJS,
31
31
  __name,
@@ -1898,7 +1898,7 @@ var require_cli_table3 = __commonJS({
1898
1898
  }
1899
1899
  });
1900
1900
 
1901
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1901
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1902
1902
  import { realpathSync } from "node:fs";
1903
1903
  import { homedir, userInfo } from "node:os";
1904
1904
  import { join, posix, win32 } from "node:path";
@@ -1972,7 +1972,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
1972
1972
  var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
1973
1973
  var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
1974
1974
 
1975
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
1975
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
1976
1976
  var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
1977
1977
  if (signal?.aborted)
1978
1978
  return Promise.reject(signal.reason);
@@ -2000,7 +2000,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
2000
2000
  });
2001
2001
  }, "waitForDrain");
2002
2002
 
2003
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2003
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2004
2004
  var processStreams = {
2005
2005
  drain: /* @__PURE__ */ __name(async (signal) => {
2006
2006
  await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
@@ -2029,7 +2029,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
2029
2029
  };
2030
2030
  }, "captureStreams");
2031
2031
 
2032
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
2032
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
2033
2033
  var DEFAULT_RETRY = {
2034
2034
  retries: 1,
2035
2035
  baseDelayMs: 250,
@@ -2041,7 +2041,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
2041
2041
  return Math.round(random() * ceiling);
2042
2042
  }, "backoffMs");
2043
2043
 
2044
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
2044
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
2045
2045
  var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
2046
2046
  var validate = /* @__PURE__ */ __name((paths) => {
2047
2047
  if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
@@ -2106,7 +2106,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
2106
2106
  return project(value, fields);
2107
2107
  }, "projectFields");
2108
2108
 
2109
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2109
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2110
2110
  var BATCH_LIMITS = Object.freeze({
2111
2111
  requests: 32,
2112
2112
  input_bytes: 262144,
@@ -2233,7 +2233,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
2233
2233
  };
2234
2234
  }, "runBatch");
2235
2235
 
2236
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2236
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2237
2237
  import { randomBytes } from "node:crypto";
2238
2238
  import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
2239
2239
  import { dirname, join as join2 } from "node:path";
@@ -2277,16 +2277,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
2277
2277
  `, 384);
2278
2278
  }, "saveConfigFile");
2279
2279
 
2280
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2280
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2281
2281
  var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
2282
2282
  var baseConstantsSchema = object({});
2283
2283
  var LayerSchema = record(string(), unknown());
2284
2284
 
2285
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2285
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2286
2286
  import { readFileSync as readFileSync2 } from "node:fs";
2287
2287
  import { join as join3, resolve } from "node:path";
2288
2288
 
2289
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2289
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2290
2290
  import { createRequire } from "node:module";
2291
2291
  var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
2292
2292
  var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
@@ -2312,7 +2312,7 @@ var systemKeyring = {
2312
2312
  delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
2313
2313
  };
2314
2314
 
2315
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2315
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2316
2316
  var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
2317
2317
  var warnedRuns = /* @__PURE__ */ new WeakSet();
2318
2318
  var Credentials = class {
@@ -2456,7 +2456,7 @@ var Credentials = class {
2456
2456
  }
2457
2457
  };
2458
2458
 
2459
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2459
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2460
2460
  var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
2461
2461
  var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
2462
2462
  if (signal?.aborted) {
@@ -2471,10 +2471,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
2471
2471
  }), "realSleep");
2472
2472
  var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
2473
2473
 
2474
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2474
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2475
2475
  import { appendFileSync } from "node:fs";
2476
2476
 
2477
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2477
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2478
2478
  var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
2479
2479
  var logRecordSchema = strictObject({
2480
2480
  time: isoTime,
@@ -2552,7 +2552,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
2552
2552
  return traceId;
2553
2553
  }, "traceIdOf");
2554
2554
 
2555
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2555
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2556
2556
  var REDACTED_FIELDS = [
2557
2557
  "authorization",
2558
2558
  "Authorization",
@@ -2646,7 +2646,7 @@ var silent = {
2646
2646
  }, "error")
2647
2647
  };
2648
2648
 
2649
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2649
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2650
2650
  var import_cli_table3 = __toESM(require_cli_table3(), 1);
2651
2651
  import { styleText } from "node:util";
2652
2652
  var renderPretty = /* @__PURE__ */ __name((value, options) => {
@@ -2720,7 +2720,7 @@ var BORDERLESS = {
2720
2720
  middle: ""
2721
2721
  };
2722
2722
 
2723
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2723
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2724
2724
  var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
2725
2725
  const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
2726
2726
  const say = /* @__PURE__ */ __name((symbol) => (message) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -29,12 +29,12 @@ import {
29
29
  errorCodes,
30
30
  isCliError,
31
31
  visibleControls
32
- } from "./chunk-BUGROVF3.js";
32
+ } from "./chunk-HM6AMYHR.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
37
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
38
38
  var EXIT_CODES = {
39
39
  validation_error: 2,
40
40
  configuration_error: 3,
@@ -55,7 +55,7 @@ var EXIT_CODES = {
55
55
  var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
56
56
  var GENERIC_FAILURE = 1;
57
57
 
58
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
58
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
59
59
  var EFFECT_LEVELS = ["none", "read", "write"];
60
60
  var effectsSchema = strictObject({
61
61
  remote: picklist(EFFECT_LEVELS),
@@ -692,7 +692,7 @@ function toStandardJsonSchema(schema) {
692
692
  }
693
693
  __name(toStandardJsonSchema, "toStandardJsonSchema");
694
694
 
695
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
695
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
696
696
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
697
697
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
698
698
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -734,7 +734,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
734
734
  return String(value);
735
735
  }), "fill");
736
736
 
737
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
737
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
738
738
  var MAX_NEXT_STEPS = 2;
739
739
  var COMPACT_FLAG = "--compact";
740
740
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
@@ -866,7 +866,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
866
866
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
867
867
  ].join("\n"), "jsonlOf");
868
868
 
869
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
869
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
870
870
  var CRASH_CODE = "internal_error";
871
871
  var CRASH_REASON = "command.crashed";
872
872
  var errorObjectSchema = strictObject({
@@ -965,7 +965,7 @@ var BASE_REASONS = defineReasons([
965
965
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
966
966
  ]);
967
967
 
968
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
968
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
969
969
  var SAME_COMMAND = "*";
970
970
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
971
971
  var stepSchema = union([
@@ -1044,7 +1044,7 @@ var STEPS = defineSteps([
1044
1044
  }
1045
1045
  ]);
1046
1046
 
1047
- // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
1047
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
1048
1048
  var recognise = /* @__PURE__ */ __name((failure) => {
1049
1049
  if (isCliError(failure))
1050
1050
  return failure;
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-EQGXEKSV.js";
6
+ } from "./chunk-2PSAS4TT.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-BUGROVF3.js";
9
+ } from "./chunk-HM6AMYHR.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";