@wirecat/drive-cli 0.45.0 → 0.46.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 (149) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-LTHNCWQW.js → all-profiles-O7CNQ7FO.js} +8 -8
  3. package/dist/bundle/{anthropic-NOJEF3V2.js → anthropic-6T67J2CE.js} +5 -5
  4. package/dist/bundle/app-server-BVBZT3UY.js +237 -0
  5. package/dist/bundle/{bun-ADJVI4HY.js → bun-O6RL6LRQ.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-GNXLBF2A.js → bun-sqlite-54W7JUY3.js} +4 -4
  7. package/dist/bundle/{chunk-IGB5CJCA.js → chunk-2DLAJGRN.js} +1 -1
  8. package/dist/bundle/{chunk-NQ6LLDDC.js → chunk-3HRDEJJW.js} +4 -4
  9. package/dist/bundle/{chunk-XPEWOPJR.js → chunk-3Z7WSD2A.js} +10 -8
  10. package/dist/bundle/{chunk-WPGCDWPU.js → chunk-44FV5JAS.js} +21 -21
  11. package/dist/bundle/{chunk-GX4WEMAG.js → chunk-4DW6QGEV.js} +11 -11
  12. package/dist/bundle/{chunk-IP4OK7RQ.js → chunk-4NGLRHWO.js} +1 -1
  13. package/dist/bundle/{chunk-LNB7BIZL.js → chunk-5MGIL5LW.js} +19 -17
  14. package/dist/bundle/{chunk-66N2DGGC.js → chunk-5MYFPQDA.js} +21 -14
  15. package/dist/bundle/{chunk-MWUITL6N.js → chunk-5TC3NCAF.js} +2 -2
  16. package/dist/bundle/{chunk-4UE7AVHZ.js → chunk-A3FU4RR6.js} +4 -4
  17. package/dist/bundle/{chunk-PIN5RZ3D.js → chunk-AIXLOMH4.js} +1 -1
  18. package/dist/bundle/{chunk-WZUJKUBK.js → chunk-AOOD3RMK.js} +7 -7
  19. package/dist/bundle/{chunk-Z4O6C7WR.js → chunk-AUS6TKP5.js} +35 -33
  20. package/dist/bundle/{chunk-OECPFZLP.js → chunk-BEXHAGXH.js} +96 -95
  21. package/dist/bundle/{chunk-3V6NPZY7.js → chunk-BHE7ZY2N.js} +45 -45
  22. package/dist/bundle/{chunk-GKHM6I64.js → chunk-BJ3JRO34.js} +7 -7
  23. package/dist/bundle/{chunk-2FTZBZOB.js → chunk-BQUPOB5H.js} +8 -8
  24. package/dist/bundle/{chunk-CDI67JSB.js → chunk-CFZWPIVC.js} +20 -20
  25. package/dist/bundle/{chunk-EVWXODYV.js → chunk-CKR3DVUK.js} +11 -11
  26. package/dist/bundle/{chunk-AN3GVZTU.js → chunk-CVIKKIGE.js} +1 -1
  27. package/dist/bundle/{chunk-7XWUOCGW.js → chunk-D67JGWSC.js} +2 -2
  28. package/dist/bundle/{chunk-UC44ZMQV.js → chunk-DDYR6DYL.js} +1 -1
  29. package/dist/bundle/{chunk-C6SMAEED.js → chunk-DL7D6Y3B.js} +199 -199
  30. package/dist/bundle/{chunk-PDH2QQQV.js → chunk-DORXXBFC.js} +7 -7
  31. package/dist/bundle/{chunk-DCTXOMOR.js → chunk-DXKVEOSS.js} +20 -2
  32. package/dist/bundle/{chunk-ZQNXKWUY.js → chunk-FEULDMWM.js} +258 -244
  33. package/dist/bundle/{chunk-TDC6JGDA.js → chunk-G3FAOS52.js} +2 -2
  34. package/dist/bundle/{chunk-HOIUIKWS.js → chunk-GHOWRW7E.js} +4 -3
  35. package/dist/bundle/{chunk-C4XP5T73.js → chunk-GNFHZZ55.js} +5 -5
  36. package/dist/bundle/{chunk-K4N2DKE5.js → chunk-GOR3Z2FR.js} +2 -2
  37. package/dist/bundle/{chunk-WQMVSQPP.js → chunk-GQW4GRYR.js} +6 -6
  38. package/dist/bundle/{chunk-Y5EJSZXV.js → chunk-GWPKIRNQ.js} +5 -5
  39. package/dist/bundle/{chunk-HA3WCVGY.js → chunk-HEPIOCHN.js} +51 -49
  40. package/dist/bundle/{chunk-DC4T3FNP.js → chunk-IAW5A7OR.js} +27 -27
  41. package/dist/bundle/{chunk-4TQSNQVV.js → chunk-IGMRWQP3.js} +25 -25
  42. package/dist/bundle/{chunk-65GGKAQ7.js → chunk-IKNU5A5Y.js} +3 -3
  43. package/dist/bundle/{chunk-ZPMLLONT.js → chunk-JVTVAZ5X.js} +19 -19
  44. package/dist/bundle/{chunk-A6ZKTNTZ.js → chunk-K74PQVQZ.js} +7 -7
  45. package/dist/bundle/{server-2UQDEWTS.js → chunk-K7FRUB33.js} +40 -63
  46. package/dist/bundle/{chunk-ZS635F4O.js → chunk-KADPV4YA.js} +2 -2
  47. package/dist/bundle/{chunk-ZIHLE7LG.js → chunk-KJMBV574.js} +3252 -3019
  48. package/dist/bundle/{chunk-ICKNJIGE.js → chunk-LHIL46I3.js} +2 -2
  49. package/dist/bundle/{chunk-LWT55XC5.js → chunk-LJARCTGL.js} +4 -4
  50. package/dist/bundle/{chunk-64WJYT2F.js → chunk-LOTQ2HMT.js} +9 -9
  51. package/dist/bundle/{chunk-MJR2OTO4.js → chunk-LZ5OTVWH.js} +6 -6
  52. package/dist/bundle/{chunk-V7GN5BI7.js → chunk-MAXN7COO.js} +1 -1
  53. package/dist/bundle/{chunk-LW2G4U6W.js → chunk-MFS52LTZ.js} +1 -1
  54. package/dist/bundle/{chunk-YJX4X564.js → chunk-NB2N6L3R.js} +6 -6
  55. package/dist/bundle/{chunk-GTYY6BIE.js → chunk-NDNTLUPS.js} +2 -2
  56. package/dist/bundle/{chunk-TOYPN2XX.js → chunk-NLEB26GA.js} +2 -2
  57. package/dist/bundle/{chunk-4TIC23D2.js → chunk-NM26XAS2.js} +1 -1
  58. package/dist/bundle/{chunk-7PVNJAQ2.js → chunk-NP3XLLN3.js} +3 -3
  59. package/dist/bundle/{chunk-LY26NW3I.js → chunk-NW7IMGRR.js} +1 -1
  60. package/dist/bundle/{chunk-NZIHPYY5.js → chunk-OWXTPXIQ.js} +11 -11
  61. package/dist/bundle/{chunk-BPBIBVFH.js → chunk-PDBBBUY7.js} +10 -10
  62. package/dist/bundle/{chunk-ZU732VCC.js → chunk-PH74B2VZ.js} +3 -3
  63. package/dist/bundle/{chunk-PJDO7AFZ.js → chunk-PJ7IQVOM.js} +2 -2
  64. package/dist/bundle/{chunk-CFT7UHF6.js → chunk-QTJUH3LS.js} +3 -3
  65. package/dist/bundle/{chunk-YE3J6DLY.js → chunk-QW36EOAM.js} +2 -2
  66. package/dist/bundle/{chunk-HLONHTSG.js → chunk-QWSRPXCJ.js} +4 -4
  67. package/dist/bundle/{chunk-LVDHWNJF.js → chunk-R2A3K7ZF.js} +5 -5
  68. package/dist/bundle/{chunk-SGOPYPVW.js → chunk-R2QRP7EJ.js} +9 -9
  69. package/dist/bundle/{chunk-35GRI4DI.js → chunk-RCS2SCX5.js} +5 -5
  70. package/dist/bundle/{chunk-CEO5HPRL.js → chunk-RJ633GFA.js} +2 -2
  71. package/dist/bundle/{chunk-N47CYWEM.js → chunk-SMHQA5J6.js} +13 -8
  72. package/dist/bundle/{chunk-YFLKH3NZ.js → chunk-SWMMR3FR.js} +2 -2
  73. package/dist/bundle/{chunk-P5KGFT7U.js → chunk-TRMIV3OA.js} +2 -2
  74. package/dist/bundle/{chunk-7NCG2SHR.js → chunk-VAGF723Z.js} +1 -1
  75. package/dist/bundle/{chunk-PWKXHDBQ.js → chunk-VCYFEWPD.js} +26 -26
  76. package/dist/bundle/{chunk-NKZ6V4JW.js → chunk-VHQNVG3J.js} +5 -5
  77. package/dist/bundle/{chunk-6KFA6HOM.js → chunk-VHT2WI4I.js} +19 -19
  78. package/dist/bundle/{chunk-QLZGLPJL.js → chunk-VYBOYBLX.js} +6 -6
  79. package/dist/bundle/{chunk-YJZBJ2TM.js → chunk-WUFCYDKB.js} +2 -2
  80. package/dist/bundle/{chunk-2YU3CXFD.js → chunk-XAZQTJXR.js} +40 -29
  81. package/dist/bundle/{chunk-I5EJHKNC.js → chunk-XEBFFKXO.js} +3 -3
  82. package/dist/bundle/{chunk-AH3SNVCV.js → chunk-XF5MFUEB.js} +15 -15
  83. package/dist/bundle/{chunk-VO4KOLQZ.js → chunk-ZBM4GEV2.js} +5 -4
  84. package/dist/bundle/{chunk-5ZVLM6YR.js → chunk-ZKXDI45R.js} +1 -1
  85. package/dist/bundle/command-contract-MXCBV3GJ.js +38 -0
  86. package/dist/bundle/drive.js +7 -7
  87. package/dist/bundle/{echarts-RFTK737T.js → echarts-LD3AI55P.js} +2 -2
  88. package/dist/bundle/{embed-5NAGJUMD.js → embed-FJKIIM43.js} +5 -5
  89. package/dist/bundle/{embedder-EWXLIGBY.js → embedder-NNQ5ZC25.js} +8 -8
  90. package/dist/bundle/{entry-YCPJ6H6U.js → entry-ZYSNPDSD.js} +6 -6
  91. package/dist/bundle/failure-M5HSCCJJ.js +37 -0
  92. package/dist/bundle/{first-run-LNAZDBB4.js → first-run-KA2UPZAU.js} +9 -9
  93. package/dist/bundle/first-screen-VQ3RXDMF.js +36 -0
  94. package/dist/bundle/{google-5FFKRHHC.js → google-ZYDFTHLN.js} +9 -9
  95. package/dist/bundle/google-api-2GT5PAW2.js +82 -0
  96. package/dist/bundle/{identity-53ZMPL2O.js → identity-R5OKB5O5.js} +2 -2
  97. package/dist/bundle/{instructions-FHNL7CMW.js → instructions-RZMSW3OC.js} +3 -1
  98. package/dist/bundle/{login-VXXZZR6G.js → login-JU6NKW5P.js} +64 -64
  99. package/dist/bundle/mcp-JOQMFGBC.js +95 -0
  100. package/dist/bundle/{mcp-IXFC2VVR.js → mcp-OQBZXELQ.js} +2 -2
  101. package/dist/bundle/{mcp-F4XZO76F.js → mcp-Z362OMZG.js} +77 -83
  102. package/dist/bundle/{node-ZMCACJVS.js → node-ZRLYQL7J.js} +2 -2
  103. package/dist/bundle/{node-sqlite-QJQ5S7KS.js → node-sqlite-TXPSRROT.js} +4 -4
  104. package/dist/bundle/{oauth-TZFDPAFE.js → oauth-NAIBKERJ.js} +6 -6
  105. package/dist/bundle/{open-IYM25QTL.js → open-3P5EPXPV.js} +3 -3
  106. package/dist/bundle/{process-ZPTLNVQS.js → process-LL77573L.js} +1 -1
  107. package/dist/bundle/{program-YX7DZMPR.js → program-PA2J6OFM.js} +129 -151
  108. package/dist/bundle/{prompt-TGWTVIEK.js → prompt-3TX2SWOY.js} +4 -4
  109. package/dist/bundle/{reasons-Q5LOQESQ.js → reasons-GF2TYGX6.js} +3 -3
  110. package/dist/bundle/{recognize-AGPMWKIY.js → recognize-IFXOJHEA.js} +5 -5
  111. package/dist/bundle/{remote-QV7QSLAK.js → remote-663M42Y5.js} +6 -6
  112. package/dist/bundle/{rerank-HZKJJCS4.js → rerank-OT2F2DBV.js} +6 -6
  113. package/dist/bundle/{serve-NRJQOVT4.js → serve-PDNNI6O6.js} +8 -8
  114. package/dist/bundle/server-BFOEPMR7.js +56 -0
  115. package/dist/bundle/server-K566PJ7H.js +69 -0
  116. package/dist/bundle/{services-NZQWVMOE.js → services-5MCTECBU.js} +28 -28
  117. package/dist/bundle/{sqlite-runtime-6MXHTYYU.js → sqlite-runtime-BF3KDM7W.js} +4 -4
  118. package/dist/bundle/{state-IF2FLTSY.js → state-SZX65E74.js} +5 -5
  119. package/dist/bundle/{store-HVIBXOXS.js → store-TCWNLA3V.js} +14 -14
  120. package/dist/bundle/{store-HBD54IRL.js → store-UKPGGAPW.js} +16 -16
  121. package/dist/bundle/store-maintenance-command-QHLUVBTJ.js +57 -0
  122. package/dist/bundle/tokens-DFCFRF7I.js +103 -0
  123. package/dist/commands/mcp.d.ts.map +1 -1
  124. package/dist/commands/mcp.js +5 -9
  125. package/dist/commands/mcp.js.map +1 -1
  126. package/dist/contract-overrides.d.ts.map +1 -1
  127. package/dist/contract-overrides.js +13 -32
  128. package/dist/contract-overrides.js.map +1 -1
  129. package/dist/mcp.d.ts +1 -8
  130. package/dist/mcp.d.ts.map +1 -1
  131. package/dist/mcp.js +1 -8
  132. package/dist/mcp.js.map +1 -1
  133. package/dist/state.d.ts +8 -0
  134. package/dist/state.d.ts.map +1 -1
  135. package/dist/state.js +7 -0
  136. package/dist/state.js.map +1 -1
  137. package/dist/version.d.ts +1 -1
  138. package/dist/version.js +1 -1
  139. package/package.json +2 -2
  140. package/dist/bundle/command-contract-HX35D7KV.js +0 -38
  141. package/dist/bundle/failure-XBWHHBEW.js +0 -37
  142. package/dist/bundle/first-screen-P5NNFJD7.js +0 -36
  143. package/dist/bundle/google-api-TJCFOOAP.js +0 -82
  144. package/dist/bundle/mcp-2CJCJXSW.js +0 -95
  145. package/dist/bundle/server-R4JUHFSW.js +0 -56
  146. package/dist/bundle/store-maintenance-command-U3F4RGJB.js +0 -57
  147. package/dist/bundle/tokens-5D5YUA2Q.js +0 -103
  148. /package/dist/bundle/{chunk-IVQ6342B.js → chunk-O5EHUB2V.js} +0 -0
  149. /package/dist/bundle/{chunk-X5DFDGWS.js → chunk-Q2Z3VCM4.js} +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-XPEWOPJR.js";
12
+ } from "./chunk-3Z7WSD2A.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-64WJYT2F.js";
20
+ } from "./chunk-LOTQ2HMT.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-CDI67JSB.js";
41
+ } from "./chunk-CFZWPIVC.js";
42
42
  import {
43
43
  isCliFailure
44
- } from "./chunk-K4N2DKE5.js";
44
+ } from "./chunk-GOR3Z2FR.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-PJDO7AFZ.js";
55
+ } from "./chunk-PJ7IQVOM.js";
56
56
  import {
57
57
  count,
58
58
  text
59
- } from "./chunk-VO4KOLQZ.js";
59
+ } from "./chunk-ZBM4GEV2.js";
60
60
  import {
61
61
  permissionCeiling
62
- } from "./chunk-LWT55XC5.js";
62
+ } from "./chunk-LJARCTGL.js";
63
63
  import {
64
64
  envName,
65
65
  readOnlyLockOf,
66
66
  readOnlyRefusal
67
- } from "./chunk-CEO5HPRL.js";
67
+ } from "./chunk-RJ633GFA.js";
68
68
  import {
69
69
  sharedConfigPath
70
- } from "./chunk-WQMVSQPP.js";
70
+ } from "./chunk-GQW4GRYR.js";
71
71
  import {
72
72
  storePath
73
- } from "./chunk-P5KGFT7U.js";
73
+ } from "./chunk-TRMIV3OA.js";
74
74
  import {
75
75
  configFilePath,
76
76
  createRecordLog,
@@ -79,7 +79,7 @@ import {
79
79
  resolvePaths,
80
80
  saveConfigFile,
81
81
  writeSecurely
82
- } from "./chunk-6KFA6HOM.js";
82
+ } from "./chunk-VHT2WI4I.js";
83
83
  import {
84
84
  CliError,
85
85
  MAX_NEXT_STEPS,
@@ -114,13 +114,14 @@ import {
114
114
  union,
115
115
  unknown,
116
116
  writes
117
- } from "./chunk-GKHM6I64.js";
117
+ } from "./chunk-BJ3JRO34.js";
118
118
  import {
119
119
  __name
120
120
  } from "./chunk-ZVVMGPBJ.js";
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/execution.js
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
123
123
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
124
+ var DEFAULT_SYNC_MS = 15 * 6e4;
124
125
  var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
125
126
  var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
126
127
  if (!signal)
@@ -140,7 +141,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
140
141
  }
141
142
  }, "withAbort");
142
143
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/profile.js
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
145
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
145
146
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
146
147
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -187,7 +188,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
187
188
  return root;
188
189
  }, "rootOf");
189
190
 
190
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
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
192
  import { existsSync, readdirSync, readFileSync } from "node:fs";
192
193
  import { join } from "node:path";
193
194
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -209,7 +210,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
209
210
  }, "profilesWithAccounts");
210
211
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
211
212
 
212
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/runs/log-events.js
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
214
  var CORE_LOG_EVENTS = defineLogEvents([
214
215
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
215
216
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -243,7 +244,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
243
244
  cache: "cache.answered"
244
245
  };
245
246
 
246
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/runs/recording.js
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
248
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
248
249
  const recording = startRecording(options);
249
250
  try {
@@ -428,7 +429,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
428
429
  return void 0;
429
430
  }, "partialOutcome");
430
431
 
431
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/deadline.js
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
433
  var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
433
434
  if (ms === void 0)
434
435
  return body();
@@ -454,10 +455,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
454
455
  }
455
456
  }, "withDeadline");
456
457
 
457
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/settings.js
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
459
  import { existsSync as existsSync3 } from "node:fs";
459
460
 
460
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/models/endpoint.js
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
462
  var endpoint = /* @__PURE__ */ __name((value) => {
462
463
  try {
463
464
  const url2 = new URL(value);
@@ -467,7 +468,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
467
468
  }
468
469
  }, "endpoint");
469
470
 
470
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/models/settings.js
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
472
  var MODEL_FIELDS = ["provider", "model", "base_url"];
472
473
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
473
474
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -536,7 +537,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
536
537
  };
537
538
  }, "modelTarget");
538
539
 
539
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/analysis/settings.js
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
541
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
541
542
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
542
543
  var AI_FIELDS = {
@@ -580,7 +581,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
580
581
  };
581
582
  }, "resolveAISettings");
582
583
 
583
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
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
585
  import { readFileSync as readFileSync2 } from "node:fs";
585
586
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
586
587
  var SECTIONS = ["personal", "bot"];
@@ -870,7 +871,7 @@ var readConfigFile = /* @__PURE__ */ __name((path) => {
870
871
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
871
872
  }, "readConfigFile");
872
873
 
873
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/default-config.js
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
875
  import { existsSync as existsSync2, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
875
876
  import { dirname, join as join2 } from "node:path";
876
877
  var DEFAULT_CONFIG = {
@@ -899,7 +900,7 @@ function ensureDefaultConfig(path, config = DEFAULT_CONFIG) {
899
900
  }
900
901
  __name(ensureDefaultConfig, "ensureDefaultConfig");
901
902
 
902
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/settings.js
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
904
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
904
905
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
905
906
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -1289,7 +1290,7 @@ var given = /* @__PURE__ */ __name((value) => {
1289
1290
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
1290
1291
  }, "given");
1291
1292
 
1292
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/context.js
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
1294
  var setExitCode = /* @__PURE__ */ __name((command, code) => {
1294
1295
  const slot = environmentOf(command).exit;
1295
1296
  if (slot)
@@ -1396,7 +1397,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
1396
1397
  return words.join(" ");
1397
1398
  }, "commandPath");
1398
1399
 
1399
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/effects.js
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
1401
  var REMOTE_READ = { remote: "read", local: "read" };
1401
1402
  var FETCH = { remote: "read", local: "write" };
1402
1403
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -1481,7 +1482,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
1481
1482
  throw readOnlyRefusal(lock, what);
1482
1483
  }, "refuseUnderReadOnly");
1483
1484
 
1484
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/steps.js
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
1486
  var STEPS2 = defineSteps([
1486
1487
  ...STEPS,
1487
1488
  {
@@ -1665,7 +1666,7 @@ var STEPS2 = defineSteps([
1665
1666
  {
1666
1667
  id: "mcp.config",
1667
1668
  command: "mcp config",
1668
- args: [],
1669
+ args: [{ name: "profiles", required: false }],
1669
1670
  why: "the entry names one Node version's path; after switching or upgrading Node, print it again"
1670
1671
  },
1671
1672
  {
@@ -1738,7 +1739,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
1738
1739
  ].join(" ");
1739
1740
  }, "stepLine");
1740
1741
 
1741
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
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
1743
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
1743
1744
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
1744
1745
  var strip = /* @__PURE__ */ __name((value) => {
@@ -1752,7 +1753,7 @@ var strip = /* @__PURE__ */ __name((value) => {
1752
1753
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
1753
1754
  }, "strip");
1754
1755
 
1755
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/envelope.js
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
1757
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
1757
1758
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
1758
1759
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -1874,7 +1875,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
1874
1875
  renderer.result(item);
1875
1876
  }, "printItem");
1876
1877
 
1877
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/entities/store-table.js
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
1879
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
1879
1880
  var storeTable = strictObject({
1880
1881
  name: text,
@@ -1883,7 +1884,7 @@ var storeTable = strictObject({
1883
1884
  bytes: optional(nullable(count))
1884
1885
  });
1885
1886
 
1886
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/runs/record-log.js
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
1888
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
1888
1889
  const run = currentRun();
1889
1890
  const trace = traceId ?? run.traceId;
@@ -1922,6 +1923,7 @@ export {
1922
1923
  recalledAccount,
1923
1924
  NONE_NAMED,
1924
1925
  namedProfile,
1926
+ NoProfileHere,
1925
1927
  fromFile,
1926
1928
  settingsFor,
1927
1929
  setExitCode,