@wirecat/mail-cli 0.18.0 → 0.20.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 (112) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-4CVOXA5Y.js → all-profiles-DTUWUCQQ.js} +7 -6
  4. package/dist/bundle/{anthropic-5VIKYINO.js → anthropic-YJAEQSNT.js} +3 -3
  5. package/dist/bundle/{app-server-LTSQBDPF.js → app-server-3ZXSTBA3.js} +41 -40
  6. package/dist/bundle/{bun-C7DBRUW2.js → bun-34VBM7C5.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-Y5JKT62B.js → bun-sqlite-GCT7ROCK.js} +2 -2
  8. package/dist/bundle/{chunk-A5OMARL4.js → chunk-2PPEDB67.js} +31 -29
  9. package/dist/bundle/{chunk-IANOK5SE.js → chunk-3DSYLE5N.js} +2 -2
  10. package/dist/bundle/{chunk-QPF4LTK5.js → chunk-3HDQVTND.js} +4 -4
  11. package/dist/bundle/{chunk-ZLH465EU.js → chunk-4FWJNIPH.js} +1 -1
  12. package/dist/bundle/{chunk-C4RUKMDT.js → chunk-4WIEVQ2Q.js} +8 -14
  13. package/dist/bundle/{chunk-SMS5YNPB.js → chunk-566MEXK5.js} +2 -2
  14. package/dist/bundle/{chunk-GRP67IQ4.js → chunk-72N26BQM.js} +24 -22
  15. package/dist/bundle/{chunk-6RO5RDNR.js → chunk-7XLOWYGD.js} +109 -6
  16. package/dist/bundle/{chunk-AOMSP4EI.js → chunk-AF62BPIW.js} +5 -5
  17. package/dist/bundle/{chunk-U43HUE35.js → chunk-B74SOC4R.js} +9 -20
  18. package/dist/bundle/{chunk-TVZ77ZOV.js → chunk-FTI73RLC.js} +2 -2
  19. package/dist/bundle/{chunk-EFP5NN7I.js → chunk-GAPQENMY.js} +2 -2
  20. package/dist/bundle/{chunk-N5VEJ3E7.js → chunk-HJ2CXDKJ.js} +130 -11
  21. package/dist/bundle/{chunk-P6WCG6X2.js → chunk-HN43G27G.js} +43 -27
  22. package/dist/bundle/{chunk-L3YX7A5M.js → chunk-HRRSTIGP.js} +4 -4
  23. package/dist/bundle/{chunk-NDJZQCF3.js → chunk-HSBGNVEL.js} +210 -171
  24. package/dist/bundle/{chunk-2NWOYXPJ.js → chunk-I2SDXWLR.js} +206 -56
  25. package/dist/bundle/{chunk-BMFPCW6Q.js → chunk-J2U6LUT5.js} +17 -3
  26. package/dist/bundle/{chunk-UXD5JMS5.js → chunk-J4UZXBEV.js} +1 -1
  27. package/dist/bundle/{chunk-OUGGAAXI.js → chunk-KMQAHDBM.js} +7539 -13576
  28. package/dist/bundle/{chunk-CPEN6BZZ.js → chunk-LF5XM4HE.js} +1 -1
  29. package/dist/bundle/chunk-LTXYJAJK.js +12211 -0
  30. package/dist/bundle/{chunk-7P4ICYJT.js → chunk-MD64ITYO.js} +1 -1
  31. package/dist/bundle/{chunk-WA3DQSAZ.js → chunk-MDDB7M7Z.js} +1 -1
  32. package/dist/bundle/{chunk-OLJDZTHB.js → chunk-NOVBK4SY.js} +12 -12
  33. package/dist/bundle/{chunk-MCR43SWG.js → chunk-O3M2S62X.js} +21 -13
  34. package/dist/bundle/{chunk-5S6Q3SWU.js → chunk-ODFHIXMA.js} +1 -1
  35. package/dist/bundle/{chunk-ZT2Y267T.js → chunk-OKO2Q6H6.js} +2 -2
  36. package/dist/bundle/{chunk-RQSF7X22.js → chunk-P2QJA7S5.js} +1 -1
  37. package/dist/bundle/{chunk-C5T5K7HW.js → chunk-P6FT6YYT.js} +17 -14
  38. package/dist/bundle/{chunk-RIO3TD3I.js → chunk-QE72KTS7.js} +1 -1
  39. package/dist/bundle/{chunk-JO3BIMYK.js → chunk-QPRXTLMD.js} +1 -1
  40. package/dist/bundle/{chunk-23HWKHPZ.js → chunk-QTMVGOSF.js} +352 -290
  41. package/dist/bundle/{chunk-SW2KERUB.js → chunk-R3WPMQYZ.js} +270 -153
  42. package/dist/bundle/{chunk-XGTW3GRX.js → chunk-RFB27ACZ.js} +2 -2
  43. package/dist/bundle/{chunk-HTFBXGJF.js → chunk-RPCKBXKN.js} +1 -1
  44. package/dist/bundle/{chunk-43I5XD7S.js → chunk-RT6SLZBI.js} +1 -1
  45. package/dist/bundle/{chunk-3W5H4TM7.js → chunk-RY7PBP4F.js} +71 -31
  46. package/dist/bundle/{chunk-BMGVKULS.js → chunk-SCIC2CJS.js} +4 -4
  47. package/dist/bundle/{chunk-SIYT2BBI.js → chunk-SFC46MP2.js} +250 -9
  48. package/dist/bundle/chunk-SYEICLTR.js +66 -0
  49. package/dist/bundle/{chunk-HFUS33UT.js → chunk-T2GQA2E4.js} +4 -1
  50. package/dist/bundle/{chunk-ITUC5WAV.js → chunk-T3DTYJTG.js} +1 -1
  51. package/dist/bundle/{chunk-OMKPALMX.js → chunk-TCCN5TON.js} +1 -1
  52. package/dist/bundle/{chunk-FLOOPXOT.js → chunk-V6OIIVH3.js} +10 -10
  53. package/dist/bundle/{chunk-ACLILULA.js → chunk-VDUGE6TH.js} +2 -2
  54. package/dist/bundle/{chunk-3YRE6DNM.js → chunk-VINSQR4X.js} +7 -7
  55. package/dist/bundle/{chunk-UEGABYXI.js → chunk-VQZCIDSO.js} +2 -2
  56. package/dist/bundle/{chunk-ERBEBORA.js → chunk-WBAA2X3E.js} +10 -10
  57. package/dist/bundle/{chunk-M7C4IGJ6.js → chunk-Z75WYAX6.js} +6 -6
  58. package/dist/bundle/{chunk-GLLLYACZ.js → chunk-Z7N4MGOQ.js} +5 -5
  59. package/dist/bundle/{chunk-YA2JPMYX.js → chunk-ZKLXSVIO.js} +1 -1
  60. package/dist/bundle/{chunk-DPSH46NO.js → chunk-ZZSHGCRC.js} +3 -3
  61. package/dist/bundle/{command-contract-Y3GIKCPB.js → command-contract-Y4ZQAJEC.js} +14 -13
  62. package/dist/bundle/{decode-WVIDLK4E.js → decode-BIOOL5E4.js} +2 -2
  63. package/dist/bundle/{dist-KGQWS3XL.js → dist-TJVIRLE5.js} +79 -17
  64. package/dist/bundle/{echarts-VMKACZBF.js → echarts-ECPGMKXO.js} +2 -2
  65. package/dist/bundle/{embed-EQINOOST.js → embed-F7JFSLHN.js} +3 -3
  66. package/dist/bundle/{embedder-LM52TDRN.js → embedder-U4G74HV3.js} +6 -6
  67. package/dist/bundle/{first-run-H4VXZAAF.js → first-run-JTYPUYQP.js} +5 -5
  68. package/dist/bundle/first-screen-W6RWTAU7.js +33 -0
  69. package/dist/bundle/{instructions-NLSME663.js → instructions-WNCGZ7OJ.js} +1 -1
  70. package/dist/bundle/mail.js +2 -2
  71. package/dist/bundle/{node-FGMSXLTA.js → node-UIRGGMGT.js} +2 -2
  72. package/dist/bundle/{node-sqlite-K3T3ZRBY.js → node-sqlite-4ZM7OPRF.js} +3 -3
  73. package/dist/bundle/{oauth-OJKJ6JLH.js → oauth-5RAJZPBW.js} +4 -4
  74. package/dist/bundle/{open-DCYIXHXS.js → open-7ORCHOAI.js} +2 -2
  75. package/dist/bundle/{openai-C4H4W57J.js → openai-XSJNXJA7.js} +10 -10
  76. package/dist/bundle/{process-MN4NSYGA.js → process-ZLO72UVZ.js} +1 -1
  77. package/dist/bundle/{program-ZZZOKWCX.js → program-PFVJDKM4.js} +1911 -1655
  78. package/dist/bundle/{prompt-ELEJUDAU.js → prompt-IDUPCUGM.js} +2 -2
  79. package/dist/bundle/{recognize-G2FVMI5M.js → recognize-OS3EZKIM.js} +1 -1
  80. package/dist/bundle/{remote-F4YVSEYM.js → remote-PF4LZR65.js} +4 -4
  81. package/dist/bundle/{rerank-7VM5R5N6.js → rerank-CQNZF3JI.js} +4 -4
  82. package/dist/bundle/{serve-A7NRFPRN.js → serve-Y2DDLGBT.js} +6 -6
  83. package/dist/bundle/server-I3IALQMC.js +65 -0
  84. package/dist/bundle/{server-7R2BEIRY.js → server-TVRT7YEY.js} +33 -32
  85. package/dist/bundle/{sqlite-runtime-4SKUB4EN.js → sqlite-runtime-5343C3OE.js} +3 -3
  86. package/dist/bundle/{state-S2FKK2XB.js → state-4GBTMPIV.js} +3 -3
  87. package/dist/bundle/{store-4HAARQVR.js → store-OLBLTQPT.js} +56 -13
  88. package/dist/bundle/{store-FLHO3UMA.js → store-QA6QJ5BB.js} +20 -11
  89. package/dist/bundle/store-maintenance-command-LB6CMGP4.js +55 -0
  90. package/dist/commands/login.d.ts.map +1 -1
  91. package/dist/commands/login.js +19 -4
  92. package/dist/commands/login.js.map +1 -1
  93. package/dist/commands/session-start.d.ts.map +1 -1
  94. package/dist/commands/session-start.js +86 -11
  95. package/dist/commands/session-start.js.map +1 -1
  96. package/dist/mail/imap/errors.d.ts.map +1 -1
  97. package/dist/mail/imap/errors.js +14 -1
  98. package/dist/mail/imap/errors.js.map +1 -1
  99. package/dist/providers.d.ts +7 -0
  100. package/dist/providers.d.ts.map +1 -1
  101. package/dist/providers.js +5 -0
  102. package/dist/providers.js.map +1 -1
  103. package/dist/reasons.d.ts.map +1 -1
  104. package/dist/reasons.js +3 -0
  105. package/dist/reasons.js.map +1 -1
  106. package/dist/version.d.ts +1 -1
  107. package/dist/version.js +1 -1
  108. package/package.json +3 -3
  109. package/dist/bundle/chunk-KVSC657S.js +0 -656
  110. package/dist/bundle/first-screen-ZP74TJLK.js +0 -32
  111. package/dist/bundle/server-DFJA2HBO.js +0 -64
  112. package/dist/bundle/store-maintenance-command-BINJIQ6F.js +0 -54
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.20.0 — 08.11.2026
6
+
7
+ ### Changed — may break callers
8
+
9
+ - **mail runs on cli-core 0.608.0, and the shared store moves to version 57.** A WireCat tool on a cli-core older
10
+ than 0.606.0 then refuses the store and asks to be upgraded, so update every WireCat CLI together. A CRM's deal and
11
+ lead people are stored as reported, not confirmed by the owner, and `config set` takes
12
+ `crm.<provider>:<account>.links` and `crm.<provider>:<account>.company-types`.
13
+
14
+ ## 0.19.0 — 08.11.2026
15
+
16
+ ### Added
17
+
18
+ - **`session start --json --answer-stdin` signs in from WireCat Desktop's window.** Each question is a `needs` line
19
+ on stderr and its answer one line on stdin: the address (unless `--address` gives it), the IMAP and SMTP servers
20
+ only when discovery finds none, and the app password as a secret, with a hint naming the provider's own page on
21
+ making one. `progress` lines say when the server is looked up and the login checked; Outlook, Microsoft 365 and
22
+ Gmail over OAuth send an `open_url` line. A refused or failed check carries a reason: `mail.login-refused`,
23
+ `mail.app-password-required` and `mail.imap-disabled` (both from Gmail's own words), `mail.host-unreachable`.
24
+ Nothing changes at a terminal.
25
+
26
+ ### Fixed
27
+
28
+ - Updated cli-core to 0.604.0.
29
+
5
30
  ## 0.18.0 — 07.11.2026
6
31
 
7
32
  ### Fixed
package/dist/bin/mail.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.18.0\n")
12
+ process.stdout.write("0.20.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -28,7 +28,7 @@ if (
28
28
  : next(specifier, context),
29
29
  })
30
30
  }
31
- const chunks = ["../bundle/all-profiles-4CVOXA5Y.js","../bundle/anthropic-5VIKYINO.js","../bundle/app-server-LTSQBDPF.js","../bundle/bun-C7DBRUW2.js","../bundle/bun-sqlite-Y5JKT62B.js","../bundle/decode-WVIDLK4E.js","../bundle/dispatch-R5OF2FVZ.js","../bundle/dist-HFUVURJG.js","../bundle/dist-KGQWS3XL.js","../bundle/echarts-VMKACZBF.js","../bundle/embed-EQINOOST.js","../bundle/embedder-LM52TDRN.js","../bundle/failure-WYKVF6RH.js","../bundle/first-screen-ZP74TJLK.js","../bundle/instructions-NLSME663.js","../bundle/mcp-CFVG2OUS.js","../bundle/node-FGMSXLTA.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-K3T3ZRBY.js","../bundle/oauth-OJKJ6JLH.js","../bundle/open-DCYIXHXS.js","../bundle/openai-C4H4W57J.js","../bundle/process-MN4NSYGA.js","../bundle/program-ZZZOKWCX.js","../bundle/prompt-ELEJUDAU.js","../bundle/recognize-G2FVMI5M.js","../bundle/remote-F4YVSEYM.js","../bundle/rerank-7VM5R5N6.js","../bundle/serve-A7NRFPRN.js","../bundle/server-7R2BEIRY.js","../bundle/server-DFJA2HBO.js","../bundle/sqlite-runtime-4SKUB4EN.js","../bundle/state-S2FKK2XB.js","../bundle/store-4HAARQVR.js","../bundle/store-FLHO3UMA.js","../bundle/store-maintenance-command-BINJIQ6F.js"]
31
+ const chunks = ["../bundle/all-profiles-DTUWUCQQ.js","../bundle/anthropic-YJAEQSNT.js","../bundle/app-server-3ZXSTBA3.js","../bundle/bun-34VBM7C5.js","../bundle/bun-sqlite-GCT7ROCK.js","../bundle/decode-BIOOL5E4.js","../bundle/dispatch-R5OF2FVZ.js","../bundle/dist-HFUVURJG.js","../bundle/dist-TJVIRLE5.js","../bundle/echarts-ECPGMKXO.js","../bundle/embed-F7JFSLHN.js","../bundle/embedder-U4G74HV3.js","../bundle/failure-WYKVF6RH.js","../bundle/first-screen-W6RWTAU7.js","../bundle/instructions-WNCGZ7OJ.js","../bundle/mcp-CFVG2OUS.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-UIRGGMGT.js","../bundle/node-sqlite-4ZM7OPRF.js","../bundle/oauth-5RAJZPBW.js","../bundle/open-7ORCHOAI.js","../bundle/openai-XSJNXJA7.js","../bundle/process-ZLO72UVZ.js","../bundle/program-PFVJDKM4.js","../bundle/prompt-IDUPCUGM.js","../bundle/recognize-OS3EZKIM.js","../bundle/remote-PF4LZR65.js","../bundle/rerank-CQNZF3JI.js","../bundle/serve-Y2DDLGBT.js","../bundle/server-I3IALQMC.js","../bundle/server-TVRT7YEY.js","../bundle/sqlite-runtime-5343C3OE.js","../bundle/state-4GBTMPIV.js","../bundle/store-OLBLTQPT.js","../bundle/store-QA6QJ5BB.js","../bundle/store-maintenance-command-LB6CMGP4.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -2,19 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-RIO3TD3I.js";
5
+ } from "./chunk-QE72KTS7.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  StdioServerTransport,
10
10
  callerOf,
11
11
  serveStdio
12
- } from "./chunk-TVZ77ZOV.js";
12
+ } from "./chunk-FTI73RLC.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-U43HUE35.js";
17
- import "./chunk-ZLH465EU.js";
16
+ import "./chunk-B74SOC4R.js";
17
+ import "./chunk-SYEICLTR.js";
18
+ import "./chunk-4FWJNIPH.js";
18
19
  import "./chunk-QZLK2ISN.js";
19
20
  import "./chunk-BMV56JCL.js";
20
21
  import "./chunk-BHNBWFT5.js";
@@ -24,7 +25,7 @@ import {
24
25
  __name
25
26
  } from "./chunk-ZVVMGPBJ.js";
26
27
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
28
29
  import { spawn } from "node:child_process";
29
30
  import { randomUUID } from "node:crypto";
30
31
  var PROTOCOL = "2025-06-18";
@@ -258,7 +259,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
258
259
  }, "serveAllProfilesOverStdio");
259
260
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
260
261
  const { build, close } = allProfilesServer(options);
261
- const { serveOverHttp } = await import("./serve-A7NRFPRN.js");
262
+ const { serveOverHttp } = await import("./serve-Y2DDLGBT.js");
262
263
  const listening = await serveOverHttp(build, {
263
264
  ...http,
264
265
  appName: options.command,
@@ -5,11 +5,11 @@ import {
5
5
  } from "./chunk-XQUUANA2.js";
6
6
  import {
7
7
  checkedOptions
8
- } from "./chunk-JO3BIMYK.js";
8
+ } from "./chunk-QPRXTLMD.js";
9
9
  import {
10
10
  messagesFor,
11
11
  systemFor
12
- } from "./chunk-OMKPALMX.js";
12
+ } from "./chunk-TCCN5TON.js";
13
13
  import "./chunk-BMV56JCL.js";
14
14
  import {
15
15
  array,
@@ -23,7 +23,7 @@ import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/models/anthropic.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/models/anthropic.js
27
27
  var options = strictObject({
28
28
  stop_sequences: optional(array(string()))
29
29
  });
@@ -3,42 +3,42 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-A5OMARL4.js";
6
+ } from "./chunk-2PPEDB67.js";
7
7
  import {
8
8
  answered,
9
9
  failed,
10
10
  registerCommands,
11
11
  runCommandForAgent,
12
12
  toolsFromCommands
13
- } from "./chunk-C5T5K7HW.js";
13
+ } from "./chunk-P6FT6YYT.js";
14
14
  import {
15
15
  mcpUrlOf
16
- } from "./chunk-P6WCG6X2.js";
16
+ } from "./chunk-HN43G27G.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-ERBEBORA.js";
21
- import "./chunk-6RO5RDNR.js";
20
+ } from "./chunk-WBAA2X3E.js";
21
+ import "./chunk-7XLOWYGD.js";
22
22
  import {
23
23
  appInstructions
24
- } from "./chunk-RQSF7X22.js";
24
+ } from "./chunk-P2QJA7S5.js";
25
25
  import {
26
26
  answeredWire
27
- } from "./chunk-RIO3TD3I.js";
27
+ } from "./chunk-QE72KTS7.js";
28
28
  import {
29
29
  StdioServerTransport,
30
30
  serveStdio
31
- } from "./chunk-TVZ77ZOV.js";
31
+ } from "./chunk-FTI73RLC.js";
32
32
  import {
33
33
  McpServer
34
34
  } from "./chunk-5D4AEUVA.js";
35
- import "./chunk-GRP67IQ4.js";
36
- import "./chunk-23HWKHPZ.js";
37
- import "./chunk-OLJDZTHB.js";
38
- import "./chunk-SIYT2BBI.js";
39
- import "./chunk-OMKPALMX.js";
40
- import "./chunk-WA3DQSAZ.js";
41
- import "./chunk-DPSH46NO.js";
35
+ import "./chunk-72N26BQM.js";
36
+ import "./chunk-QTMVGOSF.js";
37
+ import "./chunk-NOVBK4SY.js";
38
+ import "./chunk-SFC46MP2.js";
39
+ import "./chunk-TCCN5TON.js";
40
+ import "./chunk-MDDB7M7Z.js";
41
+ import "./chunk-ZZSHGCRC.js";
42
42
  import {
43
43
  DEFAULT_OUTPUT_BYTES,
44
44
  changesAuthorityAt,
@@ -48,35 +48,36 @@ import {
48
48
  readOnlyLockOf,
49
49
  readsOverMcpAt,
50
50
  rootOf2 as rootOf
51
- } from "./chunk-NDJZQCF3.js";
52
- import "./chunk-L3YX7A5M.js";
53
- import "./chunk-U43HUE35.js";
51
+ } from "./chunk-HSBGNVEL.js";
52
+ import "./chunk-HRRSTIGP.js";
53
+ import "./chunk-B74SOC4R.js";
54
54
  import "./chunk-UWL2IOII.js";
55
55
  import "./chunk-3DQYO7FB.js";
56
- import "./chunk-ACLILULA.js";
56
+ import "./chunk-VDUGE6TH.js";
57
57
  import {
58
58
  mcpHttpMarker
59
- } from "./chunk-BMGVKULS.js";
60
- import "./chunk-UEGABYXI.js";
61
- import "./chunk-ITUC5WAV.js";
62
- import "./chunk-ZT2Y267T.js";
63
- import "./chunk-GLLLYACZ.js";
64
- import "./chunk-MCR43SWG.js";
65
- import "./chunk-3W5H4TM7.js";
66
- import "./chunk-SMS5YNPB.js";
67
- import "./chunk-OUGGAAXI.js";
68
- import "./chunk-KVSC657S.js";
69
- import "./chunk-N5VEJ3E7.js";
70
- import "./chunk-2NWOYXPJ.js";
71
- import "./chunk-ZLH465EU.js";
72
- import "./chunk-3YRE6DNM.js";
73
- import "./chunk-QPF4LTK5.js";
74
- import "./chunk-HTFBXGJF.js";
59
+ } from "./chunk-SCIC2CJS.js";
60
+ import "./chunk-VQZCIDSO.js";
61
+ import "./chunk-T3DTYJTG.js";
62
+ import "./chunk-RY7PBP4F.js";
63
+ import "./chunk-566MEXK5.js";
64
+ import "./chunk-KMQAHDBM.js";
65
+ import "./chunk-LTXYJAJK.js";
66
+ import "./chunk-HJ2CXDKJ.js";
67
+ import "./chunk-I2SDXWLR.js";
68
+ import "./chunk-SYEICLTR.js";
69
+ import "./chunk-4FWJNIPH.js";
70
+ import "./chunk-VINSQR4X.js";
71
+ import "./chunk-3HDQVTND.js";
72
+ import "./chunk-OKO2Q6H6.js";
73
+ import "./chunk-Z7N4MGOQ.js";
74
+ import "./chunk-O3M2S62X.js";
75
+ import "./chunk-RPCKBXKN.js";
75
76
  import "./chunk-UHC5I3JV.js";
76
77
  import "./chunk-QZLK2ISN.js";
77
78
  import "./chunk-D72URWJE.js";
78
- import "./chunk-AOMSP4EI.js";
79
- import "./chunk-5S6Q3SWU.js";
79
+ import "./chunk-AF62BPIW.js";
80
+ import "./chunk-ODFHIXMA.js";
80
81
  import "./chunk-BMV56JCL.js";
81
82
  import {
82
83
  mcpErrorResult
@@ -85,12 +86,12 @@ import "./chunk-Y5E2WNWB.js";
85
86
  import {
86
87
  CliError
87
88
  } from "./chunk-DALBYUPC.js";
88
- import "./chunk-43I5XD7S.js";
89
+ import "./chunk-RT6SLZBI.js";
89
90
  import {
90
91
  __name
91
92
  } from "./chunk-ZVVMGPBJ.js";
92
93
 
93
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
94
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
94
95
  var EXCLUDED = [["mcp"]];
95
96
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
96
97
  const { app } = options;
@@ -208,7 +209,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
208
209
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
209
210
  const { app } = options;
210
211
  const { build } = createAppServer(command, context, options);
211
- const { serveOverHttp } = await import("./serve-A7NRFPRN.js");
212
+ const { serveOverHttp } = await import("./serve-Y2DDLGBT.js");
212
213
  const listening = await serveOverHttp(build, {
213
214
  ...http,
214
215
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-43I5XD7S.js";
21
+ } from "./chunk-RT6SLZBI.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-CPEN6BZZ.js";
6
+ } from "./chunk-LF5XM4HE.js";
7
7
  import "./chunk-BMV56JCL.js";
8
8
  import "./chunk-BHNBWFT5.js";
9
9
  import {
@@ -14,7 +14,7 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
18
18
  var customised = false;
19
19
  var ownLibrary = /* @__PURE__ */ __name(async () => {
20
20
  try {
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-C5T5K7HW.js";
23
+ } from "./chunk-P6FT6YYT.js";
24
24
  import {
25
25
  CHART_KINDS,
26
26
  CHART_SIZE,
@@ -34,23 +34,23 @@ import {
34
34
  registerPrompts,
35
35
  stdinFieldOf,
36
36
  syncsFirst
37
- } from "./chunk-P6WCG6X2.js";
37
+ } from "./chunk-HN43G27G.js";
38
38
  import {
39
39
  agentJson,
40
40
  skillResource
41
- } from "./chunk-ERBEBORA.js";
41
+ } from "./chunk-WBAA2X3E.js";
42
42
  import {
43
43
  instructions
44
- } from "./chunk-RQSF7X22.js";
44
+ } from "./chunk-P2QJA7S5.js";
45
45
  import {
46
46
  answeredWire
47
- } from "./chunk-RIO3TD3I.js";
47
+ } from "./chunk-QE72KTS7.js";
48
48
  import {
49
49
  StdioServerTransport,
50
50
  callerOf,
51
51
  callingAgent,
52
52
  serveStdio
53
- } from "./chunk-TVZ77ZOV.js";
53
+ } from "./chunk-FTI73RLC.js";
54
54
  import {
55
55
  McpServer,
56
56
  ResourceTemplate
@@ -58,7 +58,7 @@ import {
58
58
  import {
59
59
  connectedFor,
60
60
  guardFor
61
- } from "./chunk-GRP67IQ4.js";
61
+ } from "./chunk-72N26BQM.js";
62
62
  import {
63
63
  capability,
64
64
  dateWindow,
@@ -67,10 +67,10 @@ import {
67
67
  servicesFor,
68
68
  storedDeps,
69
69
  wholeList
70
- } from "./chunk-23HWKHPZ.js";
70
+ } from "./chunk-QTMVGOSF.js";
71
71
  import {
72
72
  findCommand
73
- } from "./chunk-DPSH46NO.js";
73
+ } from "./chunk-ZZSHGCRC.js";
74
74
  import {
75
75
  DEFAULT_OUTPUT_BYTES,
76
76
  changesAuthorityAt,
@@ -85,28 +85,30 @@ import {
85
85
  sealed,
86
86
  snakeKeys,
87
87
  typedCommand
88
- } from "./chunk-NDJZQCF3.js";
88
+ } from "./chunk-HSBGNVEL.js";
89
89
  import {
90
90
  levelFor,
91
91
  readKeysForCommand
92
- } from "./chunk-L3YX7A5M.js";
92
+ } from "./chunk-HRRSTIGP.js";
93
93
  import {
94
- isCliFailure,
95
94
  withCaller
96
- } from "./chunk-U43HUE35.js";
95
+ } from "./chunk-B74SOC4R.js";
97
96
  import {
98
97
  mcpHttpMarker
99
- } from "./chunk-BMGVKULS.js";
100
- import {
101
- warmEmbedders
102
- } from "./chunk-GLLLYACZ.js";
98
+ } from "./chunk-SCIC2CJS.js";
103
99
  import {
104
100
  openStore,
105
101
  pdfPreviewLimits
106
- } from "./chunk-OUGGAAXI.js";
102
+ } from "./chunk-KMQAHDBM.js";
107
103
  import {
108
104
  timezoneOf
109
- } from "./chunk-2NWOYXPJ.js";
105
+ } from "./chunk-I2SDXWLR.js";
106
+ import {
107
+ isCliFailure
108
+ } from "./chunk-SYEICLTR.js";
109
+ import {
110
+ warmEmbedders
111
+ } from "./chunk-Z7N4MGOQ.js";
110
112
  import {
111
113
  description,
112
114
  integer,
@@ -131,10 +133,10 @@ import {
131
133
  __name
132
134
  } from "./chunk-ZVVMGPBJ.js";
133
135
 
134
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/server.js
136
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/server.js
135
137
  import { randomUUID } from "node:crypto";
136
138
 
137
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
139
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
138
140
  var agentLog = /* @__PURE__ */ __name((open) => {
139
141
  let held;
140
142
  return {
@@ -153,7 +155,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
153
155
  };
154
156
  }, "agentLog");
155
157
 
156
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/resources.js
158
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/resources.js
157
159
  var LISTED = 100;
158
160
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
159
161
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -191,7 +193,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
191
193
  });
192
194
  }, "registerResources");
193
195
 
194
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/session.js
196
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/session.js
195
197
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
196
198
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
197
199
  var MessengerSession = class {
@@ -266,7 +268,7 @@ var MessengerSession = class {
266
268
  }
267
269
  };
268
270
 
269
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
271
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
270
272
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
271
273
  const _command = messenger.app.command;
272
274
  return {
@@ -320,7 +322,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
320
322
  };
321
323
  }, "attachmentsTools");
322
324
 
323
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
325
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
324
326
  var PHOTO_LIMIT = 512 * 1024;
325
327
  var IMAGE_TYPES = [
326
328
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -374,7 +376,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
374
376
  return new Uint8Array(Buffer.concat(chunks));
375
377
  }, "readUpTo");
376
378
 
377
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
379
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
378
380
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
379
381
  stats_charts: tool({
380
382
  title: "A chart from a chat's statistics",
@@ -411,14 +413,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
411
413
  })
412
414
  }), "statsTools");
413
415
 
414
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/tools.js
416
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/tools.js
415
417
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
416
418
  ...messagesPhotoTools(messenger),
417
419
  ...attachmentsTools(messenger),
418
420
  ...statsTools(messenger)
419
421
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
420
422
 
421
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/server.js
423
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/server.js
422
424
  var PER_RUN = /* @__PURE__ */ new Set([
423
425
  "streams",
424
426
  "stdin",
@@ -742,7 +744,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
742
744
  }, "serveOverStdio");
743
745
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
744
746
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
745
- const { serveOverHttp } = await import("./serve-A7NRFPRN.js");
747
+ const { serveOverHttp } = await import("./serve-Y2DDLGBT.js");
746
748
  const appName = messenger.app.command;
747
749
  const appEnvPrefix = messenger.app.envPrefix;
748
750
  const listening = await serveOverHttp(build, {
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-AOMSP4EI.js";
6
+ } from "./chunk-AF62BPIW.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-HTFBXGJF.js";
5
+ } from "./chunk-RPCKBXKN.js";
6
6
  import {
7
7
  resolvePaths
8
8
  } from "./chunk-BMV56JCL.js";
@@ -14,11 +14,11 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/store/shared-config.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
18
  import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
19
19
  import { dirname, join, resolve } from "node:path";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
22
22
  var DEFAULT_TASK_CATEGORIES = [
23
23
  {
24
24
  name: "taxes",
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
773
773
  }
774
774
  }, "storedTaskCategories");
775
775
 
776
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/store/shared-config.js
776
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/shared-config.js
777
777
  var SECTION = "task_categories";
778
778
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
779
779
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/secrets.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  validateFormattedText
5
- } from "./chunk-SIYT2BBI.js";
5
+ } from "./chunk-SFC46MP2.js";
6
6
  import {
7
7
  inputPolicy
8
- } from "./chunk-WA3DQSAZ.js";
8
+ } from "./chunk-MDDB7M7Z.js";
9
9
  import {
10
10
  indent
11
11
  } from "./chunk-BMV56JCL.js";
@@ -16,16 +16,12 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/checks.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/checks.js
20
20
  var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
21
21
  var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
22
22
  var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/crm.js
25
- var CRM_KINDS = ["organization", "person", "deal", "lead"];
26
- var isItemKind = /* @__PURE__ */ __name((kind) => kind === "deal" || kind === "lead", "isItemKind");
27
-
28
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/markdown.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/markdown.js
29
25
  var MARKERS = [
30
26
  ["**", "bold"],
31
27
  ["~~", "strike"],
@@ -71,7 +67,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
71
67
  return end;
72
68
  }, "closing");
73
69
 
74
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
70
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
75
71
  var STYLES = [
76
72
  ["**", "bold"],
77
73
  ["__", "underline"],
@@ -231,7 +227,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
231
227
  return validateFormattedText(result);
232
228
  }, "parseMarkdownSpans");
233
229
 
234
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/polls.js
230
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/polls.js
235
231
  var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
236
232
  const cast = votes.filter((vote) => vote.answers.length > 0);
237
233
  const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
@@ -1880,7 +1876,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
1880
1876
  var qrcode_default = qrcode;
1881
1877
  var stringToBytes = qrcode.stringToBytes;
1882
1878
 
1883
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/terminal/qr.js
1879
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/terminal/qr.js
1884
1880
  var QUIET_ZONE = 4;
1885
1881
  var BLACK_ON_WHITE = "\x1B[30;107m";
1886
1882
  var RESET = "\x1B[0m";
@@ -1927,7 +1923,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
1927
1923
  return lines.join("\n");
1928
1924
  }, "plainQr");
1929
1925
 
1930
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
1926
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
1931
1927
  var MARGIN = 2;
1932
1928
  var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
1933
1929
  var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
@@ -1965,8 +1961,6 @@ ${indent(drawn.text, pad + MARGIN)}`);
1965
1961
  export {
1966
1962
  bareCheck,
1967
1963
  checkWords,
1968
- CRM_KINDS,
1969
- isItemKind,
1970
1964
  parseMarkdown,
1971
1965
  parseMarkdownSpans,
1972
1966
  countedPoll,
@@ -5,7 +5,7 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-N5VEJ3E7.js";
8
+ } from "./chunk-HJ2CXDKJ.js";
9
9
  import {
10
10
  array,
11
11
  nullable,
@@ -18,7 +18,7 @@ import {
18
18
  unknown
19
19
  } from "./chunk-BHNBWFT5.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/note.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/note.js
22
22
  var link = {
23
23
  target_text: nullable(text),
24
24
  kind: text,