@wirecat/tg-cli 0.124.0 → 0.126.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 (116) hide show
  1. package/contracts/wirecat.json +7 -1
  2. package/dist/bin/tg.js +2 -2
  3. package/dist/bundle/{adapter-GEIZVMWU.js → adapter-BXU3AVB7.js} +52 -53
  4. package/dist/bundle/{all-profiles-EY4GJFWN.js → all-profiles-G5A6IROO.js} +10 -10
  5. package/dist/bundle/{anthropic-RIANJ7WM.js → anthropic-SINVEVEM.js} +5 -5
  6. package/dist/bundle/{app-server-LW7WBFIF.js → app-server-IHIQXPJF.js} +49 -45
  7. package/dist/bundle/{bot-api-FHIQ66OM.js → bot-api-LGAVVYRM.js} +53 -54
  8. package/dist/bundle/{bot-history-O34YZEFH.js → bot-history-5C35FGCD.js} +18 -18
  9. package/dist/bundle/{bun-MJWD4VGV.js → bun-2GK3YOP3.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-LCHVO3OB.js → bun-sqlite-7DGADK3E.js} +6 -6
  11. package/dist/bundle/{chunk-RHJHOOUL.js → chunk-2F2UMQMB.js} +196 -158
  12. package/dist/bundle/{chunk-W4LMTNN2.js → chunk-2LN6OJUB.js} +2 -2
  13. package/dist/bundle/{chunk-LKMZ53GC.js → chunk-4GR5YYGA.js} +2 -2
  14. package/dist/bundle/{chunk-ZNICTHSC.js → chunk-5GINYFD4.js} +1 -1
  15. package/dist/bundle/{chunk-PP4ZBLS4.js → chunk-5NLAGTWU.js} +9 -9
  16. package/dist/bundle/{chunk-NL4COYPY.js → chunk-63DSHUNP.js} +7 -7
  17. package/dist/bundle/{chunk-KVJSCJGZ.js → chunk-7FL2N6DM.js} +2 -2
  18. package/dist/bundle/{chunk-E6VSARSU.js → chunk-7KCBPAQS.js} +2 -2
  19. package/dist/bundle/{chunk-BV3HZYOX.js → chunk-7UACPXDC.js} +549 -458
  20. package/dist/bundle/{chunk-VGUWIHXD.js → chunk-AA2NZAUT.js} +1 -1
  21. package/dist/bundle/{chunk-UII3D3HR.js → chunk-ACLUVZ4I.js} +34 -30
  22. package/dist/bundle/{chunk-QGCVQRHV.js → chunk-AKUBJHE5.js} +1 -1
  23. package/dist/bundle/{chunk-54JPEGQA.js → chunk-AYEQMXRE.js} +2 -2
  24. package/dist/bundle/{chunk-PZ6H65D6.js → chunk-AZ7DSHQO.js} +63 -5
  25. package/dist/bundle/{chunk-OVDB5CQM.js → chunk-BSKYPHLB.js} +1 -1
  26. package/dist/bundle/{chunk-UP3J3YXH.js → chunk-CK7DSGIK.js} +7 -7
  27. package/dist/bundle/{chunk-ZTMV5M3D.js → chunk-DGGAYHLN.js} +29 -25
  28. package/dist/bundle/{chunk-E66JBGZZ.js → chunk-F34EE5Y2.js} +2 -2
  29. package/dist/bundle/{chunk-PJGOQSE5.js → chunk-FIVFP53N.js} +1 -1
  30. package/dist/bundle/{chunk-HSRO77SW.js → chunk-FYOHGIQP.js} +15 -15
  31. package/dist/bundle/{chunk-VAKSXD4F.js → chunk-G4RCT5RH.js} +13 -13
  32. package/dist/bundle/{chunk-QFV36CAH.js → chunk-G4VVBR6U.js} +4 -4
  33. package/dist/bundle/{chunk-ISGXVFA4.js → chunk-GI2ZUNOH.js} +4 -4
  34. package/dist/bundle/{chunk-DFSLHF46.js → chunk-GIY56MIB.js} +1 -1
  35. package/dist/bundle/{chunk-4EGB7GSW.js → chunk-GOGGRLS6.js} +28 -23
  36. package/dist/bundle/{chunk-2YLIVDWJ.js → chunk-HPFB4Y7P.js} +2 -2
  37. package/dist/bundle/{chunk-OK4M4MWI.js → chunk-IX3GUNGV.js} +4 -4
  38. package/dist/bundle/{chunk-2GFGZDWS.js → chunk-J2BUWK5U.js} +2 -2
  39. package/dist/bundle/{chunk-42R4YO4L.js → chunk-JAKP5RWM.js} +4378 -4075
  40. package/dist/bundle/{chunk-OH3IZ6GW.js → chunk-JQ2RKLPU.js} +153 -98
  41. package/dist/bundle/{chunk-QWAMX6CN.js → chunk-K4DXGJK4.js} +12 -12
  42. package/dist/bundle/{chunk-RBV4M2TC.js → chunk-KSLZEXRF.js} +1 -1
  43. package/dist/bundle/{chunk-A5RWKKBZ.js → chunk-L5PYWQDA.js} +3 -3
  44. package/dist/bundle/{chunk-XSGUG5WG.js → chunk-LD42OGKK.js} +4 -4
  45. package/dist/bundle/{chunk-OIF4B526.js → chunk-M4OP5ASJ.js} +1 -1
  46. package/dist/bundle/{chunk-WSLIXJET.js → chunk-MA2XHO4O.js} +378 -269
  47. package/dist/bundle/{chunk-2NG4JPP7.js → chunk-MP47TE77.js} +4 -4
  48. package/dist/bundle/{chunk-M4W4Y5YR.js → chunk-N2JSMP4N.js} +57 -36
  49. package/dist/bundle/{chunk-SGBH3D5D.js → chunk-NJ3FSKSU.js} +5 -7
  50. package/dist/bundle/{chunk-4CIVGT4P.js → chunk-NM5GBJME.js} +19 -19
  51. package/dist/bundle/{chunk-QK4T3VN7.js → chunk-OXB5P37M.js} +1 -1
  52. package/dist/bundle/{chunk-ZL5YG2WK.js → chunk-P2GNIWGG.js} +7 -7
  53. package/dist/bundle/{chunk-3VVZFBE2.js → chunk-PJ6FZXUR.js} +3 -3
  54. package/dist/bundle/{chunk-PI4XXMPG.js → chunk-QCLMP635.js} +6 -6
  55. package/dist/bundle/{chunk-YQFO7WXQ.js → chunk-QGLB4D7J.js} +2 -2
  56. package/dist/bundle/{chunk-N5UM63JW.js → chunk-QMEPKUG3.js} +56 -55
  57. package/dist/bundle/{chunk-F3GHTPAO.js → chunk-QOINWAQD.js} +4 -4
  58. package/dist/bundle/{chunk-GUL6QLNI.js → chunk-QYLYMOXN.js} +17 -17
  59. package/dist/bundle/{chunk-NQXVZ5WT.js → chunk-RFDPU4NO.js} +11 -6
  60. package/dist/bundle/{chunk-IK6XKMLL.js → chunk-SL4S5GFR.js} +1 -1
  61. package/dist/bundle/{chunk-VMWJGUVV.js → chunk-SXVB2CVR.js} +4 -4
  62. package/dist/bundle/{chunk-5EL6E6PW.js → chunk-UIFQEXVP.js} +1 -1
  63. package/dist/bundle/{chunk-I4JUKRW7.js → chunk-URFBZNLU.js} +2 -2
  64. package/dist/bundle/{chunk-3PLMMFP6.js → chunk-W35POPPX.js} +17 -17
  65. package/dist/bundle/{chunk-IVFUSI7G.js → chunk-W725T2V7.js} +3 -2
  66. package/dist/bundle/{chunk-XDHGM2Z7.js → chunk-W75SKUY4.js} +3 -3
  67. package/dist/bundle/{chunk-HEV23NIB.js → chunk-XGBXRDJP.js} +6 -6
  68. package/dist/bundle/{chunk-UR62DZ7Q.js → chunk-XS5C5TQ7.js} +8 -8
  69. package/dist/bundle/{chunk-CDSSKK5J.js → chunk-Y4724JRR.js} +3 -3
  70. package/dist/bundle/{chunk-7AWJZ6NJ.js → chunk-Y5DGB7GP.js} +8 -8
  71. package/dist/bundle/{chunk-ASEBKZFY.js → chunk-YRZXOQOB.js} +2 -2
  72. package/dist/bundle/{chunk-WKOVQ4OU.js → chunk-ZXCQF6XV.js} +12 -12
  73. package/dist/bundle/command-contract-ZEYY3ZXK.js +34 -0
  74. package/dist/bundle/{command-server-entry-K52OEKIO.js → command-server-entry-UWY6PQIV.js} +24 -24
  75. package/dist/bundle/{decode-OAE25LEJ.js → decode-QGMFQ6XX.js} +5 -5
  76. package/dist/bundle/{dispatch-6GVTXIZ2.js → dispatch-PRAIGIFS.js} +8 -8
  77. package/dist/bundle/{echarts-EO4ZGKMN.js → echarts-GHU3GEWV.js} +2 -2
  78. package/dist/bundle/{embed-TB2AS4AT.js → embed-6DMEWQDO.js} +6 -6
  79. package/dist/bundle/{embedder-YKC42G6L.js → embedder-W2L7YZPW.js} +9 -9
  80. package/dist/bundle/{entry-AB6FU7BN.js → entry-LPEXVFQC.js} +9 -9
  81. package/dist/bundle/{failure-CY7ACT6V.js → failure-7Y34AUJT.js} +2 -2
  82. package/dist/bundle/{first-run-CMQZHDI5.js → first-run-3UJ6SJF5.js} +11 -11
  83. package/dist/bundle/first-screen-VCSY5QH5.js +32 -0
  84. package/dist/bundle/{instructions-RM3IB6ID.js → instructions-RUVAH2IS.js} +1 -1
  85. package/dist/bundle/{mcp-M5YCSWJJ.js → mcp-TDKGDB4V.js} +2 -2
  86. package/dist/bundle/{node-D2PM62TA.js → node-RYSNHVBX.js} +2 -2
  87. package/dist/bundle/{node-sqlite-UK5DE525.js → node-sqlite-J6ZL4LUY.js} +7 -7
  88. package/dist/bundle/{oauth-SKRG67A2.js → oauth-B2QNZNSC.js} +7 -7
  89. package/dist/bundle/{open-XP3SY62D.js → open-OMUP5P6V.js} +5 -5
  90. package/dist/bundle/{openai-Q3U46UPA.js → openai-BT4BP4VQ.js} +21 -20
  91. package/dist/bundle/{process-YJ4LHMJB.js → process-HG3QDD54.js} +1 -1
  92. package/dist/bundle/{program-EEPEFKTR.js → program-P2VATMKJ.js} +62 -60
  93. package/dist/bundle/{prompt-WYTODP4U.js → prompt-BTIHH3Z4.js} +5 -5
  94. package/dist/bundle/{proxy-transport-HJMQ5QFT.js → proxy-transport-DP7SIMIC.js} +5 -5
  95. package/dist/bundle/{recognize-K2S5QQU2.js → recognize-CTSJXPIG.js} +4 -4
  96. package/dist/bundle/{remote-7RSAJ3JC.js → remote-2FIGCMKL.js} +9 -9
  97. package/dist/bundle/{rerank-RJX77BKD.js → rerank-TI5SLEF4.js} +7 -7
  98. package/dist/bundle/{serve-3E7NN3VW.js → serve-IO3IM5C7.js} +9 -9
  99. package/dist/bundle/server-RIGXUTKZ.js +62 -0
  100. package/dist/bundle/{server-O3KU56A4.js → server-WEPFFTYA.js} +38 -36
  101. package/dist/bundle/{sqlite-runtime-RCS5WSG5.js → sqlite-runtime-CTEYXX7L.js} +6 -6
  102. package/dist/bundle/{state-PLWSPSAG.js → state-GFHVDGHM.js} +6 -6
  103. package/dist/bundle/{store-DWMKCXYL.js → store-RCK6HT4F.js} +13 -13
  104. package/dist/bundle/{store-3FYLH53Z.js → store-Y5XC4LEM.js} +15 -15
  105. package/dist/bundle/store-maintenance-command-XH6VMCDU.js +52 -0
  106. package/dist/bundle/tg.js +13 -13
  107. package/dist/version.d.ts +1 -1
  108. package/dist/version.js +1 -1
  109. package/package.json +3 -3
  110. package/skills/tg-cli/SKILL.md +6 -2
  111. package/dist/bundle/chunk-VIIIC5LU.js +0 -32
  112. package/dist/bundle/command-contract-UKOL455D.js +0 -34
  113. package/dist/bundle/first-screen-XZ73W3VE.js +0 -32
  114. package/dist/bundle/server-ITHYDPWQ.js +0 -62
  115. package/dist/bundle/store-maintenance-command-3UEKINRB.js +0 -52
  116. /package/dist/bundle/{chunk-HVJJWJYQ.js → chunk-XWBPP2HX.js} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  commandPathOf,
8
8
  outputOf
9
- } from "./chunk-F3GHTPAO.js";
9
+ } from "./chunk-QOINWAQD.js";
10
10
  import {
11
11
  Command,
12
12
  Help,
@@ -17,18 +17,18 @@ import {
17
17
  environmentOf,
18
18
  metaOf,
19
19
  takesProfile
20
- } from "./chunk-RHJHOOUL.js";
20
+ } from "./chunk-2F2UMQMB.js";
21
21
  import {
22
22
  writes
23
- } from "./chunk-UR62DZ7Q.js";
23
+ } from "./chunk-XS5C5TQ7.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-E6VSARSU.js";
26
+ } from "./chunk-7KCBPAQS.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
32
32
  var ARGUMENT_KINDS = {
33
33
  chat: "chat",
34
34
  chats: "chat",
@@ -221,7 +221,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
221
221
  command.addHelpText("after", () => commandHelpText(command));
222
222
  }, "installCommandHelp");
223
223
 
224
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
224
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
225
225
  var WIRECAT_TOOLS = [
226
226
  {
227
227
  command: "tg",
@@ -268,6 +268,11 @@ var WIRECAT_TOOLS = [
268
268
  command: "b24",
269
269
  package: "@wirecat/bitrix24-cli",
270
270
  does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
271
+ },
272
+ {
273
+ command: "pbx",
274
+ package: "@wirecat/asterisk-cli",
275
+ does: "Asterisk PBX calls and recordings, searchable with your other WireCat data"
271
276
  }
272
277
  ];
273
278
  var WIDTH = 100;
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
8
8
  var fields = /* @__PURE__ */ new WeakMap();
9
9
  var readsStdin = /* @__PURE__ */ __name((command, field) => {
10
10
  fields.set(command, field);
@@ -9,15 +9,15 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-UR62DZ7Q.js";
12
+ } from "./chunk-XS5C5TQ7.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-E6VSARSU.js";
15
+ } from "./chunk-7KCBPAQS.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/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) {
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
27
27
  }, "checkedOptions");
28
28
  var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/models/types.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/models/types.js
31
31
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
32
32
  var validateImages = /* @__PURE__ */ __name((images) => {
33
33
  if (images === void 0)
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
8
8
  var COMMAND_SERVER_ARGV = ["commands", "--serve"];
9
9
  var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
10
10
 
@@ -4,10 +4,10 @@ import {
4
4
  check,
5
5
  pipe,
6
6
  string
7
- } from "./chunk-UR62DZ7Q.js";
7
+ } from "./chunk-XS5C5TQ7.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-E6VSARSU.js";
10
+ } from "./chunk-7KCBPAQS.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
@@ -23,28 +23,28 @@ import {
23
23
  tagMemberIds,
24
24
  thingOf,
25
25
  write
26
- } from "./chunk-42R4YO4L.js";
26
+ } from "./chunk-JAKP5RWM.js";
27
27
  import {
28
28
  fold
29
- } from "./chunk-7AWJZ6NJ.js";
29
+ } from "./chunk-Y5DGB7GP.js";
30
30
  import {
31
31
  ADDED_PROVIDER,
32
32
  filesAccountSql,
33
33
  folderProviderOf,
34
34
  folderProviderSql,
35
35
  isDocumentAccountProvider
36
- } from "./chunk-OH3IZ6GW.js";
36
+ } from "./chunk-JQ2RKLPU.js";
37
37
  import {
38
38
  damagedFile
39
- } from "./chunk-3VVZFBE2.js";
39
+ } from "./chunk-PJ6FZXUR.js";
40
40
  import {
41
41
  CliError
42
- } from "./chunk-E6VSARSU.js";
42
+ } from "./chunk-7KCBPAQS.js";
43
43
  import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/damage.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/damage.js
48
48
  var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
49
49
  var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
50
50
  var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
147
147
  };
148
148
  }, "storeDamageReport");
149
149
 
150
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
151
151
  import { realpathSync, statSync } from "node:fs";
152
152
  import { resolve } from "node:path";
153
153
 
154
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
155
155
  var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
156
156
  const creatable = /* @__PURE__ */ new Set();
157
157
  let people = 0, identities = 0;
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
214
214
  }
215
215
  }, "copyPeople");
216
216
 
217
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
218
218
  import { createHash } from "node:crypto";
219
219
  var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
220
220
 
221
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
222
222
  var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
223
223
  const colon = collection.indexOf(":");
224
224
  const provider = collection.slice(0, colon);
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
262
262
  };
263
263
  }, "currentCollection");
264
264
 
265
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
265
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
266
266
  var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
267
267
  const mappings = /* @__PURE__ */ new Map();
268
268
  const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
429
429
  };
430
430
  }, "planTransfer");
431
431
 
432
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
433
433
  var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
434
434
  var MAX_ENTITIES = 1e3;
435
435
  var MAX_AUXILIARY = 1e4;
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
591
591
  };
592
592
  }), "transferSnapshot");
593
593
 
594
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
594
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
595
595
  var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
596
596
  if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
597
597
  return provider ?? null;
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
763
763
  database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
764
764
  }, "remapEntity");
765
765
 
766
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
766
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
767
767
  var locations = /* @__PURE__ */ __name((options) => {
768
768
  for (const value of [options.source, options.destination, options.collection])
769
769
  if (typeof value !== "string" || !value.trim())
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
865
865
  }
866
866
  }, "applyWith");
867
867
 
868
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/health.js
868
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/health.js
869
869
  import { existsSync, statSync as statSync2 } from "node:fs";
870
870
  var JSON_COLUMNS = {
871
871
  accounts: ["settings"],
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
1007
1007
  }
1008
1008
  }, "storeHealth");
1009
1009
 
1010
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
1010
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
1011
1011
  var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
1012
1012
  if (!options || typeof options !== "object" || Array.isArray(options))
1013
1013
  throw new CliError("validation_error", "project preview options are required");
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
1033
1033
  });
1034
1034
  }, "previewProjectAnnotationSnapshot");
1035
1035
 
1036
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
1036
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
1037
1037
  var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
1038
1038
  if (!options || typeof options !== "object" || Array.isArray(options))
1039
1039
  throw new CliError("validation_error", "snapshot options are required");
@@ -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-4CIVGT4P.js";
5
+ } from "./chunk-NM5GBJME.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { realpathSync } from "node:fs";
12
12
  import { userInfo } from "node:os";
13
13
  import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
@@ -49,5 +49,6 @@ export {
49
49
  storePath,
50
50
  accountHome,
51
51
  inOwnerFolder,
52
+ settled,
52
53
  refuseOwnerStoreInTests
53
54
  };
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-W4LMTNN2.js";
7
+ } from "./chunk-2LN6OJUB.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-E6VSARSU.js";
10
+ } from "./chunk-7KCBPAQS.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var EMPTY_TRIES = 3;
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-ZNICTHSC.js";
5
+ } from "./chunk-5GINYFD4.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-E6VSARSU.js";
8
+ } from "./chunk-7KCBPAQS.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-LCHVO3OB.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-7DGADK3E.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-UK5DE525.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-J6ZL4LUY.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -4,12 +4,12 @@ import {
4
4
  errorCodes,
5
5
  isCliError,
6
6
  visibleControls
7
- } from "./chunk-E6VSARSU.js";
7
+ } from "./chunk-7KCBPAQS.js";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-ZVVMGPBJ.js";
11
11
 
12
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
12
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
13
13
  var EXIT_CODES = {
14
14
  validation_error: 2,
15
15
  configuration_error: 3,
@@ -1329,7 +1329,7 @@ function unwrap(schema) {
1329
1329
  }
1330
1330
  __name(unwrap, "unwrap");
1331
1331
 
1332
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1332
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1333
1333
  var EFFECT_LEVELS = ["none", "read", "write"];
1334
1334
  var effectsSchema = strictObject({
1335
1335
  remote: picklist(EFFECT_LEVELS),
@@ -1966,7 +1966,7 @@ function toStandardJsonSchema(schema) {
1966
1966
  }
1967
1967
  __name(toStandardJsonSchema, "toStandardJsonSchema");
1968
1968
 
1969
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1969
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1970
1970
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
1971
1971
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
1972
1972
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -2008,7 +2008,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
2008
2008
  return String(value);
2009
2009
  }), "fill");
2010
2010
 
2011
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
2011
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
2012
2012
  var MAX_NEXT_STEPS = 2;
2013
2013
  var COMPACT_FLAG = "--compact";
2014
2014
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
@@ -2135,7 +2135,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
2135
2135
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
2136
2136
  ].join("\n"), "jsonlOf");
2137
2137
 
2138
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2138
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2139
2139
  var CRASH_CODE = "internal_error";
2140
2140
  var CRASH_REASON = "command.crashed";
2141
2141
  var errorObjectSchema = strictObject({
@@ -2228,7 +2228,7 @@ var BASE_REASONS = defineReasons([
2228
2228
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
2229
2229
  ]);
2230
2230
 
2231
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2231
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2232
2232
  var SAME_COMMAND = "*";
2233
2233
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
2234
2234
  var stepSchema = union([
@@ -2307,7 +2307,7 @@ var STEPS = defineSteps([
2307
2307
  }
2308
2308
  ]);
2309
2309
 
2310
- // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
2310
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
2311
2311
  var recognise = /* @__PURE__ */ __name((failure) => {
2312
2312
  if (isCliError(failure))
2313
2313
  return failure;
@@ -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-QK4T3VN7.js";
5
+ } from "./chunk-OXB5P37M.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-4CIVGT4P.js";
9
+ } from "./chunk-NM5GBJME.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/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");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-E6VSARSU.js";
5
+ } from "./chunk-7KCBPAQS.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  proxyError,
5
5
  proxyLabel
6
- } from "./chunk-I4JUKRW7.js";
6
+ } from "./chunk-URFBZNLU.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-E6VSARSU.js";
9
+ } from "./chunk-7KCBPAQS.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCommandServer
5
- } from "./chunk-5EL6E6PW.js";
5
+ } from "./chunk-UIFQEXVP.js";
6
6
  import {
7
7
  ensureSqlite
8
- } from "./chunk-LKMZ53GC.js";
8
+ } from "./chunk-4GR5YYGA.js";
9
9
  import {
10
10
  envName,
11
11
  readOnlyLockOf
12
- } from "./chunk-54JPEGQA.js";
12
+ } from "./chunk-AYEQMXRE.js";
13
13
  import {
14
14
  catchCrashes
15
- } from "./chunk-UR62DZ7Q.js";
15
+ } from "./chunk-XS5C5TQ7.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-E6VSARSU.js";
18
+ } from "./chunk-7KCBPAQS.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/entry.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
24
  import { spawn } from "node:child_process";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
27
27
  import { appendFileSync } from "node:fs";
28
28
  var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
29
29
  const words = [];
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
47
47
  `);
48
48
  }, "logVersion");
49
49
 
50
- // node_modules/.pnpm/@wirecat+cli-core@0.648.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.98.0_commander@15._22e948f6f1aa7f4572ea465a838ccfd1/node_modules/@wirecat/cli-core/dist/cli/entry.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/entry.js
51
51
  var processIo = /* @__PURE__ */ __name(() => ({
52
52
  argv: process.argv,
53
53
  env: process.env,
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
67
67
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
68
68
  return printVersion(entry.app, io);
69
69
  if (isCommandServer(args)) {
70
- const { serveEntry } = await import("./command-server-entry-K52OEKIO.js");
70
+ const { serveEntry } = await import("./command-server-entry-UWY6PQIV.js");
71
71
  return serveEntry(entry, io, { firstRunAt, commanderExit });
72
72
  }
73
73
  const tty = io.stdout.isTTY === true;
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
105
105
  ask: /* @__PURE__ */ __name(async (question, command) => {
106
106
  if (headless(command) || io.stdin.isTTY !== true)
107
107
  return false;
108
- const { readSecret } = await import("./prompt-WYTODP4U.js");
108
+ const { readSecret } = await import("./prompt-BTIHH3Z4.js");
109
109
  const answer = await readSecret(`${question} [y/N] `, {
110
110
  input: io.stdin,
111
111
  output: io.stderr,
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
148
148
  if (command.optsWithGlobals().dryRun === true)
149
149
  return;
150
150
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
151
- import("./first-run-CMQZHDI5.js"),
152
- import("./command-contract-UKOL455D.js")
151
+ import("./first-run-3UJ6SJF5.js"),
152
+ import("./command-contract-ZEYY3ZXK.js")
153
153
  ]);
154
154
  await setupAtStart({
155
155
  command: entry.app.command,
@@ -0,0 +1,34 @@
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-QOINWAQD.js";
10
+ import "./chunk-2F2UMQMB.js";
11
+ import "./chunk-P2GNIWGG.js";
12
+ import "./chunk-NJ3FSKSU.js";
13
+ import "./chunk-AYEQMXRE.js";
14
+ import "./chunk-OXB5P37M.js";
15
+ import "./chunk-AZ7DSHQO.js";
16
+ import "./chunk-L5PYWQDA.js";
17
+ import "./chunk-MP47TE77.js";
18
+ import "./chunk-JQ2RKLPU.js";
19
+ import "./chunk-PJ6FZXUR.js";
20
+ import "./chunk-CK7DSGIK.js";
21
+ import "./chunk-XWBPP2HX.js";
22
+ import "./chunk-W725T2V7.js";
23
+ import "./chunk-NM5GBJME.js";
24
+ import "./chunk-XS5C5TQ7.js";
25
+ import "./chunk-Y5E2WNWB.js";
26
+ import "./chunk-7KCBPAQS.js";
27
+ import "./chunk-ZVVMGPBJ.js";
28
+ export {
29
+ SCHEMA_DIALECT,
30
+ commandContract,
31
+ commandPathOf,
32
+ findCommand,
33
+ outputOf
34
+ };