@wirecat/bitrix24-cli 0.3.0 → 0.4.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 (170) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/api-keys.d.ts +30 -8
  3. package/dist/api-keys.d.ts.map +1 -1
  4. package/dist/api-keys.js +81 -18
  5. package/dist/api-keys.js.map +1 -1
  6. package/dist/bin/b24.js +2 -2
  7. package/dist/bitrix/methods.d.ts.map +1 -1
  8. package/dist/bitrix/methods.js +7 -3
  9. package/dist/bitrix/methods.js.map +1 -1
  10. package/dist/bitrix/transport.d.ts +4 -7
  11. package/dist/bitrix/transport.d.ts.map +1 -1
  12. package/dist/bitrix/transport.js +12 -16
  13. package/dist/bitrix/transport.js.map +1 -1
  14. package/dist/bundle/{all-profiles-QJ444GSX.js → all-profiles-MBQZCOVK.js} +6 -6
  15. package/dist/bundle/{anthropic-RHRAVHC2.js → anthropic-QCYLKSJJ.js} +4 -4
  16. package/dist/bundle/{app-server-QIT6S7AZ.js → app-server-FSLZ2Y6N.js} +42 -42
  17. package/dist/bundle/b24.js +12 -12
  18. package/dist/bundle/{bun-H6RSODZ3.js → bun-UYRQXF33.js} +2 -2
  19. package/dist/bundle/{bun-sqlite-BO4LTQHX.js → bun-sqlite-GXME7EMT.js} +3 -3
  20. package/dist/bundle/{chunk-MBDK4YXG.js → chunk-2D5W4LWL.js} +1 -1
  21. package/dist/bundle/{chunk-U5ACMCAQ.js → chunk-2IZ6GGU2.js} +151 -151
  22. package/dist/bundle/{chunk-VEWWAGTD.js → chunk-4OVK5XW2.js} +8 -8
  23. package/dist/bundle/{chunk-45AKJVKV.js → chunk-66QLBRIT.js} +1 -1
  24. package/dist/bundle/{chunk-P364PLIK.js → chunk-6BLVBGRK.js} +9 -9
  25. package/dist/bundle/{chunk-FOTREPNS.js → chunk-6ERX33NC.js} +8 -8
  26. package/dist/bundle/{chunk-LRGYKOCP.js → chunk-AMVRNYD6.js} +1 -1
  27. package/dist/bundle/{chunk-YZ5LHE5Q.js → chunk-AOUNT22U.js} +2 -2
  28. package/dist/bundle/{chunk-ZDQQCXFG.js → chunk-B252WFK7.js} +13 -13
  29. package/dist/bundle/{chunk-WKRQ44EH.js → chunk-BHZ5VDDY.js} +13 -13
  30. package/dist/bundle/{chunk-ZIAQPTUS.js → chunk-COOOXDKZ.js} +3 -3
  31. package/dist/bundle/{chunk-W5YAO5G5.js → chunk-CR3TLGM4.js} +9 -4
  32. package/dist/bundle/{chunk-D5S6QV6R.js → chunk-D2IRPC5I.js} +6 -6
  33. package/dist/bundle/{chunk-POC3V3AO.js → chunk-DQIQIZQS.js} +297 -256
  34. package/dist/bundle/{chunk-QGMDQ2PM.js → chunk-EIGPMMGC.js} +3 -3
  35. package/dist/bundle/{chunk-WTPMJYMD.js → chunk-ELBOQHJA.js} +45 -45
  36. package/dist/bundle/{chunk-LSPIOT6Z.js → chunk-EQLWU6ZB.js} +7 -7
  37. package/dist/bundle/{chunk-WII44RXN.js → chunk-F5NH3UJQ.js} +2 -2
  38. package/dist/bundle/{chunk-HAXNUIGQ.js → chunk-GTDOUP6L.js} +26 -23
  39. package/dist/bundle/{chunk-QQXH2OPB.js → chunk-GTFRSYYJ.js} +17 -12
  40. package/dist/bundle/{chunk-H2ADPPSH.js → chunk-GTMCLOYY.js} +670 -465
  41. package/dist/bundle/{chunk-7GRZAKBB.js → chunk-IF27EQN6.js} +2 -2
  42. package/dist/bundle/{chunk-FZL7F5NR.js → chunk-IWEWDVZ6.js} +22 -22
  43. package/dist/bundle/{program-H3TGGRQ6.js → chunk-J7OMY6EO.js} +16654 -18332
  44. package/dist/bundle/{chunk-QIPTIUMJ.js → chunk-JAS3OZSP.js} +4 -4
  45. package/dist/bundle/{chunk-OTD2ZRXD.js → chunk-JB7OXYAU.js} +4 -4
  46. package/dist/bundle/{chunk-ZEW4P6AH.js → chunk-K7XWCZF6.js} +8 -8
  47. package/dist/bundle/{chunk-YYO7D2MO.js → chunk-LAYH344Y.js} +28 -28
  48. package/dist/bundle/{chunk-K3UIB6ZF.js → chunk-M5XMAUGZ.js} +2 -2
  49. package/dist/bundle/{chunk-2KCZ7BKW.js → chunk-MPI2FDJ4.js} +11 -11
  50. package/dist/bundle/{chunk-HGL63O5V.js → chunk-MY6FAZRA.js} +2 -2
  51. package/dist/bundle/{chunk-QC53QBNC.js → chunk-NDSOBIR3.js} +3 -3
  52. package/dist/bundle/{chunk-XRFJWHY5.js → chunk-NEK7LKC6.js} +4 -4
  53. package/dist/bundle/{chunk-2SNUMZ7S.js → chunk-NKLLI4B2.js} +6 -6
  54. package/dist/bundle/{chunk-QMPN6WKD.js → chunk-NWKXMMON.js} +100 -81
  55. package/dist/bundle/{chunk-P33NDCDI.js → chunk-O7FVOICH.js} +1 -1
  56. package/dist/bundle/{chunk-SFRNX2TI.js → chunk-OCRCVLZQ.js} +1 -1
  57. package/dist/bundle/{chunk-TE3FR6MI.js → chunk-OKDC6CLH.js} +5 -5
  58. package/dist/bundle/{chunk-DTXERR44.js → chunk-OWILUBCI.js} +2 -2
  59. package/dist/bundle/{chunk-CXL33BFL.js → chunk-OYLJHX74.js} +1 -1
  60. package/dist/bundle/{chunk-6WY72XVQ.js → chunk-POUSZWMP.js} +4 -4
  61. package/dist/bundle/{chunk-N6FLBXZS.js → chunk-Q4ILKTV4.js} +3 -3
  62. package/dist/bundle/{chunk-FLUEXJ4X.js → chunk-Q7Z5IMVY.js} +1 -1
  63. package/dist/bundle/{chunk-XJXONOB5.js → chunk-QVZSLBR6.js} +1 -1
  64. package/dist/bundle/{chunk-IRV2PCQ2.js → chunk-SBW2Y7AZ.js} +26 -26
  65. package/dist/bundle/{chunk-XNHSPHUN.js → chunk-UCLWWSQK.js} +2 -2
  66. package/dist/bundle/{chunk-BCF7P4FZ.js → chunk-UH56WLDS.js} +8 -8
  67. package/dist/bundle/{chunk-ZGZT5S6B.js → chunk-VMQL4GNH.js} +55 -55
  68. package/dist/bundle/{chunk-XD4FRDSL.js → chunk-VTIUWHZ3.js} +5 -5
  69. package/dist/bundle/{chunk-SGRYYE4X.js → chunk-WJRBX5QB.js} +4 -4
  70. package/dist/bundle/{chunk-VL6SPMZV.js → chunk-XG6QKS7L.js} +5 -5
  71. package/dist/bundle/{chunk-RRJNNPR4.js → chunk-XKQZLR2X.js} +1 -1
  72. package/dist/bundle/{chunk-QSNROIJL.js → chunk-XOPMSWFC.js} +9 -9
  73. package/dist/bundle/{chunk-EVYSBZ3I.js → chunk-XR5SUCAC.js} +4 -4
  74. package/dist/bundle/{chunk-PH5FZX6E.js → chunk-Y5PPMGCS.js} +2 -2
  75. package/dist/bundle/{chunk-EXOOKUEA.js → chunk-YFZXI3NN.js} +2 -2
  76. package/dist/bundle/{chunk-CNNEA2M4.js → chunk-ZU4HXKEW.js} +3 -3
  77. package/dist/bundle/command-contract-UON4EIC4.js +30 -0
  78. package/dist/bundle/{decode-5ZPLTYV6.js → decode-IF2F2SFC.js} +3 -3
  79. package/dist/bundle/{echarts-J6LAPIX7.js → echarts-WDDVEJO2.js} +2 -2
  80. package/dist/bundle/{embed-YG5LDHME.js → embed-VDUGYEAR.js} +4 -4
  81. package/dist/bundle/{embedder-7FNUA5OZ.js → embedder-DUN62H3Z.js} +7 -7
  82. package/dist/bundle/{first-run-JPZNWIJN.js → first-run-NDGYBQEN.js} +8 -8
  83. package/dist/bundle/first-screen-QAVKP5RF.js +28 -0
  84. package/dist/bundle/{instructions-AXWTQHMR.js → instructions-JIIKWS7X.js} +1 -1
  85. package/dist/bundle/{mcp-7F46P6AM.js → mcp-33JX6KP4.js} +2 -2
  86. package/dist/bundle/{mcp-5RSWNTHS.js → mcp-57EQ6QJO.js} +58 -47
  87. package/dist/bundle/mcp-PFJER2DE.js +87 -0
  88. package/dist/bundle/{node-CWKAIOEM.js → node-K57WT42O.js} +2 -2
  89. package/dist/bundle/{node-sqlite-LSEKVRDA.js → node-sqlite-KS6ORRIG.js} +4 -4
  90. package/dist/bundle/{oauth-THYNLRLD.js → oauth-SLSANN37.js} +5 -5
  91. package/dist/bundle/{open-E47QYKFC.js → open-WJPHADEX.js} +3 -3
  92. package/dist/bundle/{openai-EWSGC3BC.js → openai-HXB3GTOD.js} +12 -12
  93. package/dist/bundle/{process-WKTEA3WE.js → process-P73TFAXT.js} +1 -1
  94. package/dist/bundle/program-7BMG5NIN.js +2250 -0
  95. package/dist/bundle/{prompt-CAQ7QR3U.js → prompt-WDPV37R4.js} +3 -3
  96. package/dist/bundle/{recognize-6KGHNZC3.js → recognize-CXIFL6IV.js} +2 -2
  97. package/dist/bundle/{remote-3UO2WDC3.js → remote-Q4VJ4OQW.js} +5 -5
  98. package/dist/bundle/{rerank-2JVDPZBX.js → rerank-SUFYK63I.js} +5 -5
  99. package/dist/bundle/{serve-ES7AG5IK.js → serve-B7PGFOC2.js} +7 -7
  100. package/dist/bundle/server-4DBNJWW6.js +58 -0
  101. package/dist/bundle/server-OKE7SXJ2.js +45 -0
  102. package/dist/bundle/{state-7NH5G4XJ.js → state-EZCCXQV7.js} +4 -4
  103. package/dist/bundle/{store-7O4JQD2Z.js → store-MZ7JBYR6.js} +12 -12
  104. package/dist/bundle/store-maintenance-command-T5QZMENJ.js +47 -0
  105. package/dist/commands/api.d.ts.map +1 -1
  106. package/dist/commands/api.js +57 -7
  107. package/dist/commands/api.js.map +1 -1
  108. package/dist/commands/crm-writes.d.ts.map +1 -1
  109. package/dist/commands/crm-writes.js +24 -8
  110. package/dist/commands/crm-writes.js.map +1 -1
  111. package/dist/commands/crm.d.ts.map +1 -1
  112. package/dist/commands/crm.js +29 -3
  113. package/dist/commands/crm.js.map +1 -1
  114. package/dist/commands/fields.d.ts +3 -0
  115. package/dist/commands/fields.d.ts.map +1 -0
  116. package/dist/commands/fields.js +45 -0
  117. package/dist/commands/fields.js.map +1 -0
  118. package/dist/commands/write.d.ts +6 -1
  119. package/dist/commands/write.d.ts.map +1 -1
  120. package/dist/commands/write.js +7 -5
  121. package/dist/commands/write.js.map +1 -1
  122. package/dist/config.d.ts.map +1 -1
  123. package/dist/config.js +2 -1
  124. package/dist/config.js.map +1 -1
  125. package/dist/crm/conditions.js +1 -1
  126. package/dist/crm/conditions.js.map +1 -1
  127. package/dist/crm/custom-query.d.ts +19 -0
  128. package/dist/crm/custom-query.d.ts.map +1 -0
  129. package/dist/crm/custom-query.js +79 -0
  130. package/dist/crm/custom-query.js.map +1 -0
  131. package/dist/crm/deal.d.ts +1 -0
  132. package/dist/crm/deal.d.ts.map +1 -1
  133. package/dist/crm/fields.d.ts +44 -0
  134. package/dist/crm/fields.d.ts.map +1 -0
  135. package/dist/crm/fields.js +143 -0
  136. package/dist/crm/fields.js.map +1 -0
  137. package/dist/crm/items.d.ts +7 -1
  138. package/dist/crm/items.d.ts.map +1 -1
  139. package/dist/crm/items.js +17 -15
  140. package/dist/crm/items.js.map +1 -1
  141. package/dist/crm/lead.d.ts +1 -0
  142. package/dist/crm/lead.d.ts.map +1 -1
  143. package/dist/crm/organization.d.ts +1 -0
  144. package/dist/crm/organization.d.ts.map +1 -1
  145. package/dist/crm/person.d.ts +1 -0
  146. package/dist/crm/person.d.ts.map +1 -1
  147. package/dist/crm/values.d.ts +7 -1
  148. package/dist/crm/values.d.ts.map +1 -1
  149. package/dist/crm/values.js +12 -3
  150. package/dist/crm/values.js.map +1 -1
  151. package/dist/mcp.d.ts.map +1 -1
  152. package/dist/mcp.js +4 -1
  153. package/dist/mcp.js.map +1 -1
  154. package/dist/program.d.ts.map +1 -1
  155. package/dist/program.js +4 -1
  156. package/dist/program.js.map +1 -1
  157. package/dist/reasons.d.ts.map +1 -1
  158. package/dist/reasons.js +6 -1
  159. package/dist/reasons.js.map +1 -1
  160. package/dist/version.d.ts +1 -1
  161. package/dist/version.js +1 -1
  162. package/package.json +3 -3
  163. package/skills/bitrix24-cli/SKILL.md +8 -3
  164. package/dist/bundle/command-contract-OKQOE6G4.js +0 -30
  165. package/dist/bundle/first-screen-VQM4MTS7.js +0 -28
  166. package/dist/bundle/mcp-J5R5A65I.js +0 -87
  167. package/dist/bundle/server-5LE5LNUQ.js +0 -45
  168. package/dist/bundle/server-BU4VBM6S.js +0 -58
  169. package/dist/bundle/store-maintenance-command-UDVGEY2D.js +0 -47
  170. /package/dist/bundle/{chunk-4PDYYS5K.js → chunk-NDTJE6JQ.js} +0 -0
@@ -6,10 +6,10 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-WKRQ44EH.js";
9
+ } from "./chunk-BHZ5VDDY.js";
10
10
  import {
11
11
  callerOf
12
- } from "./chunk-7GRZAKBB.js";
12
+ } from "./chunk-IF27EQN6.js";
13
13
  import {
14
14
  QUERY_ARGUMENT,
15
15
  lentConnection,
@@ -17,7 +17,7 @@ import {
17
17
  refuseLacking,
18
18
  servicesFor,
19
19
  storeModeDeps
20
- } from "./chunk-POC3V3AO.js";
20
+ } from "./chunk-DQIQIZQS.js";
21
21
  import {
22
22
  DEFAULT_OUTPUT_BYTES,
23
23
  ENTITIES,
@@ -36,29 +36,29 @@ import {
36
36
  sealed,
37
37
  startRecording,
38
38
  traceOf
39
- } from "./chunk-U5ACMCAQ.js";
39
+ } from "./chunk-2IZ6GGU2.js";
40
40
  import {
41
41
  currentCaller,
42
42
  keepsSuccess,
43
43
  runContextOf,
44
44
  withCaller
45
- } from "./chunk-FOTREPNS.js";
45
+ } from "./chunk-6ERX33NC.js";
46
46
  import {
47
47
  failureContext
48
- } from "./chunk-QSNROIJL.js";
48
+ } from "./chunk-XOPMSWFC.js";
49
49
  import {
50
50
  authorityAllowed,
51
51
  botApiAllowed,
52
52
  keyForCommand,
53
53
  levelFor,
54
54
  readKeysForCommand
55
- } from "./chunk-XD4FRDSL.js";
55
+ } from "./chunk-VTIUWHZ3.js";
56
56
  import {
57
57
  MAX_BUFFERED_INPUT
58
- } from "./chunk-EXOOKUEA.js";
58
+ } from "./chunk-YFZXI3NN.js";
59
59
  import {
60
60
  queryDescription
61
- } from "./chunk-ZGZT5S6B.js";
61
+ } from "./chunk-VMQL4GNH.js";
62
62
  import {
63
63
  COMPACT_FLAG,
64
64
  CliError,
@@ -101,15 +101,15 @@ import {
101
101
  unknown,
102
102
  word,
103
103
  writes
104
- } from "./chunk-IRV2PCQ2.js";
104
+ } from "./chunk-SBW2Y7AZ.js";
105
105
  import {
106
106
  __name
107
107
  } from "./chunk-ZVVMGPBJ.js";
108
108
 
109
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
109
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/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.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
112
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.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
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.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
240
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.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
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([
@@ -346,7 +346,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
346
346
  { path: ["upgrade"], meaning: "updates the CLI" }
347
347
  ]);
348
348
 
349
- // node_modules/.pnpm/@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
349
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.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
350
350
  var fieldRuleSchema = strictObject({ id: word, rule: text });
351
351
  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
352
  var FIELD_RULES = defineFieldRules([
@@ -362,7 +362,7 @@ var FIELD_RULES = defineFieldRules([
362
362
  }
363
363
  ]);
364
364
 
365
- // node_modules/.pnpm/@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
365
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.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
366
366
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
367
367
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
368
368
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -384,7 +384,7 @@ var IDENTIFIERS = defineIdentifiers([
384
384
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
385
385
  ]);
386
386
 
387
- // node_modules/.pnpm/@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
387
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.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
388
388
  var CALENDAR_FLAGS = [
389
389
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
390
390
  {
@@ -458,7 +458,7 @@ var CALENDAR_FLAGS = [
458
458
  }
459
459
  ];
460
460
 
461
- // node_modules/.pnpm/@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
461
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.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
462
462
  var HOW_FLAGS = [
463
463
  {
464
464
  name: "--limit",
@@ -1452,7 +1452,7 @@ var HOW_FLAGS = [
1452
1452
  }
1453
1453
  ];
1454
1454
 
1455
- // node_modules/.pnpm/@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1455
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.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
1456
1456
  var MAIL_FLAGS = [
1457
1457
  {
1458
1458
  name: "--cc",
@@ -1482,7 +1482,68 @@ var MAIL_FLAGS = [
1482
1482
  }
1483
1483
  ];
1484
1484
 
1485
- // node_modules/.pnpm/@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1485
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1486
+ var PRIVACY_FLAGS = [
1487
+ {
1488
+ name: "--about-text",
1489
+ value: "<who>",
1490
+ role: "value",
1491
+ type: "choice",
1492
+ meaning: "who sees the about text: everyone, contacts or nobody"
1493
+ },
1494
+ {
1495
+ name: "--calls",
1496
+ value: "<who>",
1497
+ role: "value",
1498
+ type: "choice",
1499
+ meaning: "whose calls ring: everyone, contacts or nobody"
1500
+ },
1501
+ {
1502
+ name: "--chat-invites",
1503
+ value: "<who>",
1504
+ role: "value",
1505
+ type: "choice",
1506
+ meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
1507
+ },
1508
+ {
1509
+ name: "--find-by-phone",
1510
+ value: "<who>",
1511
+ role: "value",
1512
+ type: "choice",
1513
+ meaning: "who finds the account by its number: everyone, contacts or nobody"
1514
+ },
1515
+ {
1516
+ name: "--hide-online",
1517
+ value: "<on|off>",
1518
+ role: "value",
1519
+ type: "choice",
1520
+ meaning: "hide online status and last seen"
1521
+ },
1522
+ {
1523
+ name: "--last-seen",
1524
+ value: "<who>",
1525
+ role: "value",
1526
+ type: "choice",
1527
+ meaning: "who sees when the account was last online: everyone, contacts or nobody"
1528
+ },
1529
+ {
1530
+ name: "--phone-number",
1531
+ value: "<who>",
1532
+ role: "value",
1533
+ type: "choice",
1534
+ meaning: "who sees the number: everyone, contacts or nobody"
1535
+ },
1536
+ {
1537
+ name: "--profile-photo",
1538
+ value: "<who>",
1539
+ role: "value",
1540
+ type: "choice",
1541
+ meaning: "who sees the profile photo: everyone, contacts or nobody"
1542
+ },
1543
+ { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1544
+ ];
1545
+
1546
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.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
1486
1547
  var WHAT_FLAGS = [
1487
1548
  {
1488
1549
  name: "--analysis-provider",
@@ -1905,6 +1966,13 @@ var WHAT_FLAGS = [
1905
1966
  meaning: "look again from this day, for what arrived late"
1906
1967
  },
1907
1968
  { name: "--run", value: "<id>", role: "target", type: "id", meaning: "the run it is about" },
1969
+ {
1970
+ name: "--write",
1971
+ value: "<id>",
1972
+ role: "target",
1973
+ type: "id",
1974
+ meaning: "one write of a run, by the operation_id its answer listed: undo or act on that write alone"
1975
+ },
1908
1976
  {
1909
1977
  name: "--target",
1910
1978
  value: "<ref>",
@@ -2107,63 +2175,6 @@ var WHAT_FLAGS = [
2107
2175
  type: "path",
2108
2176
  meaning: "an Ogg Opus file sent as a voice message"
2109
2177
  },
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
2178
  {
2168
2179
  name: "--until",
2169
2180
  value: "<time>",
@@ -2266,6 +2277,13 @@ var WHAT_FLAGS = [
2266
2277
  type: "id",
2267
2278
  meaning: "never show this chat in it; repeat it for more"
2268
2279
  },
2280
+ {
2281
+ name: "--field",
2282
+ value: "<key=value>",
2283
+ role: "value",
2284
+ type: "string",
2285
+ meaning: "set one named field on a write, as key=value; repeat it for more"
2286
+ },
2269
2287
  {
2270
2288
  name: "--file",
2271
2289
  value: "<file>",
@@ -2480,7 +2498,7 @@ var WHAT_FLAGS = [
2480
2498
  }
2481
2499
  ];
2482
2500
 
2483
- // node_modules/.pnpm/@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2501
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.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
2484
2502
  var FLAG_TYPES = [
2485
2503
  "switch",
2486
2504
  "count",
@@ -2735,6 +2753,7 @@ var collections = [
2735
2753
  ["stages", "steps of a pipeline, each open, won or lost"],
2736
2754
  ["products", "goods and services the owner sells, with their prices"],
2737
2755
  ["users", "people who work in the owner's account at a service, such as a CRM's employees"],
2756
+ ["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
2738
2757
  [
2739
2758
  "identities",
2740
2759
  "ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
@@ -2864,10 +2883,10 @@ var VOCABULARY = defineVocabulary({
2864
2883
  ],
2865
2884
  views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
2866
2885
  roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
2867
- flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2886
+ flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...PRIVACY_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2868
2887
  });
2869
2888
 
2870
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2889
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2871
2890
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2872
2891
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2873
2892
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3090,7 +3109,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3090
3109
  }
3091
3110
  }, "runCommandForAgent");
3092
3111
 
3093
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3112
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3094
3113
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3095
3114
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3096
3115
  var message = pipe(
@@ -3349,7 +3368,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3349
3368
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3350
3369
  }, "failed");
3351
3370
 
3352
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3371
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3353
3372
  import { randomUUID } from "node:crypto";
3354
3373
  var MATCHES = 8;
3355
3374
  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.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/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.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/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,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-DTXERR44.js";
5
+ } from "./chunk-OWILUBCI.js";
6
6
  import {
7
7
  CliError,
8
8
  resolvePaths,
9
9
  singleLine
10
- } from "./chunk-IRV2PCQ2.js";
10
+ } from "./chunk-SBW2Y7AZ.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/store/shared-config.js
16
16
  import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
17
17
  import { dirname, join, resolve } from "node:path";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
20
20
  var DEFAULT_TASK_CATEGORIES = [
21
21
  {
22
22
  name: "taxes",
@@ -771,7 +771,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
771
771
  }
772
772
  }, "storedTaskCategories");
773
773
 
774
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
774
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/store/shared-config.js
775
775
  var SECTION = "task_categories";
776
776
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
777
777
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  resolvePaths
5
- } from "./chunk-IRV2PCQ2.js";
5
+ } from "./chunk-SBW2Y7AZ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { userInfo } from "node:os";
12
12
  import { isAbsolute, join, relative, resolve } from "node:path";
13
13
  var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
@@ -527,7 +527,7 @@ var require_cross_spawn = __commonJS({
527
527
  }
528
528
  });
529
529
 
530
- // node_modules/.pnpm/@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
530
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
531
531
  import { existsSync } from "node:fs";
532
532
  import { win32 } from "node:path";
533
533
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-IRV2PCQ2.js";
5
+ } from "./chunk-SBW2Y7AZ.js";
6
6
  import {
7
7
  importFrom
8
8
  } from "./chunk-Y5E2WNWB.js";
@@ -10,10 +10,10 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -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-XJXONOB5.js";
5
+ } from "./chunk-QVZSLBR6.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-IRV2PCQ2.js";
9
+ } from "./chunk-SBW2Y7AZ.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/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");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.586.0_@wirecat+cli-base@0.79.0_commander@15.0.0_esbuild@0.28.2_type_bdecddef0ae5a50ae90cab8b9e35c13b/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {