@wirecat/drive-cli 0.59.0 → 0.60.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/dist/bin/drive.js +2 -2
- package/dist/bin/drive.js.map +1 -1
- package/dist/bundle/{all-profiles-CVISDGMF.js → all-profiles-537I27Z4.js} +11 -11
- package/dist/bundle/{anthropic-WLNQC23G.js → anthropic-X4NWVHDF.js} +7 -7
- package/dist/bundle/{app-server-P2VOONXF.js → app-server-KSHJKKS7.js} +47 -47
- package/dist/bundle/{bun-CDFBNTKV.js → bun-WTBGGCUC.js} +2 -2
- package/dist/bundle/{bun-sqlite-MNZICITP.js → bun-sqlite-T7Y3JFFD.js} +6 -6
- package/dist/bundle/{chunk-YV4ABH6J.js → chunk-22ATLSNK.js} +3 -3
- package/dist/bundle/{chunk-CBM2XAEZ.js → chunk-246P2DCT.js} +3 -3
- package/dist/bundle/{chunk-H2BKXPBL.js → chunk-3TQHIHZI.js} +2 -2
- package/dist/bundle/{chunk-IGF6EXBR.js → chunk-4CBZEAQ7.js} +32 -32
- package/dist/bundle/{chunk-L5SE2XZP.js → chunk-4VHBDVY2.js} +1 -1
- package/dist/bundle/{chunk-IIP43FQJ.js → chunk-4XZXH2NM.js} +1 -1
- package/dist/bundle/{chunk-UWVNRPT7.js → chunk-57QVQGBE.js} +21 -21
- package/dist/bundle/{chunk-A6SLYOP2.js → chunk-5AMRCBMP.js} +67 -34
- package/dist/bundle/{chunk-ZSMCJKGP.js → chunk-5XHLQZAG.js} +27 -26
- package/dist/bundle/{chunk-YADXWQHV.js → chunk-67QXMO2G.js} +25 -25
- package/dist/bundle/{chunk-36B7AIGP.js → chunk-6HTKB4WC.js} +1 -1
- package/dist/bundle/{chunk-5C7K6XIT.js → chunk-73MNUSP3.js} +1 -1
- package/dist/bundle/{chunk-3KNZADHJ.js → chunk-73TTP6ET.js} +431 -187
- package/dist/bundle/{chunk-IBZ3IBO4.js → chunk-77C5XRH3.js} +5 -5
- package/dist/bundle/{chunk-PGKIOSN3.js → chunk-77YTRBL6.js} +10 -10
- package/dist/bundle/{chunk-TI55J3BA.js → chunk-ALWTUDZF.js} +3 -3
- package/dist/bundle/{chunk-HWLLVLAB.js → chunk-AXWXQNTC.js} +13 -10
- package/dist/bundle/{chunk-P7WPYKSB.js → chunk-CKGHRWVR.js} +2 -2
- package/dist/bundle/{chunk-JW2CVCUH.js → chunk-D6WIWOQC.js} +3 -3
- package/dist/bundle/{chunk-A6EG7ZDS.js → chunk-DMHGWL5D.js} +12 -12
- package/dist/bundle/{chunk-FICVPYE4.js → chunk-DQDKLZAK.js} +47 -47
- package/dist/bundle/{chunk-JSDVK3JA.js → chunk-EHAI773E.js} +1 -1
- package/dist/bundle/{chunk-UQPKAY6I.js → chunk-FO4TCH6P.js} +1 -1
- package/dist/bundle/{chunk-GJ4ZCIOP.js → chunk-FTZNUZO7.js} +3 -3
- package/dist/bundle/{chunk-6C6255U6.js → chunk-FZOCQQ66.js} +11 -11
- package/dist/bundle/{chunk-EHEZSV6I.js → chunk-GD6TQ6U4.js} +8 -8
- package/dist/bundle/{chunk-XCOCPXCM.js → chunk-GVRS5AIH.js} +2 -2
- package/dist/bundle/{chunk-DI5Z4SH5.js → chunk-HCJG7ENG.js} +2 -2
- package/dist/bundle/{chunk-AD62XJKO.js → chunk-HFGR33KD.js} +24 -24
- package/dist/bundle/{chunk-K4LXGZTE.js → chunk-HQVIK6PM.js} +36 -18
- package/dist/bundle/{chunk-YU3PTU3D.js → chunk-IRZ7OF3F.js} +1 -1
- package/dist/bundle/{chunk-LJ7E4HLQ.js → chunk-IXN7Y6JA.js} +1 -1
- package/dist/bundle/{chunk-7QTVIZII.js → chunk-JGUJJNGZ.js} +790 -325
- package/dist/bundle/{chunk-FVQCM7IQ.js → chunk-JQLIM6BH.js} +4 -4
- package/dist/bundle/{chunk-BSGOM3BD.js → chunk-K6XVRA6U.js} +1 -1
- package/dist/bundle/{chunk-3VSUT6BD.js → chunk-KEXTTZJM.js} +2 -2
- package/dist/bundle/{chunk-V36RIXFA.js → chunk-LJ77Y3TK.js} +1 -1
- package/dist/bundle/{chunk-II7LST64.js → chunk-LQSRVQ3V.js} +3 -2
- package/dist/bundle/{chunk-OKXSTWKW.js → chunk-MVNPE5FZ.js} +7 -7
- package/dist/bundle/{chunk-M6I2SQN7.js → chunk-MXP35VPO.js} +2 -2
- package/dist/bundle/{chunk-TJXPJ3A5.js → chunk-N7S2UPF3.js} +135 -60
- package/dist/bundle/{chunk-3KJTJDDT.js → chunk-O37ESNAP.js} +17 -17
- package/dist/bundle/{chunk-EVETU3TF.js → chunk-OMKUBCNN.js} +7 -7
- package/dist/bundle/{chunk-MUUHUHWC.js → chunk-OYNUBWD2.js} +1 -22
- package/dist/bundle/{chunk-PAEVBAM3.js → chunk-PDYHEWKG.js} +4 -4
- package/dist/bundle/{chunk-EORMZCVF.js → chunk-PETFPXLU.js} +2 -2
- package/dist/bundle/{chunk-GI5JBGXH.js → chunk-PPL5ASW2.js} +613 -372
- package/dist/bundle/{chunk-B5GBJ35N.js → chunk-QIJWSKZL.js} +2 -2
- package/dist/bundle/{chunk-OZH4ALTI.js → chunk-S36HRPNS.js} +1 -1
- package/dist/bundle/{chunk-KFZUODXB.js → chunk-SBHSNOU4.js} +34 -18
- package/dist/bundle/{chunk-F3FOL42A.js → chunk-SZXI4OXX.js} +1 -1
- package/dist/bundle/{chunk-3U22QTU6.js → chunk-TKW4QWCY.js} +12 -0
- package/dist/bundle/{chunk-6CQO2FIN.js → chunk-TVQDMP2F.js} +391 -282
- package/dist/bundle/{chunk-GT5KTGCN.js → chunk-TXMTMEHW.js} +4 -4
- package/dist/bundle/{chunk-IADOBOKB.js → chunk-UNJE63JK.js} +1 -1
- package/dist/bundle/{chunk-HIOJRPCT.js → chunk-UTFATA4K.js} +1 -1
- package/dist/bundle/{chunk-LPHMAQJQ.js → chunk-UVLSWLPZ.js} +15 -15
- package/dist/bundle/{chunk-KPRGTTJH.js → chunk-UVYVIHEA.js} +1 -1
- package/dist/bundle/{chunk-MKCNUI72.js → chunk-V2VMBM7O.js} +1 -1
- package/dist/bundle/{chunk-QTM7USFA.js → chunk-V7QMHMR3.js} +5 -5
- package/dist/bundle/{chunk-TFH5X46A.js → chunk-VRW6ZDTH.js} +18 -18
- package/dist/bundle/{chunk-OMMEQJOB.js → chunk-XDIEQ2CE.js} +2 -2
- package/dist/bundle/{chunk-MEAPA4EZ.js → chunk-XFXRGQXJ.js} +2 -2
- package/dist/bundle/{chunk-HMZAMHKN.js → chunk-YDN2RH5S.js} +1 -1
- package/dist/bundle/{chunk-P3ZTW2ZM.js → chunk-YGG7UA3C.js} +4 -4
- package/dist/bundle/{chunk-VT6GZAF4.js → chunk-YYHKVOVK.js} +4 -4
- package/dist/bundle/{chunk-V42KAPU3.js → chunk-ZPQS7XJA.js} +3 -3
- package/dist/bundle/command-contract-NUIWUVYB.js +39 -0
- package/dist/bundle/{decode-XTOMXMGN.js → decode-35N57AFW.js} +6 -6
- package/dist/bundle/{dispatch-T6TW2JJB.js → dispatch-CWXZW3PL.js} +1 -1
- package/dist/bundle/drive.js +10 -10
- package/dist/bundle/{echarts-RKKIOYVV.js → echarts-3P3QZWMU.js} +2 -2
- package/dist/bundle/{embed-STHKKA6G.js → embed-Q6Q5IOJQ.js} +7 -7
- package/dist/bundle/{embedder-3XZEWHRO.js → embedder-D44JDTAA.js} +10 -10
- package/dist/bundle/{entry-CNOYSSSD.js → entry-ZHCNI7XO.js} +9 -9
- package/dist/bundle/{failure-DNQYXP2T.js → failure-GRMMSDCZ.js} +2 -2
- package/dist/bundle/{first-run-F2SI24PK.js → first-run-3DC2SDWM.js} +10 -10
- package/dist/bundle/first-screen-YJF4YODC.js +37 -0
- package/dist/bundle/{google-BYNSAIQI.js → google-6ZZDKFBN.js} +10 -10
- package/dist/bundle/{google-api-4VTZH7OP.js → google-api-E6MOJ4ZD.js} +52 -52
- package/dist/bundle/grants-GWXDH5GM.js +105 -0
- package/dist/bundle/{identity-ARDPFYV5.js → identity-TID7S5NE.js} +4 -4
- package/dist/bundle/{instructions-N3OH5X2Y.js → instructions-ANJN4HV3.js} +1 -1
- package/dist/bundle/{login-4VQEC7VI.js → login-BGMK2ABH.js} +59 -61
- package/dist/bundle/{node-YU5JBNAA.js → node-VOB45ES2.js} +2 -2
- package/dist/bundle/{node-sqlite-3C6PSBIW.js → node-sqlite-TSX6XQY2.js} +7 -7
- package/dist/bundle/{oauth-D6NJFPYU.js → oauth-CEOYXW6C.js} +8 -8
- package/dist/bundle/{open-M2V2VYXO.js → open-3USWHGNR.js} +6 -6
- package/dist/bundle/{openai-ST2IWNUX.js → openai-YZ5VGPIP.js} +14 -14
- package/dist/bundle/{process-PYNNBBTV.js → process-44JS2W7L.js} +1 -1
- package/dist/bundle/{program-Q4VWV2MR.js → program-TZLAFKJV.js} +99 -82
- package/dist/bundle/{prompt-MFIOJMAF.js → prompt-SG7LAOXW.js} +6 -6
- package/dist/bundle/{reasons-LOQ5J73F.js → reasons-ZK3U3CIN.js} +3 -3
- package/dist/bundle/{recognize-FBLMWXNE.js → recognize-OFW7HWTM.js} +5 -5
- package/dist/bundle/{remote-XC3OXE4T.js → remote-YBDRZQZ5.js} +8 -8
- package/dist/bundle/{rerank-2XMKKF4S.js → rerank-TQQNS5FJ.js} +8 -8
- package/dist/bundle/{serve-Q2BQHNZB.js → serve-OPZXMVLH.js} +10 -10
- package/dist/bundle/{server-42HPV3AH.js → server-2D6DDIK5.js} +39 -39
- package/dist/bundle/server-R6G2O772.js +70 -0
- package/dist/bundle/{services-WU22S2MU.js → services-34WKT3NN.js} +29 -27
- package/dist/bundle/{sqlite-runtime-CSO6K6B2.js → sqlite-runtime-WPUMKLUV.js} +7 -7
- package/dist/bundle/{start-TZWKM4AH.js → start-ZXUJZ4JV.js} +1 -1
- package/dist/bundle/{state-FLUT7U7R.js → state-AV2RB3AQ.js} +7 -7
- package/dist/bundle/{store-TG6622NG.js → store-3M7N2Q5T.js} +15 -15
- package/dist/bundle/{store-HDWMJ44E.js → store-YKV4GAMS.js} +25 -19
- package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +60 -0
- package/dist/bundle/tokens-F63RXXEF.js +103 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +14 -5
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context.d.ts +4 -2
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +5 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +7 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +22 -3
- package/dist/config.js.map +1 -1
- package/dist/errors.js +4 -4
- package/dist/errors.js.map +1 -1
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +3 -5
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +5 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +1 -22
- package/dist/reasons.js.map +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +2 -1
- package/dist/registry.js.map +1 -1
- package/dist/tokens.js +5 -5
- package/dist/tokens.js.map +1 -1
- package/dist/upload.js +1 -1
- package/dist/upload.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/command-contract-LQDNHZJU.js +0 -39
- package/dist/bundle/first-screen-TYYF6VXY.js +0 -37
- package/dist/bundle/grants-EUQXSICG.js +0 -105
- package/dist/bundle/server-EWZYN323.js +0 -70
- package/dist/bundle/store-maintenance-command-RHWRUREJ.js +0 -60
- package/dist/bundle/tokens-TXYURU4S.js +0 -103
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SBHSNOU4.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GVRS5AIH.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
17
17
|
refuseLacking
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VRW6ZDTH.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-73TTP6ET.js";
|
|
34
34
|
import {
|
|
35
35
|
currentCaller,
|
|
36
36
|
keepsSuccess,
|
|
37
37
|
runContextOf,
|
|
38
38
|
withCaller
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GD6TQ6U4.js";
|
|
40
40
|
import {
|
|
41
41
|
onlineDeps,
|
|
42
42
|
servicesFor,
|
|
43
43
|
storeModeDeps
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JGUJJNGZ.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-HFGR33KD.js";
|
|
56
56
|
import {
|
|
57
57
|
queryDescription
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-4VHBDVY2.js";
|
|
59
59
|
import {
|
|
60
60
|
MAX_BUFFERED_INPUT
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-SZXI4OXX.js";
|
|
62
62
|
import {
|
|
63
63
|
captureStreams
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-246P2DCT.js";
|
|
65
65
|
import {
|
|
66
66
|
errorObjectOf,
|
|
67
67
|
mcpErrorResult
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-LJ77Y3TK.js";
|
|
69
69
|
import {
|
|
70
70
|
traceIdOf
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-FO4TCH6P.js";
|
|
72
72
|
import {
|
|
73
73
|
COMPACT_FLAG,
|
|
74
74
|
SNAKE_CASE,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
unknown,
|
|
106
106
|
word,
|
|
107
107
|
writes
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-TKW4QWCY.js";
|
|
109
109
|
import {
|
|
110
110
|
CliError,
|
|
111
111
|
errorCodes
|
|
@@ -114,7 +114,7 @@ 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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
118
118
|
import { Readable } from "node:stream";
|
|
119
119
|
|
|
120
120
|
// node_modules/.pnpm/@wirecat+cli-base@0.75.2_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
|
|
@@ -2843,7 +2843,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
2843
2843
|
flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
|
|
2844
2844
|
});
|
|
2845
2845
|
|
|
2846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2846
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2847
2847
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2848
2848
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2849
2849
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3066,7 +3066,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3066
3066
|
}
|
|
3067
3067
|
}, "runCommandForAgent");
|
|
3068
3068
|
|
|
3069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3069
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3070
3070
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3071
3071
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3072
3072
|
var message = pipe(
|
|
@@ -3325,7 +3325,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3325
3325
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3326
3326
|
}, "failed");
|
|
3327
3327
|
|
|
3328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3329
3329
|
import { randomUUID } from "node:crypto";
|
|
3330
3330
|
var MATCHES = 8;
|
|
3331
3331
|
var ANSWER = answerSchema();
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PDYHEWKG.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-73TTP6ET.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TKW4QWCY.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError
|
|
27
27
|
} from "./chunk-EBLA7GXY.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -94,7 +94,7 @@ var CORE_SECTIONS = {
|
|
|
94
94
|
upgrade: "setup"
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
98
98
|
var DESCRIPTION = 90;
|
|
99
99
|
var COLUMN = 52;
|
|
100
100
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -133,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
133
133
|
`;
|
|
134
134
|
}, "commandsText");
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
137
137
|
var ARGUMENT_KINDS = {
|
|
138
138
|
chat: "chat",
|
|
139
139
|
chats: "chat",
|
|
@@ -325,7 +325,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
325
325
|
command.addHelpText("after", () => commandHelpText(command));
|
|
326
326
|
}, "installCommandHelp");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
329
329
|
var WIRECAT_TOOLS = [
|
|
330
330
|
{
|
|
331
331
|
command: "tg",
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
defineReasons
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TKW4QWCY.js";
|
|
6
6
|
|
|
7
7
|
// dist/reasons.js
|
|
8
8
|
var ENTRIES = [
|
|
@@ -11,7 +11,6 @@ var ENTRIES = [
|
|
|
11
11
|
["catalog.depth-invalid", "validation_error", "tree depth must be between 0 and 50"],
|
|
12
12
|
["catalog.cycle", "invalid_response", "local folder ancestry contains a cycle"],
|
|
13
13
|
["catalog.tree-limit", "validation_error", "tree output exceeds 10000 nodes; choose a smaller folder"],
|
|
14
|
-
["api.unknown-method", "validation_error", "the Google method is not known; run drive api list"],
|
|
15
14
|
["mirror.none", "not_found", "the profile has no mirrors; add one with drive <profile> mirrors add"],
|
|
16
15
|
["mirror.not-folder", "validation_error", "the path to mirror is not a folder"],
|
|
17
16
|
["mirror.not-found", "not_found", "no such mirror in this profile; see drive <profile> mirrors list"],
|
|
@@ -28,16 +27,8 @@ var ENTRIES = [
|
|
|
28
27
|
["download.exists", "validation_error", "the output file already exists; pass --overwrite to replace it"],
|
|
29
28
|
["export.exists", "validation_error", "the output file already exists"],
|
|
30
29
|
["export.too-large", "validation_error", "Google exports at most 10 MB of a native file"],
|
|
31
|
-
["file.not-file", "validation_error", "upload takes one file, not a folder"],
|
|
32
30
|
["file.unreadable", "validation_error", "the file to upload could not be read"],
|
|
33
|
-
[
|
|
34
|
-
"google-api.disabled",
|
|
35
|
-
"configuration_error",
|
|
36
|
-
"Google API is disabled for this OAuth project; its owner must enable it in Google Cloud API Library"
|
|
37
|
-
],
|
|
38
31
|
["listing.too-large", "provider_error", "the listing is over its bound; the checkpoint was kept"],
|
|
39
|
-
["oauth-client.rejected", "configuration_error", "Google rejected the OAuth client"],
|
|
40
|
-
["offline.refused", "permission_error", "this command needs Google; --offline was given"],
|
|
41
32
|
["policy.confirm", "confirmation_required", "the profile policy asks to confirm {permission}", ["permission"]],
|
|
42
33
|
["policy.denied", "permission_error", "the profile policy refuses {permission}", ["permission"]],
|
|
43
34
|
[
|
|
@@ -49,19 +40,7 @@ var ENTRIES = [
|
|
|
49
40
|
["policy.unknown-key", "configuration_error", "permission {permission} names no drive command", ["permission"]],
|
|
50
41
|
["profile.busy", "provider_unavailable", "another drive command holds this profile; retry later"],
|
|
51
42
|
["profile.unknown", "validation_error", "no such profile here; see the profiles listed", ["profiles"]],
|
|
52
|
-
["profile.lock-refused", "permission_error", "this process is locked to another profile (DRIVE_PROFILE_LOCK)"],
|
|
53
43
|
["profile.required", "validation_error", "choose a profile: drive <profile> <command>", ["profiles"]],
|
|
54
|
-
["sign-in.declined", "authentication_error", "the Google sign-in was declined"],
|
|
55
|
-
[
|
|
56
|
-
"sign-in.expired",
|
|
57
|
-
"authentication_error",
|
|
58
|
-
"the Google sign-in is no longer valid; run drive <profile> session start",
|
|
59
|
-
[],
|
|
60
|
-
"owner.sign-in"
|
|
61
|
-
],
|
|
62
|
-
["sign-in.failed", "authentication_error", "the Google sign-in did not finish; run drive <profile> session start"],
|
|
63
|
-
["sign-in.not-saved", "configuration_error", "the sign-in could not be saved: its private file cannot be read"],
|
|
64
|
-
["sign-in.scope-missing", "permission_error", "the sign-in lacks the Google permission this command needs"],
|
|
65
44
|
["source.changed", "provider_error", "the document changed during export; retry the sync"],
|
|
66
45
|
[
|
|
67
46
|
"store.annotations-present",
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
answerSchema,
|
|
7
7
|
describeOptions,
|
|
8
8
|
metaOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-73TTP6ET.js";
|
|
10
10
|
import {
|
|
11
11
|
keyForCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HFGR33KD.js";
|
|
13
13
|
import {
|
|
14
14
|
jsonSchemaOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TKW4QWCY.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
18
|
} from "./chunk-EBLA7GXY.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
24
24
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
25
25
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
26
26
|
const entity = answerEntitySchema(command);
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YGG7UA3C.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-EBLA7GXY.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|