@wirecat/drive-cli 0.47.0 → 0.49.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 (142) hide show
  1. package/dist/age.d.ts +36 -0
  2. package/dist/age.d.ts.map +1 -1
  3. package/dist/age.js +17 -0
  4. package/dist/age.js.map +1 -1
  5. package/dist/bin/drive.js +2 -2
  6. package/dist/bundle/{all-profiles-O7CNQ7FO.js → all-profiles-WK2XXGPU.js} +5 -5
  7. package/dist/bundle/{anthropic-6T67J2CE.js → anthropic-R354D7GT.js} +3 -3
  8. package/dist/bundle/{app-server-BVBZT3UY.js → app-server-3YHJ757G.js} +46 -46
  9. package/dist/bundle/{bun-O6RL6LRQ.js → bun-JVDJVDHL.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-54W7JUY3.js → bun-sqlite-KZCZWSRZ.js} +2 -2
  11. package/dist/bundle/{chunk-LOTQ2HMT.js → chunk-22LTNYO2.js} +3 -3
  12. package/dist/bundle/{chunk-5MGIL5LW.js → chunk-254VYUWN.js} +18 -15
  13. package/dist/bundle/{chunk-NLEB26GA.js → chunk-2BADVV4A.js} +2 -2
  14. package/dist/bundle/{chunk-XEBFFKXO.js → chunk-2CKGGIWF.js} +1 -1
  15. package/dist/bundle/{chunk-D67JGWSC.js → chunk-2ZFR67KY.js} +6 -3
  16. package/dist/bundle/{chunk-K74PQVQZ.js → chunk-3UHJC6HH.js} +6 -6
  17. package/dist/bundle/{chunk-44FV5JAS.js → chunk-45TPBTR3.js} +18 -18
  18. package/dist/bundle/{chunk-NP3XLLN3.js → chunk-463NMG57.js} +2 -2
  19. package/dist/bundle/{chunk-AOOD3RMK.js → chunk-467AQO7E.js} +5 -5
  20. package/dist/bundle/{chunk-FEULDMWM.js → chunk-46X7Z4FD.js} +1903 -1526
  21. package/dist/bundle/{chunk-IKNU5A5Y.js → chunk-4ORK4UAY.js} +2 -2
  22. package/dist/bundle/{chunk-GOR3Z2FR.js → chunk-5ISHP4TK.js} +1 -1
  23. package/dist/bundle/{chunk-R2A3K7ZF.js → chunk-5KR7BKDV.js} +4 -4
  24. package/dist/bundle/{chunk-GWPKIRNQ.js → chunk-624B6G64.js} +3 -3
  25. package/dist/bundle/{chunk-TRMIV3OA.js → chunk-65AW2AEQ.js} +1 -1
  26. package/dist/bundle/{chunk-BQUPOB5H.js → chunk-6Z3W7LTD.js} +7 -7
  27. package/dist/bundle/{chunk-XF5MFUEB.js → chunk-75VCGSNB.js} +10 -10
  28. package/dist/bundle/{chunk-K7FRUB33.js → chunk-7BA3HL7N.js} +32 -32
  29. package/dist/bundle/{chunk-NDNTLUPS.js → chunk-7WEISHFA.js} +1 -1
  30. package/dist/bundle/{chunk-GNFHZZ55.js → chunk-ABVFH76X.js} +4 -4
  31. package/dist/bundle/{chunk-BEXHAGXH.js → chunk-AN7HENGZ.js} +156 -144
  32. package/dist/bundle/{chunk-CFZWPIVC.js → chunk-BQV3WYXW.js} +26 -18
  33. package/dist/bundle/{chunk-SWMMR3FR.js → chunk-CB5NGX6E.js} +1 -1
  34. package/dist/bundle/{chunk-DL7D6Y3B.js → chunk-CCLDCM7J.js} +3320 -3282
  35. package/dist/bundle/{chunk-BHE7ZY2N.js → chunk-DKJGYYCP.js} +71 -43
  36. package/dist/bundle/{chunk-ZBM4GEV2.js → chunk-E2Y6GJZX.js} +3 -3
  37. package/dist/bundle/{chunk-CVIKKIGE.js → chunk-EF2RCQ3L.js} +1 -1
  38. package/dist/bundle/{chunk-DORXXBFC.js → chunk-EOZPMJJP.js} +5 -5
  39. package/dist/bundle/{chunk-GQW4GRYR.js → chunk-FB7I5JWC.js} +4 -4
  40. package/dist/bundle/{chunk-PDBBBUY7.js → chunk-FUJZ5S2Q.js} +8 -8
  41. package/dist/bundle/{chunk-OWXTPXIQ.js → chunk-FZQSGLHU.js} +10 -10
  42. package/dist/bundle/{chunk-4NGLRHWO.js → chunk-HBYE4EP2.js} +1 -1
  43. package/dist/bundle/{chunk-NB2N6L3R.js → chunk-HD3TFIT4.js} +5 -5
  44. package/dist/bundle/{chunk-HEPIOCHN.js → chunk-HF2T7E67.js} +55 -48
  45. package/dist/bundle/{chunk-NW7IMGRR.js → chunk-HIAO4MPA.js} +1 -1
  46. package/dist/bundle/{chunk-4DW6QGEV.js → chunk-HQ2PGEOK.js} +9 -9
  47. package/dist/bundle/{chunk-PH74B2VZ.js → chunk-HVM5LS5Z.js} +2 -2
  48. package/dist/bundle/{chunk-CKR3DVUK.js → chunk-IEAZAPC3.js} +20 -17
  49. package/dist/bundle/{chunk-GHOWRW7E.js → chunk-IRDGH7DV.js} +8 -1
  50. package/dist/bundle/{chunk-XAZQTJXR.js → chunk-IRNX4CO5.js} +16 -16
  51. package/dist/bundle/{chunk-LHIL46I3.js → chunk-ITZI7T2X.js} +1 -1
  52. package/dist/bundle/{chunk-67BQ3XMH.js → chunk-JMOX454R.js} +1 -1
  53. package/dist/bundle/{chunk-AUS6TKP5.js → chunk-JMRHDZMV.js} +30 -30
  54. package/dist/bundle/{chunk-VHQNVG3J.js → chunk-JZ3SUK2M.js} +2 -2
  55. package/dist/bundle/{chunk-RJ633GFA.js → chunk-KK3BA4IS.js} +1 -1
  56. package/dist/bundle/{chunk-WUFCYDKB.js → chunk-KKZYZ32J.js} +1 -1
  57. package/dist/bundle/{chunk-VYBOYBLX.js → chunk-KYJYOZYG.js} +5 -5
  58. package/dist/bundle/{chunk-JVTVAZ5X.js → chunk-L5RZI2M5.js} +56 -17
  59. package/dist/bundle/{chunk-U2OD7MKK.js → chunk-LF7ACSTK.js} +1 -1
  60. package/dist/bundle/{chunk-CYCQBQBH.js → chunk-MC77UZVA.js} +3 -3
  61. package/dist/bundle/{chunk-QWSRPXCJ.js → chunk-MP2UCK3Z.js} +4 -4
  62. package/dist/bundle/{chunk-LJARCTGL.js → chunk-NFU3OBCC.js} +3 -3
  63. package/dist/bundle/{chunk-3HRDEJJW.js → chunk-NVHB2MHX.js} +4 -4
  64. package/dist/bundle/{chunk-VCYFEWPD.js → chunk-NXFEZQDL.js} +25 -25
  65. package/dist/bundle/{chunk-G3FAOS52.js → chunk-P4NOTS3U.js} +2 -2
  66. package/dist/bundle/{chunk-6T7NSOYC.js → chunk-P4OU3OVF.js} +12 -12
  67. package/dist/bundle/{chunk-RCS2SCX5.js → chunk-P7INAZIT.js} +4 -4
  68. package/dist/bundle/{chunk-3Z7WSD2A.js → chunk-PPXNEHYX.js} +7 -7
  69. package/dist/bundle/{chunk-SMHQA5J6.js → chunk-QEM3MOSB.js} +14 -7
  70. package/dist/bundle/{chunk-KADPV4YA.js → chunk-R235IRSJ.js} +1 -1
  71. package/dist/bundle/{chunk-QTJUH3LS.js → chunk-RAAI3JLI.js} +1 -1
  72. package/dist/bundle/{chunk-KJMBV574.js → chunk-SSD2V4HR.js} +356 -304
  73. package/dist/bundle/{chunk-5TC3NCAF.js → chunk-U77RLMOK.js} +1 -1
  74. package/dist/bundle/{chunk-AIXLOMH4.js → chunk-W5EUHV3J.js} +1 -1
  75. package/dist/bundle/{chunk-IAW5A7OR.js → chunk-W5IDHD6C.js} +30 -26
  76. package/dist/bundle/{chunk-DXKVEOSS.js → chunk-XLJV3ZOH.js} +1 -1
  77. package/dist/bundle/{recognize-IFXOJHEA.js → chunk-XVXXWNAA.js} +6 -6
  78. package/dist/bundle/{chunk-IGMRWQP3.js → chunk-Y2AUB4TJ.js} +29 -25
  79. package/dist/bundle/{chunk-QW36EOAM.js → chunk-YOF5BC4G.js} +2 -2
  80. package/dist/bundle/{chunk-PJ7IQVOM.js → chunk-YYMHFXHK.js} +1 -1
  81. package/dist/bundle/{chunk-DDYR6DYL.js → chunk-ZK7Y5K63.js} +1 -1
  82. package/dist/bundle/command-contract-AEA45IX7.js +38 -0
  83. package/dist/bundle/decode-BE3VDYTJ.js +159 -0
  84. package/dist/bundle/drive.js +4 -4
  85. package/dist/bundle/{echarts-LD3AI55P.js → echarts-4OQHS575.js} +2 -2
  86. package/dist/bundle/{embed-FJKIIM43.js → embed-QR76SJDI.js} +3 -3
  87. package/dist/bundle/{embedder-NNQ5ZC25.js → embedder-EMIDKBYV.js} +6 -6
  88. package/dist/bundle/{entry-ZYSNPDSD.js → entry-FE4REJDO.js} +4 -4
  89. package/dist/bundle/{failure-KZDBSYBR.js → failure-GYOTW6NN.js} +11 -11
  90. package/dist/bundle/{first-run-KA2UPZAU.js → first-run-ALPI62PX.js} +5 -5
  91. package/dist/bundle/first-screen-JLS57PIT.js +36 -0
  92. package/dist/bundle/{google-ZYDFTHLN.js → google-NV75VSCD.js} +4 -4
  93. package/dist/bundle/google-api-6623OUF2.js +82 -0
  94. package/dist/bundle/{identity-7JM62OER.js → identity-NZ7SP6OL.js} +2 -2
  95. package/dist/bundle/{instructions-RZMSW3OC.js → instructions-3QZBKKPF.js} +1 -1
  96. package/dist/bundle/{login-JU6NKW5P.js → login-KNBM6XUX.js} +54 -54
  97. package/dist/bundle/mcp-4NPK6BM3.js +95 -0
  98. package/dist/bundle/{mcp-KWXNBIAI.js → mcp-XY2FGGUM.js} +68 -68
  99. package/dist/bundle/{node-ZRLYQL7J.js → node-R2BLYUSB.js} +2 -2
  100. package/dist/bundle/node-sqlite-PMRVP442.js +62 -0
  101. package/dist/bundle/{oauth-NAIBKERJ.js → oauth-NM2AKRRT.js} +4 -4
  102. package/dist/bundle/{open-3P5EPXPV.js → open-XZH5ZNDA.js} +1 -1
  103. package/dist/bundle/{process-LL77573L.js → process-IX5YWGDP.js} +1 -1
  104. package/dist/bundle/{program-VKHR42BF.js → program-MDWQHGBY.js} +124 -89
  105. package/dist/bundle/{prompt-3TX2SWOY.js → prompt-5K6XGWSK.js} +2 -2
  106. package/dist/bundle/recognize-U7GDD6T2.js +22 -0
  107. package/dist/bundle/{remote-663M42Y5.js → remote-ZWXOGNQX.js} +4 -4
  108. package/dist/bundle/{rerank-OT2F2DBV.js → rerank-YRQBCS63.js} +4 -4
  109. package/dist/bundle/{serve-PDNNI6O6.js → serve-6PQ7K5RK.js} +6 -6
  110. package/dist/bundle/server-O7SS6NAY.js +56 -0
  111. package/dist/bundle/server-WT57TF6S.js +69 -0
  112. package/dist/bundle/{services-5MCTECBU.js → services-QBIQX236.js} +22 -22
  113. package/dist/bundle/{sqlite-runtime-BF3KDM7W.js → sqlite-runtime-7Q5UD2VR.js} +2 -2
  114. package/dist/bundle/{state-SZX65E74.js → state-U72TC26L.js} +3 -3
  115. package/dist/bundle/{store-TCWNLA3V.js → store-B4RAJ63G.js} +10 -10
  116. package/dist/bundle/{store-UKPGGAPW.js → store-FYABCSIH.js} +12 -12
  117. package/dist/bundle/store-maintenance-command-DAF5NI3T.js +57 -0
  118. package/dist/bundle/tokens-DISQJKDM.js +103 -0
  119. package/dist/commands/documents.d.ts +5 -1
  120. package/dist/commands/documents.d.ts.map +1 -1
  121. package/dist/commands/documents.js +11 -5
  122. package/dist/commands/documents.js.map +1 -1
  123. package/dist/commands/remote.d.ts +8 -0
  124. package/dist/commands/remote.d.ts.map +1 -1
  125. package/dist/commands/remote.js +16 -0
  126. package/dist/commands/remote.js.map +1 -1
  127. package/dist/program.d.ts.map +1 -1
  128. package/dist/program.js +4 -1
  129. package/dist/program.js.map +1 -1
  130. package/dist/version.d.ts +1 -1
  131. package/dist/version.js +1 -1
  132. package/package.json +2 -2
  133. package/dist/bundle/command-contract-MXCBV3GJ.js +0 -38
  134. package/dist/bundle/first-screen-VQ3RXDMF.js +0 -36
  135. package/dist/bundle/google-api-2GT5PAW2.js +0 -82
  136. package/dist/bundle/mcp-JOQMFGBC.js +0 -95
  137. package/dist/bundle/node-sqlite-TXPSRROT.js +0 -46
  138. package/dist/bundle/server-BFOEPMR7.js +0 -56
  139. package/dist/bundle/server-K566PJ7H.js +0 -69
  140. package/dist/bundle/store-maintenance-command-QHLUVBTJ.js +0 -57
  141. package/dist/bundle/tokens-DFCFRF7I.js +0 -103
  142. /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-YLBNPI7H.js} +0 -0
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  activeProfile,
5
5
  paths
6
- } from "./chunk-GWPKIRNQ.js";
6
+ } from "./chunk-624B6G64.js";
7
7
  import {
8
8
  READ_SCOPE,
9
9
  WRITE_SCOPE,
10
10
  providerRequest
11
- } from "./chunk-KJMBV574.js";
11
+ } from "./chunk-SSD2V4HR.js";
12
12
  import {
13
13
  googleError
14
14
  } from "./chunk-2DLAJGRN.js";
15
15
  import {
16
16
  acquireLock
17
- } from "./chunk-DL7D6Y3B.js";
17
+ } from "./chunk-CCLDCM7J.js";
18
18
  import {
19
19
  Credentials,
20
20
  keyringService,
@@ -37,7 +37,7 @@ import {
37
37
  __name
38
38
  } from "./chunk-ZVVMGPBJ.js";
39
39
 
40
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/authorize.js
40
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/oauth/authorize.js
41
41
  import { createHash, randomBytes } from "node:crypto";
42
42
  import { createServer } from "node:http";
43
43
  var DEFAULT_TIMEOUT_MS = 3e5;
@@ -159,12 +159,12 @@ var authorize = /* @__PURE__ */ __name(async (options) => {
159
159
  }
160
160
  }, "authorize");
161
161
 
162
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
162
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
163
163
  import { createHash as createHash2 } from "node:crypto";
164
164
  import { join } from "node:path";
165
165
  import { setTimeout as delay } from "node:timers/promises";
166
166
 
167
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/requests.js
167
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/oauth/requests.js
168
168
  var REQUEST_LIMIT_MS = 3e4;
169
169
  var TOKEN_LOG_EVENT = "oauth.token";
170
170
  var object2 = /* @__PURE__ */ __name((value) => {
@@ -281,7 +281,7 @@ var revokeToken = /* @__PURE__ */ __name(async (provider, tokens, context) => {
281
281
  });
282
282
  }, "revokeToken");
283
283
 
284
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
284
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
285
285
  var inFlight = /* @__PURE__ */ new Map();
286
286
  var tokenKeeper = /* @__PURE__ */ __name((options) => {
287
287
  const { provider, storage, signal, log } = options;
@@ -408,7 +408,7 @@ var tokenKeeper = /* @__PURE__ */ __name((options) => {
408
408
  };
409
409
  }, "tokenKeeper");
410
410
 
411
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/storage.js
411
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/oauth/storage.js
412
412
  var invalid = /* @__PURE__ */ __name(() => new CliError("authentication_error", "the saved sign-in cannot be read; sign in again", { reason: "oauth.invalid" }), "invalid");
413
413
  var parse = /* @__PURE__ */ __name((raw) => {
414
414
  let value;
@@ -477,9 +477,12 @@ var driveSessionCodec = {
477
477
  return JSON.stringify(session);
478
478
  }, "encode")
479
479
  };
480
- var keyringFailure = /* @__PURE__ */ __name(() => new CliError("configuration_error", "could not reach the saved sign-in; use an available keyring or file storage", {
481
- reason: "oauth.not-saved"
482
- }), "keyringFailure");
480
+ var keyringFailure = /* @__PURE__ */ __name((thrown, secret) => {
481
+ const failure = new CliError("configuration_error", "could not reach the saved sign-in; use an available keyring or file storage", { reason: "oauth.not-saved" });
482
+ const words = thrown instanceof Error ? thrown.message : String(thrown);
483
+ failure.cause = new Error(secret ? words.replaceAll(secret, "[secret]") : words);
484
+ return failure;
485
+ }, "keyringFailure");
483
486
  var credentialStorage = /* @__PURE__ */ __name((options) => {
484
487
  if (!options.credentials.keyring)
485
488
  throw new CliError("configuration_error", "a sign-in store needs its keyring passed in, never a default");
@@ -489,15 +492,15 @@ var credentialStorage = /* @__PURE__ */ __name((options) => {
489
492
  const raw = /* @__PURE__ */ __name((name) => {
490
493
  try {
491
494
  return credentials2.read(name)?.secret;
492
- } catch {
493
- throw keyringFailure();
495
+ } catch (error) {
496
+ throw keyringFailure(error);
494
497
  }
495
498
  }, "raw");
496
499
  const save = /* @__PURE__ */ __name((value) => {
497
500
  try {
498
501
  credentials2.write(account, value);
499
- } catch {
500
- throw keyringFailure();
502
+ } catch (error) {
503
+ throw keyringFailure(error, value);
501
504
  }
502
505
  }, "save");
503
506
  const current = /* @__PURE__ */ __name(() => {
@@ -527,8 +530,8 @@ var credentialStorage = /* @__PURE__ */ __name((options) => {
527
530
  remove: /* @__PURE__ */ __name(() => {
528
531
  try {
529
532
  return credentials2.remove(account);
530
- } catch {
531
- throw keyringFailure();
533
+ } catch (error) {
534
+ throw keyringFailure(error);
532
535
  }
533
536
  }, "remove")
534
537
  };
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/errors/reasons.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -69,6 +69,10 @@ var OTHERS = [
69
69
  validation("event.notify-required", "the event has other attendees; say whether to notify them"),
70
70
  validation("event.repeat-invalid", "the repeat rule is outside the RFC 5545 subset the calendars take"),
71
71
  validation("event.repeat-kind", "the series' rule holds a date or a time of the kind the event is leaving"),
72
+ validation("event.repeat-split", "the series cannot be split at this occurrence, or was split there already"),
73
+ validation("event.repeat-count", "a COUNT series is split only with a rule for its new part"),
74
+ validation("event.unmovable", "the provider keeps this kind of event on its calendar"),
75
+ ["calendar.read-only", "permission_error", "the calendar takes no new events from this account"],
72
76
  ["busy.offline", "permission_error", "calendars busy asks the provider; --offline was given"],
73
77
  validation("busy.no-calendars", "no calendar syncs and no person was named, so there is nobody to ask"),
74
78
  validation("store.refused", "the local store refused the document text"),
@@ -109,6 +113,8 @@ var OTHERS = [
109
113
  validation("tag-review.required", "the tag needs the owner's review first"),
110
114
  ["tag-review.stale", "configuration_error", "the tag review changed meanwhile"],
111
115
  validation("tag.invalid", "the tag is not valid"),
116
+ ["reactions.list-hidden", "permission_error", "the chat does not let its members see who reacted"],
117
+ ["reactions.broadcast", "permission_error", "a channel does not show who reacted to its posts"],
112
118
  validation("task.category-unknown", "the category is not in the task category list"),
113
119
  validation("task.claimed", "someone else holds the task"),
114
120
  validation("task.closed", "the task is already closed"),
@@ -153,6 +159,7 @@ var REASONS = defineReasons([
153
159
  ]);
154
160
  var DETAILS = [
155
161
  "contracts",
162
+ "calendars",
156
163
  "allowed",
157
164
  "alternative",
158
165
  "arguments",
@@ -6,25 +6,25 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-XF5MFUEB.js";
9
+ } from "./chunk-75VCGSNB.js";
10
10
  import {
11
11
  callerOf
12
- } from "./chunk-G3FAOS52.js";
12
+ } from "./chunk-P4NOTS3U.js";
13
13
  import {
14
14
  failureContext
15
- } from "./chunk-GHOWRW7E.js";
15
+ } from "./chunk-IRDGH7DV.js";
16
16
  import {
17
17
  lentConnection,
18
18
  refuseLacking
19
- } from "./chunk-JVTVAZ5X.js";
19
+ } from "./chunk-L5RZI2M5.js";
20
20
  import {
21
21
  onlineDeps,
22
22
  servicesFor,
23
23
  storeModeDeps
24
- } from "./chunk-DL7D6Y3B.js";
24
+ } from "./chunk-CCLDCM7J.js";
25
25
  import {
26
26
  ENTITIES
27
- } from "./chunk-BEXHAGXH.js";
27
+ } from "./chunk-AN7HENGZ.js";
28
28
  import {
29
29
  DEFAULT_OUTPUT_BYTES,
30
30
  LOCAL_WRITE,
@@ -37,32 +37,32 @@ import {
37
37
  refuseStoreChange,
38
38
  sealed,
39
39
  startRecording
40
- } from "./chunk-AUS6TKP5.js";
40
+ } from "./chunk-JMRHDZMV.js";
41
41
  import {
42
42
  currentCaller,
43
43
  keepsSuccess,
44
44
  runContextOf,
45
45
  withCaller
46
- } from "./chunk-3Z7WSD2A.js";
46
+ } from "./chunk-PPXNEHYX.js";
47
47
  import {
48
48
  flatten
49
- } from "./chunk-LOTQ2HMT.js";
49
+ } from "./chunk-22LTNYO2.js";
50
50
  import {
51
51
  enclosingTraceId,
52
52
  inRun,
53
53
  newRunId,
54
54
  traceOf
55
- } from "./chunk-CFZWPIVC.js";
55
+ } from "./chunk-BQV3WYXW.js";
56
56
  import {
57
57
  authorityAllowed,
58
58
  botApiAllowed,
59
59
  keyForCommand,
60
60
  levelFor,
61
61
  readKeysForCommand
62
- } from "./chunk-PJ7IQVOM.js";
62
+ } from "./chunk-YYMHFXHK.js";
63
63
  import {
64
64
  MAX_BUFFERED_INPUT
65
- } from "./chunk-WUFCYDKB.js";
65
+ } from "./chunk-KKZYZ32J.js";
66
66
  import {
67
67
  captureStreams,
68
68
  errorObjectOf,
@@ -111,7 +111,7 @@ import {
111
111
  __name
112
112
  } from "./chunk-ZVVMGPBJ.js";
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/agent.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/agent.js
115
115
  import { Readable } from "node:stream";
116
116
 
117
117
  // node_modules/.pnpm/@wirecat+cli-base@0.65.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
@@ -2759,7 +2759,7 @@ var VOCABULARY = defineVocabulary({
2759
2759
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS]
2760
2760
  });
2761
2761
 
2762
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2762
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2763
2763
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2764
2764
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2765
2765
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -2980,7 +2980,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
2980
2980
  }
2981
2981
  }, "runCommandForAgent");
2982
2982
 
2983
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2983
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2984
2984
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
2985
2985
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
2986
2986
  var message = pipe(
@@ -3239,7 +3239,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3239
3239
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3240
3240
  }, "failed");
3241
3241
 
3242
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3242
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3243
3243
  import { randomUUID } from "node:crypto";
3244
3244
  var MATCHES = 8;
3245
3245
  var ANSWER = answerSchema();
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/models/options.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/options.js
19
19
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
20
20
  const parsed = safeParse(schema, options);
21
21
  if (!parsed.success) {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
 
4
4
  // dist/version.js
5
- var VERSION = "0.47.0";
5
+ var VERSION = "0.49.0";
6
6
 
7
7
  export {
8
8
  VERSION
@@ -9,7 +9,7 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-3Z7WSD2A.js";
12
+ } from "./chunk-PPXNEHYX.js";
13
13
  import {
14
14
  Option,
15
15
  annotate,
@@ -17,7 +17,7 @@ import {
17
17
  metaOf,
18
18
  resolveOutput,
19
19
  stepTargets
20
- } from "./chunk-LOTQ2HMT.js";
20
+ } from "./chunk-22LTNYO2.js";
21
21
  import {
22
22
  DEFAULT_RERANK_MODEL,
23
23
  KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
@@ -38,10 +38,10 @@ import {
38
38
  typedCommand,
39
39
  useAsProcessRun,
40
40
  withWriteScope
41
- } from "./chunk-CFZWPIVC.js";
41
+ } from "./chunk-BQV3WYXW.js";
42
42
  import {
43
43
  isCliFailure
44
- } from "./chunk-GOR3Z2FR.js";
44
+ } from "./chunk-5ISHP4TK.js";
45
45
  import {
46
46
  CEILING_KEY,
47
47
  COMMAND_PATH_KEY,
@@ -52,25 +52,25 @@ import {
52
52
  keyForCommand,
53
53
  layerPermissions,
54
54
  permissionOverrides
55
- } from "./chunk-PJ7IQVOM.js";
55
+ } from "./chunk-YYMHFXHK.js";
56
56
  import {
57
57
  count,
58
58
  text
59
- } from "./chunk-ZBM4GEV2.js";
59
+ } from "./chunk-E2Y6GJZX.js";
60
60
  import {
61
61
  permissionCeiling
62
- } from "./chunk-LJARCTGL.js";
62
+ } from "./chunk-NFU3OBCC.js";
63
63
  import {
64
64
  envName,
65
65
  readOnlyLockOf,
66
66
  readOnlyRefusal
67
- } from "./chunk-RJ633GFA.js";
67
+ } from "./chunk-KK3BA4IS.js";
68
68
  import {
69
69
  sharedConfigPath
70
- } from "./chunk-GQW4GRYR.js";
70
+ } from "./chunk-FB7I5JWC.js";
71
71
  import {
72
72
  storePath
73
- } from "./chunk-TRMIV3OA.js";
73
+ } from "./chunk-65AW2AEQ.js";
74
74
  import {
75
75
  configFilePath,
76
76
  createRecordLog,
@@ -119,7 +119,7 @@ import {
119
119
  __name
120
120
  } from "./chunk-ZVVMGPBJ.js";
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/execution.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/execution.js
123
123
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
124
124
  var DEFAULT_SYNC_MS = 15 * 6e4;
125
125
  var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
@@ -141,7 +141,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
141
141
  }
142
142
  }, "withAbort");
143
143
 
144
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/profile.js
144
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/profile.js
145
145
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
146
146
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
147
147
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -188,7 +188,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
188
188
  return root;
189
189
  }, "rootOf");
190
190
 
191
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
191
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
192
192
  import { existsSync, readdirSync, readFileSync } from "node:fs";
193
193
  import { join } from "node:path";
194
194
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -210,7 +210,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
210
210
  }, "profilesWithAccounts");
211
211
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
212
212
 
213
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/log-events.js
213
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/log-events.js
214
214
  var CORE_LOG_EVENTS = defineLogEvents([
215
215
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
216
216
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -244,7 +244,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
244
244
  cache: "cache.answered"
245
245
  };
246
246
 
247
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/recording.js
247
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/recording.js
248
248
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
249
249
  const recording = startRecording(options);
250
250
  try {
@@ -429,7 +429,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
429
429
  return void 0;
430
430
  }, "partialOutcome");
431
431
 
432
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/deadline.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/deadline.js
433
433
  var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
434
434
  if (ms === void 0)
435
435
  return body();
@@ -455,10 +455,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
455
455
  }
456
456
  }, "withDeadline");
457
457
 
458
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/settings.js
458
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/settings.js
459
459
  import { existsSync as existsSync3 } from "node:fs";
460
460
 
461
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/models/endpoint.js
461
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/endpoint.js
462
462
  var endpoint = /* @__PURE__ */ __name((value) => {
463
463
  try {
464
464
  const url2 = new URL(value);
@@ -468,7 +468,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
468
468
  }
469
469
  }, "endpoint");
470
470
 
471
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/models/settings.js
471
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/settings.js
472
472
  var MODEL_FIELDS = ["provider", "model", "base_url"];
473
473
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
474
474
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -537,7 +537,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
537
537
  };
538
538
  }, "modelTarget");
539
539
 
540
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/analysis/settings.js
540
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/analysis/settings.js
541
541
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
542
542
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
543
543
  var AI_FIELDS = {
@@ -581,7 +581,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
581
581
  };
582
582
  }, "resolveAISettings");
583
583
 
584
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
584
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
585
585
  import { readFileSync as readFileSync2 } from "node:fs";
586
586
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
587
587
  var SECTIONS = ["personal", "bot"];
@@ -871,7 +871,7 @@ var readConfigFile = /* @__PURE__ */ __name((path) => {
871
871
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
872
872
  }, "readConfigFile");
873
873
 
874
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/default-config.js
874
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/default-config.js
875
875
  import { existsSync as existsSync2, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
876
876
  import { dirname, join as join2 } from "node:path";
877
877
  var DEFAULT_CONFIG = {
@@ -900,7 +900,7 @@ function ensureDefaultConfig(path, config = DEFAULT_CONFIG) {
900
900
  }
901
901
  __name(ensureDefaultConfig, "ensureDefaultConfig");
902
902
 
903
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/settings.js
903
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/settings.js
904
904
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
905
905
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
906
906
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -1290,7 +1290,7 @@ var given = /* @__PURE__ */ __name((value) => {
1290
1290
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
1291
1291
  }, "given");
1292
1292
 
1293
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/context.js
1293
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/context.js
1294
1294
  var setExitCode = /* @__PURE__ */ __name((command, code) => {
1295
1295
  const slot = environmentOf(command).exit;
1296
1296
  if (slot)
@@ -1397,7 +1397,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
1397
1397
  return words.join(" ");
1398
1398
  }, "commandPath");
1399
1399
 
1400
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/effects.js
1400
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/effects.js
1401
1401
  var REMOTE_READ = { remote: "read", local: "read" };
1402
1402
  var FETCH = { remote: "read", local: "write" };
1403
1403
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -1482,7 +1482,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
1482
1482
  throw readOnlyRefusal(lock, what);
1483
1483
  }, "refuseUnderReadOnly");
1484
1484
 
1485
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/steps.js
1485
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/steps.js
1486
1486
  var STEPS2 = defineSteps([
1487
1487
  ...STEPS,
1488
1488
  {
@@ -1739,7 +1739,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
1739
1739
  ].join(" ");
1740
1740
  }, "stepLine");
1741
1741
 
1742
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
1742
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
1743
1743
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
1744
1744
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
1745
1745
  var strip = /* @__PURE__ */ __name((value) => {
@@ -1753,7 +1753,7 @@ var strip = /* @__PURE__ */ __name((value) => {
1753
1753
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
1754
1754
  }, "strip");
1755
1755
 
1756
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/envelope.js
1756
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/envelope.js
1757
1757
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
1758
1758
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
1759
1759
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -1875,7 +1875,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
1875
1875
  renderer.result(item);
1876
1876
  }, "printItem");
1877
1877
 
1878
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/store-table.js
1878
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/store-table.js
1879
1879
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
1880
1880
  var storeTable = strictObject({
1881
1881
  name: text,
@@ -1884,7 +1884,7 @@ var storeTable = strictObject({
1884
1884
  bytes: optional(nullable(count))
1885
1885
  });
1886
1886
 
1887
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/record-log.js
1887
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/record-log.js
1888
1888
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
1889
1889
  const run = currentRun();
1890
1890
  const trace = traceId ?? run.traceId;
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-2DLAJGRN.js";
15
15
  import {
16
16
  extractText
17
- } from "./chunk-VCYFEWPD.js";
17
+ } from "./chunk-NXFEZQDL.js";
18
18
  import {
19
19
  MAX_TEXT_CHARS
20
- } from "./chunk-5TC3NCAF.js";
20
+ } from "./chunk-U77RLMOK.js";
21
21
  import {
22
22
  CliError
23
23
  } from "./chunk-BJ3JRO34.js";
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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();
@@ -7,14 +7,14 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/store/driver.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/driver.js
11
11
  var PRAGMAS = `
12
12
  PRAGMA busy_timeout = 5000;
13
13
  PRAGMA journal_mode = WAL;
14
14
  PRAGMA foreign_keys = ON;
15
15
  `;
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
18
18
  var SQLITE_WARNING = "SQLite is an experimental feature";
19
19
  var quieted = /* @__PURE__ */ new WeakSet();
20
20
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -35,7 +35,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
35
35
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
36
36
  }, "isSqliteWarning");
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/store/open.js
38
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/open.js
39
39
  var openCache = /* @__PURE__ */ __name(async (path) => {
40
40
  const database = await openFile(path);
41
41
  try {
@@ -48,12 +48,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
48
48
  }, "openCache");
49
49
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
50
50
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
51
- const { openWithBunSqlite } = await import("./bun-sqlite-54W7JUY3.js");
51
+ const { openWithBunSqlite } = await import("./bun-sqlite-KZCZWSRZ.js");
52
52
  return await openWithBunSqlite(path);
53
53
  }, "openUnderBun");
54
54
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
55
55
  quietSqliteWarning();
56
- const { openWithNodeSqlite } = await import("./node-sqlite-TXPSRROT.js");
56
+ const { openWithNodeSqlite } = await import("./node-sqlite-PMRVP442.js");
57
57
  return openWithNodeSqlite(path);
58
58
  }, "openUnderNode");
59
59
  var runtime = /* @__PURE__ */ __name(() => {