@wirecat/drive-cli 0.67.0 → 0.68.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 (123) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-DVZUVAPQ.js → all-profiles-BU6XUFUP.js} +7 -7
  3. package/dist/bundle/{anthropic-Y45C45O2.js → anthropic-ZP5B7S2Z.js} +2 -2
  4. package/dist/bundle/{app-server-GTXUOUGD.js → app-server-EB4DH6T7.js} +49 -45
  5. package/dist/bundle/{bun-QVJV76QJ.js → bun-PWMM6L45.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-CC7PIAMH.js → bun-sqlite-6VPR2SVC.js} +3 -3
  7. package/dist/bundle/{chunk-JO7BJYAP.js → chunk-2UHQVRH2.js} +15 -15
  8. package/dist/bundle/{chunk-NFIR346J.js → chunk-2VYEGKQ3.js} +1 -1
  9. package/dist/bundle/{chunk-MEY7URZZ.js → chunk-43NEDPXB.js} +4 -4
  10. package/dist/bundle/{chunk-YVUAG7RF.js → chunk-5G2BY4B6.js} +15 -15
  11. package/dist/bundle/{chunk-T2VAEDJS.js → chunk-5W65QTYS.js} +3 -3
  12. package/dist/bundle/{chunk-LSAIXPAX.js → chunk-6HFZZ2PW.js} +1 -1
  13. package/dist/bundle/{chunk-AJ3DFPRT.js → chunk-6QR7NKMG.js} +1 -1
  14. package/dist/bundle/{chunk-NWYVOHIX.js → chunk-6WAC2LOS.js} +459 -419
  15. package/dist/bundle/{chunk-HJF2QGOX.js → chunk-74NCZKRW.js} +29 -16
  16. package/dist/bundle/{chunk-4VH7M2OD.js → chunk-7A77GYCE.js} +2 -2
  17. package/dist/bundle/{chunk-2PIA45FC.js → chunk-7BXVI7XF.js} +1 -1
  18. package/dist/bundle/{chunk-ETAFFY3J.js → chunk-7TNQZKRD.js} +52 -52
  19. package/dist/bundle/{chunk-E3XA56TS.js → chunk-AIEMFRBU.js} +1 -1
  20. package/dist/bundle/{chunk-EXWOOST5.js → chunk-AXYG2DDY.js} +111 -83
  21. package/dist/bundle/{chunk-LXRBTXCZ.js → chunk-BXHFJTU5.js} +2 -2
  22. package/dist/bundle/{chunk-OOBSSU2G.js → chunk-CK2SQ2CE.js} +14 -13
  23. package/dist/bundle/{chunk-MF46W7PQ.js → chunk-CMWFYZ45.js} +1 -1
  24. package/dist/bundle/{chunk-4G7WQNG7.js → chunk-CRIEW4FP.js} +1 -1
  25. package/dist/bundle/{chunk-RC72RU66.js → chunk-CVAJMRRD.js} +5 -5
  26. package/dist/bundle/{chunk-YI4DXASF.js → chunk-DIZBJLPM.js} +36 -32
  27. package/dist/bundle/{chunk-FS2PG2PE.js → chunk-DU23ET2O.js} +18 -18
  28. package/dist/bundle/{chunk-JY2GZDJL.js → chunk-DYLYH7VE.js} +3 -3
  29. package/dist/bundle/{chunk-C72WYRXD.js → chunk-EEE4H2PA.js} +10 -10
  30. package/dist/bundle/{chunk-2MEVCMBW.js → chunk-EOC7RHJ2.js} +3 -3
  31. package/dist/bundle/{chunk-ZH4H5XTA.js → chunk-EXWZCI5G.js} +1 -1
  32. package/dist/bundle/{chunk-VZ5KETIX.js → chunk-F7KAMSXA.js} +2 -2
  33. package/dist/bundle/{chunk-SJE7UGOW.js → chunk-FAMXUI2X.js} +4 -4
  34. package/dist/bundle/{chunk-IRULPE5M.js → chunk-GTLXBAJV.js} +297 -281
  35. package/dist/bundle/{chunk-UFNE57VY.js → chunk-IVOG6T6P.js} +2 -2
  36. package/dist/bundle/{chunk-MBLB4TQI.js → chunk-J5LXL435.js} +18 -18
  37. package/dist/bundle/{chunk-XZCF5XU7.js → chunk-JMZQBRRZ.js} +5 -5
  38. package/dist/bundle/{chunk-PDHN4GHU.js → chunk-JZ3MT7IE.js} +1 -1
  39. package/dist/bundle/{chunk-P6A77LMP.js → chunk-KPKIHJIT.js} +5 -7
  40. package/dist/bundle/{chunk-2Y3YBDZX.js → chunk-MLSXHTUB.js} +137 -135
  41. package/dist/bundle/{chunk-ZEPDEFVT.js → chunk-MOKEB656.js} +1 -1
  42. package/dist/bundle/{chunk-BHSLMJF7.js → chunk-MWCPKUU4.js} +4 -4
  43. package/dist/bundle/{chunk-ULH3TNUP.js → chunk-NV75QPML.js} +4 -4
  44. package/dist/bundle/{chunk-CWDC6QJM.js → chunk-O7T3WGCV.js} +4 -4
  45. package/dist/bundle/{chunk-JJHDV32D.js → chunk-PGPHEC2X.js} +1 -1
  46. package/dist/bundle/{chunk-AAZPDWRD.js → chunk-PJ3FKBXG.js} +1 -1
  47. package/dist/bundle/{chunk-MEQNAZ6R.js → chunk-PWIEOATY.js} +5 -5
  48. package/dist/bundle/{chunk-6ERQE4FS.js → chunk-Q6BD6RUH.js} +40 -40
  49. package/dist/bundle/{chunk-3RG6LL25.js → chunk-QKY24RWV.js} +10 -10
  50. package/dist/bundle/{chunk-ABJQ6IDU.js → chunk-QRSPFCRY.js} +16 -16
  51. package/dist/bundle/{chunk-U2ERT45N.js → chunk-QTRYJZL7.js} +4 -4
  52. package/dist/bundle/{chunk-SXJDCRXE.js → chunk-QVJMFZFW.js} +1 -1
  53. package/dist/bundle/{chunk-WBKYZZQT.js → chunk-QWGEOQHA.js} +1 -1
  54. package/dist/bundle/{chunk-AZKFZ7J7.js → chunk-R5FTCNLJ.js} +1 -1
  55. package/dist/bundle/{chunk-DAFKV6DJ.js → chunk-RT5NT62B.js} +12 -12
  56. package/dist/bundle/{chunk-UOAHZV3K.js → chunk-SOS4U2RF.js} +18 -18
  57. package/dist/bundle/{chunk-ZU5VQYNY.js → chunk-TI2OANJZ.js} +1 -1
  58. package/dist/bundle/{chunk-5DMPGTNR.js → chunk-U52QE4QV.js} +2 -2
  59. package/dist/bundle/{chunk-JLUQZZ26.js → chunk-UFPRP7MG.js} +7 -7
  60. package/dist/bundle/{chunk-WWW7YTFG.js → chunk-UIKVP23D.js} +1 -1
  61. package/dist/bundle/{chunk-WKIQKGOF.js → chunk-ULNN3LCY.js} +26 -24
  62. package/dist/bundle/{chunk-5TSILGTO.js → chunk-UUQJVKPB.js} +323 -323
  63. package/dist/bundle/{chunk-7AZCAUST.js → chunk-UYBLNGZ2.js} +1 -1
  64. package/dist/bundle/{chunk-V7E25BUU.js → chunk-WCNTDETD.js} +2 -2
  65. package/dist/bundle/{chunk-ZK46UHDP.js → chunk-WGX4DZPW.js} +2 -2
  66. package/dist/bundle/{chunk-7J2IP3WL.js → chunk-WUFZGPXX.js} +6 -6
  67. package/dist/bundle/{chunk-Y5WSRG3F.js → chunk-YUGTJBV3.js} +2 -2
  68. package/dist/bundle/{chunk-JCNEPYQZ.js → chunk-YYIWPH53.js} +12 -12
  69. package/dist/bundle/{chunk-RLH6BOEG.js → chunk-Z5BMYI2V.js} +5 -5
  70. package/dist/bundle/{chunk-FOMQ4MG3.js → chunk-ZAIE3G5I.js} +2 -2
  71. package/dist/bundle/{chunk-QOKPRFHM.js → chunk-ZSVMZH5O.js} +2 -2
  72. package/dist/bundle/{chunk-JEMBW6IO.js → chunk-ZVQDOKDY.js} +1 -1
  73. package/dist/bundle/{cli-U4LSBYDV.js → cli-L7P36YUH.js} +50 -50
  74. package/dist/bundle/{command-contract-UU5T24ZZ.js → command-contract-EYFGMKIG.js} +16 -16
  75. package/dist/bundle/{command-server-entry-PK6FBUPO.js → command-server-entry-H3VGPOLJ.js} +23 -23
  76. package/dist/bundle/{decode-3ZE6NBKV.js → decode-JEU6JWCV.js} +2 -2
  77. package/dist/bundle/drive.js +3 -3
  78. package/dist/bundle/{echarts-6FWNCNXK.js → echarts-SDZA2SWG.js} +2 -2
  79. package/dist/bundle/{embed-DGYBBZUW.js → embed-WUKOASQG.js} +3 -3
  80. package/dist/bundle/{embedder-O7A6VMWI.js → embedder-UBRAXRDZ.js} +6 -6
  81. package/dist/bundle/{entry-CDJ2QSU2.js → entry-C4NUQFTF.js} +6 -6
  82. package/dist/bundle/{first-run-UOQW7DN5.js → first-run-PKHBS7B4.js} +5 -5
  83. package/dist/bundle/{first-screen-SNDV4YKF.js → first-screen-QOVOM4BF.js} +17 -17
  84. package/dist/bundle/{google-HPX52KMC.js → google-XXHSMTVK.js} +14 -14
  85. package/dist/bundle/{google-api-HIMN4XL5.js → google-api-SQQ4BSNR.js} +51 -51
  86. package/dist/bundle/{grants-RO42I6E4.js → grants-2U4JVT6O.js} +56 -56
  87. package/dist/bundle/{identity-NFGHDPLL.js → identity-SRL6RSU2.js} +1 -1
  88. package/dist/bundle/{instructions-6JAQYCM6.js → instructions-7T6JJIFS.js} +1 -1
  89. package/dist/bundle/{login-RZOQN63N.js → login-N243GGEE.js} +56 -56
  90. package/dist/bundle/{node-KSIX3GIH.js → node-BZDMUFTW.js} +2 -2
  91. package/dist/bundle/{node-sqlite-4FJ6WJXN.js → node-sqlite-SZQCCMV2.js} +4 -4
  92. package/dist/bundle/{oauth-BKZAMFKK.js → oauth-CMAFXX6A.js} +4 -4
  93. package/dist/bundle/{open-4AQJGH42.js → open-RVTPKDA3.js} +2 -2
  94. package/dist/bundle/{openai-24F2OX55.js → openai-6NN63BMH.js} +13 -13
  95. package/dist/bundle/{process-7NOA2T7H.js → process-756VBE7E.js} +1 -1
  96. package/dist/bundle/{program-7JHMLDEX.js → program-B4QBJYB5.js} +78 -75
  97. package/dist/bundle/{prompt-NM66MAZ4.js → prompt-HGP2DSRW.js} +2 -2
  98. package/dist/bundle/{recognize-DBKV2JYZ.js → recognize-26SHB7HI.js} +1 -1
  99. package/dist/bundle/{remote-ABWUTBVB.js → remote-Z4PWHZ5N.js} +7 -7
  100. package/dist/bundle/{rerank-FQAU4ENY.js → rerank-QHJZJK3Q.js} +4 -4
  101. package/dist/bundle/{serve-QLJG4QZD.js → serve-MYJW5IEM.js} +6 -6
  102. package/dist/bundle/server-HBZPIHDX.js +74 -0
  103. package/dist/bundle/{server-VGZNK5XD.js → server-XFW3V7CR.js} +38 -36
  104. package/dist/bundle/{services-5KARVUHK.js → services-IQG2RVTO.js} +25 -25
  105. package/dist/bundle/{sqlite-runtime-ILF6EFQJ.js → sqlite-runtime-X4GB5PBV.js} +3 -3
  106. package/dist/bundle/{state-R2M56GPU.js → state-ATQK2X3W.js} +3 -3
  107. package/dist/bundle/{store-2OBVMUQL.js → store-MEHEUOJH.js} +11 -11
  108. package/dist/bundle/{store-DA4K7HWW.js → store-QUBUPK6F.js} +13 -13
  109. package/dist/bundle/store-maintenance-command-33ULVDWY.js +65 -0
  110. package/dist/bundle/tokens-A2GP4F34.js +111 -0
  111. package/dist/policy.d.ts +2 -0
  112. package/dist/policy.d.ts.map +1 -1
  113. package/dist/policy.js +3 -2
  114. package/dist/policy.js.map +1 -1
  115. package/dist/program.d.ts.map +1 -1
  116. package/dist/program.js +3 -2
  117. package/dist/program.js.map +1 -1
  118. package/dist/version.d.ts +1 -1
  119. package/dist/version.js +1 -1
  120. package/package.json +2 -2
  121. package/dist/bundle/server-NUBLY5SV.js +0 -74
  122. package/dist/bundle/store-maintenance-command-KSIPI5B5.js +0 -65
  123. package/dist/bundle/tokens-VQDGSHRB.js +0 -111
@@ -23,20 +23,20 @@ import {
23
23
  tagMemberIds,
24
24
  thingOf,
25
25
  write
26
- } from "./chunk-NWYVOHIX.js";
26
+ } from "./chunk-6WAC2LOS.js";
27
27
  import {
28
28
  fold
29
- } from "./chunk-JLUQZZ26.js";
29
+ } from "./chunk-UFPRP7MG.js";
30
30
  import {
31
31
  ADDED_PROVIDER,
32
32
  filesAccountSql,
33
33
  folderProviderOf,
34
34
  folderProviderSql,
35
35
  isDocumentAccountProvider
36
- } from "./chunk-EXWOOST5.js";
36
+ } from "./chunk-AXYG2DDY.js";
37
37
  import {
38
38
  damagedFile
39
- } from "./chunk-7AZCAUST.js";
39
+ } from "./chunk-UYBLNGZ2.js";
40
40
  import {
41
41
  CliError
42
42
  } from "./chunk-EA2OB75T.js";
@@ -44,7 +44,7 @@ import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/damage.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
265
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
594
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
766
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/health.js
868
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
1010
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
1036
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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");
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  commandPathOf,
8
8
  outputOf
9
- } from "./chunk-2MEVCMBW.js";
9
+ } from "./chunk-EOC7RHJ2.js";
10
10
  import {
11
11
  Command,
12
12
  Help,
@@ -17,7 +17,7 @@ import {
17
17
  environmentOf,
18
18
  metaOf,
19
19
  takesProfile
20
- } from "./chunk-2Y3YBDZX.js";
20
+ } from "./chunk-MLSXHTUB.js";
21
21
  import {
22
22
  writes
23
23
  } from "./chunk-JRFKCYMW.js";
@@ -28,7 +28,7 @@ import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
32
32
  var ARGUMENT_KINDS = {
33
33
  chat: "chat",
34
34
  chats: "chat",
@@ -250,7 +250,7 @@ var exampleReport = /* @__PURE__ */ __name((program) => {
250
250
  return { written, generated, text };
251
251
  }, "exampleReport");
252
252
 
253
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
253
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
254
254
  var WIRECAT_TOOLS = [
255
255
  {
256
256
  command: "tg",
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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) {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/runs/secrets.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  DOC
5
- } from "./chunk-FS2PG2PE.js";
5
+ } from "./chunk-DU23ET2O.js";
6
6
  import {
7
7
  operations
8
8
  } from "./chunk-NYECVHFH.js";
9
9
  import {
10
10
  privateFiles
11
- } from "./chunk-5TSILGTO.js";
11
+ } from "./chunk-UUQJVKPB.js";
12
12
  import {
13
13
  commandPathKey,
14
14
  commandPermissions
15
- } from "./chunk-YVUAG7RF.js";
15
+ } from "./chunk-5G2BY4B6.js";
16
16
  import {
17
17
  listQuery,
18
18
  queryTerms,
19
19
  typedQuery,
20
20
  withQuery
21
- } from "./chunk-JO7BJYAP.js";
21
+ } from "./chunk-2UHQVRH2.js";
22
22
  import {
23
23
  AI_ENTRIES,
24
24
  answerEntity,
@@ -27,16 +27,16 @@ import {
27
27
  settingsFor,
28
28
  usableProfileName,
29
29
  withSettingDefaults
30
- } from "./chunk-2Y3YBDZX.js";
30
+ } from "./chunk-MLSXHTUB.js";
31
31
  import {
32
32
  LEVELS
33
- } from "./chunk-MBLB4TQI.js";
33
+ } from "./chunk-J5LXL435.js";
34
34
  import {
35
35
  note
36
- } from "./chunk-UFNE57VY.js";
36
+ } from "./chunk-IVOG6T6P.js";
37
37
  import {
38
38
  MAX_TEXT_CHARS
39
- } from "./chunk-LXRBTXCZ.js";
39
+ } from "./chunk-BXHFJTU5.js";
40
40
  import {
41
41
  dateRange,
42
42
  queryError,
@@ -45,7 +45,7 @@ import {
45
45
  } from "./chunk-UPCEHSIZ.js";
46
46
  import {
47
47
  DRIVE_APP
48
- } from "./chunk-LSAIXPAX.js";
48
+ } from "./chunk-6HFZZ2PW.js";
49
49
  import {
50
50
  BASE_CONSTANTS,
51
51
  baseConstantsSchema,
@@ -88,7 +88,7 @@ import {
88
88
  __name
89
89
  } from "./chunk-ZVVMGPBJ.js";
90
90
 
91
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/oauth/client-file.js
91
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/oauth/client-file.js
92
92
  import { readFileSync } from "node:fs";
93
93
  var readClientFile = /* @__PURE__ */ __name((location, options = {}) => {
94
94
  if (!options.shipped && typeof location === "string") {
@@ -109,7 +109,7 @@ var readClientFile = /* @__PURE__ */ __name((location, options = {}) => {
109
109
  }
110
110
  }, "readClientFile");
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/constants/obscure.js
112
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/constants/obscure.js
113
113
  import { createDecipheriv } from "node:crypto";
114
114
  var KEY = Buffer.from("d43012779aa2dded3e98092a3dbcf5d8980c564172f5ce0a5fd0574e5f740339", "hex");
115
115
  var reveal = /* @__PURE__ */ __name((obscured) => {
@@ -118,7 +118,7 @@ var reveal = /* @__PURE__ */ __name((obscured) => {
118
118
  return Buffer.concat([decipher.update(bytes.subarray(16)), decipher.final()]).toString("utf8");
119
119
  }, "reveal");
120
120
 
121
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/constants/index.js
121
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/constants/index.js
122
122
  var CORE_CONSTANTS = new URL("../../constants.json", new URL("constants/index.js", import.meta.resolve("@wirecat/cli-core")).href);
123
123
  var constantsSchema = object({
124
124
  ...baseConstantsSchema.entries,
@@ -7,20 +7,20 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-OOBSSU2G.js";
10
+ } from "./chunk-CK2SQ2CE.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-V7E25BUU.js";
13
+ } from "./chunk-WCNTDETD.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
17
17
  refuseLacking
18
- } from "./chunk-JO7BJYAP.js";
18
+ } from "./chunk-2UHQVRH2.js";
19
19
  import {
20
20
  onlineDeps,
21
21
  servicesFor,
22
22
  storeModeDeps
23
- } from "./chunk-IRULPE5M.js";
23
+ } from "./chunk-GTLXBAJV.js";
24
24
  import {
25
25
  DEFAULT_OUTPUT_BYTES,
26
26
  ENTITIES,
@@ -35,35 +35,35 @@ import {
35
35
  refuseStoreChange,
36
36
  sealed,
37
37
  startRecording
38
- } from "./chunk-2Y3YBDZX.js";
38
+ } from "./chunk-MLSXHTUB.js";
39
39
  import {
40
40
  currentCaller,
41
41
  keepsSuccess,
42
42
  runContextOf,
43
43
  withCaller
44
- } from "./chunk-7J2IP3WL.js";
44
+ } from "./chunk-WUFZGPXX.js";
45
45
  import {
46
46
  authorityAllowed,
47
47
  botApiAllowed,
48
48
  keyForCommand,
49
49
  levelFor,
50
50
  readKeysForCommand
51
- } from "./chunk-MBLB4TQI.js";
51
+ } from "./chunk-J5LXL435.js";
52
52
  import {
53
53
  MAX_BUFFERED_INPUT
54
- } from "./chunk-JJHDV32D.js";
54
+ } from "./chunk-PGPHEC2X.js";
55
55
  import {
56
56
  enclosingTraceId,
57
57
  inRun,
58
58
  newRunId,
59
59
  traceOf
60
- } from "./chunk-EXWOOST5.js";
60
+ } from "./chunk-AXYG2DDY.js";
61
61
  import {
62
62
  queryDescription
63
63
  } from "./chunk-UPCEHSIZ.js";
64
64
  import {
65
65
  storeDamaged
66
- } from "./chunk-7AZCAUST.js";
66
+ } from "./chunk-UYBLNGZ2.js";
67
67
  import {
68
68
  captureStreams
69
69
  } from "./chunk-MW46BLWH.js";
@@ -119,7 +119,7 @@ import {
119
119
  __name
120
120
  } from "./chunk-ZVVMGPBJ.js";
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/agent.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/agent.js
123
123
  import { Readable } from "node:stream";
124
124
 
125
125
  // 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/lint.js
@@ -3291,7 +3291,7 @@ var VOCABULARY = defineVocabulary({
3291
3291
  ]
3292
3292
  });
3293
3293
 
3294
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3294
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3295
3295
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3296
3296
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3297
3297
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3405,12 +3405,12 @@ var keywordsOf = /* @__PURE__ */ __name((examples) => [
3405
3405
  ...new Set(examples.flatMap((example) => example.split(/\s+/u).filter((word2) => word2 !== "" && !word2.startsWith("-"))))
3406
3406
  ], "keywordsOf");
3407
3407
  var toolsFromCommands = /* @__PURE__ */ __name((commands, options = {}) => {
3408
- const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions } = options;
3408
+ const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions, fetches } = options;
3409
3409
  return flatten(commands).filter((info) => (
3410
3410
  // A group is offered only when it runs on its own; without an action it only prints its help.
3411
- (info.commands.length === 0 || info.runnable === true) && info.path.length > root.length && startsWith(info.path, root) && !exclude.some((skipped) => startsWith(info.path.slice(root.length), skipped)) && info.mcp !== false && info.lifetime === void 0 && (options.includeUnavailable === true || !(readOnly && (changesMessenger(info) || authority?.(info.path))) && (levels === void 0 && !(readOnly && permissions) ? true : commandAvailability(info, levels ?? {}, keyOf, authority, readOnly, true, permissions).available))
3411
+ (info.commands.length === 0 || info.runnable === true) && info.path.length > root.length && startsWith(info.path, root) && !exclude.some((skipped) => startsWith(info.path.slice(root.length), skipped)) && info.mcp !== false && info.lifetime === void 0 && (options.includeUnavailable === true || !(readOnly && (changesMessenger(info) || authority?.(info.path))) && (levels === void 0 && !(readOnly && permissions) ? true : commandAvailability(info, levels ?? {}, keyOf, authority, readOnly, true, permissions, fetches).available))
3412
3412
  )).map((info) => ({
3413
- availability: /* @__PURE__ */ __name(() => commandAvailability(info, options.currentLevels?.() ?? levels ?? {}, keyOf, authority, readOnly, true, permissions), "availability"),
3413
+ availability: /* @__PURE__ */ __name(() => commandAvailability(info, options.currentLevels?.() ?? levels ?? {}, keyOf, authority, readOnly, true, permissions, fetches), "availability"),
3414
3414
  command: info.path.slice(root.length).join(" "),
3415
3415
  path: info.path,
3416
3416
  title: info.summary ?? info.description,
@@ -3453,7 +3453,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3453
3453
  if (info.lifetime)
3454
3454
  throw new CliError("validation_error", `"${path.join(" ")}" runs until it is stopped; an agent call must return`);
3455
3455
  const levels = ctx.levels?.();
3456
- const availability = (levels || ctx.readOnly || ctx.permissions) && commandAvailability(info, levels ?? {}, ctx.keyOf, ctx.authority, ctx.readOnly, true, ctx.permissions);
3456
+ const availability = (levels || ctx.readOnly || ctx.permissions) && commandAvailability(info, levels ?? {}, ctx.keyOf, ctx.authority, ctx.readOnly, true, ctx.permissions, ctx.fetches);
3457
3457
  if (availability && !availability.available)
3458
3458
  throw new CliError("permission_error", `${path.join(" ")}: ${availability.reason}`, {
3459
3459
  sent: false,
@@ -3518,7 +3518,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3518
3518
  }
3519
3519
  }, "runCommandForAgent");
3520
3520
 
3521
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3521
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3522
3522
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3523
3523
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3524
3524
  var message = pipe(
@@ -3777,7 +3777,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3777
3777
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3778
3778
  }, "failed");
3779
3779
 
3780
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3780
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3781
3781
  import { randomUUID } from "node:crypto";
3782
3782
  var MATCHES = 8;
3783
3783
  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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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;
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-WWW7YTFG.js";
5
+ } from "./chunk-UIKVP23D.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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");
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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"];
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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) => {