@wirecat/tg-cli 0.116.0 → 0.117.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 (125) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bot/transport.d.ts +1 -1
  3. package/dist/bot/transport.d.ts.map +1 -1
  4. package/dist/bot/transport.js +42 -30
  5. package/dist/bot/transport.js.map +1 -1
  6. package/dist/bundle/{adapter-6CLMTQOV.js → adapter-VNQ72MBK.js} +70 -61
  7. package/dist/bundle/{all-profiles-R2UZMH24.js → all-profiles-3W2UQTCK.js} +10 -10
  8. package/dist/bundle/{anthropic-QKIPHV2Z.js → anthropic-DFUW2KTG.js} +6 -6
  9. package/dist/bundle/{app-server-AZB2MFK6.js → app-server-5XJIMLHB.js} +49 -46
  10. package/dist/bundle/{bot-api-2IM243J4.js → bot-api-HRRBF3W6.js} +49 -49
  11. package/dist/bundle/{bot-history-G6CRVCL2.js → bot-history-GBH5XE4N.js} +18 -18
  12. package/dist/bundle/{bun-JDKPISPX.js → bun-ZMOYGG6F.js} +2 -2
  13. package/dist/bundle/{bun-sqlite-X5PY5IQT.js → bun-sqlite-6FZFMA7K.js} +5 -5
  14. package/dist/bundle/{chunk-577MFPCP.js → chunk-2452HCIV.js} +3 -3
  15. package/dist/bundle/{chunk-H72UEHNG.js → chunk-2XLKZL6K.js} +34 -28
  16. package/dist/bundle/{chunk-RSDIPQXP.js → chunk-3GRX7WP6.js} +2 -2
  17. package/dist/bundle/{chunk-PPLFOIYX.js → chunk-3MQOLYAN.js} +4 -4
  18. package/dist/bundle/{chunk-JFTCOV37.js → chunk-3RJYLN5V.js} +73 -21
  19. package/dist/bundle/{chunk-BGMV66FC.js → chunk-4JDGN6OD.js} +1 -1
  20. package/dist/bundle/{chunk-MQ7MCVZV.js → chunk-56Q5JV3Z.js} +2 -2
  21. package/dist/bundle/{chunk-4IQZRW4O.js → chunk-66FZBLRJ.js} +13 -13
  22. package/dist/bundle/{chunk-QHBVGKC3.js → chunk-6GFUL4OU.js} +206 -81
  23. package/dist/bundle/{chunk-5FCONCJO.js → chunk-6HRN7BW6.js} +1 -1
  24. package/dist/bundle/{chunk-I6JF43YP.js → chunk-7NBUT62O.js} +3 -3
  25. package/dist/bundle/{chunk-VQPLHOVQ.js → chunk-7Y3RUEVY.js} +6 -6
  26. package/dist/bundle/chunk-AG6HWPQP.js +64 -0
  27. package/dist/bundle/{chunk-HK6SIIGG.js → chunk-AUBRELCM.js} +3 -3
  28. package/dist/bundle/{chunk-4D5AUWAY.js → chunk-B2YPB5AE.js} +43 -25
  29. package/dist/bundle/{chunk-EB2IULWB.js → chunk-BXTDAGM4.js} +2 -2
  30. package/dist/bundle/{chunk-QGL2UGML.js → chunk-C6TUVV7E.js} +466 -224
  31. package/dist/bundle/{chunk-42GK3XRS.js → chunk-EA2PGDER.js} +2 -2
  32. package/dist/bundle/{chunk-N6TIFJHW.js → chunk-EL6I4WTB.js} +1 -1
  33. package/dist/bundle/{chunk-76CX2YPT.js → chunk-EPCFXKTX.js} +8 -8
  34. package/dist/bundle/{chunk-Y6VWGJ4Q.js → chunk-EZTYJ43A.js} +4 -2
  35. package/dist/bundle/{chunk-T7CDLV33.js → chunk-F6KBVIJP.js} +4 -4
  36. package/dist/bundle/{chunk-PXMHBTK3.js → chunk-FAHHERJ7.js} +4 -4
  37. package/dist/bundle/{chunk-DP5LRU7K.js → chunk-FEKXHILZ.js} +1 -1
  38. package/dist/bundle/chunk-G7B5UIE7.js +182 -0
  39. package/dist/bundle/{chunk-YLRTLZF6.js → chunk-GFHNQBD2.js} +1 -1
  40. package/dist/bundle/{chunk-SD5PUYKF.js → chunk-HORGORHK.js} +12 -12
  41. package/dist/bundle/{chunk-N42VUNTO.js → chunk-HWYSRB64.js} +2 -2
  42. package/dist/bundle/{chunk-5VFPUOJO.js → chunk-HZZGOLGP.js} +11 -11
  43. package/dist/bundle/{chunk-B4UOCWM4.js → chunk-JWIUK3SK.js} +2 -2
  44. package/dist/bundle/{chunk-NL3PAFAE.js → chunk-KVTLT4V7.js} +6 -6
  45. package/dist/bundle/{chunk-KA6EGOJY.js → chunk-L5WNE4WS.js} +2 -2
  46. package/dist/bundle/{chunk-PPSUA3IZ.js → chunk-M7V5XRM6.js} +3 -3
  47. package/dist/bundle/{chunk-XQUTJITP.js → chunk-MLHKQDUN.js} +647 -129
  48. package/dist/bundle/{chunk-RSNGMNU5.js → chunk-MP7M6FFU.js} +6 -6
  49. package/dist/bundle/{chunk-5ZIBAYIZ.js → chunk-NUCDEOFC.js} +2 -2
  50. package/dist/bundle/{chunk-KV4267S4.js → chunk-P3ASN72F.js} +1 -1
  51. package/dist/bundle/{chunk-QAKL3GXB.js → chunk-PTIB7NEE.js} +1 -1
  52. package/dist/bundle/{chunk-TZVL4U7U.js → chunk-Q7O4CQDO.js} +4 -2
  53. package/dist/bundle/{chunk-XBIPSSKI.js → chunk-QOGYHU3Q.js} +4 -4
  54. package/dist/bundle/{chunk-R52RMHWF.js → chunk-RDH2QBUE.js} +3 -3
  55. package/dist/bundle/{chunk-NUYRMU56.js → chunk-RDSLSV4M.js} +2 -2
  56. package/dist/bundle/{chunk-UCSFO5GW.js → chunk-SQXB5ZUZ.js} +3 -3
  57. package/dist/bundle/{chunk-K62YATVD.js → chunk-TFBHDIGY.js} +4 -4
  58. package/dist/bundle/{chunk-IR4S7POE.js → chunk-TG6ZYL4B.js} +8 -8
  59. package/dist/bundle/{chunk-FDI4GOIP.js → chunk-UGPZCNYC.js} +329 -291
  60. package/dist/bundle/{chunk-GV7ZJ33M.js → chunk-UYK5AXSW.js} +4 -4
  61. package/dist/bundle/{chunk-HUOXUI2M.js → chunk-V2T7NYNU.js} +55 -46
  62. package/dist/bundle/{chunk-HBUJNNZD.js → chunk-V47NPSSV.js} +28 -28
  63. package/dist/bundle/{chunk-YYKJN6H5.js → chunk-VMCQGZIA.js} +1390 -690
  64. package/dist/bundle/{chunk-LXH3SKY3.js → chunk-VRDVXXXD.js} +8 -8
  65. package/dist/bundle/{chunk-YPF6OS37.js → chunk-VW6BF6M7.js} +1 -1
  66. package/dist/bundle/{chunk-LFKEKSI5.js → chunk-X3CD475M.js} +470 -234
  67. package/dist/bundle/{chunk-SKZ2E3WC.js → chunk-XW5C4TI7.js} +1 -1
  68. package/dist/bundle/{chunk-OX6EWGSG.js → chunk-YHZFGUAP.js} +19 -19
  69. package/dist/bundle/{chunk-HLNYJPAB.js → chunk-YIXXH74F.js} +2 -2
  70. package/dist/bundle/{chunk-LSKGCJWD.js → chunk-Z4QKLHJW.js} +13617 -1795
  71. package/dist/bundle/{chunk-JJMQA272.js → chunk-ZPILMEFY.js} +9 -9
  72. package/dist/bundle/command-contract-KMMHARMR.js +33 -0
  73. package/dist/bundle/{decode-W6YPTGJA.js → decode-YMSOY2AY.js} +5 -5
  74. package/dist/bundle/{dispatch-H7EFNBEH.js → dispatch-OP27MWX5.js} +8 -8
  75. package/dist/bundle/{echarts-YAWDIC5D.js → echarts-7XS55TQY.js} +2 -2
  76. package/dist/bundle/{embed-EN4UTLV5.js → embed-QTOE7NN3.js} +6 -6
  77. package/dist/bundle/{embedder-HEKHRL7E.js → embedder-KBBRYSNH.js} +9 -9
  78. package/dist/bundle/{entry-2KB6MTCG.js → entry-HGEUYYMX.js} +7 -7
  79. package/dist/bundle/{failure-3DU3HLBQ.js → failure-4JUQFXJT.js} +2 -2
  80. package/dist/bundle/{first-run-LBG26WWO.js → first-run-CSGMEJXY.js} +11 -11
  81. package/dist/bundle/first-screen-K2PBNJNE.js +31 -0
  82. package/dist/bundle/{instructions-HA62QNPR.js → instructions-S6ZXCTFH.js} +1 -1
  83. package/dist/bundle/{mcp-PPVOM4SE.js → mcp-M4QN2E7R.js} +2 -2
  84. package/dist/bundle/{node-MZ2VWSQQ.js → node-LCIUWXXG.js} +2 -2
  85. package/dist/bundle/{node-sqlite-KNNS6DCM.js → node-sqlite-HL4WY4N2.js} +6 -6
  86. package/dist/bundle/{oauth-KWUABBSQ.js → oauth-U4KIMDKG.js} +7 -7
  87. package/dist/bundle/{open-JXMCYCIV.js → open-EH7OS7M7.js} +5 -5
  88. package/dist/bundle/{openai-HL3IR4VT.js → openai-W5TB3NA5.js} +14 -14
  89. package/dist/bundle/{process-K2FICLWY.js → process-3CVLTCTA.js} +1 -1
  90. package/dist/bundle/{program-IFOMT4JS.js → program-LOIZTK2P.js} +51 -51
  91. package/dist/bundle/{prompt-HVD3Q77P.js → prompt-IDNH7N3W.js} +5 -5
  92. package/dist/bundle/{proxy-transport-PA5SGMRY.js → proxy-transport-4DPZB2W2.js} +5 -5
  93. package/dist/bundle/{recognize-HHLVETKI.js → recognize-G5EWYXIF.js} +4 -4
  94. package/dist/bundle/{remote-HUAKXJCS.js → remote-4XTBZVZD.js} +7 -7
  95. package/dist/bundle/{rerank-NWFIV7OF.js → rerank-OWSTDLZN.js} +7 -7
  96. package/dist/bundle/{serve-ANUKAJJN.js → serve-YCPSEWP3.js} +9 -9
  97. package/dist/bundle/server-KELKX6S3.js +60 -0
  98. package/dist/bundle/{server-7Q7WAOHO.js → server-ODG4A2KK.js} +35 -35
  99. package/dist/bundle/{state-Y2AJ5XTP.js → state-OL2235G5.js} +6 -6
  100. package/dist/bundle/{store-S3IG5KWL.js → store-5AACYNDM.js} +15 -13
  101. package/dist/bundle/store-maintenance-command-3J7WZYVN.js +50 -0
  102. package/dist/bundle/tg.js +13 -13
  103. package/dist/telegram/account.d.ts.map +1 -1
  104. package/dist/telegram/account.js +4 -1
  105. package/dist/telegram/account.js.map +1 -1
  106. package/dist/telegram/errors.d.ts.map +1 -1
  107. package/dist/telegram/errors.js +2 -1
  108. package/dist/telegram/errors.js.map +1 -1
  109. package/dist/telegram/feature.d.ts +4 -1
  110. package/dist/telegram/feature.d.ts.map +1 -1
  111. package/dist/telegram/feature.js +5 -2
  112. package/dist/telegram/feature.js.map +1 -1
  113. package/dist/telegram/sending.d.ts.map +1 -1
  114. package/dist/telegram/sending.js +24 -10
  115. package/dist/telegram/sending.js.map +1 -1
  116. package/dist/version.d.ts +1 -1
  117. package/dist/version.js +1 -1
  118. package/package.json +3 -3
  119. package/dist/bundle/chunk-K2RYCCTP.js +0 -48
  120. package/dist/bundle/chunk-ZDIAPICE.js +0 -132
  121. package/dist/bundle/command-contract-DPXM4SZT.js +0 -33
  122. package/dist/bundle/first-screen-TGTSLUI6.js +0 -31
  123. package/dist/bundle/server-HCQS4YDQ.js +0 -60
  124. package/dist/bundle/store-maintenance-command-V2WC4G6J.js +0 -50
  125. /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-VOXIGICJ.js} +0 -0
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-JFTCOV37.js";
10
+ } from "./chunk-3RJYLN5V.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-42GK3XRS.js";
13
+ } from "./chunk-EA2PGDER.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,7 +18,7 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-FDI4GOIP.js";
21
+ } from "./chunk-UGPZCNYC.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -42,23 +42,23 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-LFKEKSI5.js";
45
+ } from "./chunk-X3CD475M.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
49
49
  runContextOf,
50
50
  withCaller
51
- } from "./chunk-JJMQA272.js";
51
+ } from "./chunk-ZPILMEFY.js";
52
52
  import {
53
53
  queryDescription
54
- } from "./chunk-QGL2UGML.js";
54
+ } from "./chunk-C6TUVV7E.js";
55
55
  import {
56
56
  MAX_BUFFERED_INPUT
57
- } from "./chunk-NUYRMU56.js";
57
+ } from "./chunk-RDSLSV4M.js";
58
58
  import {
59
59
  captureStreams,
60
60
  traceIdOf
61
- } from "./chunk-OX6EWGSG.js";
61
+ } from "./chunk-YHZFGUAP.js";
62
62
  import {
63
63
  COMPACT_FLAG,
64
64
  SNAKE_CASE,
@@ -97,19 +97,19 @@ import {
97
97
  unknown,
98
98
  word,
99
99
  writes
100
- } from "./chunk-76CX2YPT.js";
100
+ } from "./chunk-EPCFXKTX.js";
101
101
  import {
102
102
  CliError,
103
103
  errorCodes
104
- } from "./chunk-EB2IULWB.js";
104
+ } from "./chunk-BXTDAGM4.js";
105
105
  import {
106
106
  __name
107
107
  } from "./chunk-ZVVMGPBJ.js";
108
108
 
109
- // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/mcp/agent.js
109
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/node_modules/@wirecat/cli-core/dist/mcp/agent.js
110
110
  import { Readable } from "node:stream";
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-base@0.77.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
112
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
113
113
  var LINT_SEVERITIES = ["high", "medium", "low"];
114
114
  var lintRuleSchema = strictObject({
115
115
  id: word,
@@ -237,7 +237,7 @@ var overrideSchema = strictObject({
237
237
  });
238
238
  var overridesSchema = array(overrideSchema);
239
239
 
240
- // node_modules/.pnpm/@wirecat+cli-base@0.77.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
240
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
241
241
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
242
242
  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");
243
243
  var AUDIT_RULES = defineAuditRules([
@@ -333,6 +333,14 @@ var PARITY_GROUPS = defineParityGroups([
333
333
  members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
334
334
  covers: ["commands", "upgrade", "notes", "meetings"],
335
335
  differences: []
336
+ },
337
+ // bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
338
+ // zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
339
+ {
340
+ name: "shared-roots",
341
+ members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
342
+ covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
343
+ differences: MEMO_HAS_NO_PROFILES
336
344
  }
337
345
  ]);
338
346
  var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
@@ -346,7 +354,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
346
354
  { path: ["upgrade"], meaning: "updates the CLI" }
347
355
  ]);
348
356
 
349
- // node_modules/.pnpm/@wirecat+cli-base@0.77.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
357
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
350
358
  var fieldRuleSchema = strictObject({ id: word, rule: text });
351
359
  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");
352
360
  var FIELD_RULES = defineFieldRules([
@@ -362,7 +370,7 @@ var FIELD_RULES = defineFieldRules([
362
370
  }
363
371
  ]);
364
372
 
365
- // node_modules/.pnpm/@wirecat+cli-base@0.77.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
373
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
366
374
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
367
375
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
368
376
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -384,7 +392,7 @@ var IDENTIFIERS = defineIdentifiers([
384
392
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
385
393
  ]);
386
394
 
387
- // node_modules/.pnpm/@wirecat+cli-base@0.77.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
395
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
388
396
  var CALENDAR_FLAGS = [
389
397
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
390
398
  {
@@ -458,7 +466,47 @@ var CALENDAR_FLAGS = [
458
466
  }
459
467
  ];
460
468
 
461
- // node_modules/.pnpm/@wirecat+cli-base@0.77.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
469
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
470
+ var CRM_FLAGS = [
471
+ {
472
+ name: "--pipeline",
473
+ value: "<pipeline>",
474
+ role: "value",
475
+ type: "string",
476
+ meaning: "a CRM pipeline: pipeline:<id>, or a name only one pipeline has"
477
+ },
478
+ {
479
+ name: "--stage",
480
+ value: "<stage>",
481
+ role: "value",
482
+ type: "string",
483
+ meaning: "a stage of the record's pipeline, by the CRM's id or its name"
484
+ },
485
+ {
486
+ name: "--amount",
487
+ value: "<decimal>",
488
+ role: "value",
489
+ type: "string",
490
+ meaning: "a sum of money as a decimal, such as 1500.50, in --currency"
491
+ },
492
+ { name: "--currency", value: "<code>", role: "value", type: "string", meaning: "an ISO 4217 code, such as EUR" },
493
+ {
494
+ name: "--close-date",
495
+ value: "<date>",
496
+ role: "value",
497
+ type: "time",
498
+ meaning: "the day a deal or lead is expected to close, YYYY-MM-DD"
499
+ },
500
+ {
501
+ name: "--owner",
502
+ value: "<user>",
503
+ role: "value",
504
+ type: "id",
505
+ meaning: "the CRM user a record is assigned to, by the CRM's id"
506
+ }
507
+ ];
508
+
509
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
462
510
  var HOW_FLAGS = [
463
511
  {
464
512
  name: "--limit",
@@ -783,6 +831,7 @@ var HOW_FLAGS = [
783
831
  meaning: "tell the people it concerns about it: the chat's members, or an event's attendees"
784
832
  },
785
833
  { name: "--no-notify", role: "mode", type: "switch", meaning: "tell nobody about it" },
834
+ { name: "--open-new", role: "mode", type: "switch", meaning: "a read again for tasks also opens new tasks" },
786
835
  { name: "--offline", role: "mode", type: "switch", meaning: "answer from what was recorded and never connect" },
787
836
  {
788
837
  name: "--operation-id",
@@ -1452,7 +1501,7 @@ var HOW_FLAGS = [
1452
1501
  }
1453
1502
  ];
1454
1503
 
1455
- // node_modules/.pnpm/@wirecat+cli-base@0.77.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
1504
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
1456
1505
  var MAIL_FLAGS = [
1457
1506
  {
1458
1507
  name: "--cc",
@@ -1482,7 +1531,94 @@ var MAIL_FLAGS = [
1482
1531
  }
1483
1532
  ];
1484
1533
 
1485
- // node_modules/.pnpm/@wirecat+cli-base@0.77.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
1534
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
1535
+ var PRIVACY_FLAGS = [
1536
+ {
1537
+ name: "--about-text",
1538
+ value: "<who>",
1539
+ role: "value",
1540
+ type: "choice",
1541
+ meaning: "who sees the about text: everyone, contacts or nobody"
1542
+ },
1543
+ {
1544
+ name: "--calls",
1545
+ value: "<who>",
1546
+ role: "value",
1547
+ type: "choice",
1548
+ meaning: "whose calls ring: everyone, contacts or nobody"
1549
+ },
1550
+ {
1551
+ name: "--chat-invites",
1552
+ value: "<who>",
1553
+ role: "value",
1554
+ type: "choice",
1555
+ meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
1556
+ },
1557
+ {
1558
+ name: "--find-by-phone",
1559
+ value: "<who>",
1560
+ role: "value",
1561
+ type: "choice",
1562
+ meaning: "who finds the account by its number: everyone, contacts or nobody"
1563
+ },
1564
+ {
1565
+ name: "--hide-online",
1566
+ value: "<on|off>",
1567
+ role: "value",
1568
+ type: "choice",
1569
+ meaning: "hide online status and last seen"
1570
+ },
1571
+ {
1572
+ name: "--last-seen",
1573
+ value: "<who>",
1574
+ role: "value",
1575
+ type: "choice",
1576
+ meaning: "who sees when the account was last online: everyone, contacts or nobody"
1577
+ },
1578
+ {
1579
+ name: "--phone-number",
1580
+ value: "<who>",
1581
+ role: "value",
1582
+ type: "choice",
1583
+ meaning: "who sees the number: everyone, contacts or nobody"
1584
+ },
1585
+ {
1586
+ name: "--profile-photo",
1587
+ value: "<who>",
1588
+ role: "value",
1589
+ type: "choice",
1590
+ meaning: "who sees the profile photo: everyone, contacts or nobody"
1591
+ },
1592
+ { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1593
+ ];
1594
+
1595
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
1596
+ var SCHEDULE_FLAGS = [
1597
+ {
1598
+ name: "--notify-on",
1599
+ value: "<when>",
1600
+ role: "value",
1601
+ type: "choice",
1602
+ meaning: "when a scheduled run tells the owner: always, failures or never"
1603
+ },
1604
+ {
1605
+ name: "--deliver-to",
1606
+ value: "<route>",
1607
+ role: "value",
1608
+ type: "string",
1609
+ meaning: "where a scheduled run's result also goes, by the owner's own CLI: telegram-bot:<profile>/<chat> or email:<profile>/<address>; repeat it for more. Not --to, which names who a message is for"
1610
+ },
1611
+ {
1612
+ name: "--max-cost-per-day",
1613
+ value: "<usd>",
1614
+ role: "budget",
1615
+ type: "number",
1616
+ meaning: "start no run for the rest of the day once the day's runs cost this much; 0 for no cap",
1617
+ unit: "US dollars"
1618
+ }
1619
+ ];
1620
+
1621
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
1486
1622
  var WHAT_FLAGS = [
1487
1623
  {
1488
1624
  name: "--analysis-provider",
@@ -1905,6 +2041,20 @@ var WHAT_FLAGS = [
1905
2041
  meaning: "look again from this day, for what arrived late"
1906
2042
  },
1907
2043
  { name: "--run", value: "<id>", role: "target", type: "id", meaning: "the run it is about" },
2044
+ {
2045
+ name: "--who",
2046
+ value: "<side>",
2047
+ role: "target",
2048
+ type: "choice",
2049
+ meaning: "whose replies are measured: me (the owner's) or others (the other side's)"
2050
+ },
2051
+ {
2052
+ name: "--write",
2053
+ value: "<id>",
2054
+ role: "target",
2055
+ type: "id",
2056
+ meaning: "one write of a run, by the operation_id its answer listed: undo or act on that write alone"
2057
+ },
1908
2058
  {
1909
2059
  name: "--target",
1910
2060
  value: "<ref>",
@@ -2107,63 +2257,6 @@ var WHAT_FLAGS = [
2107
2257
  type: "path",
2108
2258
  meaning: "an Ogg Opus file sent as a voice message"
2109
2259
  },
2110
- {
2111
- name: "--about-text",
2112
- value: "<who>",
2113
- role: "value",
2114
- type: "choice",
2115
- meaning: "who sees the about text: everyone, contacts or nobody"
2116
- },
2117
- {
2118
- name: "--calls",
2119
- value: "<who>",
2120
- role: "value",
2121
- type: "choice",
2122
- meaning: "whose calls ring: everyone, contacts or nobody"
2123
- },
2124
- {
2125
- name: "--chat-invites",
2126
- value: "<who>",
2127
- role: "value",
2128
- type: "choice",
2129
- meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
2130
- },
2131
- {
2132
- name: "--find-by-phone",
2133
- value: "<who>",
2134
- role: "value",
2135
- type: "choice",
2136
- meaning: "who finds the account by its number: everyone, contacts or nobody"
2137
- },
2138
- {
2139
- name: "--hide-online",
2140
- value: "<on|off>",
2141
- role: "value",
2142
- type: "choice",
2143
- meaning: "hide online status and last seen"
2144
- },
2145
- {
2146
- name: "--last-seen",
2147
- value: "<who>",
2148
- role: "value",
2149
- type: "choice",
2150
- meaning: "who sees when the account was last online: everyone, contacts or nobody"
2151
- },
2152
- {
2153
- name: "--phone-number",
2154
- value: "<who>",
2155
- role: "value",
2156
- type: "choice",
2157
- meaning: "who sees the number: everyone, contacts or nobody"
2158
- },
2159
- {
2160
- name: "--profile-photo",
2161
- value: "<who>",
2162
- role: "value",
2163
- type: "choice",
2164
- meaning: "who sees the profile photo: everyone, contacts or nobody"
2165
- },
2166
- { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" },
2167
2260
  {
2168
2261
  name: "--until",
2169
2262
  value: "<time>",
@@ -2266,6 +2359,13 @@ var WHAT_FLAGS = [
2266
2359
  type: "id",
2267
2360
  meaning: "never show this chat in it; repeat it for more"
2268
2361
  },
2362
+ {
2363
+ name: "--field",
2364
+ value: "<key=value>",
2365
+ role: "value",
2366
+ type: "string",
2367
+ meaning: "set one named field on a write, as key=value; repeat it for more"
2368
+ },
2269
2369
  {
2270
2370
  name: "--file",
2271
2371
  value: "<file>",
@@ -2480,7 +2580,7 @@ var WHAT_FLAGS = [
2480
2580
  }
2481
2581
  ];
2482
2582
 
2483
- // node_modules/.pnpm/@wirecat+cli-base@0.77.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
2583
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
2484
2584
  var FLAG_TYPES = [
2485
2585
  "switch",
2486
2586
  "count",
@@ -2621,6 +2721,7 @@ var verbs = [
2621
2721
  // Only when someone asks, never from a matching name: WC-ACCT-11 in docs/standards/accounts.md.
2622
2722
  ["link", "record that two identities are one person"],
2623
2723
  ["unlink", "undo a link"],
2724
+ ["allocate", "match a payment to the invoice or order it settles, in whole or in part"],
2624
2725
  ["lookup", "ask the messenger who is behind a phone number"],
2625
2726
  [
2626
2727
  "inspect",
@@ -2721,6 +2822,20 @@ var collections = [
2721
2822
  "derived records attached to a selected entity, with explicit coverage of included and omitted facets"
2722
2823
  ],
2723
2824
  ["organizations", "companies, teams, families or communities"],
2825
+ [
2826
+ "records",
2827
+ "documents of the owner's business, such as an invoice or a receipt, kept with the things they are about"
2828
+ ],
2829
+ ["invoices", "bills the owner sends or receives, with their amounts and due dates"],
2830
+ ["orders", "what a customer asked for and the owner owes or delivers"],
2831
+ ["payments", "money that moved in or out, each one matched to the invoices it settles"],
2832
+ ["deals", "sales the owner works on, each at a stage of a pipeline, with an amount and an outcome"],
2833
+ ["leads", "possible customers not yet qualified into a deal"],
2834
+ ["pipelines", "ordered sets of stages a deal moves through"],
2835
+ ["stages", "steps of a pipeline, each open, won or lost"],
2836
+ ["products", "goods and services the owner sells, with their prices"],
2837
+ ["users", "people who work in the owner's account at a service, such as a CRM's employees"],
2838
+ ["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
2724
2839
  [
2725
2840
  "identities",
2726
2841
  "ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
@@ -2815,6 +2930,7 @@ var views = [
2815
2930
  ["newcomers", "members observed joining during the selected time window"],
2816
2931
  ["retention", "whether members of a selected cohort remain or return over time"],
2817
2932
  ["responses", "observed replies between participants and the time taken to answer"],
2933
+ ["waiting", "chats whose newest message waits on the owner's reply"],
2818
2934
  ["discussion", "source posts compared by known views and observed discussion replies"],
2819
2935
  ["unanswered", "questions without an observed qualifying answer"],
2820
2936
  ["me", "the account a profile's token belongs to"],
@@ -2829,6 +2945,7 @@ var roots = [
2829
2945
  ["serve", "the long-running process"],
2830
2946
  ["setup", "the guided first run: log in or link the account, then install the agent skill"],
2831
2947
  ["doctor", "check this machine's setup"],
2948
+ ["recover", "repair a damaged store: what it would do, then its run subcommand does it"],
2832
2949
  ["upgrade", "install a newer version of this tool"],
2833
2950
  ["commands", "the command tree as data"],
2834
2951
  ["guide", "scenarios: the commands for a common task, in order, and why each"],
@@ -2850,10 +2967,18 @@ var VOCABULARY = defineVocabulary({
2850
2967
  ],
2851
2968
  views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
2852
2969
  roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
2853
- flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2970
+ flags: [
2971
+ ...HOW_FLAGS,
2972
+ ...WHAT_FLAGS,
2973
+ ...PRIVACY_FLAGS,
2974
+ ...CALENDAR_FLAGS,
2975
+ ...MAIL_FLAGS,
2976
+ ...CRM_FLAGS,
2977
+ ...SCHEDULE_FLAGS
2978
+ ]
2854
2979
  });
2855
2980
 
2856
- // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2981
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2857
2982
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2858
2983
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2859
2984
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3076,7 +3201,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3076
3201
  }
3077
3202
  }, "runCommandForAgent");
3078
3203
 
3079
- // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3204
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3080
3205
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3081
3206
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3082
3207
  var message = pipe(
@@ -3335,7 +3460,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3335
3460
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3336
3461
  }, "failed");
3337
3462
 
3338
- // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3463
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3339
3464
  import { randomUUID } from "node:crypto";
3340
3465
  var MATCHES = 8;
3341
3466
  var ANSWER = answerSchema();
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/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) {
@@ -9,15 +9,15 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-76CX2YPT.js";
12
+ } from "./chunk-EPCFXKTX.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-EB2IULWB.js";
15
+ } from "./chunk-BXTDAGM4.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-RSDIPQXP.js";
5
+ } from "./chunk-3GRX7WP6.js";
6
6
  import {
7
7
  resolvePaths
8
- } from "./chunk-OX6EWGSG.js";
8
+ } from "./chunk-YHZFGUAP.js";
9
9
  import {
10
10
  CliError,
11
11
  singleLine
12
- } from "./chunk-EB2IULWB.js";
12
+ } from "./chunk-BXTDAGM4.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/store/shared-config.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/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.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/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.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/store/shared-config.js
776
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/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 });
@@ -0,0 +1,64 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ count,
5
+ id,
6
+ text,
7
+ time
8
+ } from "./chunk-C6TUVV7E.js";
9
+ import {
10
+ array,
11
+ nullable,
12
+ optional,
13
+ picklist,
14
+ record,
15
+ reference,
16
+ strictObject,
17
+ string,
18
+ unknown
19
+ } from "./chunk-EPCFXKTX.js";
20
+
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/node_modules/@wirecat/cli-core/dist/entities/note.js
22
+ var link = {
23
+ target_text: nullable(text),
24
+ kind: text,
25
+ anchor: nullable(text)
26
+ };
27
+ var note = strictObject({
28
+ ref: reference,
29
+ kind: optional(picklist(["note", "document"])),
30
+ provider: optional(text),
31
+ account: optional(text),
32
+ url: optional(text),
33
+ id,
34
+ source: picklist(["file", "internal"]),
35
+ folder_id: nullable(id),
36
+ path: nullable(text),
37
+ title: nullable(text),
38
+ text,
39
+ /** Raises on every edit; `notes edit --revision` takes it, so an edit made meanwhile is refused, not lost. */
40
+ revision: count,
41
+ /** A file's front matter as parsed, keys as the file writes them; null for a note without it. */
42
+ front_matter: nullable(record(string(), unknown())),
43
+ /** The hash of a file's bytes when last imported; null for a note written here. */
44
+ content_hash: nullable(text),
45
+ /** The file the note was exported to, where that is known; null otherwise. */
46
+ export_path: nullable(text),
47
+ created_at: time,
48
+ /** When the store's copy last changed. */
49
+ updated_at: time,
50
+ deleted_at: optional(nullable(time)),
51
+ tags: optional(array(text)),
52
+ /** The first line holding a word of a search. */
53
+ excerpt: optional(text),
54
+ /** Which halves of a search found it. */
55
+ found_by: optional(array(picklist(["title", "words", "meaning"]))),
56
+ /** What the note links to; `to` is null while the name written matches nothing stored. */
57
+ links: optional(array(strictObject({ to: nullable(reference), ...link }))),
58
+ /** The notes and messages that link to it. */
59
+ backlinks: optional(array(strictObject({ from: reference, ...link })))
60
+ });
61
+
62
+ export {
63
+ note
64
+ };
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-N6TIFJHW.js";
5
+ } from "./chunk-EL6I4WTB.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-OX6EWGSG.js";
9
+ } from "./chunk-YHZFGUAP.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._6a3165a3e9bffd3483d86046d9ef2956/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");