@wirecat/mail-cli 0.36.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/agent-OU4K7TKQ.js +40 -0
  4. package/dist/bundle/{all-profiles-RS6OV3YO.js → all-profiles-ICGWDPUU.js} +11 -11
  5. package/dist/bundle/{anthropic-PPQ7DTXN.js → anthropic-TL4WFWGU.js} +5 -5
  6. package/dist/bundle/{app-server-EBFBMFQC.js → app-server-YAR5EFOO.js} +69 -67
  7. package/dist/bundle/{bun-J7HAT7MW.js → bun-OPDGMZZQ.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-PCSNAXIQ.js → bun-sqlite-WI3ZPANS.js} +6 -6
  9. package/dist/bundle/{chunk-U3BO342P.js → chunk-2JHVQMVC.js} +1 -1
  10. package/dist/bundle/{chunk-JCILSTFK.js → chunk-2XBDILVW.js} +1 -1
  11. package/dist/bundle/{chunk-WZFGZBGD.js → chunk-2YO3PLOE.js} +19 -19
  12. package/dist/bundle/{chunk-KVFBSOCV.js → chunk-3DHJF57U.js} +9 -9
  13. package/dist/bundle/{chunk-NJZR3OFK.js → chunk-3HC5F3P7.js} +1 -1
  14. package/dist/bundle/{chunk-4WSTWZUB.js → chunk-3SKTQ2HC.js} +2 -2
  15. package/dist/bundle/{chunk-3NOXZZJV.js → chunk-3YM4B2GT.js} +1 -1
  16. package/dist/bundle/{chunk-L4QLZDBZ.js → chunk-3ZOOTTFW.js} +6 -6
  17. package/dist/bundle/{chunk-2UNZ3L2H.js → chunk-4FTIHADB.js} +6 -6
  18. package/dist/bundle/{chunk-KTVQIKU5.js → chunk-4IZ6R5FS.js} +19 -15
  19. package/dist/bundle/{chunk-6NDPOY4N.js → chunk-4N7PP76S.js} +1 -1
  20. package/dist/bundle/{chunk-KP7JHJVP.js → chunk-7HRKUKKY.js} +23 -23
  21. package/dist/bundle/{chunk-42XY6D5C.js → chunk-7PDGZFXD.js} +5 -5
  22. package/dist/bundle/{chunk-REWV37HQ.js → chunk-7YKWFERX.js} +6 -6
  23. package/dist/bundle/{chunk-PF7ZNIVP.js → chunk-BNURKCQG.js} +2 -3
  24. package/dist/bundle/{chunk-ZRSLG3B3.js → chunk-BNVISIHP.js} +6 -6
  25. package/dist/bundle/{chunk-KLPFPNZP.js → chunk-BQMJYSA4.js} +11 -11
  26. package/dist/bundle/{chunk-NYYMMIVW.js → chunk-BYITYTRL.js} +16 -3
  27. package/dist/bundle/{chunk-ZV57PIPE.js → chunk-CICUPYHT.js} +2 -2
  28. package/dist/bundle/{chunk-CJHO6B3M.js → chunk-CQHLWMKK.js} +33 -28
  29. package/dist/bundle/{chunk-MRWV5VNQ.js → chunk-CUW7Y2HJ.js} +6 -6
  30. package/dist/bundle/{chunk-BBQERXQX.js → chunk-DJZIFZOT.js} +3 -3
  31. package/dist/bundle/{chunk-HPSESLOZ.js → chunk-DNCLQPOM.js} +1 -1
  32. package/dist/bundle/{chunk-EGR3YUWD.js → chunk-DPV53EZC.js} +4 -4
  33. package/dist/bundle/{chunk-GI6DNX7Q.js → chunk-DTR7JO2M.js} +35 -35
  34. package/dist/bundle/{chunk-5JEKBYIH.js → chunk-ES2FF42M.js} +14 -14
  35. package/dist/bundle/{chunk-GCTHVCJU.js → chunk-EV72K4IU.js} +4 -4
  36. package/dist/bundle/{chunk-3BYKGMRM.js → chunk-EZQ5BYNL.js} +6 -6
  37. package/dist/bundle/{chunk-QI2XGTFH.js → chunk-F2D3J5DR.js} +8 -8
  38. package/dist/bundle/{chunk-NYR7PIAG.js → chunk-FTT7UDYV.js} +3 -3
  39. package/dist/bundle/{chunk-GEU3WR75.js → chunk-FXNCKPQ7.js} +3 -3
  40. package/dist/bundle/{chunk-5TIWO6AR.js → chunk-G4VJN75G.js} +37 -18
  41. package/dist/bundle/{chunk-CMOO4INK.js → chunk-GGMAIIVE.js} +1 -1
  42. package/dist/bundle/{chunk-SJNFPBPF.js → chunk-GPUC3FTU.js} +2 -2
  43. package/dist/bundle/{chunk-XRVZMM5B.js → chunk-GQIMVR7C.js} +164 -36
  44. package/dist/bundle/{chunk-437UHSIO.js → chunk-HCRUGAIN.js} +190 -62
  45. package/dist/bundle/{chunk-OEL4DQTT.js → chunk-HES6YMYN.js} +4 -4
  46. package/dist/bundle/{chunk-LQQIYBHN.js → chunk-HFY7536N.js} +196 -110
  47. package/dist/bundle/{chunk-2VEFNFYZ.js → chunk-IA7LLLEI.js} +3 -3
  48. package/dist/bundle/{chunk-RJUVWJTA.js → chunk-IUJDWEGJ.js} +7 -7
  49. package/dist/bundle/{chunk-PMSZBUC7.js → chunk-IWFWWO37.js} +8 -8
  50. package/dist/bundle/{chunk-DVJPEZGV.js → chunk-JG6LCSEX.js} +13 -13
  51. package/dist/bundle/{chunk-3ZKNXKM7.js → chunk-JLXXUEAM.js} +2 -2
  52. package/dist/bundle/{chunk-645FQC4G.js → chunk-JNP3XGJI.js} +16 -16
  53. package/dist/bundle/{chunk-2RV4V55B.js → chunk-JZUYZ2XJ.js} +38 -24
  54. package/dist/bundle/chunk-K4DEQAEW.js +1291 -0
  55. package/dist/bundle/{chunk-PPIMXOBT.js → chunk-KCM3WSER.js} +6 -6
  56. package/dist/bundle/{chunk-C3JSQ7UJ.js → chunk-KP5JDYY6.js} +27 -8
  57. package/dist/bundle/{chunk-SCJVKWMV.js → chunk-KUX54EGR.js} +1981 -802
  58. package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
  59. package/dist/bundle/{chunk-V5I7QP4T.js → chunk-KZD3H5QA.js} +2 -2
  60. package/dist/bundle/{chunk-RMWS7IQ4.js → chunk-LKH3UKLO.js} +4 -4
  61. package/dist/bundle/{chunk-ROK7Z5LQ.js → chunk-NAOLBEFX.js} +220 -163
  62. package/dist/bundle/{chunk-5G4MDFZ2.js → chunk-NB52JKLR.js} +13 -9
  63. package/dist/bundle/{chunk-NTUP5RCP.js → chunk-NB7EOAUZ.js} +8 -1
  64. package/dist/bundle/{chunk-5VPLQS4S.js → chunk-NISH4UXM.js} +2 -2
  65. package/dist/bundle/{chunk-6UYIWQLU.js → chunk-NQSKI7XK.js} +4 -4
  66. package/dist/bundle/{chunk-NSH2UHJR.js → chunk-OWPRJLHV.js} +8 -8
  67. package/dist/bundle/{chunk-U67XMAEE.js → chunk-OZKZT3ZI.js} +10 -3
  68. package/dist/bundle/{chunk-774VG5WZ.js → chunk-Q7ICVP25.js} +1 -1
  69. package/dist/bundle/{chunk-HH34WRQE.js → chunk-QLJGYDWG.js} +7 -7
  70. package/dist/bundle/{chunk-6VMJLOYO.js → chunk-R44KVISE.js} +12 -12
  71. package/dist/bundle/{chunk-AVR4FPYG.js → chunk-R73VWPNL.js} +8 -8
  72. package/dist/bundle/{chunk-6LJIENVT.js → chunk-RRTMPSQR.js} +2 -2
  73. package/dist/bundle/{chunk-PMGAU6AP.js → chunk-S6JG4YUH.js} +2 -2
  74. package/dist/bundle/{chunk-WNQECDIP.js → chunk-TMJLGR4A.js} +61 -61
  75. package/dist/bundle/{chunk-VIJV474N.js → chunk-TXDR6YSF.js} +1 -1
  76. package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-TY7NDMFY.js} +1 -1
  77. package/dist/bundle/{chunk-CJMZQ2MZ.js → chunk-UDSL3MUU.js} +8 -8
  78. package/dist/bundle/{chunk-VIDPFLFM.js → chunk-UTS5NMR3.js} +2 -2
  79. package/dist/bundle/{chunk-TV634B6T.js → chunk-VB7FZOYX.js} +1 -1
  80. package/dist/bundle/{chunk-WPPPO427.js → chunk-VK24UQSD.js} +4 -4
  81. package/dist/bundle/{chunk-NCY55XIT.js → chunk-VYCB5EVI.js} +8 -8
  82. package/dist/bundle/{chunk-IBOWSQ7X.js → chunk-VZ5PPYDG.js} +1 -1
  83. package/dist/bundle/chunk-WOPVBRPV.js +29 -0
  84. package/dist/bundle/{chunk-6PKMUKUF.js → chunk-XEQQJBBO.js} +1 -1
  85. package/dist/bundle/{chunk-MQ6DQRRI.js → chunk-XWBTD2WP.js} +4 -4
  86. package/dist/bundle/chunk-XXPJF2VD.js +2 -0
  87. package/dist/bundle/{chunk-6FZPFNEU.js → chunk-YODGIMMM.js} +9 -9
  88. package/dist/bundle/{chunk-YPB5BEAD.js → chunk-YWDFYQOU.js} +2 -2
  89. package/dist/bundle/{chunk-MT3LYU4T.js → chunk-Z4BLNAWI.js} +15062 -11852
  90. package/dist/bundle/{chunk-Q6TPXXOS.js → chunk-ZSAPOC7B.js} +27 -176
  91. package/dist/bundle/{chunk-GBZIWCEP.js → chunk-ZTWTEXB2.js} +3 -3
  92. package/dist/bundle/command-contract-UC6IGCCM.js +39 -0
  93. package/dist/bundle/{command-server-entry-73RJELAV.js → command-server-entry-RA3ZX2KV.js} +28 -28
  94. package/dist/bundle/{decode-7BUWBDPT.js → decode-QVKRSRVF.js} +5 -5
  95. package/dist/bundle/{dispatch-IBOMVWZA.js → dispatch-USKS7J74.js} +8 -8
  96. package/dist/bundle/{dist-MULVCVSR.js → dist-ITIXJAXK.js} +20 -20
  97. package/dist/bundle/{echarts-VLWFC322.js → echarts-O3TNDAXJ.js} +2 -2
  98. package/dist/bundle/{embed-W3VH4HPY.js → embed-2HOODFQT.js} +6 -6
  99. package/dist/bundle/{embedder-I7ERQZJV.js → embedder-22AJGCZX.js} +9 -9
  100. package/dist/bundle/{failure-QMAPSQ7X.js → failure-D4FGOIWF.js} +2 -2
  101. package/dist/bundle/{first-run-LCVER6QN.js → first-run-FU4MFXOA.js} +12 -12
  102. package/dist/bundle/first-screen-A7SEI2ON.js +40 -0
  103. package/dist/bundle/{instructions-BNCVLSYQ.js → instructions-AMH5RWVJ.js} +1 -1
  104. package/dist/bundle/mail.js +12 -12
  105. package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-5HFPWC3W.js} +2 -2
  106. package/dist/bundle/meeting-combined-KC6YGWA7.js +24 -0
  107. package/dist/bundle/{meeting-model-BWLSTNXA.js → meeting-model-QWGAOQHL.js} +11 -11
  108. package/dist/bundle/{meeting-semantic-ZIEHXN2R.js → meeting-semantic-7PVO6RNB.js} +6 -6
  109. package/dist/bundle/{node-RYFTRSG4.js → node-EGMCBAO7.js} +2 -2
  110. package/dist/bundle/{node-sqlite-XCHVNTGQ.js → node-sqlite-JXUELLMP.js} +7 -7
  111. package/dist/bundle/{oauth-FNUJSKKJ.js → oauth-OYAYWH4K.js} +7 -7
  112. package/dist/bundle/{open-WVWSJ3WI.js → open-GLEUJGNA.js} +5 -5
  113. package/dist/bundle/{openai-QOUTYYTF.js → openai-PYTVNB6L.js} +15 -15
  114. package/dist/bundle/{process-W5KPID53.js → process-SGHEN6MQ.js} +1 -1
  115. package/dist/bundle/{program-L5UANM3I.js → program-7CFNZ2DF.js} +2001 -2222
  116. package/dist/bundle/{prompt-JSBAPNJE.js → prompt-CYTILD7N.js} +5 -5
  117. package/dist/bundle/public-XWMXEGEF.js +196 -0
  118. package/dist/bundle/{recognize-FDX4SJ6Q.js → recognize-26UNETSQ.js} +4 -4
  119. package/dist/bundle/{remote-MYOXOQHM.js → remote-PKXBQA5N.js} +9 -9
  120. package/dist/bundle/{rerank-NY5MSZCR.js → rerank-LLKP7M6Q.js} +7 -7
  121. package/dist/bundle/{serve-URI6NZA3.js → serve-ZRJEAPJI.js} +9 -9
  122. package/dist/bundle/{server-HQ25RHQM.js → server-4OQ4G5JY.js} +61 -59
  123. package/dist/bundle/server-VVRQ4A34.js +86 -0
  124. package/dist/bundle/{sqlite-runtime-6UUPSSKG.js → sqlite-runtime-667VV4VY.js} +6 -6
  125. package/dist/bundle/{state-NDDVFPCI.js → state-V3CAAJBE.js} +6 -6
  126. package/dist/bundle/{store-2RDOICVN.js → store-BJCIMIAH.js} +31 -24
  127. package/dist/bundle/{store-PKYWPKKR.js → store-GLBBY4OZ.js} +22 -22
  128. package/dist/bundle/store-maintenance-command-N7L5OVUE.js +73 -0
  129. package/dist/bundle/surface-26EUQNDT.js +72 -0
  130. package/dist/commands/import.js +2 -2
  131. package/dist/commands/import.js.map +1 -1
  132. package/dist/commands/messages.js +3 -3
  133. package/dist/commands/messages.js.map +1 -1
  134. package/dist/commands/read.js +2 -2
  135. package/dist/commands/read.js.map +1 -1
  136. package/dist/commands/send.d.ts.map +1 -1
  137. package/dist/commands/send.js +1 -0
  138. package/dist/commands/send.js.map +1 -1
  139. package/dist/commands/session.d.ts.map +1 -1
  140. package/dist/commands/session.js +2 -2
  141. package/dist/commands/session.js.map +1 -1
  142. package/dist/commands/sync.js +1 -1
  143. package/dist/commands/sync.js.map +1 -1
  144. package/dist/commands/tags.d.ts.map +1 -1
  145. package/dist/commands/tags.js.map +1 -1
  146. package/dist/commands/words.js +1 -1
  147. package/dist/commands/words.js.map +1 -1
  148. package/dist/config.d.ts +2 -0
  149. package/dist/config.d.ts.map +1 -1
  150. package/dist/config.js +7 -0
  151. package/dist/config.js.map +1 -1
  152. package/dist/mail/imap/account.d.ts.map +1 -1
  153. package/dist/mail/imap/account.js +2 -1
  154. package/dist/mail/imap/account.js.map +1 -1
  155. package/dist/mail/send.d.ts +2 -0
  156. package/dist/mail/send.d.ts.map +1 -1
  157. package/dist/mail/send.js +1 -1
  158. package/dist/mail/send.js.map +1 -1
  159. package/dist/profile.js +1 -1
  160. package/dist/profile.js.map +1 -1
  161. package/dist/program.d.ts.map +1 -1
  162. package/dist/program.js +4 -4
  163. package/dist/program.js.map +1 -1
  164. package/dist/reasons.d.ts.map +1 -1
  165. package/dist/reasons.js +0 -1
  166. package/dist/reasons.js.map +1 -1
  167. package/dist/version.d.ts +1 -1
  168. package/dist/version.js +1 -1
  169. package/package.json +3 -3
  170. package/dist/bundle/agent-MW7YWUIY.js +0 -39
  171. package/dist/bundle/chunk-6TT62IUW.js +0 -1264
  172. package/dist/bundle/command-contract-WFTIRPL5.js +0 -39
  173. package/dist/bundle/first-screen-DCTHI4NQ.js +0 -39
  174. package/dist/bundle/meeting-combined-ITU7SZ7E.js +0 -24
  175. package/dist/bundle/server-UVYFU2JN.js +0 -84
  176. package/dist/bundle/store-maintenance-command-Y5XTO47X.js +0 -71
  177. package/dist/bundle/surface-3XKM3MQ2.js +0 -70
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference,
5
5
  parseMeetingReference
6
- } from "./chunk-WNQECDIP.js";
6
+ } from "./chunk-TMJLGR4A.js";
7
7
  import {
8
8
  CliError,
9
9
  singleLine
10
- } from "./chunk-PMGAU6AP.js";
10
+ } from "./chunk-S6JG4YUH.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/locator.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/locator.js
16
16
  var SCHEME = "msg:";
17
17
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
18
18
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -33,7 +33,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
33
33
  return { provider, account, chat, message };
34
34
  }, "parseLocator");
35
35
 
36
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/references.js
36
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/references.js
37
37
  var SIMPLE_REFERENCES = [
38
38
  "note",
39
39
  "document",
@@ -196,8 +196,8 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
196
196
  return match !== null && byPrefix.has(match[1]);
197
197
  }, "looksLikeReference");
198
198
 
199
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/providers.js
200
- var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
199
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/providers.js
200
+ var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm", "tracker"];
201
201
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
202
202
  var CRM_OPENS = { deal: "deals show", lead: "leads show", pipeline: "pipelines show" };
203
203
  var PROVIDERS = [
@@ -216,6 +216,16 @@ var PROVIDERS = [
216
216
  // Google Meet has no tool of its own: its meetings are gcal's, since every meeting is on the calendar.
217
217
  { name: "google-meet", kind: "meetings", aliases: [], command: "gcal" },
218
218
  { name: "google-drive", kind: "documents", aliases: [] },
219
+ // Seeded: linear-cli registers no entry, and without one its accounts would count as a messenger's. One sign-in holds
220
+ // the issues and the documents, so the account is a tracker's and a documents account at once.
221
+ {
222
+ name: "linear",
223
+ kind: "tracker",
224
+ kinds: ["tracker", "documents"],
225
+ aliases: [],
226
+ command: "linear",
227
+ globalItemIds: true
228
+ },
219
229
  // Its meetings come from the notes Telemost mails (`keeper@telemost.yandex.ru`), read by a mail rule.
220
230
  { name: "telemost", kind: "meetings", aliases: [] },
221
231
  // A phone export's records: its SMS and its calls in the one account the import names.
@@ -234,14 +244,15 @@ var LABELS = {
234
244
  "google-meet": "Google Meet",
235
245
  added: "added by hand",
236
246
  email: "mail",
237
- telemost: "Telemost"
247
+ telemost: "Telemost",
248
+ linear: "Linear"
238
249
  };
239
250
  var providerLabel = /* @__PURE__ */ __name((provider) => LABELS[provider] ?? provider, "providerLabel");
240
251
  var FOLDER_PROVIDERS = ["local", "obsidian", "folder"];
241
252
  var isFolderProvider = /* @__PURE__ */ __name((provider) => FOLDER_PROVIDERS.includes(provider), "isFolderProvider");
242
253
  var folderProviderSql = /* @__PURE__ */ __name((column = "provider") => `${column} IN (${FOLDER_PROVIDERS.map((name) => `'${name}'`).join(", ")})`, "folderProviderSql");
243
254
  var folderProviderOf = /* @__PURE__ */ __name((format) => format === "markdown" ? "local" : "obsidian", "folderProviderOf");
244
- var documentAccountProviders = /* @__PURE__ */ __name(() => registry.filter((entry) => entry.kind === "documents" && entry.imported !== true).map(({ name }) => name), "documentAccountProviders");
255
+ var documentAccountProviders = /* @__PURE__ */ __name(() => registry.filter((entry) => kindsOfEntry(entry).includes("documents") && entry.imported !== true).map(({ name }) => name), "documentAccountProviders");
245
256
  var isDocumentAccountProvider = /* @__PURE__ */ __name((provider) => typeof provider === "string" && documentAccountProviders().includes(provider), "isDocumentAccountProvider");
246
257
  var documentAccountProvidersSql = /* @__PURE__ */ __name(() => documentAccountProviders().map((name) => `'${name}'`).join(", ") || "NULL", "documentAccountProvidersSql");
247
258
  var ADDED_PROVIDER = "added";
@@ -269,7 +280,7 @@ var opensOf = /* @__PURE__ */ __name((value, named) => {
269
280
  var providerEntryOf = /* @__PURE__ */ __name((value) => {
270
281
  if (typeof value !== "object" || value === null || Array.isArray(value))
271
282
  return invalid("a provider entry is an object");
272
- const { name, kind: kind2, kinds, aliases = [], command, opens, imported } = value;
283
+ const { name, kind: kind2, kinds, aliases = [], command, opens, imported, globalItemIds } = value;
273
284
  const named = wordOf(name, "a provider's name");
274
285
  const isKindWord = /* @__PURE__ */ __name((one) => typeof one === "string" && KINDS.includes(one), "isKindWord");
275
286
  const given = kinds === void 0 ? [kind2] : Array.isArray(kinds) && kinds.length > 0 ? kinds : [void 0];
@@ -283,6 +294,8 @@ var providerEntryOf = /* @__PURE__ */ __name((value) => {
283
294
  invalid(`provider ${named}'s aliases are a list`);
284
295
  if (imported !== void 0 && typeof imported !== "boolean")
285
296
  invalid(`provider ${named}'s imported is true or false`);
297
+ if (globalItemIds !== void 0 && typeof globalItemIds !== "boolean")
298
+ invalid(`provider ${named}'s globalItemIds is true or false`);
286
299
  return {
287
300
  name: named,
288
301
  kind: list[0],
@@ -290,7 +303,8 @@ var providerEntryOf = /* @__PURE__ */ __name((value) => {
290
303
  ...imported === true ? { imported: true } : {},
291
304
  aliases: [...new Set(aliases.map((alias) => wordOf(alias, `an alias of ${named}`)))],
292
305
  ...command === void 0 ? {} : { command: wordOf(command, `the command of ${named}`) },
293
- ...opens === void 0 ? {} : { opens: opensOf(opens, named) }
306
+ ...opens === void 0 ? {} : { opens: opensOf(opens, named) },
307
+ ...globalItemIds === true ? { globalItemIds: true } : {}
294
308
  };
295
309
  }, "providerEntryOf");
296
310
  var kindsOfEntry = /* @__PURE__ */ __name((entry) => entry.kinds ?? [entry.kind], "kindsOfEntry");
@@ -311,7 +325,8 @@ var joined = /* @__PURE__ */ __name((known, entry) => {
311
325
  ...kinds.length > 1 ? { kinds } : {},
312
326
  aliases: [.../* @__PURE__ */ new Set([...same.aliases, ...entry.aliases])],
313
327
  ...entry.command ? { command: entry.command } : {},
314
- ...entry.opens ? { opens: { ...same.opens, ...entry.opens } } : {}
328
+ ...entry.opens ? { opens: { ...same.opens, ...entry.opens } } : {},
329
+ ...entry.globalItemIds ? { globalItemIds: true } : {}
315
330
  } : entry;
316
331
  const others = known.filter((one) => one !== same);
317
332
  for (const word of wordsOf(merged)) {
@@ -370,12 +385,14 @@ var importedOf = /* @__PURE__ */ __name((entry, held) => {
370
385
  invalid(`provider ${entry.name} was registered without imported: an entry cannot make it import-only later`);
371
386
  return held.imported === true;
372
387
  }, "importedOf");
388
+ var hasGlobalItemIds = /* @__PURE__ */ __name((provider) => registry.find(({ name }) => name === provider)?.globalItemIds === true, "hasGlobalItemIds");
373
389
  var isImportedProvider = /* @__PURE__ */ __name((provider) => registry.find(({ name }) => name === provider)?.imported === true, "isImportedProvider");
390
+ var alsoListedByKey = /* @__PURE__ */ __name((provider) => isDocumentAccountProvider(provider) && kindsIn(provider).some((kind2) => kind2 !== "documents"), "alsoListedByKey");
374
391
  var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).includes(kind2), "holdsKind");
375
392
  var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
376
393
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
377
394
 
378
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/money.js
395
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/money.js
379
396
  var CURRENCY_SCALES = {
380
397
  AED: 2,
381
398
  AMD: 2,
@@ -469,7 +486,7 @@ var quantityOf = /* @__PURE__ */ __name((text) => {
469
486
  }, "quantityOf");
470
487
  var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
471
488
 
472
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/deals.js
489
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/deals.js
473
490
  var DEAL_KINDS = ["deal", "lead"];
474
491
  var DEAL_STATUSES = ["open", "won", "lost"];
475
492
  var STAGE_OUTCOMES = DEAL_STATUSES;
@@ -479,7 +496,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
479
496
  return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
480
497
  }, "dealLine");
481
498
 
482
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/finance.js
499
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/finance.js
483
500
  var INVOICE_DIRECTIONS = ["receivable", "payable"];
484
501
  var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
485
502
  var MONEY_DIRECTIONS = ["in", "out"];
@@ -508,7 +525,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
508
525
  var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
509
526
  var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
510
527
 
511
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/orders.js
528
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/orders.js
512
529
  var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
513
530
  var ORDER_PURPOSES = ["personal", "business", "client", "other"];
514
531
  var orderLine = /* @__PURE__ */ __name((order) => {
@@ -519,7 +536,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
519
536
  }, "orderLine");
520
537
  var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
521
538
 
522
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/relations.js
539
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/relations.js
523
540
  var ORGANIZATION_ROLES = [
524
541
  "employee",
525
542
  "contractor",
@@ -626,7 +643,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
626
643
  var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
627
644
  var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
628
645
 
629
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/crm.js
646
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/crm.js
630
647
  var CRM_KINDS = ["organization", "person", "deal", "lead"];
631
648
  var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
632
649
  var isCrmUserId = /* @__PURE__ */ __name((id) => /^\d{1,20}$/.test(id), "isCrmUserId");
@@ -636,7 +653,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id) => {
636
653
  }, "normalCrmUserId");
637
654
  var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
638
655
 
639
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/business.js
656
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/business.js
640
657
  var CATALOG_KINDS = ["product", "service"];
641
658
  var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
642
659
  var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
@@ -704,7 +721,9 @@ export {
704
721
  kindIn,
705
722
  kindsIn,
706
723
  importedOf,
724
+ hasGlobalItemIds,
707
725
  isImportedProvider,
726
+ alsoListedByKey,
708
727
  holdsKind,
709
728
  holdsKindOf,
710
729
  kindOf,
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/store/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/driver.js
8
8
  var TIME_LIMIT_FUNCTION = "wc_time_limit";
9
9
  var TimeLimitReached = class extends Error {
10
10
  static {
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  singleLine,
9
9
  visibleControls
10
- } from "./chunk-PMGAU6AP.js";
10
+ } from "./chunk-S6JG4YUH.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/render/messages.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/render/messages.js
16
16
  import { styleText } from "node:util";
17
17
  var TIME_WIDTH = 8;
18
18
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -2,36 +2,36 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  commandAvailability
5
- } from "./chunk-6UYIWQLU.js";
5
+ } from "./chunk-NQSKI7XK.js";
6
6
  import {
7
7
  lentConnection
8
- } from "./chunk-3BYKGMRM.js";
8
+ } from "./chunk-EZQ5BYNL.js";
9
9
  import {
10
10
  QUERY_ARGUMENT
11
- } from "./chunk-KTVQIKU5.js";
11
+ } from "./chunk-4IZ6R5FS.js";
12
12
  import {
13
13
  changesMessenger,
14
14
  flatten
15
- } from "./chunk-ROK7Z5LQ.js";
15
+ } from "./chunk-NAOLBEFX.js";
16
16
  import {
17
17
  authorityAllowed,
18
18
  botApiAllowed
19
- } from "./chunk-RJUVWJTA.js";
19
+ } from "./chunk-IUJDWEGJ.js";
20
20
  import {
21
21
  currentCaller
22
- } from "./chunk-PMSZBUC7.js";
22
+ } from "./chunk-IWFWWO37.js";
23
23
  import {
24
24
  enclosingTraceId,
25
25
  inRun,
26
26
  newRunId,
27
27
  traceOf
28
- } from "./chunk-6TT62IUW.js";
28
+ } from "./chunk-K4DEQAEW.js";
29
29
  import {
30
30
  queryDescription
31
- } from "./chunk-WNQECDIP.js";
31
+ } from "./chunk-TMJLGR4A.js";
32
32
  import {
33
33
  captureStreams
34
- } from "./chunk-WZFGZBGD.js";
34
+ } from "./chunk-2YO3PLOE.js";
35
35
  import {
36
36
  COMPACT_FLAG,
37
37
  SNAKE_CASE,
@@ -60,18 +60,18 @@ import {
60
60
  unknown,
61
61
  word,
62
62
  writes
63
- } from "./chunk-C3JSQ7UJ.js";
63
+ } from "./chunk-KP5JDYY6.js";
64
64
  import {
65
65
  CliError
66
- } from "./chunk-PMGAU6AP.js";
66
+ } from "./chunk-S6JG4YUH.js";
67
67
  import {
68
68
  __name
69
69
  } from "./chunk-ZVVMGPBJ.js";
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/agent.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
72
72
  import { Readable } from "node:stream";
73
73
 
74
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
74
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
75
75
  var LINT_SEVERITIES = ["high", "medium", "low"];
76
76
  var lintRuleSchema = strictObject({
77
77
  id: word,
@@ -217,7 +217,7 @@ var overrideSchema = strictObject({
217
217
  });
218
218
  var overridesSchema = array(overrideSchema);
219
219
 
220
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
220
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
221
221
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
222
222
  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");
223
223
  var AUDIT_RULES = defineAuditRules([
@@ -328,10 +328,31 @@ var FAMILY_SINCE_0_98 = [
328
328
  review(ENTITY, "entity lead", "b24's CRM lead and memo's differ (measured 2026-11-13)"),
329
329
  review(ENTITY, "entity product", "b24's CRM product and memo's differ (measured 2026-11-13)"),
330
330
  review(REASON, "reason ai.address-refused=model.address-refused", "one failure under two names; cli-core 0.650.0 keeps one"),
331
- review(REASON, "reason profile.unknown: code", "b24 gives it not_found, drive validation_error (measured 2026-11-13)")
331
+ review(REASON, "reason profile.unknown: code", "b24 gives it not_found, drive validation_error (measured 2026-11-13)"),
332
+ {
333
+ rule: REASON,
334
+ target: "reason account-remove.unknown-profile=account-rename.unknown-profile",
335
+ reason: "one failure under two names in cli-core 0.715\u20130.716; 0.717.0 gives account rename profile.unknown",
336
+ review_after: "2026-12-10"
337
+ }
332
338
  ];
339
+ var CONFIG_UNREADABLE_RENAME = [
340
+ "account-rename.config=config.unreadable=mail.config-unreadable",
341
+ "account-rename.config=config.unreadable",
342
+ "config.unreadable=mail.config-unreadable"
343
+ ].map((ids) => ({
344
+ rule: REASON,
345
+ target: `reason ${ids}`,
346
+ reason: "one failure under several names while the CLIs move to cli-core 1.0, which names it config.unreadable",
347
+ review_after: "2026-12-09"
348
+ }));
333
349
  var PARITY_GROUPS = defineParityGroups([
334
- { name: "messengers", members: ["tg", "max"], covers: "tree", differences: MESSENGERS_SINCE_0_98 },
350
+ {
351
+ name: "messengers",
352
+ members: ["tg", "max"],
353
+ covers: "tree",
354
+ differences: [...MESSENGERS_SINCE_0_98, ...CONFIG_UNREADABLE_RENAME]
355
+ },
335
356
  {
336
357
  name: "all",
337
358
  members: ["tg", "max", "memo", "drive", "zm", "wa"],
@@ -422,7 +443,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
422
443
  { path: ["upgrade"], meaning: "updates the CLI" }
423
444
  ]);
424
445
 
425
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
446
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
426
447
  var fieldRuleSchema = strictObject({ id: word, rule: text });
427
448
  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");
428
449
  var FIELD_RULES = defineFieldRules([
@@ -438,7 +459,7 @@ var FIELD_RULES = defineFieldRules([
438
459
  }
439
460
  ]);
440
461
 
441
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
462
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
442
463
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
443
464
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
444
465
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -460,7 +481,7 @@ var IDENTIFIERS = defineIdentifiers([
460
481
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
461
482
  ]);
462
483
 
463
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
484
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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-account.js
464
485
  var ACCOUNT_FLAGS = [
465
486
  {
466
487
  name: "--client-id",
@@ -497,7 +518,7 @@ var ACCOUNT_FLAGS = [
497
518
  { name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
498
519
  ];
499
520
 
500
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
521
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
501
522
  var CALENDAR_FLAGS = [
502
523
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
503
524
  {
@@ -585,7 +606,7 @@ var CALENDAR_FLAGS = [
585
606
  }
586
607
  ];
587
608
 
588
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-content.js
609
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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-content.js
589
610
  var CONTENT_FLAGS = [
590
611
  { name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
591
612
  {
@@ -600,10 +621,30 @@ var CONTENT_FLAGS = [
600
621
  role: "mode",
601
622
  type: "switch",
602
623
  meaning: "write the new text over a body the tool cannot fully read back, losing what it could not show"
624
+ },
625
+ {
626
+ name: "--from-template",
627
+ value: "<template>",
628
+ role: "value",
629
+ type: "string",
630
+ meaning: "start the new page from one of the source's page templates, by name or id; not a message --template"
631
+ },
632
+ {
633
+ name: "--cover",
634
+ value: "<link>",
635
+ role: "value",
636
+ type: "string",
637
+ meaning: "the page's cover image, by an https link, or none to take it away; a local image file is --photo"
638
+ },
639
+ {
640
+ name: "--allow-deleting-content",
641
+ role: "mode",
642
+ type: "switch",
643
+ meaning: "let an update delete the child pages and databases its new text leaves out; the source keeps them in its trash, unlike --allow-delete"
603
644
  }
604
645
  ];
605
646
 
606
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
647
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
607
648
  var CRM_FLAGS = [
608
649
  {
609
650
  name: "--email",
@@ -767,7 +808,7 @@ var CRM_FLAGS = [
767
808
  }
768
809
  ];
769
810
 
770
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
811
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
771
812
  var HOW_FLAGS = [
772
813
  {
773
814
  name: "--limit",
@@ -1760,7 +1801,7 @@ var HOW_FLAGS = [
1760
1801
  }
1761
1802
  ];
1762
1803
 
1763
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
1804
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
1764
1805
  var KNOWLEDGE_FLAGS = [
1765
1806
  {
1766
1807
  name: "--accept-terms",
@@ -1816,10 +1857,24 @@ var KNOWLEDGE_FLAGS = [
1816
1857
  role: "target",
1817
1858
  type: "string",
1818
1859
  meaning: "every stored thing a search with this query finds, in its query language; the command acts on each"
1860
+ },
1861
+ {
1862
+ name: "--since",
1863
+ value: "<time>",
1864
+ role: "target",
1865
+ type: "time",
1866
+ meaning: "from this time on: a time, or a duration ago such as 1d"
1867
+ },
1868
+ {
1869
+ name: "--event",
1870
+ value: "<events>",
1871
+ role: "target",
1872
+ type: "list",
1873
+ meaning: "only these kinds of event, comma separated; the command lists them"
1819
1874
  }
1820
1875
  ];
1821
1876
 
1822
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
1877
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
1823
1878
  var MAIL_FLAGS = [
1824
1879
  {
1825
1880
  name: "--cc",
@@ -1849,7 +1904,38 @@ var MAIL_FLAGS = [
1849
1904
  }
1850
1905
  ];
1851
1906
 
1852
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
1907
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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-mirror.js
1908
+ var MIRROR_FLAGS = [
1909
+ {
1910
+ name: "--keep",
1911
+ value: "<side>",
1912
+ role: "mode",
1913
+ type: "choice",
1914
+ meaning: "settle a conflict with one side: local, the remote by its own name (disk, drive), or both, the other kept as a conflict copy"
1915
+ },
1916
+ {
1917
+ name: "--allow-deletions",
1918
+ value: "<count>",
1919
+ role: "mode",
1920
+ type: "count",
1921
+ meaning: "let this run delete up to this many files when the mirror's guard stops it; owner only"
1922
+ },
1923
+ {
1924
+ name: "--allow-replacements",
1925
+ value: "<count>",
1926
+ role: "mode",
1927
+ type: "count",
1928
+ meaning: "let this run overwrite up to this many existing files when the mirror's guard stops it; owner only"
1929
+ },
1930
+ {
1931
+ name: "--repin",
1932
+ role: "mode",
1933
+ type: "switch",
1934
+ meaning: "accept that a replaced local or remote folder is the mirror's folder now, and sync it; owner only"
1935
+ }
1936
+ ];
1937
+
1938
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
1853
1939
  var PRIVACY_FLAGS = [
1854
1940
  {
1855
1941
  name: "--about-text",
@@ -1910,7 +1996,7 @@ var PRIVACY_FLAGS = [
1910
1996
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1911
1997
  ];
1912
1998
 
1913
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
1999
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
1914
2000
  var SCHEDULE_FLAGS = [
1915
2001
  {
1916
2002
  name: "--locale",
@@ -1943,7 +2029,7 @@ var SCHEDULE_FLAGS = [
1943
2029
  }
1944
2030
  ];
1945
2031
 
1946
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-search.js
2032
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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-search.js
1947
2033
  var SEARCH_FLAGS = [
1948
2034
  {
1949
2035
  name: "--like",
@@ -1954,7 +2040,7 @@ var SEARCH_FLAGS = [
1954
2040
  }
1955
2041
  ];
1956
2042
 
1957
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
2043
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
1958
2044
  var WHAT_FLAGS = [
1959
2045
  {
1960
2046
  name: "--analysis-provider",
@@ -2366,7 +2452,7 @@ var WHAT_FLAGS = [
2366
2452
  type: "string",
2367
2453
  meaning: "an organization: its id or organization:<id>"
2368
2454
  },
2369
- { name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder or task it sits under, by id" },
2455
+ { name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder, task or issue it sits under" },
2370
2456
  {
2371
2457
  name: "--participant-id",
2372
2458
  value: "<id>",
@@ -2644,7 +2730,6 @@ var WHAT_FLAGS = [
2644
2730
  type: "choice",
2645
2731
  meaning: "how it is closed: done, or dismissed when it needs no answer"
2646
2732
  },
2647
- { name: "--assignee", value: "<person...>", role: "value", type: "list", meaning: "who does it, by UID" },
2648
2733
  { name: "--at", value: "<hh:mm>", role: "value", type: "string", meaning: "every day at this local time" },
2649
2734
  { name: "--body", value: "<json>", role: "value", type: "string", meaning: "the request body, as JSON" },
2650
2735
  {
@@ -2802,7 +2887,6 @@ var WHAT_FLAGS = [
2802
2887
  type: "id",
2803
2888
  meaning: "pin this chat at the top of it; repeat it for more"
2804
2889
  },
2805
- { name: "--priority", value: "<n>", role: "value", type: "count", meaning: "0 urgent \u2026 4 low" },
2806
2890
  { name: "--quiz", role: "value", type: "switch", meaning: "a quiz: one answer is right, and a vote is final" },
2807
2891
  {
2808
2892
  name: "--reason",
@@ -2951,7 +3035,33 @@ var WHAT_FLAGS = [
2951
3035
  }
2952
3036
  ];
2953
3037
 
2954
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
3038
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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-work.js
3039
+ var WORK_FLAGS = [
3040
+ {
3041
+ name: "--assignee",
3042
+ value: "<person...>",
3043
+ role: "value",
3044
+ type: "list",
3045
+ otherValues: ["user"],
3046
+ meaning: "who does it: people by UID (<person...>), or one tracker user by id, name or e-mail (<user>)"
3047
+ },
3048
+ {
3049
+ name: "--priority",
3050
+ value: "<n>",
3051
+ role: "value",
3052
+ type: "string",
3053
+ meaning: "how urgent: low, medium, high, critical or none, a score from 0.0 to 1.0, or the old 0 urgent \u2026 4 low"
3054
+ },
3055
+ {
3056
+ name: "--team",
3057
+ value: "<team>",
3058
+ role: "value",
3059
+ type: "string",
3060
+ meaning: "the tracker team that owns an issue, by id, key or name"
3061
+ }
3062
+ ];
3063
+
3064
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
2955
3065
  var FLAG_TYPES = [
2956
3066
  "switch",
2957
3067
  "count",
@@ -3109,6 +3219,7 @@ var verbs = [
3109
3219
  "look at a source before taking anything from it: a chat link without joining, a mailbox without importing"
3110
3220
  ],
3111
3221
  ["send", "send a message"],
3222
+ ["reply", "answer in a comment thread at the source, under the comment that started it"],
3112
3223
  ["call", "call one provider API method by its own name, generated from the provider's method list"],
3113
3224
  ["edit", "change a sent message"],
3114
3225
  ["forward", "send an existing message on to another chat"],
@@ -3233,6 +3344,7 @@ var collections = [
3233
3344
  ["teams", "groups in a tracker that own issues, states and labels"],
3234
3345
  ["states", "the workflow steps a tracker team moves its issues through, each of a type such as started"],
3235
3346
  ["labels", "a tracker's shared labels on issues, kept by the tracker and not by the owner"],
3347
+ ["sprints", "a tracker team's time-boxed runs of work, such as Linear's cycles, each with a start and an end"],
3236
3348
  ["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
3237
3349
  ["activities", "a CRM's calls, e-mails, meetings, to-dos and comments on its records"],
3238
3350
  ["changes", "what changed in a copied source over a time: records added, moved, closed or reassigned"],
@@ -3245,8 +3357,19 @@ var collections = [
3245
3357
  ["relationships", "confirmed or suggested links between people, organizations and projects"],
3246
3358
  ["roles", "the parts a person plays in a relationship, built in or the owner's own"],
3247
3359
  ["sheets", "remote spreadsheets and their cell ranges, read or changed through a provider"],
3360
+ [
3361
+ "databases",
3362
+ "a source's databases, such as Notion's, each a set of rows with typed properties; the local store's are tables"
3363
+ ],
3364
+ ["rows", "the records of a database at the source, each with typed values; an order's or an invoice's are lines"],
3248
3365
  ["files", "files in the source, such as Google Drive, read and changed there"],
3249
- ["comments", "comments people left on a thing in the source: a channel post or a file"],
3366
+ ["mirrors", "saved pairings of a local folder and a folder in the source, which sync keeps the same both ways"],
3367
+ [
3368
+ "conflicts",
3369
+ "files a mirror's sync found changed on both sides and could not merge, each waiting for a side or a final file"
3370
+ ],
3371
+ ["versions", "earlier contents of a file that a write replaced or deleted, kept on this computer to be put back"],
3372
+ ["comments", "comments people left on a thing in the source: a channel post, a file or an issue"],
3250
3373
  ["meetings", "stored meetings, from Zoom or another provider"],
3251
3374
  ["calls", "phone calls a phone system recorded, stored as meetings with their transcripts"],
3252
3375
  ["calendars", "calendars of an account, each synced or not"],
@@ -3315,6 +3438,7 @@ var views = [
3315
3438
  ["stats", "a thing's own numbers, such as a post's views, as read at each sync"],
3316
3439
  ["logs", "the log of a running process"],
3317
3440
  ["events", "what happened in a thing over time"],
3441
+ ["changes", "what a sync changed in the local copy since a time: added, changed, deleted or no longer visible"],
3318
3442
  ["scheduled", "what is scheduled to happen"],
3319
3443
  ["context", "what surrounds one thing"],
3320
3444
  ["path", "where a thing is on this machine"],
@@ -3325,6 +3449,8 @@ var views = [
3325
3449
  ["transcript", "the text of speech: a voice message or a meeting recording"],
3326
3450
  ["evidence", "the stored messages or lines a result or a reference rests on"],
3327
3451
  ["passage", "a cited transcript line with bounded surrounding lines from the same revision"],
3452
+ ["summary", "the summary a service wrote of a meeting, with its sections and next steps"],
3453
+ ["people", "the people found across stored meetings by name or email, with the meetings they were in"],
3328
3454
  ["invitation", "the text that invites people to a meeting: how to join it and when"],
3329
3455
  ["agenda", "what needs a look today"],
3330
3456
  ["busy", "when calendars or people are taken, without what takes them"],
@@ -3387,11 +3513,13 @@ var VOCABULARY = defineVocabulary({
3387
3513
  ...CRM_FLAGS,
3388
3514
  ...SCHEDULE_FLAGS,
3389
3515
  ...CONTENT_FLAGS,
3390
- ...SEARCH_FLAGS
3516
+ ...SEARCH_FLAGS,
3517
+ ...MIRROR_FLAGS,
3518
+ ...WORK_FLAGS
3391
3519
  ]
3392
3520
  });
3393
3521
 
3394
- // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3522
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3395
3523
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3396
3524
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3397
3525
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");