@wirecat/drive-cli 0.60.0 → 0.62.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/browse.d.ts +20 -0
- package/dist/browse.d.ts.map +1 -0
- package/dist/browse.js +146 -0
- package/dist/browse.js.map +1 -0
- package/dist/bundle/{all-profiles-537I27Z4.js → all-profiles-CKD2DWUK.js} +14 -14
- package/dist/bundle/{anthropic-X4NWVHDF.js → anthropic-E3T4USLA.js} +9 -9
- package/dist/bundle/{app-server-KSHJKKS7.js → app-server-JB2AEWWL.js} +58 -55
- package/dist/bundle/{bun-WTBGGCUC.js → bun-CC44AAND.js} +2 -2
- package/dist/bundle/{bun-sqlite-T7Y3JFFD.js → bun-sqlite-AUMFKYVR.js} +8 -8
- package/dist/bundle/{chunk-2AXA5SKP.js → chunk-27YUUGXQ.js} +1 -1
- package/dist/bundle/{chunk-HIP43OGZ.js → chunk-2HF2MRXI.js} +1 -1
- package/dist/bundle/{chunk-AXWXQNTC.js → chunk-2KN35F32.js} +10 -10
- package/dist/bundle/{chunk-EBLA7GXY.js → chunk-4OSSOWDM.js} +2 -1
- package/dist/bundle/{chunk-XFXRGQXJ.js → chunk-4SIZEJ3M.js} +2 -2
- package/dist/bundle/{chunk-LQSRVQ3V.js → chunk-67ZQCWBV.js} +3 -3
- package/dist/bundle/{chunk-FO4TCH6P.js → chunk-6EY46GAN.js} +2 -2
- package/dist/bundle/{chunk-4XZXH2NM.js → chunk-7W5HYGVW.js} +4 -2
- package/dist/bundle/{chunk-FZOCQQ66.js → chunk-7ZXIWZQ6.js} +12 -12
- package/dist/bundle/{chunk-YGG7UA3C.js → chunk-AH5C3D3D.js} +5 -5
- package/dist/bundle/{chunk-YDN2RH5S.js → chunk-AQVUEZEP.js} +2 -2
- package/dist/bundle/{chunk-N7S2UPF3.js → chunk-CJHY5YIF.js} +494 -227
- package/dist/bundle/{chunk-MXP35VPO.js → chunk-CZ2GJHLL.js} +2 -2
- package/dist/bundle/{chunk-HQVIK6PM.js → chunk-DJOAMGF4.js} +262 -368
- package/dist/bundle/{chunk-HCJG7ENG.js → chunk-DRZZBN3V.js} +3 -3
- package/dist/bundle/{chunk-TXMTMEHW.js → chunk-DWJHL6DV.js} +4 -4
- package/dist/bundle/{chunk-S36HRPNS.js → chunk-E43ENLJJ.js} +1 -1
- package/dist/bundle/{chunk-4VHBDVY2.js → chunk-EOOGWUTP.js} +14 -10
- package/dist/bundle/{chunk-5XHLQZAG.js → chunk-EW7PKB4M.js} +58 -49
- package/dist/bundle/{chunk-TKW4QWCY.js → chunk-FEZF3TII.js} +12 -6
- package/dist/bundle/{chunk-KEXTTZJM.js → chunk-FNWIJ6EJ.js} +2 -2
- package/dist/bundle/{chunk-OYNUBWD2.js → chunk-FUITWY7O.js} +1 -1
- package/dist/bundle/{chunk-TVQDMP2F.js → chunk-HCNQT3QE.js} +1440 -771
- package/dist/bundle/{chunk-FTZNUZO7.js → chunk-HG6CAYJH.js} +3 -3
- package/dist/bundle/{chunk-SZXI4OXX.js → chunk-IR4SQLBR.js} +2 -2
- package/dist/bundle/{chunk-UTFATA4K.js → chunk-JK3U25QZ.js} +1 -1
- package/dist/bundle/{chunk-SBHSNOU4.js → chunk-JN5TVEEL.js} +96 -27
- package/dist/bundle/{chunk-IXN7Y6JA.js → chunk-KLFSRKHB.js} +1 -1
- package/dist/bundle/{chunk-57QVQGBE.js → chunk-L7K2MOIC.js} +22 -22
- package/dist/bundle/{chunk-JGUJJNGZ.js → chunk-LQKD257P.js} +582 -424
- package/dist/bundle/{chunk-GVRS5AIH.js → chunk-LWE4JGRN.js} +2 -2
- package/dist/bundle/{chunk-D6WIWOQC.js → chunk-MN4VXU3M.js} +4 -4
- package/dist/bundle/{chunk-QIJWSKZL.js → chunk-N7OZPKU7.js} +4 -4
- package/dist/bundle/{chunk-W62CON5K.js → chunk-O2XOX4HB.js} +34 -10
- package/dist/bundle/{chunk-PDYHEWKG.js → chunk-O7ALBI2I.js} +5 -5
- package/dist/bundle/{chunk-PETFPXLU.js → chunk-OBH5BA62.js} +3 -3
- package/dist/bundle/{chunk-246P2DCT.js → chunk-OD4U7GUY.js} +113 -51
- package/dist/bundle/{chunk-67QXMO2G.js → chunk-ONP2IBHY.js} +26 -26
- package/dist/bundle/{chunk-JQLIM6BH.js → chunk-OTROVC4E.js} +1 -1
- package/dist/bundle/{chunk-73TTP6ET.js → chunk-PEQA6LA5.js} +617 -243
- package/dist/bundle/{chunk-ALWTUDZF.js → chunk-Q2LRPOKL.js} +22 -14
- package/dist/bundle/{chunk-CKGHRWVR.js → chunk-QCKZ3GAA.js} +4 -4
- package/dist/bundle/chunk-QCX6XZLA.js +415 -0
- package/dist/bundle/{chunk-UVLSWLPZ.js → chunk-QH7DOVO3.js} +204 -58
- package/dist/bundle/{chunk-OMKUBCNN.js → chunk-QTI6IVHZ.js} +8 -8
- package/dist/bundle/{chunk-6HTKB4WC.js → chunk-R347FPYU.js} +1 -1
- package/dist/bundle/chunk-RIDQNVZM.js +64 -0
- package/dist/bundle/{chunk-ZPQS7XJA.js → chunk-RPMKG63Z.js} +18 -4
- package/dist/bundle/{chunk-XDIEQ2CE.js → chunk-RWSXVCSG.js} +3 -3
- package/dist/bundle/{chunk-3TQHIHZI.js → chunk-SVPCHFKI.js} +2 -2
- package/dist/bundle/{chunk-V2VMBM7O.js → chunk-SW4I5BR7.js} +2 -2
- package/dist/bundle/{chunk-EHAI773E.js → chunk-T5NWWXS2.js} +2 -2
- package/dist/bundle/{chunk-4CBZEAQ7.js → chunk-T7X53FCJ.js} +34 -34
- package/dist/bundle/{chunk-77C5XRH3.js → chunk-TDX4GZFO.js} +7 -7
- package/dist/bundle/{chunk-PPL5ASW2.js → chunk-U2BFYSQV.js} +14158 -2039
- package/dist/bundle/{chunk-DQDKLZAK.js → chunk-UGXN5D7U.js} +719 -128
- package/dist/bundle/{chunk-UNJE63JK.js → chunk-UOXOLGNG.js} +2 -2
- package/dist/bundle/{chunk-LJ77Y3TK.js → chunk-UQLWMGSD.js} +6 -5
- package/dist/bundle/{chunk-HFGR33KD.js → chunk-VAYB52HF.js} +33 -31
- package/dist/bundle/{chunk-GD6TQ6U4.js → chunk-VQDD64A4.js} +8 -8
- package/dist/bundle/{chunk-22ATLSNK.js → chunk-W4RTIL7S.js} +5 -5
- package/dist/bundle/{chunk-UVYVIHEA.js → chunk-WZKEU7WR.js} +4 -2
- package/dist/bundle/{chunk-5AMRCBMP.js → chunk-XEW2EN6F.js} +51 -37
- package/dist/bundle/{chunk-O37ESNAP.js → chunk-XFRRKZHQ.js} +242 -90
- package/dist/bundle/{chunk-K6XVRA6U.js → chunk-XS5POQST.js} +1 -1
- package/dist/bundle/{chunk-IRZ7OF3F.js → chunk-XZUS7XRO.js} +1 -1
- package/dist/bundle/{chunk-V7QMHMR3.js → chunk-YALI4C7C.js} +6 -6
- package/dist/bundle/{chunk-73MNUSP3.js → chunk-YMWENGKH.js} +1 -1
- package/dist/bundle/{chunk-MVNPE5FZ.js → chunk-YOJDGAPT.js} +8 -8
- package/dist/bundle/{chunk-DMHGWL5D.js → chunk-YPFUYQDP.js} +13 -13
- package/dist/bundle/{chunk-VVCZS42A.js → chunk-YUWPNG7B.js} +1 -1
- package/dist/bundle/{chunk-VRW6ZDTH.js → chunk-YXYTY4GF.js} +39 -26
- package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-ZMOUUOT2.js} +1 -1
- package/dist/bundle/command-contract-OB5BRABN.js +39 -0
- package/dist/bundle/{decode-35N57AFW.js → decode-WIIX3Y2X.js} +8 -8
- package/dist/bundle/{dispatch-CWXZW3PL.js → dispatch-GEFIXA6X.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-3P3QZWMU.js → echarts-OYINM4C4.js} +2 -2
- package/dist/bundle/{embed-Q6Q5IOJQ.js → embed-DWZIYMBX.js} +9 -9
- package/dist/bundle/{embedder-D44JDTAA.js → embedder-ILWH7ZRM.js} +12 -12
- package/dist/bundle/entry-V5V3TOTY.js +22 -0
- package/dist/bundle/{failure-GRMMSDCZ.js → failure-GV77W3CD.js} +4 -4
- package/dist/bundle/first-run-V3VVLQF4.js +30 -0
- package/dist/bundle/first-screen-Y3RIN7FU.js +37 -0
- package/dist/bundle/{google-6ZZDKFBN.js → google-KLZSUAVY.js} +13 -13
- package/dist/bundle/{google-api-E6MOJ4ZD.js → google-api-HZQ5R4ZO.js} +83 -64
- package/dist/bundle/grants-L7XLHLUT.js +105 -0
- package/dist/bundle/{identity-TID7S5NE.js → identity-J2DON4IO.js} +6 -6
- package/dist/bundle/{instructions-ANJN4HV3.js → instructions-HGOJ23AJ.js} +1 -1
- package/dist/bundle/{login-BGMK2ABH.js → login-BD2TS4GY.js} +64 -64
- package/dist/bundle/{mcp-WBHKX5E3.js → mcp-GWDA3HOA.js} +2 -2
- package/dist/bundle/{node-VOB45ES2.js → node-CPKTDPH7.js} +2 -2
- package/dist/bundle/{node-sqlite-TSX6XQY2.js → node-sqlite-IXDCRLSX.js} +9 -9
- package/dist/bundle/oauth-HOGY4YBB.js +22 -0
- package/dist/bundle/{open-3USWHGNR.js → open-O7P3ZV3Y.js} +8 -8
- package/dist/bundle/{openai-YZ5VGPIP.js → openai-RCFQKCXC.js} +17 -17
- package/dist/bundle/{process-44JS2W7L.js → process-KXDRJO22.js} +1 -1
- package/dist/bundle/{program-TZLAFKJV.js → program-UCHFC7JQ.js} +266 -104
- package/dist/bundle/prompt-EVPPBN5W.js +17 -0
- package/dist/bundle/{reasons-ZK3U3CIN.js → reasons-57J2D77K.js} +5 -5
- package/dist/bundle/{recognize-OFW7HWTM.js → recognize-MRCYGP2J.js} +7 -7
- package/dist/bundle/{remote-YBDRZQZ5.js → remote-L3L4PHKF.js} +10 -10
- package/dist/bundle/{rerank-TQQNS5FJ.js → rerank-PSOE6XFT.js} +10 -10
- package/dist/bundle/{serve-OPZXMVLH.js → serve-72OGS3BF.js} +12 -12
- package/dist/bundle/server-C5TGNFXW.js +70 -0
- package/dist/bundle/{server-2D6DDIK5.js → server-SCXKYHBO.js} +44 -44
- package/dist/bundle/{services-34WKT3NN.js → services-YAFTELBI.js} +42 -32
- package/dist/bundle/{sqlite-runtime-WPUMKLUV.js → sqlite-runtime-DLK4SU33.js} +9 -9
- package/dist/bundle/{start-ZXUJZ4JV.js → start-AFFA3LKM.js} +9 -7
- package/dist/bundle/{state-AV2RB3AQ.js → state-T5VNAJSZ.js} +9 -9
- package/dist/bundle/{store-YKV4GAMS.js → store-4OFK7PKQ.js} +48 -28
- package/dist/bundle/{store-3M7N2Q5T.js → store-R6MSY2IM.js} +20 -18
- package/dist/bundle/store-maintenance-command-QDMCXGV6.js +60 -0
- package/dist/bundle/tokens-HIG36RNS.js +103 -0
- package/dist/commands/config.js +1 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/folders.d.ts +2 -1
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +16 -3
- package/dist/commands/folders.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 +7 -7
- package/dist/program.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +15 -6
- package/dist/tokens.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/chunk-YYHKVOVK.js +0 -132
- 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-ZQ3GWKDQ.js} +0 -0
|
@@ -2,90 +2,90 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
googleSource
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W4RTIL7S.js";
|
|
6
6
|
import {
|
|
7
7
|
credentials,
|
|
8
8
|
notSaved,
|
|
9
9
|
sessionKeeper
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-DJOAMGF4.js";
|
|
11
|
+
import "./chunk-YUWPNG7B.js";
|
|
12
12
|
import {
|
|
13
13
|
profileName,
|
|
14
14
|
readConfig,
|
|
15
15
|
writeConfig
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-QCX6XZLA.js";
|
|
17
|
+
import "./chunk-L7K2MOIC.js";
|
|
18
18
|
import {
|
|
19
19
|
ACTIVITY_SCOPE,
|
|
20
20
|
APPS_SCOPE,
|
|
21
21
|
READ_SCOPE,
|
|
22
22
|
WRITE_SCOPE
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-HCNQT3QE.js";
|
|
24
|
+
import "./chunk-OTROVC4E.js";
|
|
25
|
+
import "./chunk-KLFSRKHB.js";
|
|
26
26
|
import "./chunk-SBZB7HMU.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-XZUS7XRO.js";
|
|
28
|
+
import "./chunk-XEW2EN6F.js";
|
|
29
|
+
import "./chunk-JN5TVEEL.js";
|
|
30
|
+
import "./chunk-UGXN5D7U.js";
|
|
31
|
+
import "./chunk-EW7PKB4M.js";
|
|
32
|
+
import "./chunk-YXYTY4GF.js";
|
|
33
|
+
import "./chunk-QTI6IVHZ.js";
|
|
34
34
|
import "./chunk-HTQTIKWP.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-O7ALBI2I.js";
|
|
36
|
+
import "./chunk-PEQA6LA5.js";
|
|
37
|
+
import "./chunk-VQDD64A4.js";
|
|
38
|
+
import "./chunk-7ZXIWZQ6.js";
|
|
39
|
+
import "./chunk-MN4VXU3M.js";
|
|
40
|
+
import "./chunk-2KN35F32.js";
|
|
41
|
+
import "./chunk-7W5HYGVW.js";
|
|
42
|
+
import "./chunk-DWJHL6DV.js";
|
|
43
|
+
import "./chunk-HG6CAYJH.js";
|
|
44
|
+
import "./chunk-YMWENGKH.js";
|
|
45
|
+
import "./chunk-DRZZBN3V.js";
|
|
46
|
+
import "./chunk-LQKD257P.js";
|
|
47
|
+
import "./chunk-ONP2IBHY.js";
|
|
48
|
+
import "./chunk-YPFUYQDP.js";
|
|
49
|
+
import "./chunk-VAYB52HF.js";
|
|
50
|
+
import "./chunk-AQVUEZEP.js";
|
|
51
|
+
import "./chunk-QCKZ3GAA.js";
|
|
52
|
+
import "./chunk-ZMOUUOT2.js";
|
|
53
|
+
import "./chunk-T5NWWXS2.js";
|
|
54
|
+
import "./chunk-OBH5BA62.js";
|
|
55
|
+
import "./chunk-AH5C3D3D.js";
|
|
56
56
|
import "./chunk-5DPV7X27.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-Q2LRPOKL.js";
|
|
58
|
+
import "./chunk-QH7DOVO3.js";
|
|
59
|
+
import "./chunk-RIDQNVZM.js";
|
|
60
|
+
import "./chunk-SVPCHFKI.js";
|
|
61
|
+
import "./chunk-U2BFYSQV.js";
|
|
62
|
+
import "./chunk-UOXOLGNG.js";
|
|
63
|
+
import "./chunk-CJHY5YIF.js";
|
|
64
|
+
import "./chunk-EOOGWUTP.js";
|
|
65
|
+
import "./chunk-JK3U25QZ.js";
|
|
66
|
+
import "./chunk-YOJDGAPT.js";
|
|
67
|
+
import "./chunk-TDX4GZFO.js";
|
|
68
|
+
import "./chunk-FNWIJ6EJ.js";
|
|
69
|
+
import "./chunk-YALI4C7C.js";
|
|
70
|
+
import "./chunk-XS5POQST.js";
|
|
71
|
+
import "./chunk-RWSXVCSG.js";
|
|
72
|
+
import "./chunk-IR4SQLBR.js";
|
|
73
73
|
import "./chunk-D72URWJE.js";
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-27YUUGXQ.js";
|
|
75
|
+
import "./chunk-4SIZEJ3M.js";
|
|
76
|
+
import "./chunk-FUITWY7O.js";
|
|
77
|
+
import "./chunk-ZQ3GWKDQ.js";
|
|
78
|
+
import "./chunk-WZKEU7WR.js";
|
|
79
|
+
import "./chunk-OD4U7GUY.js";
|
|
80
|
+
import "./chunk-UQLWMGSD.js";
|
|
81
81
|
import "./chunk-Y5E2WNWB.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-2HF2MRXI.js";
|
|
83
|
+
import "./chunk-6EY46GAN.js";
|
|
84
|
+
import "./chunk-FEZF3TII.js";
|
|
85
85
|
import {
|
|
86
86
|
CliError,
|
|
87
87
|
isCliError
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-4OSSOWDM.js";
|
|
89
89
|
import {
|
|
90
90
|
__name
|
|
91
91
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -151,7 +151,7 @@ var login = /* @__PURE__ */ __name(async (options) => {
|
|
|
151
151
|
}
|
|
152
152
|
const storage = credentials(options.env, "file").read(name) ? "file" : "keyring";
|
|
153
153
|
const config = readConfig(options.env);
|
|
154
|
-
config.profiles[name] = { principal, roots: config.profiles[name]?.roots ?? [], storage };
|
|
154
|
+
config.profiles[name] = { ...config.profiles[name], principal, roots: config.profiles[name]?.roots ?? [], storage };
|
|
155
155
|
writeConfig(options.env, config);
|
|
156
156
|
return { profile: name, signed_in: true, storage };
|
|
157
157
|
}, "login");
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZMOUUOT2.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__toESM
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
|
|
16
16
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
17
17
|
var realRun = /* @__PURE__ */ __name((file, args) => {
|
|
18
18
|
const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XS5POQST.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
|
|
27
27
|
import { DatabaseSync } from "node:sqlite";
|
|
28
28
|
var nodeSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,23 +3,23 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
TIME_LIMIT_FUNCTION,
|
|
5
5
|
beforeTimeLimit
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WZKEU7WR.js";
|
|
7
7
|
import {
|
|
8
8
|
loadVectorExtension,
|
|
9
9
|
vectorExtension
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-SW4I5BR7.js";
|
|
11
|
+
import "./chunk-OD4U7GUY.js";
|
|
12
|
+
import "./chunk-UQLWMGSD.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-2HF2MRXI.js";
|
|
15
|
+
import "./chunk-6EY46GAN.js";
|
|
16
|
+
import "./chunk-FEZF3TII.js";
|
|
17
|
+
import "./chunk-4OSSOWDM.js";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
23
23
|
import { DatabaseSync } from "node:sqlite";
|
|
24
24
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
25
25
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
ownerLogin,
|
|
5
|
+
revokeAll
|
|
6
|
+
} from "./chunk-CZ2GJHLL.js";
|
|
7
|
+
import "./chunk-5D4AEUVA.js";
|
|
8
|
+
import "./chunk-DWJHL6DV.js";
|
|
9
|
+
import "./chunk-HG6CAYJH.js";
|
|
10
|
+
import "./chunk-YMWENGKH.js";
|
|
11
|
+
import "./chunk-OD4U7GUY.js";
|
|
12
|
+
import "./chunk-UQLWMGSD.js";
|
|
13
|
+
import "./chunk-Y5E2WNWB.js";
|
|
14
|
+
import "./chunk-2HF2MRXI.js";
|
|
15
|
+
import "./chunk-6EY46GAN.js";
|
|
16
|
+
import "./chunk-FEZF3TII.js";
|
|
17
|
+
import "./chunk-4OSSOWDM.js";
|
|
18
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
19
|
+
export {
|
|
20
|
+
ownerLogin,
|
|
21
|
+
revokeAll
|
|
22
|
+
};
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-YALI4C7C.js";
|
|
10
|
+
import "./chunk-WZKEU7WR.js";
|
|
11
|
+
import "./chunk-OD4U7GUY.js";
|
|
12
|
+
import "./chunk-UQLWMGSD.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-2HF2MRXI.js";
|
|
15
|
+
import "./chunk-6EY46GAN.js";
|
|
16
|
+
import "./chunk-FEZF3TII.js";
|
|
17
|
+
import "./chunk-4OSSOWDM.js";
|
|
18
18
|
import "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
export {
|
|
20
20
|
CAPABILITY_STATEMENTS,
|
|
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-RPMKG63Z.js";
|
|
7
|
+
import "./chunk-YPFUYQDP.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-OBH5BA62.js";
|
|
11
|
+
import "./chunk-AH5C3D3D.js";
|
|
12
12
|
import "./chunk-5DPV7X27.js";
|
|
13
13
|
import {
|
|
14
14
|
OPENAI_TRANSCRIBE_MODEL,
|
|
@@ -16,28 +16,28 @@ import {
|
|
|
16
16
|
filesPresent,
|
|
17
17
|
modelsDirectory,
|
|
18
18
|
vadPath
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-Q2LRPOKL.js";
|
|
20
|
+
import "./chunk-FNWIJ6EJ.js";
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_RETRY,
|
|
23
23
|
backoffMs
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-OD4U7GUY.js";
|
|
25
|
+
import "./chunk-UQLWMGSD.js";
|
|
26
26
|
import "./chunk-Y5E2WNWB.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-2HF2MRXI.js";
|
|
28
|
+
import "./chunk-6EY46GAN.js";
|
|
29
|
+
import "./chunk-FEZF3TII.js";
|
|
30
30
|
import {
|
|
31
31
|
CliError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-4OSSOWDM.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
38
38
|
import { setTimeout as wait } from "node:timers/promises";
|
|
39
39
|
|
|
40
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
40
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
|
|
41
41
|
var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
|
|
42
42
|
if (!header)
|
|
43
43
|
return void 0;
|
|
@@ -61,7 +61,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
|
|
|
61
61
|
}, "parseRateLimitReset");
|
|
62
62
|
var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
|
|
63
63
|
|
|
64
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
64
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
65
65
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
66
66
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
67
67
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -82,7 +82,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
82
82
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
83
83
|
}, "encodeWav");
|
|
84
84
|
|
|
85
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
85
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
86
86
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
87
87
|
var JOINED_SECONDS = 0.2;
|
|
88
88
|
var PAD_SECONDS = 0.2;
|
|
@@ -204,7 +204,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
204
204
|
return pieces;
|
|
205
205
|
}, "piecesOf");
|
|
206
206
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
207
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
207
|
+
const { openSpeechCutter } = await import("./recognize-MRCYGP2J.js");
|
|
208
208
|
return openSpeechCutter(vadModel);
|
|
209
209
|
}, "openCutter");
|
|
210
210
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-ZVVMGPBJ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/embeddings/process.js
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|