@wirecat/cli-memo 0.131.65 → 0.131.67

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 (223) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-L6EBORCV.js → all-profiles-W3GRNNLJ.js} +9 -9
  3. package/dist/bundle/{anthropic-42PADP4V.js → anthropic-GWMYHBO4.js} +5 -5
  4. package/dist/bundle/{app-server-7KM4MSDA.js → app-server-RQ26EXNI.js} +42 -42
  5. package/dist/bundle/auto-FR6LX5KO.js +85 -0
  6. package/dist/bundle/{bun-NYSNYHAD.js → bun-KKLPQTG5.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-B46U7KI7.js → bun-sqlite-WKIZJNTG.js} +5 -5
  8. package/dist/bundle/{chunk-724DPWN6.js → chunk-32ROGX5N.js} +2 -2
  9. package/dist/bundle/{chunk-YLG2M2TF.js → chunk-4C6RU7DG.js} +7 -7
  10. package/dist/bundle/{chunk-ZUQXDJ7A.js → chunk-4JTCNMW6.js} +1 -1
  11. package/dist/bundle/{chunk-5D7BPC33.js → chunk-6SFTVGNL.js} +1 -1
  12. package/dist/bundle/{chunk-FHZKHKBJ.js → chunk-7DANHJF6.js} +37 -35
  13. package/dist/bundle/{chunk-V7TJSYFK.js → chunk-7IKET6ES.js} +2 -2
  14. package/dist/bundle/{chunk-FWRBJAQZ.js → chunk-7KYVUVDS.js} +3 -3
  15. package/dist/bundle/{chunk-QTF4ZXOL.js → chunk-7OMKWYFN.js} +38 -15
  16. package/dist/bundle/{chunk-TKPIS4G2.js → chunk-AGNWFOAJ.js} +1 -1
  17. package/dist/bundle/{chunk-37E74SKW.js → chunk-BOOEDDVY.js} +86 -72
  18. package/dist/bundle/{chunk-ACG5QN77.js → chunk-CQNYBTWP.js} +3 -3
  19. package/dist/bundle/{chunk-K5VF47E2.js → chunk-DNDELSVT.js} +6 -6
  20. package/dist/bundle/{chunk-347UBASY.js → chunk-DNS2QWK3.js} +4 -4
  21. package/dist/bundle/{chunk-IK6KH3RE.js → chunk-DSU6UR2X.js} +1 -1
  22. package/dist/bundle/{chunk-2XVXF4RW.js → chunk-ECMYCWG2.js} +3 -3
  23. package/dist/bundle/{chunk-NRHF7TQ4.js → chunk-FBSHWCIZ.js} +11 -11
  24. package/dist/bundle/{chunk-3SCHFNUH.js → chunk-GHN2KYMO.js} +23 -23
  25. package/dist/bundle/{chunk-SOQGV3ZM.js → chunk-GJ3P7RJF.js} +6 -6
  26. package/dist/bundle/{chunk-I5L7MLZ6.js → chunk-GU3MRYK2.js} +1 -1
  27. package/dist/bundle/{chunk-VX4HNQLN.js → chunk-GUWRR7F2.js} +3 -3
  28. package/dist/bundle/{chunk-RCGFSWZE.js → chunk-HE2F4JII.js} +8 -8
  29. package/dist/bundle/{chunk-XVREIQ2N.js → chunk-HUPZ6XYH.js} +2 -2
  30. package/dist/bundle/{chunk-3YNJBKGV.js → chunk-IKZBO7NV.js} +1488 -1150
  31. package/dist/bundle/{chunk-X5CRFU4E.js → chunk-JEKIBI7P.js} +7 -7
  32. package/dist/bundle/{chunk-RLX5SC2X.js → chunk-JG7EDH7K.js} +1 -1
  33. package/dist/bundle/{chunk-6G53ZFUT.js → chunk-L62FWN3Y.js} +1 -1
  34. package/dist/bundle/{chunk-ASWLM74P.js → chunk-LJCT7YG6.js} +4 -4
  35. package/dist/bundle/{chunk-FUIUS3IG.js → chunk-MCA265JM.js} +8 -2
  36. package/dist/bundle/{chunk-FG4Q6T72.js → chunk-MLF5FLAP.js} +5 -5
  37. package/dist/bundle/{chunk-RP6VV35S.js → chunk-NNUJWCEJ.js} +2 -2
  38. package/dist/bundle/{chunk-LVLFLWGY.js → chunk-ORKWFXWV.js} +12 -12
  39. package/dist/bundle/{chunk-RGZUDHAQ.js → chunk-OU4PN7PF.js} +8 -8
  40. package/dist/bundle/{chunk-DKO7WEXJ.js → chunk-OUSLPKWY.js} +2 -2
  41. package/dist/bundle/{chunk-UXAP7MNL.js → chunk-PBOVHHYG.js} +9 -9
  42. package/dist/bundle/{chunk-DXTNBVLV.js → chunk-Q4JYHQ47.js} +10872 -10868
  43. package/dist/bundle/{chunk-4GTZSCUE.js → chunk-QCWA3JUT.js} +3 -3
  44. package/dist/bundle/{chunk-NZJUMLTD.js → chunk-QFSMJTEA.js} +2 -2
  45. package/dist/bundle/{chunk-NH3A5QTW.js → chunk-QMTCYKAA.js} +9 -8
  46. package/dist/bundle/{chunk-RTLQHLHG.js → chunk-R4H5HSQZ.js} +4 -4
  47. package/dist/bundle/{chunk-ML46T7UC.js → chunk-SKBDI7LU.js} +30 -30
  48. package/dist/bundle/{chunk-SIBQ34LX.js → chunk-SUCG5HBF.js} +1 -1
  49. package/dist/bundle/{chunk-FKUA3BTM.js → chunk-TFAUB6JO.js} +1545 -603
  50. package/dist/bundle/{chunk-VLUDHCCX.js → chunk-TNHFKR6P.js} +23 -23
  51. package/dist/bundle/{chunk-C4DJLVJQ.js → chunk-TPYXULNG.js} +8 -8
  52. package/dist/bundle/{chunk-B3SERZMP.js → chunk-TQXXOUOX.js} +1 -1
  53. package/dist/bundle/{chunk-6OS7PTOC.js → chunk-TWTAWPC7.js} +131 -38
  54. package/dist/bundle/{chunk-FH4P5UQA.js → chunk-TXWVZVDK.js} +4 -4
  55. package/dist/bundle/{chunk-EMNQPMZO.js → chunk-UUBV5ATQ.js} +22 -20
  56. package/dist/bundle/{chunk-EBDX6DNB.js → chunk-V3JOIUVB.js} +4 -4
  57. package/dist/bundle/{chunk-VTKLHYCZ.js → chunk-VUCD4DAQ.js} +4 -4
  58. package/dist/bundle/{chunk-BEMVAPYA.js → chunk-VVTC2YAX.js} +6 -6
  59. package/dist/bundle/{chunk-SIJA2UYC.js → chunk-W7FYMZOW.js} +7 -7
  60. package/dist/bundle/{chunk-HKC7GDJD.js → chunk-WJ2OYD2D.js} +6 -6
  61. package/dist/bundle/{chunk-A524HPDV.js → chunk-XI5UABKO.js} +2 -2
  62. package/dist/bundle/{chunk-NIJZXGJN.js → chunk-XK4VVGMH.js} +4 -4
  63. package/dist/bundle/{chunk-PKUBC2ME.js → chunk-XVPMSMSP.js} +4 -4
  64. package/dist/bundle/{chunk-SIOUPPN7.js → chunk-XYL7GDCX.js} +6 -6
  65. package/dist/bundle/{chunk-FC5PK6M6.js → chunk-YAFSD345.js} +13 -13
  66. package/dist/bundle/{chunk-PVGK67AJ.js → chunk-ZNBLWLCD.js} +198 -159
  67. package/dist/bundle/{chunk-MWAXS4BX.js → chunk-ZOIW2YEU.js} +14 -10
  68. package/dist/bundle/{chunk-4ZW6ZJ2V.js → chunk-ZTONSM5X.js} +2 -2
  69. package/dist/bundle/{chunk-QHNAPLVB.js → chunk-ZU6HZLZP.js} +45 -45
  70. package/dist/bundle/{chunk-4SUROBD4.js → chunk-ZVXXJYNW.js} +4 -4
  71. package/dist/bundle/command-contract-46BU5YKL.js +32 -0
  72. package/dist/bundle/{decode-2Z4GCIGA.js → decode-KRVQZPSB.js} +5 -5
  73. package/dist/bundle/{dispatch-CRYB6Q2V.js → dispatch-VJSUBAUM.js} +8 -8
  74. package/dist/bundle/{echarts-JADCSUD7.js → echarts-O6QQRVZE.js} +2 -2
  75. package/dist/bundle/{embed-ZLEPINEK.js → embed-DA4H2F4F.js} +6 -6
  76. package/dist/bundle/{embedder-E3DHPZCK.js → embedder-HWAFLIYM.js} +9 -9
  77. package/dist/bundle/{entry-MUE6HWX3.js → entry-DE7GJOIZ.js} +7 -7
  78. package/dist/bundle/{failure-ZMQJF3RO.js → failure-GLF7OMMM.js} +2 -2
  79. package/dist/bundle/failure-U3VNIQNX.js +65 -0
  80. package/dist/bundle/{first-run-3JYWLJCH.js → first-run-GOBPIKQF.js} +11 -11
  81. package/dist/bundle/first-screen-3V3HWSQM.js +30 -0
  82. package/dist/bundle/{instructions-ECXOBMWS.js → instructions-GYYMBSZW.js} +1 -1
  83. package/dist/bundle/mcp-6RDHWRXG.js +90 -0
  84. package/dist/bundle/{mcp-RKJG22KM.js → mcp-H2WYFBNW.js} +2 -2
  85. package/dist/bundle/memo.js +16 -16
  86. package/dist/bundle/{node-A6363DJ4.js → node-R3OFASC5.js} +2 -2
  87. package/dist/bundle/{node-sqlite-FA2P77PW.js → node-sqlite-DYHDZJ5A.js} +6 -6
  88. package/dist/bundle/{oauth-DBGARGR7.js → oauth-SMCDSCXQ.js} +7 -7
  89. package/dist/bundle/{open-5YYG2VWH.js → open-GX7RPGQW.js} +5 -5
  90. package/dist/bundle/{openai-BPVP7TZ7.js → openai-WM4TRXCC.js} +10 -10
  91. package/dist/bundle/{process-DGPZRHQA.js → process-NT5OZH2V.js} +1 -1
  92. package/dist/bundle/{program-RM2L3LIT.js → program-YQ3UT2LI.js} +5748 -4695
  93. package/dist/bundle/{prompt-NTAZWPWA.js → prompt-5XJNSXCW.js} +5 -5
  94. package/dist/bundle/{recognize-OGEP5VD3.js → recognize-DQNGZLRX.js} +4 -4
  95. package/dist/bundle/{remote-DER2PFH6.js → remote-RMRYJZSZ.js} +7 -7
  96. package/dist/bundle/{rerank-PB5ACFHS.js → rerank-5J6JM43S.js} +7 -7
  97. package/dist/bundle/{serve-KNEY4BXK.js → serve-4RVWOQVC.js} +9 -9
  98. package/dist/bundle/server-HH2X6G7V.js +61 -0
  99. package/dist/bundle/server-MS3JKMGF.js +48 -0
  100. package/dist/bundle/{server-XKSIHWM2.js → server-NKCRFK26.js} +99 -66
  101. package/dist/bundle/{state-JMCWHHZM.js → state-MGVPOLPZ.js} +6 -6
  102. package/dist/bundle/{store-M5QSIRWJ.js → store-IEK4PPOE.js} +19 -13
  103. package/dist/bundle/store-maintenance-command-GSS2AY4J.js +47 -0
  104. package/dist/bundle/update-S5XRRWTH.js +68 -0
  105. package/dist/digest/command.d.ts.map +1 -1
  106. package/dist/digest/command.js +2 -1
  107. package/dist/digest/command.js.map +1 -1
  108. package/dist/digest/digest.d.ts +2 -2
  109. package/dist/digest/digest.d.ts.map +1 -1
  110. package/dist/digest/digest.js +36 -2
  111. package/dist/digest/digest.js.map +1 -1
  112. package/dist/discovery/command.d.ts.map +1 -1
  113. package/dist/discovery/command.js +3 -0
  114. package/dist/discovery/command.js.map +1 -1
  115. package/dist/examples.d.ts.map +1 -1
  116. package/dist/examples.js +33 -4
  117. package/dist/examples.js.map +1 -1
  118. package/dist/facts/command.d.ts.map +1 -1
  119. package/dist/facts/command.js +7 -4
  120. package/dist/facts/command.js.map +1 -1
  121. package/dist/facts/fact.d.ts +1 -0
  122. package/dist/facts/fact.d.ts.map +1 -1
  123. package/dist/facts/fact.js +1 -0
  124. package/dist/facts/fact.js.map +1 -1
  125. package/dist/finance/subscriptions-command.js +3 -3
  126. package/dist/finance/subscriptions-command.js.map +1 -1
  127. package/dist/knowledge/project-context.d.ts +1 -0
  128. package/dist/knowledge/project-context.d.ts.map +1 -1
  129. package/dist/mcp/catalogue.d.ts +3 -0
  130. package/dist/mcp/catalogue.d.ts.map +1 -1
  131. package/dist/mcp/catalogue.js +47 -13
  132. package/dist/mcp/catalogue.js.map +1 -1
  133. package/dist/memories/command.d.ts.map +1 -1
  134. package/dist/memories/command.js +9 -5
  135. package/dist/memories/command.js.map +1 -1
  136. package/dist/memories/memories.d.ts +6 -3
  137. package/dist/memories/memories.d.ts.map +1 -1
  138. package/dist/memories/memories.js +15 -20
  139. package/dist/memories/memories.js.map +1 -1
  140. package/dist/memories/memory.d.ts +1 -0
  141. package/dist/memories/memory.d.ts.map +1 -1
  142. package/dist/memories/memory.js +1 -0
  143. package/dist/memories/memory.js.map +1 -1
  144. package/dist/memories/sources.d.ts +27 -0
  145. package/dist/memories/sources.d.ts.map +1 -0
  146. package/dist/memories/sources.js +111 -0
  147. package/dist/memories/sources.js.map +1 -0
  148. package/dist/notes/embed.d.ts +2 -0
  149. package/dist/notes/embed.d.ts.map +1 -1
  150. package/dist/notes/embed.js +13 -0
  151. package/dist/notes/embed.js.map +1 -1
  152. package/dist/notes/files.d.ts.map +1 -1
  153. package/dist/notes/files.js +2 -0
  154. package/dist/notes/files.js.map +1 -1
  155. package/dist/program.d.ts +4 -1
  156. package/dist/program.d.ts.map +1 -1
  157. package/dist/program.js +44 -1
  158. package/dist/program.js.map +1 -1
  159. package/dist/read-only.d.ts +1 -1
  160. package/dist/reasons.d.ts.map +1 -1
  161. package/dist/reasons.js +6 -0
  162. package/dist/reasons.js.map +1 -1
  163. package/dist/records/import.d.ts.map +1 -1
  164. package/dist/records/import.js +2 -0
  165. package/dist/records/import.js.map +1 -1
  166. package/dist/records/input.d.ts +3 -1
  167. package/dist/records/input.d.ts.map +1 -1
  168. package/dist/records/input.js +14 -2
  169. package/dist/records/input.js.map +1 -1
  170. package/dist/review/command.d.ts +2 -0
  171. package/dist/review/command.d.ts.map +1 -1
  172. package/dist/review/command.js +18 -3
  173. package/dist/review/command.js.map +1 -1
  174. package/dist/review/kinds.d.ts +1 -1
  175. package/dist/review/kinds.d.ts.map +1 -1
  176. package/dist/review/kinds.js +2 -1
  177. package/dist/review/kinds.js.map +1 -1
  178. package/dist/review/review.d.ts +64 -1
  179. package/dist/review/review.d.ts.map +1 -1
  180. package/dist/review/review.js +45 -0
  181. package/dist/review/review.js.map +1 -1
  182. package/dist/run/import.d.ts +9 -0
  183. package/dist/run/import.d.ts.map +1 -1
  184. package/dist/run/import.js +20 -0
  185. package/dist/run/import.js.map +1 -1
  186. package/dist/sources/command.d.ts +7 -0
  187. package/dist/sources/command.d.ts.map +1 -0
  188. package/dist/sources/command.js +246 -0
  189. package/dist/sources/command.js.map +1 -0
  190. package/dist/sources/copy.d.ts +13 -0
  191. package/dist/sources/copy.d.ts.map +1 -0
  192. package/dist/sources/copy.js +32 -0
  193. package/dist/sources/copy.js.map +1 -0
  194. package/dist/sources/mentions.d.ts +21 -0
  195. package/dist/sources/mentions.d.ts.map +1 -0
  196. package/dist/sources/mentions.js +78 -0
  197. package/dist/sources/mentions.js.map +1 -0
  198. package/dist/sources/read.d.ts +30 -0
  199. package/dist/sources/read.d.ts.map +1 -0
  200. package/dist/sources/read.js +181 -0
  201. package/dist/sources/read.js.map +1 -0
  202. package/dist/templates/command.d.ts +5 -0
  203. package/dist/templates/command.d.ts.map +1 -0
  204. package/dist/templates/command.js +18 -0
  205. package/dist/templates/command.js.map +1 -0
  206. package/dist/version.d.ts +1 -1
  207. package/dist/version.js +1 -1
  208. package/package.json +4 -4
  209. package/scenarios/project-state.md +2 -2
  210. package/skills/cli-memo/SKILL.md +9 -0
  211. package/skills/cli-memo/topics/proposals.md +13 -2
  212. package/skills/cli-memo/topics/search.md +7 -0
  213. package/dist/bundle/auto-4KOZDLIU.js +0 -85
  214. package/dist/bundle/command-contract-PLB2JGFJ.js +0 -32
  215. package/dist/bundle/failure-CRWMZZBO.js +0 -65
  216. package/dist/bundle/first-screen-QH34AIFV.js +0 -30
  217. package/dist/bundle/mcp-QX2D6EXA.js +0 -90
  218. package/dist/bundle/server-L622PMVC.js +0 -61
  219. package/dist/bundle/server-SJVP2XXD.js +0 -48
  220. package/dist/bundle/store-maintenance-command-PQCO5ICC.js +0 -47
  221. package/dist/bundle/update-PQUASMQN.js +0 -68
  222. /package/dist/bundle/{chunk-C3XNJQD7.js → chunk-DS7NXKAN.js} +0 -0
  223. /package/dist/bundle/{chunk-SW6C6WH5.js → chunk-SYWHHQMC.js} +0 -0
@@ -13,7 +13,7 @@ import {
13
13
  refuseLacking,
14
14
  servicesFor,
15
15
  throughWrapper
16
- } from "./chunk-DXTNBVLV.js";
16
+ } from "./chunk-Q4JYHQ47.js";
17
17
  import {
18
18
  CEILING_KEY,
19
19
  LOG_ATTRIBUTES,
@@ -38,37 +38,37 @@ import {
38
38
  rememberAccount,
39
39
  rootOf2 as rootOf,
40
40
  skipFlagFor
41
- } from "./chunk-PVGK67AJ.js";
41
+ } from "./chunk-ZNBLWLCD.js";
42
42
  import {
43
43
  providerErrorKey
44
- } from "./chunk-SIJA2UYC.js";
44
+ } from "./chunk-W7FYMZOW.js";
45
45
  import {
46
46
  MESSENGER_CHANGE_REFUSAL,
47
47
  readOnlyRefusal
48
- } from "./chunk-RP6VV35S.js";
48
+ } from "./chunk-NNUJWCEJ.js";
49
49
  import {
50
50
  servingProfiles
51
- } from "./chunk-ACG5QN77.js";
51
+ } from "./chunk-CQNYBTWP.js";
52
52
  import {
53
53
  openStore
54
- } from "./chunk-3YNJBKGV.js";
54
+ } from "./chunk-IKZBO7NV.js";
55
55
  import {
56
56
  isCliFailure
57
- } from "./chunk-2XVXF4RW.js";
57
+ } from "./chunk-ECMYCWG2.js";
58
58
  import {
59
59
  logRecordOf,
60
60
  realSleep,
61
61
  resolvePaths,
62
62
  writeSecurely
63
- } from "./chunk-EMNQPMZO.js";
63
+ } from "./chunk-UUBV5ATQ.js";
64
64
  import {
65
65
  CliError
66
- } from "./chunk-4ZW6ZJ2V.js";
66
+ } from "./chunk-ZTONSM5X.js";
67
67
  import {
68
68
  __name
69
69
  } from "./chunk-ZVVMGPBJ.js";
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
72
72
  import { openSync } from "node:fs";
73
73
  import { createInterface } from "node:readline";
74
74
  import { ReadStream } from "node:tty";
@@ -123,10 +123,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
123
123
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
124
124
  }, "terminalAsker");
125
125
 
126
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/guard.js
126
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/guard.js
127
127
  import { randomUUID } from "node:crypto";
128
128
 
129
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/flood.js
129
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/flood.js
130
130
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
131
131
  import { dirname, join } from "node:path";
132
132
  var MOST_DEADLINES = 50;
@@ -210,11 +210,11 @@ var FloodMemory = class {
210
210
  }
211
211
  };
212
212
 
213
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/journal.js
213
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/journal.js
214
214
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
215
215
  import { dirname as dirname3, join as join2 } from "node:path";
216
216
 
217
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
218
218
  import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
219
219
  import { dirname as dirname2 } from "node:path";
220
220
  var LOCK_WAIT_MS = 5e3;
@@ -281,7 +281,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
281
281
  }
282
282
  }, "lockTime");
283
283
 
284
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/journal.js
284
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/journal.js
285
285
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
286
286
  var SendJournal = class {
287
287
  static {
@@ -358,7 +358,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
358
358
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
359
359
  }, "withSendId");
360
360
 
361
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/recipients.js
361
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/recipients.js
362
362
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
363
363
  import { join as join3 } from "node:path";
364
364
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -470,7 +470,7 @@ var RecipientList = class {
470
470
  }
471
471
  };
472
472
 
473
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/guard.js
473
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/guard.js
474
474
  var HOUR_MS = 60 * 60 * 1e3;
475
475
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
476
476
  "attachments.extract",
@@ -663,7 +663,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
663
663
  }), "guardFor");
664
664
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
665
665
 
666
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/pace.js
666
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/pace.js
667
667
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
668
668
  import { join as join4 } from "node:path";
669
669
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -753,7 +753,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
753
753
  await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
754
754
  }, "waitForTurn");
755
755
 
756
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
756
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
757
757
  var pathOf = /* @__PURE__ */ __name((command) => {
758
758
  const words = [];
759
759
  for (let at = command; at?.parent; at = at.parent)
@@ -813,7 +813,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
813
813
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
814
814
  }, "refuseUnknownPermissionKeys");
815
815
 
816
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
816
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
817
817
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
818
818
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
819
819
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -910,7 +910,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
910
910
  });
911
911
  }, "flooded");
912
912
 
913
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
913
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
914
914
  var observed = /* @__PURE__ */ __name((messenger, events) => {
915
915
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
916
916
  const write = currentOperation();
@@ -1009,7 +1009,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1009
1009
  counts[part] = (counts[part] ?? 0) + items.length;
1010
1010
  }, "byPart");
1011
1011
 
1012
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1012
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1013
1013
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1014
1014
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
1015
1015
  let warned = false;
@@ -1585,7 +1585,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1585
1585
  }
1586
1586
  }, "keep");
1587
1587
 
1588
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1588
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1589
1589
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1590
1590
  let opened;
1591
1591
  return {
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadConfig
5
- } from "./chunk-FHZKHKBJ.js";
5
+ } from "./chunk-7DANHJF6.js";
6
6
  import {
7
7
  upgradeCommand
8
- } from "./chunk-FKUA3BTM.js";
8
+ } from "./chunk-TFAUB6JO.js";
9
9
  import {
10
10
  FETCH,
11
11
  annotate,
12
12
  overrideSharedContract
13
- } from "./chunk-PVGK67AJ.js";
13
+ } from "./chunk-ZNBLWLCD.js";
14
14
  import {
15
15
  latestVersion,
16
16
  runUpdate,
17
17
  updateNotice
18
- } from "./chunk-ASWLM74P.js";
18
+ } from "./chunk-LJCT7YG6.js";
19
19
  import {
20
20
  APP,
21
21
  VERSION
22
- } from "./chunk-FUIUS3IG.js";
22
+ } from "./chunk-MCA265JM.js";
23
23
  import {
24
24
  installerOf
25
- } from "./chunk-IK6KH3RE.js";
25
+ } from "./chunk-DSU6UR2X.js";
26
26
  import {
27
27
  createRenderer,
28
28
  resolvePaths
29
- } from "./chunk-EMNQPMZO.js";
29
+ } from "./chunk-UUBV5ATQ.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.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.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/update/index.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/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 = [
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-QTF4ZXOL.js";
10
+ } from "./chunk-7OMKWYFN.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-XVREIQ2N.js";
13
+ } from "./chunk-HUPZ6XYH.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,7 +18,7 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-DXTNBVLV.js";
21
+ } from "./chunk-Q4JYHQ47.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -42,26 +42,26 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-PVGK67AJ.js";
45
+ } from "./chunk-ZNBLWLCD.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
49
49
  runContextOf,
50
50
  withCaller
51
- } from "./chunk-SIJA2UYC.js";
51
+ } from "./chunk-W7FYMZOW.js";
52
52
  import {
53
53
  queryDescription
54
- } from "./chunk-37E74SKW.js";
54
+ } from "./chunk-BOOEDDVY.js";
55
55
  import {
56
56
  storeDamaged
57
- } from "./chunk-2XVXF4RW.js";
57
+ } from "./chunk-ECMYCWG2.js";
58
58
  import {
59
59
  MAX_BUFFERED_INPUT
60
- } from "./chunk-724DPWN6.js";
60
+ } from "./chunk-32ROGX5N.js";
61
61
  import {
62
62
  captureStreams,
63
63
  traceIdOf
64
- } from "./chunk-EMNQPMZO.js";
64
+ } from "./chunk-UUBV5ATQ.js";
65
65
  import {
66
66
  COMPACT_FLAG,
67
67
  SNAKE_CASE,
@@ -100,25 +100,25 @@ import {
100
100
  unknown,
101
101
  word,
102
102
  writes
103
- } from "./chunk-RCGFSWZE.js";
103
+ } from "./chunk-HE2F4JII.js";
104
104
  import {
105
105
  CliError,
106
106
  errorCodes
107
- } from "./chunk-4ZW6ZJ2V.js";
107
+ } from "./chunk-ZTONSM5X.js";
108
108
  import {
109
109
  __name
110
110
  } from "./chunk-ZVVMGPBJ.js";
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/mcp/agent.js
112
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/agent.js
113
113
  import { Readable } from "node:stream";
114
114
 
115
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
115
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
116
116
  var LINT_SEVERITIES = ["high", "medium", "low"];
117
117
  var lintRuleSchema = strictObject({
118
118
  id: word,
119
119
  severity: picklist(LINT_SEVERITIES),
120
120
  /** What the rule looks at; a violation's target names one of these. */
121
- scope: picklist(["command", "group", "argument", "option", "flag", "key"]),
121
+ scope: picklist(["command", "group", "argument", "option", "flag", "key", "source"]),
122
122
  summary: text
123
123
  });
124
124
  var defineLintRules = /* @__PURE__ */ __name((input) => parseRegistry("lint rules", array(lintRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineLintRules");
@@ -227,6 +227,18 @@ var LINT_RULES = defineLintRules([
227
227
  severity: "high",
228
228
  scope: "group",
229
229
  summary: "the CLI keeps a failed run and reads it back: `runs list`, `runs show`, global `--record` and `--no-record`"
230
+ },
231
+ {
232
+ id: "raw-network",
233
+ severity: "high",
234
+ scope: "source",
235
+ summary: "the CLI's own source reaches the network only through `hostFetch`: no `node:http`, `https`, `net`, `tls`, `undici`, `axios`, `got`, `node-fetch` or `ws`, no global `fetch`"
236
+ },
237
+ {
238
+ id: "undeclared-host",
239
+ severity: "medium",
240
+ scope: "source",
241
+ summary: "every `http(s)://` host in the CLI's own source is in the manifest's `network.hosts`"
230
242
  }
231
243
  ]);
232
244
  var baselineSchema = array(text);
@@ -240,7 +252,7 @@ var overrideSchema = strictObject({
240
252
  });
241
253
  var overridesSchema = array(overrideSchema);
242
254
 
243
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
255
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
244
256
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
245
257
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
246
258
  var AUDIT_RULES = defineAuditRules([
@@ -366,7 +378,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
366
378
  { path: ["upgrade"], meaning: "updates the CLI" }
367
379
  ]);
368
380
 
369
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
381
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
370
382
  var fieldRuleSchema = strictObject({ id: word, rule: text });
371
383
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
372
384
  var FIELD_RULES = defineFieldRules([
@@ -382,7 +394,7 @@ var FIELD_RULES = defineFieldRules([
382
394
  }
383
395
  ]);
384
396
 
385
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
397
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
386
398
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
387
399
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
388
400
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -404,7 +416,7 @@ var IDENTIFIERS = defineIdentifiers([
404
416
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
405
417
  ]);
406
418
 
407
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
419
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
408
420
  var CALENDAR_FLAGS = [
409
421
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
410
422
  {
@@ -478,7 +490,7 @@ var CALENDAR_FLAGS = [
478
490
  }
479
491
  ];
480
492
 
481
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
493
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
482
494
  var CRM_FLAGS = [
483
495
  {
484
496
  name: "--pipeline",
@@ -509,6 +521,13 @@ var CRM_FLAGS = [
509
521
  type: "time",
510
522
  meaning: "the day a deal or lead is expected to close, YYYY-MM-DD"
511
523
  },
524
+ {
525
+ name: "--position",
526
+ value: "<title>",
527
+ role: "value",
528
+ type: "string",
529
+ meaning: "a person's job title on a relationship, stored as position; never the role"
530
+ },
512
531
  {
513
532
  name: "--owner",
514
533
  value: "<user>",
@@ -576,6 +595,13 @@ var CRM_FLAGS = [
576
595
  type: "choice",
577
596
  meaning: "it renews by itself at its end, or it does not"
578
597
  },
598
+ {
599
+ name: "--period",
600
+ value: "<count-unit>",
601
+ role: "value",
602
+ type: "duration",
603
+ meaning: "how often a charge repeats: a count and a calendar unit, such as 1-month"
604
+ },
579
605
  {
580
606
  name: "--opening-balance",
581
607
  value: "<decimal>",
@@ -614,7 +640,7 @@ var CRM_FLAGS = [
614
640
  }
615
641
  ];
616
642
 
617
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
643
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
618
644
  var HOW_FLAGS = [
619
645
  {
620
646
  name: "--limit",
@@ -1192,6 +1218,7 @@ var HOW_FLAGS = [
1192
1218
  { name: "--retract", role: "action", type: "switch", meaning: "take the owner's vote back" },
1193
1219
  { name: "--revoke", role: "action", type: "switch", meaning: "forget every login given to a browser app" },
1194
1220
  { name: "--track", role: "action", type: "switch", meaning: "also do it daily while serve runs" },
1221
+ { name: "--undo", role: "mode", type: "switch", meaning: "put back what the last change replaced, not a new value" },
1195
1222
  {
1196
1223
  name: "--transcribe",
1197
1224
  role: "action",
@@ -1610,7 +1637,39 @@ var HOW_FLAGS = [
1610
1637
  }
1611
1638
  ];
1612
1639
 
1613
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1640
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1641
+ var KNOWLEDGE_FLAGS = [
1642
+ {
1643
+ name: "--quote",
1644
+ value: "<ref=words...>",
1645
+ role: "value",
1646
+ type: "list",
1647
+ meaning: "the words an --evidence reference says that a record rests on, as <ref>=<words>, one per reference"
1648
+ },
1649
+ {
1650
+ name: "--suggest",
1651
+ value: "<text>",
1652
+ role: "value",
1653
+ type: "string",
1654
+ meaning: "wording offered for the owner to take or leave; it decides nothing"
1655
+ },
1656
+ {
1657
+ name: "--keep-copy",
1658
+ role: "mode",
1659
+ type: "switch",
1660
+ meaning: "keep a copy of the original file as well as its text"
1661
+ },
1662
+ {
1663
+ name: "--max-chars",
1664
+ value: "<n>",
1665
+ role: "budget",
1666
+ type: "count",
1667
+ meaning: "at most this many characters read",
1668
+ unit: "characters"
1669
+ }
1670
+ ];
1671
+
1672
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1614
1673
  var MAIL_FLAGS = [
1615
1674
  {
1616
1675
  name: "--cc",
@@ -1640,7 +1699,7 @@ var MAIL_FLAGS = [
1640
1699
  }
1641
1700
  ];
1642
1701
 
1643
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1702
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1644
1703
  var PRIVACY_FLAGS = [
1645
1704
  {
1646
1705
  name: "--about-text",
@@ -1701,8 +1760,15 @@ var PRIVACY_FLAGS = [
1701
1760
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1702
1761
  ];
1703
1762
 
1704
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1763
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1705
1764
  var SCHEDULE_FLAGS = [
1765
+ {
1766
+ name: "--locale",
1767
+ value: "<code>",
1768
+ role: "target",
1769
+ type: "string",
1770
+ meaning: "a human language, as an ISO 639-1 code such as en or ru: which language's version it acts on"
1771
+ },
1706
1772
  {
1707
1773
  name: "--notify-on",
1708
1774
  value: "<when>",
@@ -1727,7 +1793,7 @@ var SCHEDULE_FLAGS = [
1727
1793
  }
1728
1794
  ];
1729
1795
 
1730
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1796
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1731
1797
  var WHAT_FLAGS = [
1732
1798
  {
1733
1799
  name: "--analysis-provider",
@@ -1743,6 +1809,13 @@ var WHAT_FLAGS = [
1743
1809
  type: "choice",
1744
1810
  meaning: "who computes embeddings: a local model or a configured remote model service"
1745
1811
  },
1812
+ {
1813
+ name: "--region",
1814
+ value: "<country>",
1815
+ role: "mode",
1816
+ type: "string",
1817
+ meaning: "the two-letter country code, such as ru, that phone numbers written without + are read in"
1818
+ },
1746
1819
  {
1747
1820
  name: "--consent-provider",
1748
1821
  value: "<identity>",
@@ -2271,7 +2344,13 @@ var WHAT_FLAGS = [
2271
2344
  meaning: "who joins by the link asks first, and an admin lets them in"
2272
2345
  },
2273
2346
  { name: "--can", value: "<rights>", role: "value", type: "list", meaning: "what an admin may do, comma-separated" },
2274
- { name: "--channel", role: "value", type: "switch", meaning: "a channel instead of a group" },
2347
+ {
2348
+ name: "--channel",
2349
+ role: "value",
2350
+ type: "switch",
2351
+ otherValues: ["channel"],
2352
+ meaning: "a channel instead of a group (a switch), or what a message is written for (<channel>), such as email"
2353
+ },
2275
2354
  {
2276
2355
  name: "--certainty",
2277
2356
  value: "<n>",
@@ -2453,14 +2532,7 @@ var WHAT_FLAGS = [
2453
2532
  type: "id",
2454
2533
  meaning: "the stored calendar event it is linked to, or none to unlink"
2455
2534
  },
2456
- {
2457
- name: "--every",
2458
- value: "<duration>",
2459
- role: "value",
2460
- type: "duration",
2461
- otherValues: ["count-unit"],
2462
- meaning: "repeat this often: a length of time for a timer (<duration>), a count and a calendar unit for a charge, such as 1-month (<count-unit>)"
2463
- },
2535
+ { name: "--every", value: "<duration>", role: "value", type: "duration", meaning: "repeat this often" },
2464
2536
  {
2465
2537
  name: "--evidence",
2466
2538
  value: "<ref...>",
@@ -2487,7 +2559,7 @@ var WHAT_FLAGS = [
2487
2559
  value: "<file>",
2488
2560
  role: "value",
2489
2561
  type: "path",
2490
- meaning: "a file to send with the message; the text becomes its caption"
2562
+ meaning: "a file it reads: one to send with a message, the text its caption, or the new text of a write"
2491
2563
  },
2492
2564
  {
2493
2565
  name: "--filename",
@@ -2531,7 +2603,15 @@ var WHAT_FLAGS = [
2531
2603
  meaning: "what kind of thing it is; the command lists the kinds"
2532
2604
  },
2533
2605
  { name: "--name", value: "<name>", role: "value", type: "string", meaning: "the name to give it" },
2606
+ {
2607
+ name: "--button",
2608
+ value: "<text=data>",
2609
+ role: "value",
2610
+ type: "string",
2611
+ meaning: "an inline button under a message: its text, then the data a press sends back; repeat for more in one row"
2612
+ },
2534
2613
  { name: "--no-approval", role: "value", type: "switch", meaning: "anyone with the link joins at once" },
2614
+ { name: "--no-buttons", role: "value", type: "switch", meaning: "take the buttons off the message" },
2535
2615
  {
2536
2616
  name: "--notification",
2537
2617
  value: "<text>",
@@ -2566,6 +2646,13 @@ var WHAT_FLAGS = [
2566
2646
  },
2567
2647
  { name: "--remind-time", value: "<time>", role: "value", type: "time", meaning: "when to look at it again" },
2568
2648
  { name: "--role", value: "<role>", role: "value", type: "string", meaning: "the part it plays, in a word or two" },
2649
+ {
2650
+ name: "--label",
2651
+ value: "<label>",
2652
+ role: "value",
2653
+ type: "string",
2654
+ meaning: "a human-readable label for an id, such as the name shown for a custom relationship role"
2655
+ },
2569
2656
  {
2570
2657
  name: "--scope",
2571
2658
  value: "<scope>",
@@ -2696,7 +2783,7 @@ var WHAT_FLAGS = [
2696
2783
  }
2697
2784
  ];
2698
2785
 
2699
- // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2786
+ // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2700
2787
  var FLAG_TYPES = [
2701
2788
  "switch",
2702
2789
  "count",
@@ -2792,6 +2879,7 @@ var verbs = [
2792
2879
  ["status", "how a thing stands right now"],
2793
2880
  ["check", "verify, and change nothing; the answer says what is wrong and how to fix it"],
2794
2881
  ["test", "run rules over what is already stored and say what they would have done, doing none of it"],
2882
+ ["preview", "render what would be sent or written, from what is stored or a draft; sends and saves nothing"],
2795
2883
  ["apply", "run the owner's saved rules over what is already stored and change what they match; dry run unless --yes"],
2796
2884
  ["scan", "read stored messages for what a rule finds, such as tasks, and list it; records it only with --yes"],
2797
2885
  ["pause", "stop what a running process does for a profile, without stopping the process"],
@@ -2878,6 +2966,7 @@ var verbs = [
2878
2966
  ["assign", "name the person responsible for work, with their task role"],
2879
2967
  ["reverse", "record that an accepted decision no longer holds, without replacing it"],
2880
2968
  ["invalidate", "mark a derived record whose supporting evidence no longer holds"],
2969
+ ["challenge", "say a record no longer holds, citing what contradicts it; it only proposes, and the owner decides"],
2881
2970
  ["acknowledge", "record successful delivery using the exact receipt issued when the item was claimed"],
2882
2971
  ["confirm", "the owner accepts what an agent proposed"],
2883
2972
  ["reject", "the owner refuses what an agent proposed"],
@@ -2927,6 +3016,7 @@ var collections = [
2927
3016
  ["topics", "forum topics in a group"],
2928
3017
  ["models", "local or remote models"],
2929
3018
  ["tags", "labels the owner puts on things"],
3019
+ ["groups", "account groups: the accounts a run in a group reads, such as work and personal (WC-ACCT-13)"],
2930
3020
  ["searches", "the owner's saved searches"],
2931
3021
  ["copies", "tables kept aside by a repair"],
2932
3022
  ["tables", "the tables of the local store, with their kind, row count and size"],
@@ -2937,6 +3027,7 @@ var collections = [
2937
3027
  ["tracking", "the chats whose member lists are fetched daily"],
2938
3028
  ["documents", "files imported from Google Drive or Docs, or linked in a chat"],
2939
3029
  ["notes", "text the owner writes, or files from a notes folder"],
3030
+ ["sources", "what the owner adds by hand to read from: a file, a web page or a pasted text, kept as its text"],
2940
3031
  ["projects", "the owner's work units with a task key"],
2941
3032
  [
2942
3033
  "annotations",
@@ -2971,6 +3062,7 @@ var collections = [
2971
3062
  ["facts", "what happened, with evidence"],
2972
3063
  ["memories", "what an agent concluded, with evidence and scope"],
2973
3064
  ["relationships", "confirmed or suggested links between people, organizations and projects"],
3065
+ ["roles", "the parts a person plays in a relationship, built in or the owner's own"],
2974
3066
  ["sheets", "remote spreadsheets and their cell ranges, read or changed through a provider"],
2975
3067
  ["files", "files in the source, such as Google Drive, read and changed there"],
2976
3068
  ["comments", "comments people left on a thing in the source: a channel post or a file"],
@@ -3101,12 +3193,13 @@ var VOCABULARY = defineVocabulary({
3101
3193
  ...PRIVACY_FLAGS,
3102
3194
  ...CALENDAR_FLAGS,
3103
3195
  ...MAIL_FLAGS,
3196
+ ...KNOWLEDGE_FLAGS,
3104
3197
  ...CRM_FLAGS,
3105
3198
  ...SCHEDULE_FLAGS
3106
3199
  ]
3107
3200
  });
3108
3201
 
3109
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3202
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3110
3203
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3111
3204
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3112
3205
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3329,7 +3422,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3329
3422
  }
3330
3423
  }, "runCommandForAgent");
3331
3424
 
3332
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3425
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3333
3426
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3334
3427
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3335
3428
  var message = pipe(
@@ -3588,7 +3681,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3588
3681
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3589
3682
  }, "failed");
3590
3683
 
3591
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3684
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3592
3685
  import { randomUUID } from "node:crypto";
3593
3686
  var MATCHES = 8;
3594
3687
  var ANSWER = answerSchema();