@wirecat/mail-cli 0.21.0 → 0.23.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 (121) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +5 -3
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-DTUWUCQQ.js → all-profiles-CI32WFEV.js} +9 -9
  5. package/dist/bundle/{anthropic-YJAEQSNT.js → anthropic-ICSOMJIN.js} +9 -7
  6. package/dist/bundle/{app-server-3ZXSTBA3.js → app-server-3F4ZB7DH.js} +46 -46
  7. package/dist/bundle/{bun-34VBM7C5.js → bun-7AHNFZMZ.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-GCT7ROCK.js → bun-sqlite-UIWRS4HI.js} +4 -4
  9. package/dist/bundle/{chunk-NOVBK4SY.js → chunk-2BAO4T4Z.js} +12 -12
  10. package/dist/bundle/{chunk-UWL2IOII.js → chunk-3QVGB2CI.js} +2 -2
  11. package/dist/bundle/{chunk-HN43G27G.js → chunk-4PNIZUEC.js} +45 -27
  12. package/dist/bundle/{chunk-LF5XM4HE.js → chunk-4TKQIXND.js} +1 -1
  13. package/dist/bundle/{chunk-HSBGNVEL.js → chunk-4YTX5YAU.js} +334 -185
  14. package/dist/bundle/{chunk-LTXYJAJK.js → chunk-5AQ4S4TZ.js} +24 -63
  15. package/dist/bundle/{chunk-ODFHIXMA.js → chunk-5AS5N7V5.js} +1 -1
  16. package/dist/bundle/{chunk-WBAA2X3E.js → chunk-5J4WNTTM.js} +11 -11
  17. package/dist/bundle/{chunk-GAPQENMY.js → chunk-5QQOUYNA.js} +22 -4
  18. package/dist/bundle/{chunk-RPCKBXKN.js → chunk-5Y2WRUYP.js} +2 -2
  19. package/dist/bundle/{chunk-AF62BPIW.js → chunk-5Z7LZAVP.js} +5 -5
  20. package/dist/bundle/{chunk-SYEICLTR.js → chunk-6FSLEARF.js} +1 -1
  21. package/dist/bundle/{chunk-QTMVGOSF.js → chunk-7DFWXIY5.js} +1336 -796
  22. package/dist/bundle/{chunk-J4UZXBEV.js → chunk-7OVVX4F4.js} +1 -1
  23. package/dist/bundle/{chunk-QE72KTS7.js → chunk-7SIWMF77.js} +1 -1
  24. package/dist/bundle/{chunk-J2U6LUT5.js → chunk-7ZDH2XEY.js} +3 -3
  25. package/dist/bundle/{chunk-SFC46MP2.js → chunk-AFPETMXZ.js} +10 -10
  26. package/dist/bundle/{chunk-Z7N4MGOQ.js → chunk-AHRHP2H2.js} +5 -5
  27. package/dist/bundle/{chunk-HJ2CXDKJ.js → chunk-B4MWHI2V.js} +12 -12
  28. package/dist/bundle/{chunk-HRRSTIGP.js → chunk-B6GITVDX.js} +10 -6
  29. package/dist/bundle/{chunk-3DSYLE5N.js → chunk-BT7UUI6E.js} +2 -2
  30. package/dist/bundle/{chunk-72N26BQM.js → chunk-CNYQ3TTZ.js} +88 -88
  31. package/dist/bundle/{chunk-RFB27ACZ.js → chunk-D6WTKSRA.js} +2 -2
  32. package/dist/bundle/{chunk-4FWJNIPH.js → chunk-ELGEHZK2.js} +1 -1
  33. package/dist/bundle/{chunk-3HDQVTND.js → chunk-ETIUB2DF.js} +5 -5
  34. package/dist/bundle/{chunk-VDUGE6TH.js → chunk-FHCOGR7S.js} +2 -2
  35. package/dist/bundle/{chunk-VQZCIDSO.js → chunk-FIZWQTUC.js} +3 -3
  36. package/dist/bundle/{chunk-KMQAHDBM.js → chunk-FVKZ55I2.js} +860 -420
  37. package/dist/bundle/{chunk-BHNBWFT5.js → chunk-GOMJNH56.js} +44 -0
  38. package/dist/bundle/{chunk-FTI73RLC.js → chunk-HGV7DSSA.js} +2 -2
  39. package/dist/bundle/{chunk-RY7PBP4F.js → chunk-HN6PB7F5.js} +16 -16
  40. package/dist/bundle/{chunk-R3WPMQYZ.js → chunk-HRIYU2HJ.js} +245 -387
  41. package/dist/bundle/{chunk-ZKLXSVIO.js → chunk-I3YNNSGB.js} +1 -1
  42. package/dist/bundle/{chunk-MDDB7M7Z.js → chunk-IMIY7HQB.js} +1 -1
  43. package/dist/bundle/{chunk-2PPEDB67.js → chunk-JDKC7EXM.js} +30 -30
  44. package/dist/bundle/{chunk-T3DTYJTG.js → chunk-JO4BJYVE.js} +1 -1
  45. package/dist/bundle/{chunk-O3M2S62X.js → chunk-KJQZXCNK.js} +3 -3
  46. package/dist/bundle/{chunk-T4FVIPUJ.js → chunk-KNRONMVG.js} +2 -2
  47. package/dist/bundle/{chunk-BMV56JCL.js → chunk-LLYVBO3R.js} +1 -1
  48. package/dist/bundle/{chunk-TCCN5TON.js → chunk-NEDYKKJJ.js} +24 -2
  49. package/dist/bundle/{chunk-OKO2Q6H6.js → chunk-NKDYHAHP.js} +2 -2
  50. package/dist/bundle/{chunk-P2QJA7S5.js → chunk-OMW37FXK.js} +1 -1
  51. package/dist/bundle/{chunk-P6FT6YYT.js → chunk-R4RAWEMV.js} +16 -16
  52. package/dist/bundle/{chunk-V6OIIVH3.js → chunk-RIAZTS6C.js} +11 -11
  53. package/dist/bundle/{chunk-7XLOWYGD.js → chunk-S2U5BXWS.js} +19 -4
  54. package/dist/bundle/{chunk-566MEXK5.js → chunk-SCH3NC5X.js} +3 -3
  55. package/dist/bundle/{chunk-Z75WYAX6.js → chunk-SETCGPFG.js} +7 -7
  56. package/dist/bundle/{chunk-4WIEVQ2Q.js → chunk-SGMENSI6.js} +127 -9
  57. package/dist/bundle/{chunk-I2SDXWLR.js → chunk-TEL2OMS5.js} +97 -54
  58. package/dist/bundle/{chunk-SCIC2CJS.js → chunk-UA4BOLIY.js} +4 -4
  59. package/dist/bundle/{chunk-VINSQR4X.js → chunk-UTLJQG6Q.js} +7 -7
  60. package/dist/bundle/{chunk-ZZSHGCRC.js → chunk-WQRX4RQS.js} +4 -4
  61. package/dist/bundle/{chunk-MD64ITYO.js → chunk-XP5FBDIG.js} +1 -1
  62. package/dist/bundle/{chunk-RT6SLZBI.js → chunk-XV3M3NAN.js} +1 -1
  63. package/dist/bundle/{chunk-B74SOC4R.js → chunk-ZYHBMDNU.js} +8 -8
  64. package/dist/bundle/command-contract-UIRWJVEY.js +35 -0
  65. package/dist/bundle/{decode-BIOOL5E4.js → decode-BJXABRAN.js} +4 -4
  66. package/dist/bundle/{dispatch-R5OF2FVZ.js → dispatch-G4CYFWQ2.js} +1 -1
  67. package/dist/bundle/{dist-TJVIRLE5.js → dist-LLEA6R4V.js} +36 -22
  68. package/dist/bundle/{echarts-ECPGMKXO.js → echarts-YPTKBOZV.js} +2 -2
  69. package/dist/bundle/{embed-F7JFSLHN.js → embed-DMROTI5M.js} +5 -5
  70. package/dist/bundle/{embedder-U4G74HV3.js → embedder-DWMHXCHJ.js} +8 -8
  71. package/dist/bundle/{failure-WYKVF6RH.js → failure-FFPK2WYB.js} +1 -1
  72. package/dist/bundle/{first-run-JTYPUYQP.js → first-run-FQOEF2IO.js} +8 -8
  73. package/dist/bundle/first-screen-B6LF5464.js +33 -0
  74. package/dist/bundle/{instructions-WNCGZ7OJ.js → instructions-OGKMROLD.js} +1 -1
  75. package/dist/bundle/mail.js +5 -5
  76. package/dist/bundle/{node-UIRGGMGT.js → node-HIKYE546.js} +2 -2
  77. package/dist/bundle/{node-sqlite-4ZM7OPRF.js → node-sqlite-3GJAG7VO.js} +5 -5
  78. package/dist/bundle/{oauth-5RAJZPBW.js → oauth-H3DB6IHI.js} +6 -6
  79. package/dist/bundle/{open-7ORCHOAI.js → open-DJ2PRG74.js} +4 -4
  80. package/dist/bundle/{openai-XSJNXJA7.js → openai-MDBRYB55.js} +12 -12
  81. package/dist/bundle/{process-ZLO72UVZ.js → process-4LBD72JH.js} +1 -1
  82. package/dist/bundle/{program-LBLGFZWU.js → program-F6WK6RX4.js} +3713 -2439
  83. package/dist/bundle/{prompt-IDUPCUGM.js → prompt-UNPUG6SO.js} +6 -4
  84. package/dist/bundle/{recognize-OS3EZKIM.js → recognize-DMIO4PDB.js} +3 -3
  85. package/dist/bundle/{remote-PF4LZR65.js → remote-24HJA72D.js} +6 -6
  86. package/dist/bundle/{rerank-CQNZF3JI.js → rerank-PTNCHHIU.js} +6 -6
  87. package/dist/bundle/{serve-Y2DDLGBT.js → serve-T6JHM2YD.js} +8 -8
  88. package/dist/bundle/{server-TVRT7YEY.js → server-BWEYRUR3.js} +36 -36
  89. package/dist/bundle/server-VUQNR5ZD.js +65 -0
  90. package/dist/bundle/{sqlite-runtime-5343C3OE.js → sqlite-runtime-ZJ4EH5ZM.js} +5 -5
  91. package/dist/bundle/{state-4GBTMPIV.js → state-KSN4OFYW.js} +5 -5
  92. package/dist/bundle/{store-OLBLTQPT.js → store-GVBW2ZFK.js} +24 -16
  93. package/dist/bundle/{store-QA6QJ5BB.js → store-OIEZJEA7.js} +31 -14
  94. package/dist/bundle/store-maintenance-command-KJ54HLUQ.js +54 -0
  95. package/dist/commands/account-remove.d.ts +3 -0
  96. package/dist/commands/account-remove.d.ts.map +1 -0
  97. package/dist/commands/account-remove.js +65 -0
  98. package/dist/commands/account-remove.js.map +1 -0
  99. package/dist/commands/account.d.ts.map +1 -1
  100. package/dist/commands/account.js +3 -1
  101. package/dist/commands/account.js.map +1 -1
  102. package/dist/commands/context.d.ts +3 -1
  103. package/dist/commands/context.d.ts.map +1 -1
  104. package/dist/commands/context.js.map +1 -1
  105. package/dist/commands/session-start.d.ts.map +1 -1
  106. package/dist/commands/session-start.js +17 -4
  107. package/dist/commands/session-start.js.map +1 -1
  108. package/dist/mail/changes.d.ts +1 -0
  109. package/dist/mail/changes.d.ts.map +1 -1
  110. package/dist/mail/changes.js +1 -1
  111. package/dist/mail/changes.js.map +1 -1
  112. package/dist/providers.js +2 -2
  113. package/dist/providers.js.map +1 -1
  114. package/dist/version.d.ts +1 -1
  115. package/dist/version.js +1 -1
  116. package/package.json +2 -2
  117. package/dist/bundle/chunk-QPRXTLMD.js +0 -33
  118. package/dist/bundle/command-contract-Y4ZQAJEC.js +0 -35
  119. package/dist/bundle/first-screen-W6RWTAU7.js +0 -33
  120. package/dist/bundle/server-I3IALQMC.js +0 -65
  121. package/dist/bundle/store-maintenance-command-LB6CMGP4.js +0 -55
@@ -6,13 +6,13 @@ import {
6
6
  answerSchema,
7
7
  describeOptions,
8
8
  metaOf
9
- } from "./chunk-HSBGNVEL.js";
9
+ } from "./chunk-4YTX5YAU.js";
10
10
  import {
11
11
  keyForCommand
12
- } from "./chunk-HRRSTIGP.js";
12
+ } from "./chunk-B6GITVDX.js";
13
13
  import {
14
14
  jsonSchemaOf
15
- } from "./chunk-BHNBWFT5.js";
15
+ } from "./chunk-GOMJNH56.js";
16
16
  import {
17
17
  CliError
18
18
  } from "./chunk-DALBYUPC.js";
@@ -20,7 +20,7 @@ import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // 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/cli/command-contract.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
24
24
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
25
25
  var outputOf = /* @__PURE__ */ __name((command) => {
26
26
  const entity = answerEntitySchema(command);
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
9
  import { Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -2,26 +2,26 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure
5
- } from "./chunk-SYEICLTR.js";
5
+ } from "./chunk-6FSLEARF.js";
6
6
  import {
7
7
  secretNamed,
8
8
  withoutSecrets
9
- } from "./chunk-4FWJNIPH.js";
9
+ } from "./chunk-ELGEHZK2.js";
10
10
  import {
11
11
  isContentKey
12
- } from "./chunk-BMV56JCL.js";
12
+ } from "./chunk-LLYVBO3R.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
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/runs/run-context.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/runs/run-context.js
18
18
  import { AsyncLocalStorage } from "node:async_hooks";
19
19
  import { createHash } from "node:crypto";
20
20
 
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/runs/error-detail.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
22
22
  import { homedir } from "node:os";
23
23
 
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/runs/events.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/runs/events.js
25
25
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
26
26
  var renderEvent = /* @__PURE__ */ __name((event) => {
27
27
  if (event.event === "warning") {
@@ -69,7 +69,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
69
69
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
70
70
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
71
71
 
72
- // 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/error-detail.js
72
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
73
73
  var MESSAGE_AT_MOST = 500;
74
74
  var CAUSES_AT_MOST = 5;
75
75
  var FRAMES_AT_MOST = 15;
@@ -178,7 +178,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
178
178
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
179
179
  }, "redactText");
180
180
 
181
- // 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/run-context.js
181
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/runs/run-context.js
182
182
  var REDACTED = "[redacted]";
183
183
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
184
184
  if (!record)
@@ -0,0 +1,35 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-WQRX4RQS.js";
10
+ import "./chunk-4YTX5YAU.js";
11
+ import "./chunk-B6GITVDX.js";
12
+ import "./chunk-ZYHBMDNU.js";
13
+ import "./chunk-JO4BJYVE.js";
14
+ import "./chunk-FHCOGR7S.js";
15
+ import "./chunk-SCH3NC5X.js";
16
+ import "./chunk-B4MWHI2V.js";
17
+ import "./chunk-TEL2OMS5.js";
18
+ import "./chunk-6FSLEARF.js";
19
+ import "./chunk-ELGEHZK2.js";
20
+ import "./chunk-ETIUB2DF.js";
21
+ import "./chunk-KJQZXCNK.js";
22
+ import "./chunk-5Y2WRUYP.js";
23
+ import "./chunk-QZLK2ISN.js";
24
+ import "./chunk-LLYVBO3R.js";
25
+ import "./chunk-GOMJNH56.js";
26
+ import "./chunk-Y5E2WNWB.js";
27
+ import "./chunk-DALBYUPC.js";
28
+ import "./chunk-ZVVMGPBJ.js";
29
+ export {
30
+ SCHEMA_DIALECT,
31
+ commandContract,
32
+ commandPathOf,
33
+ findCommand,
34
+ outputOf
35
+ };
@@ -3,9 +3,9 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-J2U6LUT5.js";
7
- import "./chunk-BMV56JCL.js";
8
- import "./chunk-BHNBWFT5.js";
6
+ } from "./chunk-7ZDH2XEY.js";
7
+ import "./chunk-LLYVBO3R.js";
8
+ import "./chunk-GOMJNH56.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
@@ -16,7 +16,7 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
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/speech/decode.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/speech/decode.js
20
20
  import { spawn } from "node:child_process";
21
21
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
22
22
  import { createRequire } from "node:module";
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
338
338
  });
339
339
  }), "runTool");
340
340
  var fail = /* @__PURE__ */ __name(async (error, json, context) => {
341
- const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-WYKVF6RH.js");
341
+ const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-FFPK2WYB.js");
342
342
  const object = errorObjectOf(error);
343
343
  context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
344
344
  `);
@@ -1,27 +1,34 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
+ DEFAULT_LINK_CONFIG,
5
+ LINK_VERSION,
4
6
  PASTE_QR,
5
7
  atTerminal,
6
8
  bareCheck,
7
9
  checkWords,
8
10
  countedPoll,
11
+ formatLink,
12
+ linkConfigOf,
13
+ linkFor,
14
+ linkTargetOf,
9
15
  loginQr,
16
+ parseLink,
10
17
  parseMarkdown,
11
18
  parseMarkdownSpans,
12
19
  plainQr,
13
20
  terminalQr
14
- } from "./chunk-4WIEVQ2Q.js";
21
+ } from "./chunk-SGMENSI6.js";
15
22
  import {
16
23
  DETAILS,
17
24
  REASONS,
18
25
  failureContext
19
- } from "./chunk-7XLOWYGD.js";
26
+ } from "./chunk-S2U5BXWS.js";
20
27
  import {
21
28
  pollLines,
22
29
  renderMessage,
23
30
  renderMessages
24
- } from "./chunk-ZKLXSVIO.js";
31
+ } from "./chunk-I3YNNSGB.js";
25
32
  import {
26
33
  ModerationRules,
27
34
  act,
@@ -35,38 +42,30 @@ import {
35
42
  pickChat,
36
43
  pickPerson,
37
44
  validateFormattedText
38
- } from "./chunk-SFC46MP2.js";
45
+ } from "./chunk-AFPETMXZ.js";
39
46
  import {
40
47
  readSecret
41
- } from "./chunk-GAPQENMY.js";
42
- import "./chunk-MDDB7M7Z.js";
48
+ } from "./chunk-5QQOUYNA.js";
49
+ import "./chunk-IMIY7HQB.js";
43
50
  import "./chunk-HTQTIKWP.js";
44
51
  import {
45
52
  resolveOutput
46
- } from "./chunk-HRRSTIGP.js";
53
+ } from "./chunk-B6GITVDX.js";
47
54
  import {
48
55
  ADDED_ACCOUNT,
49
56
  ADDED_PROVIDER,
50
- CATALOG_KINDS,
51
- CONTRACT_KINDS,
52
- CONTRACT_STATUSES,
53
57
  COUNTER_FIELDS,
54
58
  CRM_KINDS,
55
59
  CRM_OPENS,
56
60
  FOLDER_PROVIDERS,
57
61
  KINDS,
58
- ORDER_DIRECTIONS,
59
- PERIOD_UNITS,
60
62
  PROVIDERS,
61
63
  RECORDS_ENVELOPE_SCHEMA,
62
64
  RECORDS_SCHEMA_VERSION,
63
65
  RECORD_ENTITY_TYPES,
64
66
  RECORD_OPERATIONS,
65
67
  REF_KINDS,
66
- SUBSCRIPTION_STATUSES,
67
- TRANSACTION_STATUSES,
68
68
  UNKNOWN_PROVIDER,
69
- WALLET_KINDS,
70
69
  canonicalReference,
71
70
  counterValue,
72
71
  envelopeOfJsonl,
@@ -74,8 +73,6 @@ import {
74
73
  formatLocator,
75
74
  formatReference,
76
75
  holdsKind,
77
- intervalOf,
78
- intervalText,
79
76
  isFolderProvider,
80
77
  isItemKind,
81
78
  isKind,
@@ -91,8 +88,11 @@ import {
91
88
  providers,
92
89
  rankingOptions,
93
90
  useProviders
94
- } from "./chunk-LTXYJAJK.js";
91
+ } from "./chunk-5AQ4S4TZ.js";
95
92
  import {
93
+ CATALOG_KINDS,
94
+ CONTRACT_KINDS,
95
+ CONTRACT_STATUSES,
96
96
  CURRENCY_SCALES,
97
97
  DEAL_KINDS,
98
98
  DEAL_ROLES,
@@ -101,20 +101,27 @@ import {
101
101
  INVOICE_DIRECTIONS,
102
102
  INVOICE_STATUSES,
103
103
  MONEY_DIRECTIONS,
104
+ ORDER_DIRECTIONS,
104
105
  ORDER_PURPOSES,
105
106
  ORDER_STATUSES,
106
107
  ORGANIZATION_ROLES,
108
+ PERIOD_UNITS,
107
109
  PROJECT_ROLES,
108
110
  RELATIONS,
109
111
  RELATION_KINDS,
110
112
  ROLE_LISTS,
111
113
  STAGE_OUTCOMES,
112
114
  STANDINGS,
115
+ SUBSCRIPTION_STATUSES,
113
116
  TAG_TYPES,
117
+ TRANSACTION_STATUSES,
118
+ WALLET_KINDS,
114
119
  canonicalMeetingReference,
115
120
  currencyOf,
116
121
  formatDecimal,
117
122
  formatMeetingReference,
123
+ intervalOf,
124
+ intervalText,
118
125
  inverseOf,
119
126
  isUsable,
120
127
  minorUnits,
@@ -126,11 +133,11 @@ import {
126
133
  signedMinorUnits,
127
134
  standingOf,
128
135
  usableLink
129
- } from "./chunk-I2SDXWLR.js";
130
- import "./chunk-4FWJNIPH.js";
136
+ } from "./chunk-TEL2OMS5.js";
137
+ import "./chunk-ELGEHZK2.js";
131
138
  import "./chunk-QZLK2ISN.js";
132
- import "./chunk-BMV56JCL.js";
133
- import "./chunk-BHNBWFT5.js";
139
+ import "./chunk-LLYVBO3R.js";
140
+ import "./chunk-GOMJNH56.js";
134
141
  import "./chunk-Y5E2WNWB.js";
135
142
  import "./chunk-DALBYUPC.js";
136
143
  import "./chunk-ZVVMGPBJ.js";
@@ -149,11 +156,13 @@ export {
149
156
  DEAL_KINDS,
150
157
  DEAL_ROLES,
151
158
  DEAL_STATUSES,
159
+ DEFAULT_LINK_CONFIG,
152
160
  FINANCE_REVIEWS,
153
161
  FOLDER_PROVIDERS,
154
162
  INVOICE_DIRECTIONS,
155
163
  INVOICE_STATUSES,
156
164
  KINDS,
165
+ LINK_VERSION,
157
166
  MONEY_DIRECTIONS,
158
167
  ModerationRules,
159
168
  ORDER_DIRECTIONS,
@@ -195,6 +204,7 @@ export {
195
204
  failureContext,
196
205
  foldName,
197
206
  formatDecimal,
207
+ formatLink,
198
208
  formatLocator,
199
209
  formatMeetingReference,
200
210
  formatReference,
@@ -213,6 +223,9 @@ export {
213
223
  kindIn,
214
224
  kindOf,
215
225
  kindsIn,
226
+ linkConfigOf,
227
+ linkFor,
228
+ linkTargetOf,
216
229
  loginQr,
217
230
  looksLikeReference,
218
231
  minorUnits,
@@ -221,6 +234,7 @@ export {
221
234
  moneyOf,
222
235
  normalizeTag,
223
236
  observedCounters,
237
+ parseLink,
224
238
  parseLocator,
225
239
  parseMarkdown,
226
240
  parseMarkdownSpans,
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // 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/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,11 +13,11 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-Z7N4MGOQ.js";
17
- import "./chunk-O3M2S62X.js";
18
- import "./chunk-RPCKBXKN.js";
19
- import "./chunk-BMV56JCL.js";
20
- import "./chunk-BHNBWFT5.js";
16
+ } from "./chunk-AHRHP2H2.js";
17
+ import "./chunk-KJQZXCNK.js";
18
+ import "./chunk-5Y2WRUYP.js";
19
+ import "./chunk-LLYVBO3R.js";
20
+ import "./chunk-GOMJNH56.js";
21
21
  import "./chunk-Y5E2WNWB.js";
22
22
  import "./chunk-DALBYUPC.js";
23
23
  import "./chunk-ZVVMGPBJ.js";
@@ -4,11 +4,11 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-Z7N4MGOQ.js";
8
- import "./chunk-O3M2S62X.js";
9
- import "./chunk-RPCKBXKN.js";
10
- import "./chunk-BMV56JCL.js";
11
- import "./chunk-BHNBWFT5.js";
7
+ } from "./chunk-AHRHP2H2.js";
8
+ import "./chunk-KJQZXCNK.js";
9
+ import "./chunk-5Y2WRUYP.js";
10
+ import "./chunk-LLYVBO3R.js";
11
+ import "./chunk-GOMJNH56.js";
12
12
  import {
13
13
  importFrom
14
14
  } from "./chunk-Y5E2WNWB.js";
@@ -19,11 +19,11 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // 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/images/picture/embedder.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
23
23
  import { readFileSync } from "node:fs";
24
24
  import { join } from "node:path";
25
25
 
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/images/picture/preprocess.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
27
27
  var SIZE = 224;
28
28
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
29
29
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
62
62
  return pixels;
63
63
  }, "preprocess");
64
64
 
65
- // 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/images/picture/embedder.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
66
66
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
67
67
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
68
68
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -9,7 +9,7 @@ import {
9
9
  mcpErrorResult,
10
10
  renderError,
11
11
  retryOf
12
- } from "./chunk-BHNBWFT5.js";
12
+ } from "./chunk-GOMJNH56.js";
13
13
  import "./chunk-DALBYUPC.js";
14
14
  import "./chunk-ZVVMGPBJ.js";
15
15
  export {
@@ -5,17 +5,17 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-V6OIIVH3.js";
9
- import "./chunk-UWL2IOII.js";
8
+ } from "./chunk-RIAZTS6C.js";
9
+ import "./chunk-3QVGB2CI.js";
10
10
  import "./chunk-3DQYO7FB.js";
11
- import "./chunk-VDUGE6TH.js";
12
- import "./chunk-VINSQR4X.js";
13
- import "./chunk-3HDQVTND.js";
14
- import "./chunk-RPCKBXKN.js";
11
+ import "./chunk-FHCOGR7S.js";
12
+ import "./chunk-UTLJQG6Q.js";
13
+ import "./chunk-ETIUB2DF.js";
14
+ import "./chunk-5Y2WRUYP.js";
15
15
  import "./chunk-UHC5I3JV.js";
16
16
  import "./chunk-D72URWJE.js";
17
- import "./chunk-BMV56JCL.js";
18
- import "./chunk-BHNBWFT5.js";
17
+ import "./chunk-LLYVBO3R.js";
18
+ import "./chunk-GOMJNH56.js";
19
19
  import "./chunk-Y5E2WNWB.js";
20
20
  import "./chunk-DALBYUPC.js";
21
21
  import "./chunk-ZVVMGPBJ.js";
@@ -0,0 +1,33 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ WIRECAT_TOOLS,
5
+ firstScreen,
6
+ installHelp
7
+ } from "./chunk-SETCGPFG.js";
8
+ import "./chunk-WQRX4RQS.js";
9
+ import "./chunk-HTQTIKWP.js";
10
+ import "./chunk-4YTX5YAU.js";
11
+ import "./chunk-B6GITVDX.js";
12
+ import "./chunk-ZYHBMDNU.js";
13
+ import "./chunk-JO4BJYVE.js";
14
+ import "./chunk-FHCOGR7S.js";
15
+ import "./chunk-SCH3NC5X.js";
16
+ import "./chunk-B4MWHI2V.js";
17
+ import "./chunk-TEL2OMS5.js";
18
+ import "./chunk-6FSLEARF.js";
19
+ import "./chunk-ELGEHZK2.js";
20
+ import "./chunk-ETIUB2DF.js";
21
+ import "./chunk-KJQZXCNK.js";
22
+ import "./chunk-5Y2WRUYP.js";
23
+ import "./chunk-QZLK2ISN.js";
24
+ import "./chunk-LLYVBO3R.js";
25
+ import "./chunk-GOMJNH56.js";
26
+ import "./chunk-Y5E2WNWB.js";
27
+ import "./chunk-DALBYUPC.js";
28
+ import "./chunk-ZVVMGPBJ.js";
29
+ export {
30
+ WIRECAT_TOOLS,
31
+ firstScreen,
32
+ installHelp
33
+ };
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-P2QJA7S5.js";
6
+ } from "./chunk-OMW37FXK.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -3,7 +3,7 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  IDENTITY
6
- } from "./chunk-T4FVIPUJ.js";
6
+ } from "./chunk-KNRONMVG.js";
7
7
  import {
8
8
  installerOf
9
9
  } from "./chunk-UHC5I3JV.js";
@@ -19,10 +19,10 @@ import {
19
19
  shimFiles,
20
20
  writeShim
21
21
  } from "./chunk-7SWWVDEZ.js";
22
- import "./chunk-BMV56JCL.js";
22
+ import "./chunk-LLYVBO3R.js";
23
23
  import {
24
24
  catchCrashes
25
- } from "./chunk-BHNBWFT5.js";
25
+ } from "./chunk-GOMJNH56.js";
26
26
  import "./chunk-Y5E2WNWB.js";
27
27
  import "./chunk-DALBYUPC.js";
28
28
  import {
@@ -132,7 +132,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
132
132
  return { code: 0 };
133
133
  }
134
134
  if (first === DISPATCH_FLAG) {
135
- const { runWcat } = await import("./dispatch-R5OF2FVZ.js");
135
+ const { runWcat } = await import("./dispatch-G4CYFWQ2.js");
136
136
  const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
137
137
  return { code };
138
138
  }
@@ -158,7 +158,7 @@ if (wcat.code !== void 0) {
158
158
  process.exitCode = wcat.code;
159
159
  } else {
160
160
  const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
161
- const { run } = await import("./program-LBLGFZWU.js");
161
+ const { run } = await import("./program-F6WK6RX4.js");
162
162
  try {
163
163
  process.exitCode = await run(process.argv.slice(2));
164
164
  } finally {
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-RT6SLZBI.js";
21
+ } from "./chunk-XV3M3NAN.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
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/node.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
27
27
  import { DatabaseSync } from "node:sqlite";
28
28
  var nodeSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-LF5XM4HE.js";
6
+ } from "./chunk-4TKQIXND.js";
7
7
  import {
8
8
  TIME_LIMIT_FUNCTION,
9
9
  beforeTimeLimit
10
- } from "./chunk-ODFHIXMA.js";
11
- import "./chunk-BMV56JCL.js";
12
- import "./chunk-BHNBWFT5.js";
10
+ } from "./chunk-5AS5N7V5.js";
11
+ import "./chunk-LLYVBO3R.js";
12
+ import "./chunk-GOMJNH56.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
14
  import "./chunk-DALBYUPC.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
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/store/drivers/node-sqlite.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
20
20
  import { DatabaseSync } from "node:sqlite";
21
21
  var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
22
22
  var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
@@ -3,13 +3,13 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ownerLogin,
5
5
  revokeAll
6
- } from "./chunk-RFB27ACZ.js";
6
+ } from "./chunk-D6WTKSRA.js";
7
7
  import "./chunk-5D4AEUVA.js";
8
- import "./chunk-SCIC2CJS.js";
9
- import "./chunk-VQZCIDSO.js";
10
- import "./chunk-T3DTYJTG.js";
11
- import "./chunk-BMV56JCL.js";
12
- import "./chunk-BHNBWFT5.js";
8
+ import "./chunk-UA4BOLIY.js";
9
+ import "./chunk-FIZWQTUC.js";
10
+ import "./chunk-JO4BJYVE.js";
11
+ import "./chunk-LLYVBO3R.js";
12
+ import "./chunk-GOMJNH56.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
14
  import "./chunk-DALBYUPC.js";
15
15
  import "./chunk-ZVVMGPBJ.js";
@@ -6,10 +6,10 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-AF62BPIW.js";
10
- import "./chunk-ODFHIXMA.js";
11
- import "./chunk-BMV56JCL.js";
12
- import "./chunk-BHNBWFT5.js";
9
+ } from "./chunk-5Z7LZAVP.js";
10
+ import "./chunk-5AS5N7V5.js";
11
+ import "./chunk-LLYVBO3R.js";
12
+ import "./chunk-GOMJNH56.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
14
  import "./chunk-DALBYUPC.js";
15
15
  import "./chunk-ZVVMGPBJ.js";