@wirecat/tg-cli 0.107.0 → 0.108.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 (89) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-PN5AXCJ7.js → adapter-YFWRJWL5.js} +37 -37
  3. package/dist/bundle/{all-profiles-SDHNKZQQ.js → all-profiles-GQIZSF4W.js} +5 -5
  4. package/dist/bundle/{anthropic-F3BXQLYB.js → anthropic-BKWEDKPU.js} +3 -3
  5. package/dist/bundle/{app-server-XDKMWVCD.js → app-server-RJV7ICLH.js} +34 -34
  6. package/dist/bundle/{bot-api-YXJL4CEV.js → bot-api-2PAH2JZ3.js} +38 -38
  7. package/dist/bundle/{bot-history-SDLHR7PV.js → bot-history-DPPZ43F4.js} +10 -10
  8. package/dist/bundle/{bun-SMH7PKUS.js → bun-Q7COX3Z5.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-KB6PSTWH.js → bun-sqlite-YI4AYZXO.js} +2 -2
  10. package/dist/bundle/{chunk-P5KMLJQR.js → chunk-26PWIQPP.js} +194 -194
  11. package/dist/bundle/{chunk-465FPHSG.js → chunk-3562DVQ7.js} +7 -7
  12. package/dist/bundle/{chunk-GJS26XEB.js → chunk-3GXKJKIC.js} +4 -4
  13. package/dist/bundle/{chunk-VMKPRAIB.js → chunk-3HYDKCXB.js} +4 -4
  14. package/dist/bundle/{chunk-44UANKAI.js → chunk-4RDMNNVO.js} +14 -9
  15. package/dist/bundle/{chunk-STGY3EAZ.js → chunk-5HPXENE5.js} +1 -1
  16. package/dist/bundle/{chunk-BMXGEQDA.js → chunk-5P27JGGA.js} +4 -4
  17. package/dist/bundle/{chunk-DBZVF73F.js → chunk-6MZ2ZBX4.js} +2 -2
  18. package/dist/bundle/{chunk-YA44IPCS.js → chunk-6QTUYMGX.js} +1 -1
  19. package/dist/bundle/{chunk-CJJVFGFX.js → chunk-76OSISA3.js} +1 -1
  20. package/dist/bundle/{chunk-GGAG3G7B.js → chunk-77OOX2OE.js} +47 -47
  21. package/dist/bundle/{chunk-53QVFV34.js → chunk-AOUB2QFP.js} +1 -1
  22. package/dist/bundle/{chunk-PYRJO6B3.js → chunk-AS2BVZU3.js} +3 -3
  23. package/dist/bundle/{chunk-AWBJSYX6.js → chunk-B7TFWNKJ.js} +1 -1
  24. package/dist/bundle/{chunk-A4DS5ANQ.js → chunk-BL72ZIBV.js} +1 -1
  25. package/dist/bundle/{chunk-REJM262E.js → chunk-BOSMBW4I.js} +10 -10
  26. package/dist/bundle/{chunk-JAWXJILO.js → chunk-BT6PWDM6.js} +2 -2
  27. package/dist/bundle/{chunk-TEHAIU6I.js → chunk-CVWF3BFK.js} +42 -42
  28. package/dist/bundle/{chunk-NSQL3YRD.js → chunk-CZANI3DM.js} +20 -20
  29. package/dist/bundle/{chunk-BGVODG6P.js → chunk-D6DBVPES.js} +2 -2
  30. package/dist/bundle/{chunk-NUVHRCUK.js → chunk-DNOJKQXQ.js} +255 -247
  31. package/dist/bundle/{chunk-BYDDYOF4.js → chunk-DUWTG2GE.js} +7 -7
  32. package/dist/bundle/{chunk-53RW4KLL.js → chunk-EBB7RFCW.js} +1 -1
  33. package/dist/bundle/{chunk-X7M7YZPF.js → chunk-EWL3ZFOI.js} +5 -5
  34. package/dist/bundle/{chunk-NMTFZNFU.js → chunk-F67VPIJL.js} +26 -26
  35. package/dist/bundle/{chunk-WXIGT6FY.js → chunk-KQFR7ZAA.js} +11 -11
  36. package/dist/bundle/{chunk-RGNKRI5T.js → chunk-KZPZFPGB.js} +20 -20
  37. package/dist/bundle/{chunk-YSDA3EWT.js → chunk-LY2LFJMU.js} +92 -92
  38. package/dist/bundle/{chunk-5QBTHR57.js → chunk-LYLGLFWY.js} +2 -2
  39. package/dist/bundle/{chunk-KROO42KC.js → chunk-NCXCBVHO.js} +5 -5
  40. package/dist/bundle/{chunk-JZOXKRDG.js → chunk-OB5PPPXH.js} +6 -6
  41. package/dist/bundle/{chunk-IY7IEM56.js → chunk-ON67U6WV.js} +4 -4
  42. package/dist/bundle/{chunk-3UEFJ75D.js → chunk-PCMW3PW6.js} +1 -1
  43. package/dist/bundle/{chunk-NCWB3KXP.js → chunk-PQHYM2XC.js} +1 -1
  44. package/dist/bundle/{chunk-TKCZYJAT.js → chunk-QVIT6SQ5.js} +1779 -1519
  45. package/dist/bundle/{chunk-H4LIQVPN.js → chunk-R5YOKYTE.js} +9 -9
  46. package/dist/bundle/{chunk-LA2OUJK5.js → chunk-REI5TPS3.js} +8 -8
  47. package/dist/bundle/{chunk-P5UG655O.js → chunk-SONKULUF.js} +2 -2
  48. package/dist/bundle/{chunk-WFG7KFM4.js → chunk-TVA3NXXO.js} +1 -1
  49. package/dist/bundle/{chunk-6FSG6QZH.js → chunk-VK2YLSK7.js} +1 -1
  50. package/dist/bundle/{chunk-MOZX3JX3.js → chunk-WEDWIXIC.js} +2 -2
  51. package/dist/bundle/{chunk-TFV4UPQZ.js → chunk-WKSLGPZQ.js} +3 -3
  52. package/dist/bundle/{chunk-DFZBGU4G.js → chunk-WUF64WOG.js} +4 -4
  53. package/dist/bundle/{chunk-P4A27ETD.js → chunk-XZXOGHU5.js} +70 -46
  54. package/dist/bundle/{chunk-OIHAM73W.js → chunk-YJ6GFFEE.js} +1 -1
  55. package/dist/bundle/{chunk-WS3S7DXT.js → chunk-ZHHVNTBJ.js} +1 -1
  56. package/dist/bundle/{chunk-O7VQHFMZ.js → chunk-ZYBDAZFO.js} +1 -1
  57. package/dist/bundle/{command-contract-B4DA4MXP.js → command-contract-5GJV6EHG.js} +12 -12
  58. package/dist/bundle/{decode-WEP3HD56.js → decode-ZFAFVFWX.js} +2 -2
  59. package/dist/bundle/{echarts-MRMILSAF.js → echarts-SVXNTKGV.js} +2 -2
  60. package/dist/bundle/{embed-LCLTUVUD.js → embed-V755YE7O.js} +3 -3
  61. package/dist/bundle/{embedder-O4WNEXUC.js → embedder-MQAPNQBH.js} +6 -6
  62. package/dist/bundle/{entry-7HDX6BDR.js → entry-ULQ3VOMQ.js} +3 -3
  63. package/dist/bundle/{first-run-M7YVVQJS.js → first-run-64BTWXDR.js} +5 -5
  64. package/dist/bundle/{first-screen-MXW3UZFB.js → first-screen-YZCH4TEV.js} +13 -13
  65. package/dist/bundle/{identity-EEMHQOTN.js → identity-PW45VBUU.js} +1 -1
  66. package/dist/bundle/{instructions-YIH3J4TI.js → instructions-G3ZUIRRH.js} +1 -1
  67. package/dist/bundle/{node-YWT7RFN6.js → node-IDJXLZSX.js} +2 -2
  68. package/dist/bundle/node-sqlite-W22J37MG.js +62 -0
  69. package/dist/bundle/{oauth-CADZB7TT.js → oauth-Q52LBXDE.js} +4 -4
  70. package/dist/bundle/{open-AMRU27KK.js → open-YLD7VHEC.js} +1 -1
  71. package/dist/bundle/{process-JC76J5UD.js → process-OBESF2XG.js} +1 -1
  72. package/dist/bundle/{program-FI6MTY2V.js → program-EBMWHOKQ.js} +40 -40
  73. package/dist/bundle/{prompt-SPYTHKHN.js → prompt-FHHQF3MG.js} +2 -2
  74. package/dist/bundle/{recognize-G5VVM6MU.js → recognize-QNHKHGKM.js} +1 -1
  75. package/dist/bundle/{remote-Z3HW42CH.js → remote-RVZWRCCT.js} +4 -4
  76. package/dist/bundle/{rerank-QJ5NLZUU.js → rerank-KG2USEME.js} +4 -4
  77. package/dist/bundle/{serve-3I4C6Y5X.js → serve-I4MJKEQ4.js} +6 -6
  78. package/dist/bundle/server-AXMWFPNT.js +55 -0
  79. package/dist/bundle/{server-2L4BONHN.js → server-GV7SV3L6.js} +26 -26
  80. package/dist/bundle/{state-IXZYPH46.js → state-AJKHWFBU.js} +3 -3
  81. package/dist/bundle/{store-KS4XIA2R.js → store-L3HFSSGJ.js} +7 -7
  82. package/dist/bundle/store-maintenance-command-Y22ARSDR.js +44 -0
  83. package/dist/bundle/tg.js +2 -2
  84. package/dist/version.d.ts +1 -1
  85. package/dist/version.js +1 -1
  86. package/package.json +2 -2
  87. package/dist/bundle/node-sqlite-LVHTONMA.js +0 -46
  88. package/dist/bundle/server-7TJ337SR.js +0 -55
  89. package/dist/bundle/store-maintenance-command-I3L24P22.js +0 -44
@@ -5,7 +5,7 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-TFV4UPQZ.js";
8
+ } from "./chunk-WKSLGPZQ.js";
9
9
  import {
10
10
  currentCaller,
11
11
  endpointTemplate,
@@ -16,19 +16,19 @@ import {
16
16
  providerErrorKey,
17
17
  renderEvent,
18
18
  runContextOf
19
- } from "./chunk-BYDDYOF4.js";
19
+ } from "./chunk-DUWTG2GE.js";
20
20
  import {
21
21
  permissionCeiling
22
- } from "./chunk-P5UG655O.js";
22
+ } from "./chunk-SONKULUF.js";
23
23
  import {
24
24
  envName,
25
25
  readOnlyLockOf,
26
26
  readOnlyRefusal
27
- } from "./chunk-3UEFJ75D.js";
27
+ } from "./chunk-PCMW3PW6.js";
28
28
  import {
29
29
  filesPresent,
30
30
  sharedModelsDirectory
31
- } from "./chunk-VMKPRAIB.js";
31
+ } from "./chunk-3HYDKCXB.js";
32
32
  import {
33
33
  FIELD_TYPES,
34
34
  QUERY_BACKENDS,
@@ -37,13 +37,13 @@ import {
37
37
  TASK_STATES,
38
38
  TASK_TYPES,
39
39
  describeQuery
40
- } from "./chunk-P4A27ETD.js";
40
+ } from "./chunk-XZXOGHU5.js";
41
41
  import {
42
42
  sharedConfigPath
43
- } from "./chunk-IY7IEM56.js";
43
+ } from "./chunk-ON67U6WV.js";
44
44
  import {
45
45
  storePath
46
- } from "./chunk-53RW4KLL.js";
46
+ } from "./chunk-EBB7RFCW.js";
47
47
  import {
48
48
  configFilePath,
49
49
  createRecordLog,
@@ -3897,7 +3897,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3897
3897
  }
3898
3898
  }, "refuseJoinedPath");
3899
3899
 
3900
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3900
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3901
3901
  import { AsyncLocalStorage } from "node:async_hooks";
3902
3902
  var sentIds = /* @__PURE__ */ __name((typed, message) => ({
3903
3903
  messageId: message.id,
@@ -4003,7 +4003,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
4003
4003
  }, "guardedWrite");
4004
4004
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
4005
4005
 
4006
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4006
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4007
4007
  var named = /* @__PURE__ */ __name((work) => {
4008
4008
  try {
4009
4009
  return work();
@@ -4030,7 +4030,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
4030
4030
  return projectFields(value, fields);
4031
4031
  }), "projectFields");
4032
4032
 
4033
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/execution.js
4033
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/execution.js
4034
4034
  var DEFAULT_COMMAND_MS = 3e4;
4035
4035
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4036
4036
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4212,7 +4212,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4212
4212
  }
4213
4213
  }, "withAbort");
4214
4214
 
4215
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/sends/permissions.js
4215
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/sends/permissions.js
4216
4216
  var LEVELS = ["deny", "readonly", "ask", "allow"];
4217
4217
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
4218
4218
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -4601,7 +4601,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4601
4601
  }
4602
4602
  }, "assertRetentionEvidenceRead");
4603
4603
 
4604
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4604
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4605
4605
  import { existsSync, readdirSync, readFileSync } from "node:fs";
4606
4606
  import { join } from "node:path";
4607
4607
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4623,7 +4623,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4623
4623
  }, "profilesWithAccounts");
4624
4624
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4625
4625
 
4626
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/output-detail.js
4626
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/output-detail.js
4627
4627
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
4628
4628
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
4629
4629
  var isHit = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && typeof value.locator === "string" && typeof value.text === "string", "isHit");
@@ -4653,7 +4653,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
4653
4653
  return value;
4654
4654
  }, "atDetail");
4655
4655
 
4656
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/output.js
4656
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/output.js
4657
4657
  var resolveOutput = /* @__PURE__ */ __name(({ json, jsonl, quiet, streams = processStreams, tty, color, fields, hitDetail, env = process.env, capture } = {}) => {
4658
4658
  const interactive = tty ?? process.stdout.isTTY === true;
4659
4659
  const format = jsonl ? "jsonl" : json || !interactive ? "json" : "pretty";
@@ -4701,7 +4701,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
4701
4701
  }, "warn")
4702
4702
  }), "silence");
4703
4703
 
4704
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4704
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4705
4705
  var CORE_LOG_EVENTS = defineLogEvents([
4706
4706
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4707
4707
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4735,7 +4735,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4735
4735
  cache: "cache.answered"
4736
4736
  };
4737
4737
 
4738
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
4738
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
4739
4739
  var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
4740
4740
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
4741
4741
  var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
@@ -4748,13 +4748,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
4748
4748
  error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
4749
4749
  }), "snakeLogger");
4750
4750
 
4751
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/runs/run.js
4751
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/runs/run.js
4752
4752
  import { randomUUID } from "node:crypto";
4753
4753
  import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
4754
4754
  import { userInfo } from "node:os";
4755
4755
  import { join as join2, sep } from "node:path";
4756
4756
 
4757
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
4757
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
4758
4758
  var diagnostic = {
4759
4759
  event: true,
4760
4760
  operation: true,
@@ -4824,7 +4824,7 @@ var LOG_ATTRIBUTES = [
4824
4824
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
4825
4825
  ].sort();
4826
4826
 
4827
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/runs/run.js
4827
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/runs/run.js
4828
4828
  var KEEP_RUNS_FOR_DAYS = 30;
4829
4829
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
4830
4830
  var RUNS_SIZE_LIMIT_MB = 200;
@@ -5177,7 +5177,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
5177
5177
  };
5178
5178
  }, "metadataOf");
5179
5179
 
5180
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/runs/scope.js
5180
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/runs/scope.js
5181
5181
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
5182
5182
  import { randomBytes } from "node:crypto";
5183
5183
  var scopes = new AsyncLocalStorage2();
@@ -5215,7 +5215,7 @@ var attempts = new AsyncLocalStorage2();
5215
5215
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
5216
5216
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
5217
5217
 
5218
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/runs/recording.js
5218
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/runs/recording.js
5219
5219
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
5220
5220
  const recording = startRecording(options);
5221
5221
  try {
@@ -5400,7 +5400,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
5400
5400
  return void 0;
5401
5401
  }, "partialOutcome");
5402
5402
 
5403
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/deadline.js
5403
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/deadline.js
5404
5404
  var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
5405
5405
  if (ms === void 0)
5406
5406
  return body();
@@ -5426,7 +5426,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
5426
5426
  }
5427
5427
  }, "withDeadline");
5428
5428
 
5429
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/profile.js
5429
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/profile.js
5430
5430
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
5431
5431
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
5432
5432
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -5495,10 +5495,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
5495
5495
  return void 0;
5496
5496
  }, "sampleCommand");
5497
5497
 
5498
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/settings.js
5498
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/settings.js
5499
5499
  import { existsSync as existsSync3 } from "node:fs";
5500
5500
 
5501
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/models/endpoint.js
5501
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/models/endpoint.js
5502
5502
  var endpoint = /* @__PURE__ */ __name((value) => {
5503
5503
  try {
5504
5504
  const url2 = new URL(value);
@@ -5508,7 +5508,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
5508
5508
  }
5509
5509
  }, "endpoint");
5510
5510
 
5511
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/models/settings.js
5511
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/models/settings.js
5512
5512
  var MODEL_FIELDS = ["provider", "model", "base_url"];
5513
5513
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
5514
5514
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -5577,7 +5577,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
5577
5577
  };
5578
5578
  }, "modelTarget");
5579
5579
 
5580
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5580
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5581
5581
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
5582
5582
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
5583
5583
  var AI_FIELDS = {
@@ -5621,7 +5621,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
5621
5621
  };
5622
5622
  }, "resolveAISettings");
5623
5623
 
5624
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/domain/duration.js
5624
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/domain/duration.js
5625
5625
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
5626
5626
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
5627
5627
  var parseDuration = /* @__PURE__ */ __name((value, source) => {
@@ -5635,7 +5635,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
5635
5635
  return ms;
5636
5636
  }, "parseDuration");
5637
5637
 
5638
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/embeddings/models.js
5638
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/embeddings/models.js
5639
5639
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
5640
5640
  var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
5641
5641
  var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
@@ -5794,7 +5794,7 @@ var rerankModel = /* @__PURE__ */ __name((id2) => {
5794
5794
  var vectorModelKey = /* @__PURE__ */ __name((model2) => `local:${model2.id}:${model2.dims}`, "vectorModelKey");
5795
5795
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
5796
5796
 
5797
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5797
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5798
5798
  import { readFileSync as readFileSync3 } from "node:fs";
5799
5799
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5800
5800
  var SECTIONS = ["personal", "bot"];
@@ -6084,7 +6084,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
6084
6084
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
6085
6085
  }, "readConfigFile");
6086
6086
 
6087
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/default-config.js
6087
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/default-config.js
6088
6088
  import { existsSync as existsSync2, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
6089
6089
  import { dirname, join as join3 } from "node:path";
6090
6090
  var DEFAULT_CONFIG = {
@@ -6113,7 +6113,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
6113
6113
  }
6114
6114
  __name(ensureDefaultConfig, "ensureDefaultConfig");
6115
6115
 
6116
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/settings.js
6116
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/settings.js
6117
6117
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
6118
6118
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
6119
6119
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -6503,7 +6503,7 @@ var given = /* @__PURE__ */ __name((value) => {
6503
6503
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
6504
6504
  }, "given");
6505
6505
 
6506
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/context.js
6506
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/context.js
6507
6507
  var setExitCode = /* @__PURE__ */ __name((command, code) => {
6508
6508
  const slot = environmentOf(command).exit;
6509
6509
  if (slot)
@@ -6610,7 +6610,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6610
6610
  return words.join(" ");
6611
6611
  }, "commandPath");
6612
6612
 
6613
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/effects.js
6613
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/effects.js
6614
6614
  var REMOTE_READ = { remote: "read", local: "read" };
6615
6615
  var FETCH = { remote: "read", local: "write" };
6616
6616
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6712,7 +6712,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6712
6712
  throw readOnlyRefusal(lock, what);
6713
6713
  }, "refuseUnderReadOnly");
6714
6714
 
6715
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/images/picture/models.js
6715
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/images/picture/models.js
6716
6716
  import { join as join4 } from "node:path";
6717
6717
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
6718
6718
  var IMAGE_MODELS = [
@@ -6766,7 +6766,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
6766
6766
  var placedImage = /* @__PURE__ */ __name((model2, directory) => model2.files.map((file) => [file, join4(directory, model2.id, file.name)]), "placedImage");
6767
6767
  var isImageModelInstalled = /* @__PURE__ */ __name((model2, directory) => filesPresent(placedImage(model2, directory)), "isImageModelInstalled");
6768
6768
 
6769
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/steps.js
6769
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/steps.js
6770
6770
  var STEPS2 = defineSteps([
6771
6771
  ...STEPS,
6772
6772
  {
@@ -7032,7 +7032,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
7032
7032
  ].join(" ");
7033
7033
  }, "stepLine");
7034
7034
 
7035
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
7035
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
7036
7036
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
7037
7037
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
7038
7038
  var strip = /* @__PURE__ */ __name((value) => {
@@ -7046,7 +7046,7 @@ var strip = /* @__PURE__ */ __name((value) => {
7046
7046
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
7047
7047
  }, "strip");
7048
7048
 
7049
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/envelope.js
7049
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/envelope.js
7050
7050
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
7051
7051
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
7052
7052
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -7168,7 +7168,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
7168
7168
  renderer.result(item);
7169
7169
  }, "printItem");
7170
7170
 
7171
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/entities/store-table.js
7171
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/entities/store-table.js
7172
7172
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
7173
7173
  var storeTable = strictObject({
7174
7174
  name: text,
@@ -7177,7 +7177,7 @@ var storeTable = strictObject({
7177
7177
  bytes: optional(nullable(count))
7178
7178
  });
7179
7179
 
7180
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
7180
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
7181
7181
  var WEIGHTS = {
7182
7182
  bot: 3,
7183
7183
  scam: 3,
@@ -7202,7 +7202,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
7202
7202
  var DIGITS = /\d{5,}/;
7203
7203
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
7204
7204
 
7205
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/entities/task.js
7205
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/entities/task.js
7206
7206
  var closeSuggestion = strictObject({
7207
7207
  as: picklist(["done", "dismissed"]),
7208
7208
  /** The agent's name. */
@@ -7244,7 +7244,7 @@ var task = strictObject({
7244
7244
  updated_at: optional(time)
7245
7245
  });
7246
7246
 
7247
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/entities/agenda.js
7247
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/entities/agenda.js
7248
7248
  var agendaChat = strictObject({
7249
7249
  chat: reference,
7250
7250
  title: nullable(text),
@@ -7304,7 +7304,7 @@ var agenda = strictObject({
7304
7304
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
7305
7305
  });
7306
7306
 
7307
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/entities/conversation.js
7307
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/entities/conversation.js
7308
7308
  var conversation = strictObject({
7309
7309
  id,
7310
7310
  chat: reference,
@@ -7319,7 +7319,7 @@ var conversation = strictObject({
7319
7319
  rules_version: count
7320
7320
  });
7321
7321
 
7322
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/entities/attachment.js
7322
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/entities/attachment.js
7323
7323
  var attachment = strictObject({
7324
7324
  /** The message it came with, as a locator; absent inside that message. */
7325
7325
  message: optional(reference),
@@ -7356,7 +7356,7 @@ var attachment = strictObject({
7356
7356
  }))))
7357
7357
  });
7358
7358
 
7359
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/entities/tagging.js
7359
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/entities/tagging.js
7360
7360
  var tagging = strictObject({
7361
7361
  tag: text,
7362
7362
  type: picklist(TAG_TYPES),
@@ -7369,7 +7369,7 @@ var tagging = strictObject({
7369
7369
  created_at: time
7370
7370
  });
7371
7371
 
7372
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/runs/record-log.js
7372
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/runs/record-log.js
7373
7373
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
7374
7374
  const run = currentRun();
7375
7375
  const trace = traceId ?? run.traceId;
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -10,10 +10,10 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/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.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/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.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/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) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/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.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/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");
@@ -9,22 +9,22 @@ import {
9
9
  readSetupAnswers,
10
10
  unanswered,
11
11
  writeSetupAnswers
12
- } from "./chunk-P5UG655O.js";
12
+ } from "./chunk-SONKULUF.js";
13
13
  import {
14
14
  DEFAULT_STEMMERS,
15
15
  LANGUAGES
16
- } from "./chunk-465FPHSG.js";
16
+ } from "./chunk-3562DVQ7.js";
17
17
  import {
18
18
  sharedConfigPath
19
- } from "./chunk-IY7IEM56.js";
19
+ } from "./chunk-ON67U6WV.js";
20
20
  import {
21
21
  storePath
22
- } from "./chunk-53RW4KLL.js";
22
+ } from "./chunk-EBB7RFCW.js";
23
23
  import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/cli/first-run.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/first-run.js
28
28
  import { spawnSync } from "node:child_process";
29
29
  import { accessSync, constants, realpathSync } from "node:fs";
30
30
  import { delimiter, join } from "node:path";
@@ -82,7 +82,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
82
82
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
83
83
  }, "suggested");
84
84
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
85
- const { openStore } = await import("./store-KS4XIA2R.js");
85
+ const { openStore } = await import("./store-L3HFSSGJ.js");
86
86
  const store = await openStore({ env });
87
87
  let rebuild = false;
88
88
  try {
@@ -111,8 +111,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
111
111
  if (!rebuild)
112
112
  return;
113
113
  const [{ openCache }, { buildStems }] = await Promise.all([
114
- import("./open-AMRU27KK.js"),
115
- import("./store-maintenance-command-I3L24P22.js")
114
+ import("./open-YLD7VHEC.js"),
115
+ import("./store-maintenance-command-Y22ARSDR.js")
116
116
  ]);
117
117
  const database = await openCache(storePath(env));
118
118
  try {
@@ -124,7 +124,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
124
124
  var askTools = /* @__PURE__ */ __name(async (run) => {
125
125
  const { command, env, io } = run;
126
126
  const installed = run.installed ?? ((name) => onPath(name, env));
127
- const { WIRECAT_TOOLS } = await import("./first-screen-MXW3UZFB.js");
127
+ const { WIRECAT_TOOLS } = await import("./first-screen-YZCH4TEV.js");
128
128
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
129
129
  const missing = others.filter((tool) => !installed(tool.command));
130
130
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -197,7 +197,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
197
197
  contentLanguages: start.contentLanguages,
198
198
  all: start.path[0] === "setup",
199
199
  io: {
200
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-SPYTHKHN.js")).readSecret(prompt, { input, echo: true }), "ask"),
200
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-FHHQF3MG.js")).readSecret(prompt, { input, echo: true }), "ask"),
201
201
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
202
202
  `), "say")
203
203
  }
@@ -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-NCWB3KXP.js";
5
+ } from "./chunk-PQHYM2XC.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.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/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");