@wirecat/drive-cli 0.60.0 → 0.61.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.
- package/README.md +4 -5
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-537I27Z4.js → all-profiles-H4L3Z5UM.js} +14 -14
- package/dist/bundle/{anthropic-X4NWVHDF.js → anthropic-PPGFISVP.js} +9 -9
- package/dist/bundle/{app-server-KSHJKKS7.js → app-server-YXVK2FUZ.js} +52 -52
- package/dist/bundle/{bun-WTBGGCUC.js → bun-DKZAL6ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-T7Y3JFFD.js → bun-sqlite-MTZY36QK.js} +8 -8
- package/dist/bundle/{chunk-VRW6ZDTH.js → chunk-2RJA4BQB.js} +19 -19
- package/dist/bundle/{chunk-VVCZS42A.js → chunk-3252WXOL.js} +1 -1
- package/dist/bundle/{chunk-3TQHIHZI.js → chunk-36CWGEVX.js} +2 -2
- package/dist/bundle/{chunk-AXWXQNTC.js → chunk-3I2D5TK2.js} +10 -10
- package/dist/bundle/{chunk-PDYHEWKG.js → chunk-3SJQNS72.js} +5 -5
- package/dist/bundle/{chunk-PPL5ASW2.js → chunk-3UPIJ7DW.js} +280 -280
- package/dist/bundle/{chunk-PETFPXLU.js → chunk-3WZH3WV3.js} +3 -3
- package/dist/bundle/{chunk-5XHLQZAG.js → chunk-5W56YMQS.js} +25 -25
- package/dist/bundle/{chunk-IXN7Y6JA.js → chunk-5W7D5H2R.js} +1 -1
- package/dist/bundle/{chunk-FZOCQQ66.js → chunk-67HS46KM.js} +12 -12
- package/dist/bundle/{chunk-HFGR33KD.js → chunk-6DN4VPA7.js} +25 -25
- package/dist/bundle/{chunk-HIP43OGZ.js → chunk-6IBM4Z3V.js} +1 -1
- package/dist/bundle/{chunk-V7QMHMR3.js → chunk-6SUGANRJ.js} +6 -6
- package/dist/bundle/{chunk-LQSRVQ3V.js → chunk-6Y2FWJZ4.js} +3 -3
- package/dist/bundle/{chunk-GVRS5AIH.js → chunk-73WSULMI.js} +2 -2
- package/dist/bundle/{chunk-ZPQS7XJA.js → chunk-AM4RIWOZ.js} +4 -4
- package/dist/bundle/{chunk-HCJG7ENG.js → chunk-AWN22PJK.js} +3 -3
- package/dist/bundle/{chunk-YDN2RH5S.js → chunk-BCWUDTYQ.js} +2 -2
- package/dist/bundle/{chunk-GD6TQ6U4.js → chunk-BF6TQMNB.js} +8 -8
- package/dist/bundle/chunk-BQMIDYBA.js +415 -0
- package/dist/bundle/{chunk-JQLIM6BH.js → chunk-BXR7BKM3.js} +1 -1
- package/dist/bundle/{chunk-MVNPE5FZ.js → chunk-CACYL36O.js} +8 -8
- package/dist/bundle/{chunk-246P2DCT.js → chunk-DCBFNBEB.js} +113 -51
- package/dist/bundle/{chunk-TXMTMEHW.js → chunk-DEPMQHXQ.js} +4 -4
- package/dist/bundle/{chunk-O37ESNAP.js → chunk-DXPOVLQC.js} +46 -28
- package/dist/bundle/{chunk-CKGHRWVR.js → chunk-E5EXJ2XS.js} +4 -4
- package/dist/bundle/{chunk-4CBZEAQ7.js → chunk-E6J5YH2N.js} +34 -34
- package/dist/bundle/{chunk-4XZXH2NM.js → chunk-ECEYAQGN.js} +2 -2
- package/dist/bundle/{chunk-XDIEQ2CE.js → chunk-EPCJUL6M.js} +3 -3
- package/dist/bundle/{chunk-EHAI773E.js → chunk-FE5JJXKA.js} +2 -2
- package/dist/bundle/{chunk-DQDKLZAK.js → chunk-HFM653T3.js} +49 -49
- package/dist/bundle/{chunk-UVYVIHEA.js → chunk-HGOYQUT7.js} +1 -1
- package/dist/bundle/{chunk-KEXTTZJM.js → chunk-I26VL4W7.js} +2 -2
- package/dist/bundle/{chunk-LJ77Y3TK.js → chunk-J4HQVHMN.js} +6 -5
- package/dist/bundle/{chunk-YGG7UA3C.js → chunk-J5UDQD5S.js} +5 -5
- package/dist/bundle/{chunk-73TTP6ET.js → chunk-JVBLXSAA.js} +141 -141
- package/dist/bundle/{chunk-N7S2UPF3.js → chunk-K7LS3NGM.js} +55 -55
- package/dist/bundle/{chunk-2AXA5SKP.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-IRZ7OF3F.js → chunk-LARQTWIL.js} +1 -1
- package/dist/bundle/{chunk-QIJWSKZL.js → chunk-N2RLJTIW.js} +4 -4
- package/dist/bundle/{chunk-HQVIK6PM.js → chunk-NIX2MWHZ.js} +242 -362
- package/dist/bundle/{chunk-4VHBDVY2.js → chunk-NZ2EIZLX.js} +14 -10
- package/dist/bundle/{chunk-SZXI4OXX.js → chunk-O5CUFS7T.js} +2 -2
- package/dist/bundle/{chunk-FO4TCH6P.js → chunk-OFFA54TW.js} +2 -2
- package/dist/bundle/{chunk-W62CON5K.js → chunk-OGNOQDWB.js} +4 -4
- package/dist/bundle/{chunk-OYNUBWD2.js → chunk-OLPJRD4S.js} +1 -1
- package/dist/bundle/{chunk-67QXMO2G.js → chunk-PJTX2MOI.js} +26 -26
- package/dist/bundle/{chunk-MXP35VPO.js → chunk-PY7LKNOS.js} +2 -2
- package/dist/bundle/{chunk-FTZNUZO7.js → chunk-Q4XVBKX4.js} +3 -3
- package/dist/bundle/{chunk-5AMRCBMP.js → chunk-QR5VQXQ5.js} +26 -26
- package/dist/bundle/{chunk-S36HRPNS.js → chunk-QSGT4ZH4.js} +1 -1
- package/dist/bundle/{chunk-57QVQGBE.js → chunk-RFRCOAWS.js} +22 -22
- package/dist/bundle/{chunk-DMHGWL5D.js → chunk-S4YK6TTG.js} +13 -13
- package/dist/bundle/{chunk-UVLSWLPZ.js → chunk-TKGAYKXW.js} +16 -16
- package/dist/bundle/{chunk-SBHSNOU4.js → chunk-UKOYQC5O.js} +19 -18
- package/dist/bundle/{chunk-XFXRGQXJ.js → chunk-UO2IUDVK.js} +2 -2
- package/dist/bundle/{chunk-UTFATA4K.js → chunk-VPDAH7PJ.js} +1 -1
- package/dist/bundle/{chunk-TKW4QWCY.js → chunk-VYXVPYA3.js} +12 -6
- package/dist/bundle/{chunk-YYHKVOVK.js → chunk-W767AUNR.js} +4 -4
- package/dist/bundle/{chunk-73MNUSP3.js → chunk-WIU733D2.js} +1 -1
- package/dist/bundle/{chunk-UNJE63JK.js → chunk-WUP2MJDN.js} +2 -2
- package/dist/bundle/{chunk-EBLA7GXY.js → chunk-WZ5XK74U.js} +2 -1
- package/dist/bundle/{chunk-77C5XRH3.js → chunk-X2CXW4HM.js} +7 -7
- package/dist/bundle/{chunk-D6WIWOQC.js → chunk-XGMDWIUP.js} +4 -4
- package/dist/bundle/{chunk-K6XVRA6U.js → chunk-XGNC5OJG.js} +1 -1
- package/dist/bundle/{chunk-ALWTUDZF.js → chunk-XLFJLZJL.js} +4 -4
- package/dist/bundle/{chunk-JGUJJNGZ.js → chunk-XYCCGGKN.js} +242 -242
- package/dist/bundle/{chunk-TVQDMP2F.js → chunk-XZBR2O63.js} +271 -271
- package/dist/bundle/{chunk-OMKUBCNN.js → chunk-YMBFZA3H.js} +8 -8
- package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-6HTKB4WC.js → chunk-YWIU4HOT.js} +1 -1
- package/dist/bundle/{chunk-V2VMBM7O.js → chunk-ZHYRHERD.js} +2 -2
- package/dist/bundle/{chunk-22ATLSNK.js → chunk-ZMNYK3FC.js} +5 -5
- package/dist/bundle/command-contract-T3EO5AYD.js +39 -0
- package/dist/bundle/{decode-35N57AFW.js → decode-62A3HGPW.js} +8 -8
- package/dist/bundle/{dispatch-CWXZW3PL.js → dispatch-IE7PBEQC.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-3P3QZWMU.js → echarts-BGBPRGR5.js} +2 -2
- package/dist/bundle/{embed-Q6Q5IOJQ.js → embed-J3IBVV2V.js} +9 -9
- package/dist/bundle/{embedder-D44JDTAA.js → embedder-QFPMDRT2.js} +12 -12
- package/dist/bundle/entry-YQSYER66.js +22 -0
- package/dist/bundle/{failure-GRMMSDCZ.js → failure-BKOGBMIC.js} +4 -4
- package/dist/bundle/first-run-ZIFPVZAI.js +30 -0
- package/dist/bundle/first-screen-L5U26EY7.js +37 -0
- package/dist/bundle/{google-6ZZDKFBN.js → google-RXM2XEPD.js} +13 -13
- package/dist/bundle/{google-api-E6MOJ4ZD.js → google-api-NC65BZO4.js} +83 -64
- package/dist/bundle/grants-SEWUYYH3.js +105 -0
- package/dist/bundle/{identity-TID7S5NE.js → identity-PI6F2GWA.js} +6 -6
- package/dist/bundle/{instructions-ANJN4HV3.js → instructions-6LPDSKAD.js} +1 -1
- package/dist/bundle/{login-BGMK2ABH.js → login-HTY7GT2S.js} +64 -64
- package/dist/bundle/{mcp-WBHKX5E3.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{node-VOB45ES2.js → node-IB246NCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-TSX6XQY2.js → node-sqlite-G2Y5SFJM.js} +9 -9
- package/dist/bundle/oauth-MWBKBI4T.js +22 -0
- package/dist/bundle/{open-3USWHGNR.js → open-WD4GFSJD.js} +8 -8
- package/dist/bundle/{openai-YZ5VGPIP.js → openai-QVM4PMY7.js} +17 -17
- package/dist/bundle/{process-44JS2W7L.js → process-SWPJGPQC.js} +1 -1
- package/dist/bundle/{program-TZLAFKJV.js → program-WHYFAMXR.js} +117 -98
- package/dist/bundle/prompt-OVYCGZB7.js +17 -0
- package/dist/bundle/{reasons-ZK3U3CIN.js → reasons-Q34DQWB6.js} +5 -5
- package/dist/bundle/{recognize-OFW7HWTM.js → recognize-DM3YWHSE.js} +7 -7
- package/dist/bundle/{remote-YBDRZQZ5.js → remote-KXVWRK7J.js} +10 -10
- package/dist/bundle/{rerank-TQQNS5FJ.js → rerank-TINXM3MY.js} +10 -10
- package/dist/bundle/{serve-OPZXMVLH.js → serve-IY2WL656.js} +12 -12
- package/dist/bundle/server-EMWVVT2C.js +70 -0
- package/dist/bundle/{server-2D6DDIK5.js → server-VPY3OWPC.js} +44 -44
- package/dist/bundle/{services-34WKT3NN.js → services-PXNBOCOC.js} +32 -32
- package/dist/bundle/{sqlite-runtime-WPUMKLUV.js → sqlite-runtime-5ZK2CV7Y.js} +9 -9
- package/dist/bundle/{start-ZXUJZ4JV.js → start-LDVCN3DK.js} +7 -7
- package/dist/bundle/{state-AV2RB3AQ.js → state-3MKTT3VS.js} +9 -9
- package/dist/bundle/{store-3M7N2Q5T.js → store-4VQOT5IJ.js} +18 -18
- package/dist/bundle/{store-YKV4GAMS.js → store-7M4MSUJV.js} +20 -20
- package/dist/bundle/store-maintenance-command-NRATYBWD.js +60 -0
- package/dist/bundle/tokens-XUKLM3SL.js +103 -0
- package/dist/commands/config.js +1 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +10 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +16 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +11 -17
- package/dist/config.js.map +1 -1
- package/dist/download.d.ts +3 -2
- package/dist/download.d.ts.map +1 -1
- package/dist/download.js +21 -9
- package/dist/download.js.map +1 -1
- package/dist/google-api.d.ts +3 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +27 -7
- package/dist/google-api.js.map +1 -1
- package/dist/login.js +1 -1
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +6 -6
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-77YTRBL6.js +0 -249
- package/dist/bundle/command-contract-NUIWUVYB.js +0 -39
- package/dist/bundle/entry-ZHCNI7XO.js +0 -22
- package/dist/bundle/first-run-3DC2SDWM.js +0 -30
- package/dist/bundle/first-screen-YJF4YODC.js +0 -37
- package/dist/bundle/grants-GWXDH5GM.js +0 -105
- package/dist/bundle/oauth-CEOYXW6C.js +0 -22
- package/dist/bundle/prompt-SG7LAOXW.js +0 -17
- package/dist/bundle/server-R6G2O772.js +0 -70
- package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +0 -60
- package/dist/bundle/tokens-F63RXXEF.js +0 -103
- package/dist/oauth-application.d.ts +0 -5
- package/dist/oauth-application.d.ts.map +0 -1
- package/dist/oauth-application.js +0 -9
- package/dist/oauth-application.js.map +0 -1
- /package/dist/bundle/{chunk-LK2E2ELG.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UKOYQC5O.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-73WSULMI.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
17
17
|
refuseLacking
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2RJA4BQB.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_OUTPUT_BYTES,
|
|
21
21
|
ENTITIES,
|
|
@@ -30,18 +30,18 @@ import {
|
|
|
30
30
|
refuseStoreChange,
|
|
31
31
|
sealed,
|
|
32
32
|
startRecording
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-JVBLXSAA.js";
|
|
34
34
|
import {
|
|
35
35
|
currentCaller,
|
|
36
36
|
keepsSuccess,
|
|
37
37
|
runContextOf,
|
|
38
38
|
withCaller
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BF6TQMNB.js";
|
|
40
40
|
import {
|
|
41
41
|
onlineDeps,
|
|
42
42
|
servicesFor,
|
|
43
43
|
storeModeDeps
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-XYCCGGKN.js";
|
|
45
45
|
import {
|
|
46
46
|
authorityAllowed,
|
|
47
47
|
botApiAllowed,
|
|
@@ -52,23 +52,23 @@ import {
|
|
|
52
52
|
newRunId,
|
|
53
53
|
readKeysForCommand,
|
|
54
54
|
traceOf
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-6DN4VPA7.js";
|
|
56
56
|
import {
|
|
57
57
|
queryDescription
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-NZ2EIZLX.js";
|
|
59
59
|
import {
|
|
60
60
|
MAX_BUFFERED_INPUT
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-O5CUFS7T.js";
|
|
62
62
|
import {
|
|
63
63
|
captureStreams
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-DCBFNBEB.js";
|
|
65
65
|
import {
|
|
66
66
|
errorObjectOf,
|
|
67
67
|
mcpErrorResult
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-J4HQVHMN.js";
|
|
69
69
|
import {
|
|
70
70
|
traceIdOf
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-OFFA54TW.js";
|
|
72
72
|
import {
|
|
73
73
|
COMPACT_FLAG,
|
|
74
74
|
SNAKE_CASE,
|
|
@@ -105,19 +105,19 @@ import {
|
|
|
105
105
|
unknown,
|
|
106
106
|
word,
|
|
107
107
|
writes
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-VYXVPYA3.js";
|
|
109
109
|
import {
|
|
110
110
|
CliError,
|
|
111
111
|
errorCodes
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-WZ5XK74U.js";
|
|
113
113
|
import {
|
|
114
114
|
__name
|
|
115
115
|
} from "./chunk-ZVVMGPBJ.js";
|
|
116
116
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
118
118
|
import { Readable } from "node:stream";
|
|
119
119
|
|
|
120
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
120
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
|
|
121
121
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
122
122
|
var lintRuleSchema = strictObject({
|
|
123
123
|
id: word,
|
|
@@ -245,7 +245,7 @@ var overrideSchema = strictObject({
|
|
|
245
245
|
});
|
|
246
246
|
var overridesSchema = array(overrideSchema);
|
|
247
247
|
|
|
248
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
248
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
249
249
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
250
250
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
251
251
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -354,7 +354,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
354
354
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
355
355
|
]);
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
358
358
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
359
359
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
360
360
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -370,7 +370,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
370
370
|
}
|
|
371
371
|
]);
|
|
372
372
|
|
|
373
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
373
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
374
374
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
375
375
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
376
376
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -392,7 +392,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
392
392
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
393
393
|
]);
|
|
394
394
|
|
|
395
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
395
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
396
396
|
var CALENDAR_FLAGS = [
|
|
397
397
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
398
398
|
{
|
|
@@ -466,7 +466,7 @@ var CALENDAR_FLAGS = [
|
|
|
466
466
|
}
|
|
467
467
|
];
|
|
468
468
|
|
|
469
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
469
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
470
470
|
var HOW_FLAGS = [
|
|
471
471
|
{
|
|
472
472
|
name: "--limit",
|
|
@@ -1460,7 +1460,7 @@ var HOW_FLAGS = [
|
|
|
1460
1460
|
}
|
|
1461
1461
|
];
|
|
1462
1462
|
|
|
1463
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1463
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1464
1464
|
var MAIL_FLAGS = [
|
|
1465
1465
|
{
|
|
1466
1466
|
name: "--cc",
|
|
@@ -1481,10 +1481,16 @@ var MAIL_FLAGS = [
|
|
|
1481
1481
|
role: "value",
|
|
1482
1482
|
type: "switch",
|
|
1483
1483
|
meaning: "with --reply-to, an e-mail reply also goes to everyone the message went to"
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
name: "--trimmed",
|
|
1487
|
+
role: "output",
|
|
1488
|
+
type: "switch",
|
|
1489
|
+
meaning: "each e-mail's own text, without the quoted earlier mail and the signature; refused with --full"
|
|
1484
1490
|
}
|
|
1485
1491
|
];
|
|
1486
1492
|
|
|
1487
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1493
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1488
1494
|
var WHAT_FLAGS = [
|
|
1489
1495
|
{
|
|
1490
1496
|
name: "--analysis-provider",
|
|
@@ -2482,7 +2488,7 @@ var WHAT_FLAGS = [
|
|
|
2482
2488
|
}
|
|
2483
2489
|
];
|
|
2484
2490
|
|
|
2485
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2491
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2486
2492
|
var FLAG_TYPES = [
|
|
2487
2493
|
"switch",
|
|
2488
2494
|
"count",
|
|
@@ -2666,6 +2672,10 @@ var verbs = [
|
|
|
2666
2672
|
["move", "move a thing to another place in the source: a file to a folder, an event to a calendar"],
|
|
2667
2673
|
["copy", "copy a file in the source"],
|
|
2668
2674
|
["run", "run a saved job once, now, as its timer would"],
|
|
2675
|
+
["exec", "what a timer itself starts: one saved schedule, from its file; a person uses run"],
|
|
2676
|
+
// schedule's creators are named for what the timer starts; the owner kept these names over `create --kind`.
|
|
2677
|
+
["agent", "save a timer that starts an agent with a prompt, read-only; a verb under schedule, never a resource"],
|
|
2678
|
+
["command", "save a timer that runs one of this tool's own commands; a verb under schedule"],
|
|
2669
2679
|
["claim", "take a thing for a while so no other agent works it at once; the claim lapses by itself"],
|
|
2670
2680
|
["release", "give back what claim took, before it lapses"],
|
|
2671
2681
|
["merge", "fold a duplicate into the thing that stays; nothing is deleted"],
|
|
@@ -2736,6 +2746,10 @@ var collections = [
|
|
|
2736
2746
|
["recordings", "the files a provider recorded of a meeting"],
|
|
2737
2747
|
["jobs", "work this tool runs in the background or on a timer"],
|
|
2738
2748
|
["actions", "what an agent proposes to do; the owner confirms or rejects each"],
|
|
2749
|
+
[
|
|
2750
|
+
"findings",
|
|
2751
|
+
"what an agent read in stored mail, staged in batches with citations; nothing is recorded until the owner confirms. What it proposes to do is actions"
|
|
2752
|
+
],
|
|
2739
2753
|
["agents", "the agents whose actions are recorded in the shared store"],
|
|
2740
2754
|
["reminders", "scheduled notices about stored work, claimed and acknowledged with delivery receipts"],
|
|
2741
2755
|
["key-documents", "selected source documents that a project keeps as its starting references"],
|
|
@@ -2777,7 +2791,11 @@ var singulars = [
|
|
|
2777
2791
|
["api", "the source's own API, one command per operation"],
|
|
2778
2792
|
["privacy", "who may find, see, call or add the account"],
|
|
2779
2793
|
["metadata", "a profile's cached source attributes"],
|
|
2780
|
-
["auth", "the credentials a bot profile uses: its token and the secrets beside it"]
|
|
2794
|
+
["auth", "the credentials a bot profile uses: its token and the secrets beside it"],
|
|
2795
|
+
[
|
|
2796
|
+
"schedule",
|
|
2797
|
+
"a profile's timers the owner saved, each running a command of this tool or an agent; the tool's own background work is jobs"
|
|
2798
|
+
]
|
|
2781
2799
|
];
|
|
2782
2800
|
var views = [
|
|
2783
2801
|
["tree", "the parent and child hierarchy of stored sources"],
|
|
@@ -2843,7 +2861,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
2843
2861
|
flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
|
|
2844
2862
|
});
|
|
2845
2863
|
|
|
2846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2847
2865
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2848
2866
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2849
2867
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3066,7 +3084,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3066
3084
|
}
|
|
3067
3085
|
}, "runCommandForAgent");
|
|
3068
3086
|
|
|
3069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3070
3088
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3071
3089
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3072
3090
|
var message = pipe(
|
|
@@ -3325,7 +3343,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3325
3343
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3326
3344
|
}, "failed");
|
|
3327
3345
|
|
|
3328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3329
3347
|
import { randomUUID } from "node:crypto";
|
|
3330
3348
|
var MATCHES = 8;
|
|
3331
3349
|
var ANSWER = answerSchema();
|
|
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YPF6OS37.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfigFile,
|
|
12
12
|
saveConfigFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DCBFNBEB.js";
|
|
14
14
|
import {
|
|
15
15
|
number,
|
|
16
16
|
object,
|
|
17
17
|
optional,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VYXVPYA3.js";
|
|
20
20
|
import {
|
|
21
21
|
__name,
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
|
|
26
26
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
27
27
|
import { existsSync } from "node:fs";
|
|
28
28
|
var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
registerPrompts,
|
|
14
14
|
stdinFieldOf,
|
|
15
15
|
syncsFirst
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QR5VQXQ5.js";
|
|
17
17
|
import {
|
|
18
18
|
BinaryResource,
|
|
19
19
|
Picture,
|
|
@@ -34,20 +34,20 @@ import {
|
|
|
34
34
|
tool,
|
|
35
35
|
toolKey,
|
|
36
36
|
toolsFromCommands
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-DXPOVLQC.js";
|
|
38
38
|
import {
|
|
39
39
|
agentJson,
|
|
40
40
|
skillResource
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-UKOYQC5O.js";
|
|
42
42
|
import {
|
|
43
43
|
answeredWire
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QSGT4ZH4.js";
|
|
45
45
|
import {
|
|
46
46
|
StdioServerTransport,
|
|
47
47
|
callerOf,
|
|
48
48
|
callingAgent,
|
|
49
49
|
serveStdio
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-73WSULMI.js";
|
|
51
51
|
import {
|
|
52
52
|
McpServer,
|
|
53
53
|
ResourceTemplate
|
|
@@ -55,14 +55,14 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
connectedFor,
|
|
57
57
|
guardFor
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-5W56YMQS.js";
|
|
59
59
|
import {
|
|
60
60
|
lackedNeed,
|
|
61
61
|
wholeList
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2RJA4BQB.js";
|
|
63
63
|
import {
|
|
64
64
|
findCommand
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-3SJQNS72.js";
|
|
66
66
|
import {
|
|
67
67
|
DEFAULT_OUTPUT_BYTES,
|
|
68
68
|
changesAuthorityAt,
|
|
@@ -75,52 +75,52 @@ import {
|
|
|
75
75
|
rootOf2 as rootOf,
|
|
76
76
|
sealed,
|
|
77
77
|
snakeKeys
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-JVBLXSAA.js";
|
|
79
79
|
import {
|
|
80
80
|
withCaller
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-BF6TQMNB.js";
|
|
82
82
|
import {
|
|
83
83
|
readOnlyLockOf
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-ECEYAQGN.js";
|
|
85
85
|
import {
|
|
86
86
|
mcpHttpMarker
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-DEPMQHXQ.js";
|
|
88
88
|
import {
|
|
89
89
|
instructions
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-YWIU4HOT.js";
|
|
91
91
|
import {
|
|
92
92
|
capability,
|
|
93
93
|
dateWindow,
|
|
94
94
|
imageSize,
|
|
95
95
|
servicesFor,
|
|
96
96
|
storedDeps
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-XYCCGGKN.js";
|
|
98
98
|
import {
|
|
99
99
|
levelFor,
|
|
100
100
|
readKeysForCommand,
|
|
101
101
|
typedCommand
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-6DN4VPA7.js";
|
|
103
103
|
import {
|
|
104
104
|
isCliFailure
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-BCWUDTYQ.js";
|
|
106
106
|
import {
|
|
107
107
|
warmEmbedders
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-J5UDQD5S.js";
|
|
109
109
|
import {
|
|
110
110
|
openStore
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-3UPIJ7DW.js";
|
|
112
112
|
import {
|
|
113
113
|
pdfPreviewLimits
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-WUP2MJDN.js";
|
|
115
115
|
import {
|
|
116
116
|
timezoneOf
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-NZ2EIZLX.js";
|
|
118
118
|
import {
|
|
119
119
|
mcpErrorResult
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-J4HQVHMN.js";
|
|
121
121
|
import {
|
|
122
122
|
visibleControls
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-6IBM4Z3V.js";
|
|
124
124
|
import {
|
|
125
125
|
description,
|
|
126
126
|
integer,
|
|
@@ -135,18 +135,18 @@ import {
|
|
|
135
135
|
regex,
|
|
136
136
|
strictObject,
|
|
137
137
|
string
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-VYXVPYA3.js";
|
|
139
139
|
import {
|
|
140
140
|
CliError
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-WZ5XK74U.js";
|
|
142
142
|
import {
|
|
143
143
|
__name
|
|
144
144
|
} from "./chunk-ZVVMGPBJ.js";
|
|
145
145
|
|
|
146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
146
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
147
147
|
import { randomUUID } from "node:crypto";
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
150
150
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
151
151
|
let held;
|
|
152
152
|
return {
|
|
@@ -165,7 +165,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
165
165
|
};
|
|
166
166
|
}, "agentLog");
|
|
167
167
|
|
|
168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
169
169
|
var LISTED = 100;
|
|
170
170
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
171
171
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -203,7 +203,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
203
203
|
});
|
|
204
204
|
}, "registerResources");
|
|
205
205
|
|
|
206
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
206
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
207
207
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
208
208
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
209
209
|
var MessengerSession = class {
|
|
@@ -278,7 +278,7 @@ var MessengerSession = class {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
282
282
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
283
283
|
const _command = messenger.app.command;
|
|
284
284
|
return {
|
|
@@ -332,7 +332,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
332
332
|
};
|
|
333
333
|
}, "attachmentsTools");
|
|
334
334
|
|
|
335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
336
336
|
var PHOTO_LIMIT = 512 * 1024;
|
|
337
337
|
var IMAGE_TYPES = [
|
|
338
338
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -386,7 +386,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
386
386
|
return new Uint8Array(Buffer.concat(chunks));
|
|
387
387
|
}, "readUpTo");
|
|
388
388
|
|
|
389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
390
390
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
391
391
|
stats_charts: tool({
|
|
392
392
|
title: "A chart from a chat's statistics",
|
|
@@ -423,14 +423,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
423
423
|
})
|
|
424
424
|
}), "statsTools");
|
|
425
425
|
|
|
426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
427
427
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
428
428
|
...messagesPhotoTools(messenger),
|
|
429
429
|
...attachmentsTools(messenger),
|
|
430
430
|
...statsTools(messenger)
|
|
431
431
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
432
432
|
|
|
433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
434
434
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
435
435
|
"streams",
|
|
436
436
|
"stdin",
|
|
@@ -754,7 +754,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
754
754
|
}, "serveOverStdio");
|
|
755
755
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
756
756
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
757
|
-
const { serveOverHttp } = await import("./serve-
|
|
757
|
+
const { serveOverHttp } = await import("./serve-IY2WL656.js");
|
|
758
758
|
const appName = messenger.app.command;
|
|
759
759
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
760
760
|
const listening = await serveOverHttp(build, {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WZ5XK74U.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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");
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O5CUFS7T.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WZ5XK74U.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WZ5XK74U.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
11
11
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
12
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
13
|
if (images === void 0)
|