@wirecat/drive-cli 0.58.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 +6 -2
- package/dist/bin/drive.js.map +1 -1
- package/dist/bundle/{all-profiles-ANDWOJDL.js → all-profiles-537I27Z4.js} +14 -13
- package/dist/bundle/{anthropic-EZPZUWGS.js → anthropic-X4NWVHDF.js} +9 -9
- package/dist/bundle/{app-server-67WL423B.js → app-server-KSHJKKS7.js} +53 -51
- package/dist/bundle/{bun-NIIYUR5F.js → bun-WTBGGCUC.js} +2 -2
- package/dist/bundle/{bun-sqlite-A5ZKTIYC.js → bun-sqlite-T7Y3JFFD.js} +8 -8
- package/dist/bundle/{chunk-5NPFHWLP.js → chunk-22ATLSNK.js} +5 -5
- package/dist/bundle/{chunk-ALTG7BZQ.js → chunk-246P2DCT.js} +19 -19
- package/dist/bundle/{chunk-NYINLKWT.js → chunk-2AXA5SKP.js} +1 -1
- package/dist/bundle/{chunk-BAEIAQWH.js → chunk-3TQHIHZI.js} +2 -2
- package/dist/bundle/{chunk-MBNKNWOG.js → chunk-4CBZEAQ7.js} +35 -34
- package/dist/bundle/{chunk-SWFA36F3.js → chunk-4VHBDVY2.js} +20 -14
- package/dist/bundle/{chunk-Z5GDNCTJ.js → chunk-4XZXH2NM.js} +2 -2
- package/dist/bundle/{chunk-A4DHPOFQ.js → chunk-57QVQGBE.js} +53 -39
- package/dist/bundle/{chunk-SPVPKHBQ.js → chunk-5AMRCBMP.js} +78 -40
- package/dist/bundle/{chunk-ED5JNYN5.js → chunk-5XHLQZAG.js} +30 -28
- package/dist/bundle/{chunk-BLJVCJZU.js → chunk-67QXMO2G.js} +26 -26
- package/dist/bundle/{chunk-EFEI724Z.js → chunk-6HTKB4WC.js} +1 -1
- package/dist/bundle/{chunk-U2RSVKR5.js → chunk-73MNUSP3.js} +1 -1
- package/dist/bundle/{chunk-4UU4ONKY.js → chunk-73TTP6ET.js} +5326 -636
- package/dist/bundle/{chunk-4ICWGMHN.js → chunk-77C5XRH3.js} +7 -7
- package/dist/bundle/{chunk-W6KMNO3C.js → chunk-77YTRBL6.js} +11 -11
- package/dist/bundle/{chunk-YHRJUZ3O.js → chunk-ALWTUDZF.js} +6 -4
- package/dist/bundle/{chunk-ESF2B22R.js → chunk-AXWXQNTC.js} +14 -11
- package/dist/bundle/{chunk-FD7A6745.js → chunk-CKGHRWVR.js} +4 -4
- package/dist/bundle/{chunk-X4F3M6L6.js → chunk-D6WIWOQC.js} +4 -4
- package/dist/bundle/{chunk-TCJRJ3TE.js → chunk-DMHGWL5D.js} +13 -13
- package/dist/bundle/{chunk-AFZ33AC7.js → chunk-DQDKLZAK.js} +179 -50
- package/dist/bundle/{chunk-ITD7WI23.js → chunk-EBLA7GXY.js} +1 -1
- package/dist/bundle/{chunk-UTDL7MKT.js → chunk-EHAI773E.js} +2 -2
- package/dist/bundle/{chunk-RRHC5SBB.js → chunk-FO4TCH6P.js} +2 -2
- package/dist/bundle/{chunk-7VFD3UJQ.js → chunk-FTZNUZO7.js} +3 -3
- package/dist/bundle/{chunk-JEMKSWVI.js → chunk-FZOCQQ66.js} +12 -12
- package/dist/bundle/{chunk-P5MCZ635.js → chunk-GD6TQ6U4.js} +11 -88
- package/dist/bundle/{chunk-PYPLD7JO.js → chunk-GVRS5AIH.js} +2 -2
- package/dist/bundle/{chunk-2TASMYGM.js → chunk-HCJG7ENG.js} +3 -3
- package/dist/bundle/{chunk-TIXIB32T.js → chunk-HFGR33KD.js} +153 -101
- package/dist/bundle/{chunk-ASPIEEXN.js → chunk-HIP43OGZ.js} +1 -1
- package/dist/bundle/{chunk-IBJOO5FG.js → chunk-HQVIK6PM.js} +37 -19
- package/dist/bundle/{chunk-AL7MY7MW.js → chunk-IRZ7OF3F.js} +1 -1
- package/dist/bundle/{chunk-OOR6PEHV.js → chunk-IXN7Y6JA.js} +1 -1
- package/dist/bundle/{chunk-4EEOJ54H.js → chunk-JGUJJNGZ.js} +5930 -3061
- package/dist/bundle/{chunk-6THTUYPT.js → chunk-JQLIM6BH.js} +5 -5
- package/dist/bundle/{chunk-LSSIVBQI.js → chunk-K6XVRA6U.js} +1 -1
- package/dist/bundle/chunk-KEXTTZJM.js +35 -0
- package/dist/bundle/{chunk-3RG27IWA.js → chunk-LJ77Y3TK.js} +5 -5
- package/dist/bundle/{chunk-I4VUHZSD.js → chunk-LQSRVQ3V.js} +4 -3
- package/dist/bundle/{chunk-NKL5XXOM.js → chunk-MVNPE5FZ.js} +8 -8
- package/dist/bundle/{chunk-6SARLV3Z.js → chunk-MXP35VPO.js} +4 -4
- package/dist/bundle/{chunk-J36Z6BDZ.js → chunk-N7S2UPF3.js} +652 -373
- package/dist/bundle/{chunk-4GZLX2ME.js → chunk-O37ESNAP.js} +40 -33
- package/dist/bundle/{chunk-OZEJA67C.js → chunk-OMKUBCNN.js} +8 -8
- package/dist/bundle/{chunk-XQMMB6ST.js → chunk-OYNUBWD2.js} +2 -22
- package/dist/bundle/{chunk-OUQVZTF5.js → chunk-PDYHEWKG.js} +7 -42
- package/dist/bundle/{chunk-QVIJMV22.js → chunk-PETFPXLU.js} +3 -3
- package/dist/bundle/{chunk-TNX77VPM.js → chunk-PPL5ASW2.js} +4908 -1588
- package/dist/bundle/{chunk-GDRO4YMH.js → chunk-QIJWSKZL.js} +4 -4
- package/dist/bundle/{chunk-EFX6FIDM.js → chunk-S36HRPNS.js} +1 -1
- package/dist/bundle/{chunk-WICYDOVL.js → chunk-SBHSNOU4.js} +91 -23
- package/dist/bundle/{chunk-7YUZAEBG.js → chunk-SZXI4OXX.js} +2 -2
- package/dist/bundle/{chunk-O3K46QRL.js → chunk-TKW4QWCY.js} +20 -6
- package/dist/bundle/{chunk-UBZ2LH7N.js → chunk-TVQDMP2F.js} +1533 -602
- package/dist/bundle/{chunk-7AL57FCK.js → chunk-TXMTMEHW.js} +4 -4
- package/dist/bundle/{chunk-X5XWUQNU.js → chunk-UNJE63JK.js} +2 -2
- package/dist/bundle/chunk-UTFATA4K.js +93 -0
- package/dist/bundle/{chunk-34XHR5FL.js → chunk-UVLSWLPZ.js} +16 -16
- package/dist/bundle/chunk-UVYVIHEA.js +34 -0
- package/dist/bundle/{chunk-IH4UCM5K.js → chunk-V2VMBM7O.js} +2 -2
- package/dist/bundle/{chunk-KCBHOYNZ.js → chunk-V7QMHMR3.js} +8 -13
- package/dist/bundle/{chunk-IXXQZCNK.js → chunk-VRW6ZDTH.js} +32 -19
- package/dist/bundle/{chunk-VXI67T7U.js → chunk-VVCZS42A.js} +1 -1
- package/dist/bundle/{chunk-A7FMNTCK.js → chunk-W62CON5K.js} +4 -4
- package/dist/bundle/{chunk-BKM2CGG2.js → chunk-XDIEQ2CE.js} +3 -3
- package/dist/bundle/{chunk-OG5ERX4S.js → chunk-XFXRGQXJ.js} +2 -2
- package/dist/bundle/{chunk-UMJLXAJI.js → chunk-YDN2RH5S.js} +2 -2
- package/dist/bundle/{chunk-TMW526H3.js → chunk-YGG7UA3C.js} +5 -5
- package/dist/bundle/{chunk-D72FL3L3.js → chunk-YYHKVOVK.js} +35 -35
- package/dist/bundle/{chunk-3GXNODTB.js → chunk-ZPQS7XJA.js} +4 -4
- package/dist/bundle/{chunk-JZ67M3HR.js → chunk-ZYCLPJ7U.js} +1 -1
- package/dist/bundle/command-contract-NUIWUVYB.js +39 -0
- package/dist/bundle/{decode-2R6DTGRX.js → decode-35N57AFW.js} +8 -8
- package/dist/bundle/{dispatch-DEXAEMIN.js → dispatch-CWXZW3PL.js} +9 -9
- package/dist/bundle/drive.js +12 -12
- package/dist/bundle/{echarts-CLB22SZS.js → echarts-3P3QZWMU.js} +2 -2
- package/dist/bundle/{embed-RJJWOLKN.js → embed-Q6Q5IOJQ.js} +9 -9
- package/dist/bundle/{embedder-DWYS5JYJ.js → embedder-D44JDTAA.js} +12 -12
- package/dist/bundle/entry-ZHCNI7XO.js +22 -0
- package/dist/bundle/{failure-GBZ4L5QO.js → failure-GRMMSDCZ.js} +4 -4
- package/dist/bundle/first-run-3DC2SDWM.js +30 -0
- package/dist/bundle/first-screen-YJF4YODC.js +37 -0
- package/dist/bundle/{google-L776ETP4.js → google-6ZZDKFBN.js} +13 -13
- package/dist/bundle/{google-api-AI5ZJJ2M.js → google-api-E6MOJ4ZD.js} +57 -56
- package/dist/bundle/grants-GWXDH5GM.js +105 -0
- package/dist/bundle/{identity-MDLWK2TX.js → identity-TID7S5NE.js} +6 -6
- package/dist/bundle/{instructions-BXZZNAMS.js → instructions-ANJN4HV3.js} +1 -1
- package/dist/bundle/{login-6HHQLRHY.js → login-BGMK2ABH.js} +65 -66
- package/dist/bundle/{mcp-ZZUYI44D.js → mcp-WBHKX5E3.js} +2 -2
- package/dist/bundle/{node-R6ZNQ3NT.js → node-VOB45ES2.js} +2 -2
- package/dist/bundle/{node-sqlite-AVNHGMVL.js → node-sqlite-TSX6XQY2.js} +14 -8
- package/dist/bundle/oauth-CEOYXW6C.js +22 -0
- package/dist/bundle/{open-BXPLXJC2.js → open-3USWHGNR.js} +8 -7
- package/dist/bundle/{openai-CRO5GDBY.js → openai-YZ5VGPIP.js} +17 -17
- package/dist/bundle/{process-P36JP33R.js → process-44JS2W7L.js} +1 -1
- package/dist/bundle/{program-4DWVWSGQ.js → program-TZLAFKJV.js} +158 -103
- package/dist/bundle/prompt-SG7LAOXW.js +17 -0
- package/dist/bundle/{reasons-IHPNUP5W.js → reasons-ZK3U3CIN.js} +5 -5
- package/dist/bundle/{recognize-NAISVA56.js → recognize-OFW7HWTM.js} +7 -7
- package/dist/bundle/{remote-KCUHG5HV.js → remote-YBDRZQZ5.js} +10 -10
- package/dist/bundle/{rerank-Q3POCDSK.js → rerank-TQQNS5FJ.js} +10 -10
- package/dist/bundle/{serve-5CUOYLSG.js → serve-OPZXMVLH.js} +14 -13
- package/dist/bundle/{server-FXW3GARV.js → server-2D6DDIK5.js} +44 -43
- package/dist/bundle/server-R6G2O772.js +70 -0
- package/dist/bundle/{services-PEYBXZ3R.js → services-34WKT3NN.js} +101 -31
- package/dist/bundle/{sqlite-runtime-YMPWN5PM.js → sqlite-runtime-WPUMKLUV.js} +9 -8
- package/dist/bundle/{start-PFWEF44R.js → start-ZXUJZ4JV.js} +7 -7
- package/dist/bundle/{state-5TQ7IOJH.js → state-AV2RB3AQ.js} +9 -9
- package/dist/bundle/{store-P4OYYFW5.js → store-3M7N2Q5T.js} +20 -16
- package/dist/bundle/{store-E2VWY4O6.js → store-YKV4GAMS.js} +49 -22
- 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/documents.d.ts +1 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +14 -1
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/knowledge.d.ts +4 -0
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +8 -7
- package/dist/commands/knowledge.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/contract-overrides.js +5 -5
- package/dist/contract-overrides.js.map +1 -1
- package/dist/errors.js +4 -4
- package/dist/errors.js.map +1 -1
- package/dist/knowledge-query.d.ts +2 -0
- package/dist/knowledge-query.d.ts.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 +13 -4
- package/dist/program.js.map +1 -1
- package/dist/provider-json.d.ts +2 -0
- package/dist/provider-json.d.ts.map +1 -1
- package/dist/provider-json.js +13 -0
- package/dist/provider-json.js.map +1 -1
- package/dist/reasons.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +2 -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/store.d.ts +2 -0
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +9 -0
- package/dist/store.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 +3 -3
- package/skills/drive-cli/SKILL.md +2 -1
- package/dist/bundle/chunk-7VUHY5LP.js +0 -18
- package/dist/bundle/chunk-Y6M2G7JK.js +0 -3609
- package/dist/bundle/command-contract-ZCXFT764.js +0 -39
- package/dist/bundle/entry-E6H7IUPV.js +0 -21
- package/dist/bundle/first-run-DI2JIG44.js +0 -30
- package/dist/bundle/first-screen-X5N4TCKD.js +0 -37
- package/dist/bundle/grants-HKGYAWL6.js +0 -104
- package/dist/bundle/oauth-UVU52X57.js +0 -22
- package/dist/bundle/prompt-AFWVGRDG.js +0 -17
- package/dist/bundle/server-FTLPSLRU.js +0 -69
- package/dist/bundle/store-maintenance-command-MWVERNK7.js +0 -58
- package/dist/bundle/tokens-OVG4CJO4.js +0 -102
- /package/dist/bundle/{chunk-HPXYN7F3.js → chunk-LK2E2ELG.js} +0 -0
package/dist/bin/drive.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.60.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,8 +28,12 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
+
const chunks = ["../bundle/all-profiles-537I27Z4.js","../bundle/anthropic-X4NWVHDF.js","../bundle/app-server-KSHJKKS7.js","../bundle/bun-WTBGGCUC.js","../bundle/bun-sqlite-T7Y3JFFD.js","../bundle/command-contract-NUIWUVYB.js","../bundle/decode-35N57AFW.js","../bundle/dispatch-CWXZW3PL.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-3P3QZWMU.js","../bundle/embed-Q6Q5IOJQ.js","../bundle/embedder-D44JDTAA.js","../bundle/entry-ZHCNI7XO.js","../bundle/failure-GRMMSDCZ.js","../bundle/first-run-3DC2SDWM.js","../bundle/first-screen-YJF4YODC.js","../bundle/google-6ZZDKFBN.js","../bundle/google-api-E6MOJ4ZD.js","../bundle/grants-GWXDH5GM.js","../bundle/identity-TID7S5NE.js","../bundle/instructions-ANJN4HV3.js","../bundle/login-BGMK2ABH.js","../bundle/mcp-WBHKX5E3.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-VOB45ES2.js","../bundle/node-sqlite-TSX6XQY2.js","../bundle/oauth-CEOYXW6C.js","../bundle/open-3USWHGNR.js","../bundle/openai-YZ5VGPIP.js","../bundle/process-44JS2W7L.js","../bundle/program-TZLAFKJV.js","../bundle/prompt-SG7LAOXW.js","../bundle/reasons-ZK3U3CIN.js","../bundle/recognize-OFW7HWTM.js","../bundle/remote-YBDRZQZ5.js","../bundle/rerank-TQQNS5FJ.js","../bundle/serve-OPZXMVLH.js","../bundle/server-2D6DDIK5.js","../bundle/server-R6G2O772.js","../bundle/services-34WKT3NN.js","../bundle/sqlite-runtime-WPUMKLUV.js","../bundle/start-ZXUJZ4JV.js","../bundle/state-AV2RB3AQ.js","../bundle/store-3M7N2Q5T.js","../bundle/store-YKV4GAMS.js","../bundle/store-maintenance-command-WDXNY4ZF.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-F63RXXEF.js"]
|
|
32
|
+
if (((words) => words
|
|
33
|
+
.filter((word) => !word.startsWith("-"))
|
|
34
|
+
.slice(0, 2)
|
|
35
|
+
.includes("upgrade"))(words)) await Promise.allSettled(chunks.map((chunk) => import(chunk)))
|
|
31
36
|
const running = import("../bundle/drive.js")
|
|
32
|
-
const chunks = ["../bundle/all-profiles-ANDWOJDL.js","../bundle/anthropic-EZPZUWGS.js","../bundle/app-server-67WL423B.js","../bundle/bun-NIIYUR5F.js","../bundle/bun-sqlite-A5ZKTIYC.js","../bundle/command-contract-ZCXFT764.js","../bundle/decode-2R6DTGRX.js","../bundle/dispatch-DEXAEMIN.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-CLB22SZS.js","../bundle/embed-RJJWOLKN.js","../bundle/embedder-DWYS5JYJ.js","../bundle/entry-E6H7IUPV.js","../bundle/failure-GBZ4L5QO.js","../bundle/first-run-DI2JIG44.js","../bundle/first-screen-X5N4TCKD.js","../bundle/google-L776ETP4.js","../bundle/google-api-AI5ZJJ2M.js","../bundle/grants-HKGYAWL6.js","../bundle/identity-MDLWK2TX.js","../bundle/instructions-BXZZNAMS.js","../bundle/login-6HHQLRHY.js","../bundle/mcp-ZZUYI44D.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-KM3CUABH.js","../bundle/node-R6ZNQ3NT.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-AVNHGMVL.js","../bundle/oauth-UVU52X57.js","../bundle/open-BXPLXJC2.js","../bundle/openai-CRO5GDBY.js","../bundle/process-P36JP33R.js","../bundle/program-4DWVWSGQ.js","../bundle/prompt-AFWVGRDG.js","../bundle/reasons-IHPNUP5W.js","../bundle/recognize-NAISVA56.js","../bundle/remote-KCUHG5HV.js","../bundle/rerank-Q3POCDSK.js","../bundle/serve-5CUOYLSG.js","../bundle/server-FTLPSLRU.js","../bundle/server-FXW3GARV.js","../bundle/services-PEYBXZ3R.js","../bundle/sqlite-runtime-YMPWN5PM.js","../bundle/start-PFWEF44R.js","../bundle/state-5TQ7IOJH.js","../bundle/store-E2VWY4O6.js","../bundle/store-P4OYYFW5.js","../bundle/store-maintenance-command-MWVERNK7.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-OVG4CJO4.js"]
|
|
33
37
|
// After the server answers its first request, so it starts no later.
|
|
34
38
|
if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
|
|
35
39
|
await running
|
package/dist/bin/drive.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive.js","sourceRoot":"","sources":["../../src/bin/drive.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/F,oGAAoG;AACpG,kBAAkB,EAAE,CAAA;AACpB,mDAAmD;AACnD,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;IACvD,MAAM,CAAC,8BAA8B,CAAC;IACtC,MAAM,CAAC,gBAAgB,CAAC;CACzB,CAAC,CAAA;AACF,MAAM,IAAI,GAAG,MAAM,SAAS,CAAC;IAC3B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,WAAW,EAAE,SAAS,CAAC,WAAW;IAClC,IAAI,EAAE,iDAAiD;CACxD,CAAC,CAAA;AACF,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;IAC5B,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC;KAAM,CAAC;IACN,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACvE,MAAM,CAAC,6BAA6B,CAAC;QACrC,MAAM,CAAC,eAAe,CAAC;QACvB,MAAM,CAAC,gBAAgB,CAAC;KACzB,CAAC,CAAA;IAEF,MAAM,QAAQ,CAAC;QACb,GAAG,EAAE,SAAS;QACd,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,OAAO;QAChB,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CACnB,CAAC,MAAM,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE;YAC9C,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC;YACxC,WAAW,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"drive.js","sourceRoot":"","sources":["../../src/bin/drive.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/F,oGAAoG;AACpG,kBAAkB,EAAE,CAAA;AACpB,mDAAmD;AACnD,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;IACvD,MAAM,CAAC,8BAA8B,CAAC;IACtC,MAAM,CAAC,gBAAgB,CAAC;CACzB,CAAC,CAAA;AACF,MAAM,IAAI,GAAG,MAAM,SAAS,CAAC;IAC3B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,WAAW,EAAE,SAAS,CAAC,WAAW;IAClC,IAAI,EAAE,iDAAiD;CACxD,CAAC,CAAA;AACF,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;IAC5B,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC;KAAM,CAAC;IACN,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACvE,MAAM,CAAC,6BAA6B,CAAC;QACrC,MAAM,CAAC,eAAe,CAAC;QACvB,MAAM,CAAC,gBAAgB,CAAC;KACzB,CAAC,CAAA;IAEF,MAAM,QAAQ,CAAC;QACb,GAAG,EAAE,SAAS;QACd,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,OAAO;QAChB,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CACnB,CAAC,MAAM,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE;YAC9C,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC;YACxC,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC;SAC1E,CAAC;QACJ,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YACrB,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;YACnC,cAAc,CAAC,UAAU,CACvB,WAAW,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CACnG,CAAA;YACD,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;QAChC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -2,32 +2,33 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S36HRPNS.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
StdioServerTransport,
|
|
10
10
|
callerOf,
|
|
11
11
|
serveStdio
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GVRS5AIH.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GD6TQ6U4.js";
|
|
17
|
+
import "./chunk-YDN2RH5S.js";
|
|
18
|
+
import "./chunk-UTFATA4K.js";
|
|
19
|
+
import "./chunk-LK2E2ELG.js";
|
|
20
|
+
import "./chunk-246P2DCT.js";
|
|
21
|
+
import "./chunk-LJ77Y3TK.js";
|
|
21
22
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-HIP43OGZ.js";
|
|
24
|
+
import "./chunk-FO4TCH6P.js";
|
|
25
|
+
import "./chunk-TKW4QWCY.js";
|
|
26
|
+
import "./chunk-EBLA7GXY.js";
|
|
26
27
|
import {
|
|
27
28
|
__name
|
|
28
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
30
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// 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/all-profiles.js
|
|
31
32
|
import { spawn } from "node:child_process";
|
|
32
33
|
import { randomUUID } from "node:crypto";
|
|
33
34
|
var PROTOCOL = "2025-06-18";
|
|
@@ -261,7 +262,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
261
262
|
}, "serveAllProfilesOverStdio");
|
|
262
263
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
263
264
|
const { build, close } = allProfilesServer(options);
|
|
264
|
-
const { serveOverHttp } = await import("./serve-
|
|
265
|
+
const { serveOverHttp } = await import("./serve-OPZXMVLH.js");
|
|
265
266
|
const listening = await serveOverHttp(build, {
|
|
266
267
|
...http,
|
|
267
268
|
appName: options.command,
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkedOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HCJG7ENG.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EHAI773E.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-FXBHOCJK.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-246P2DCT.js";
|
|
14
|
+
import "./chunk-LJ77Y3TK.js";
|
|
15
15
|
import "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-HIP43OGZ.js";
|
|
17
|
+
import "./chunk-FO4TCH6P.js";
|
|
18
18
|
import {
|
|
19
19
|
array,
|
|
20
20
|
optional,
|
|
21
21
|
strictObject,
|
|
22
22
|
string
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-TKW4QWCY.js";
|
|
24
|
+
import "./chunk-EBLA7GXY.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// 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/models/anthropic.js
|
|
30
30
|
var options = strictObject({
|
|
31
31
|
stop_sequences: optional(array(string()))
|
|
32
32
|
});
|
|
@@ -3,35 +3,34 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4CBZEAQ7.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5AMRCBMP.js";
|
|
10
10
|
import {
|
|
11
11
|
answered,
|
|
12
12
|
failed,
|
|
13
13
|
registerCommands,
|
|
14
14
|
runCommandForAgent,
|
|
15
15
|
toolsFromCommands
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-O37ESNAP.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SBHSNOU4.js";
|
|
21
21
|
import {
|
|
22
22
|
answeredWire
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S36HRPNS.js";
|
|
24
24
|
import {
|
|
25
25
|
StdioServerTransport,
|
|
26
26
|
serveStdio
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GVRS5AIH.js";
|
|
28
28
|
import {
|
|
29
29
|
McpServer
|
|
30
30
|
} from "./chunk-5D4AEUVA.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-Y6M2G7JK.js";
|
|
31
|
+
import "./chunk-5XHLQZAG.js";
|
|
32
|
+
import "./chunk-VRW6ZDTH.js";
|
|
33
|
+
import "./chunk-PDYHEWKG.js";
|
|
35
34
|
import {
|
|
36
35
|
DEFAULT_OUTPUT_BYTES,
|
|
37
36
|
changesAuthorityAt,
|
|
@@ -40,63 +39,65 @@ import {
|
|
|
40
39
|
judgedTargets,
|
|
41
40
|
readsOverMcpAt,
|
|
42
41
|
rootOf2 as rootOf
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-73TTP6ET.js";
|
|
43
|
+
import "./chunk-GD6TQ6U4.js";
|
|
44
|
+
import "./chunk-D6WIWOQC.js";
|
|
46
45
|
import {
|
|
47
46
|
readOnlyLockOf
|
|
48
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-4XZXH2NM.js";
|
|
49
48
|
import {
|
|
50
49
|
mcpHttpMarker
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-TXMTMEHW.js";
|
|
51
|
+
import "./chunk-FTZNUZO7.js";
|
|
52
|
+
import "./chunk-73MNUSP3.js";
|
|
54
53
|
import {
|
|
55
54
|
appInstructions
|
|
56
|
-
} from "./chunk-
|
|
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-
|
|
55
|
+
} from "./chunk-6HTKB4WC.js";
|
|
56
|
+
import "./chunk-JGUJJNGZ.js";
|
|
57
|
+
import "./chunk-67QXMO2G.js";
|
|
58
|
+
import "./chunk-DMHGWL5D.js";
|
|
59
|
+
import "./chunk-HFGR33KD.js";
|
|
60
|
+
import "./chunk-YDN2RH5S.js";
|
|
61
|
+
import "./chunk-CKGHRWVR.js";
|
|
62
|
+
import "./chunk-ZYCLPJ7U.js";
|
|
63
|
+
import "./chunk-EHAI773E.js";
|
|
64
|
+
import "./chunk-PETFPXLU.js";
|
|
65
|
+
import "./chunk-YGG7UA3C.js";
|
|
67
66
|
import "./chunk-5DPV7X27.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-ALWTUDZF.js";
|
|
68
|
+
import "./chunk-UVLSWLPZ.js";
|
|
69
|
+
import "./chunk-YYHKVOVK.js";
|
|
70
|
+
import "./chunk-PPL5ASW2.js";
|
|
71
|
+
import "./chunk-UNJE63JK.js";
|
|
72
|
+
import "./chunk-N7S2UPF3.js";
|
|
73
|
+
import "./chunk-4VHBDVY2.js";
|
|
74
|
+
import "./chunk-UTFATA4K.js";
|
|
75
|
+
import "./chunk-MVNPE5FZ.js";
|
|
76
|
+
import "./chunk-77C5XRH3.js";
|
|
77
|
+
import "./chunk-KEXTTZJM.js";
|
|
78
|
+
import "./chunk-V7QMHMR3.js";
|
|
79
|
+
import "./chunk-K6XVRA6U.js";
|
|
80
|
+
import "./chunk-SZXI4OXX.js";
|
|
81
81
|
import "./chunk-D72URWJE.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-2AXA5SKP.js";
|
|
83
|
+
import "./chunk-LK2E2ELG.js";
|
|
84
|
+
import "./chunk-UVYVIHEA.js";
|
|
85
|
+
import "./chunk-246P2DCT.js";
|
|
85
86
|
import {
|
|
86
87
|
mcpErrorResult
|
|
87
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-LJ77Y3TK.js";
|
|
88
89
|
import "./chunk-Y5E2WNWB.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-HIP43OGZ.js";
|
|
91
|
+
import "./chunk-FO4TCH6P.js";
|
|
92
|
+
import "./chunk-TKW4QWCY.js";
|
|
92
93
|
import {
|
|
93
94
|
CliError
|
|
94
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-EBLA7GXY.js";
|
|
95
96
|
import {
|
|
96
97
|
__name
|
|
97
98
|
} from "./chunk-ZVVMGPBJ.js";
|
|
98
99
|
|
|
99
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
100
|
+
// 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/app-server.js
|
|
100
101
|
var EXCLUDED = [["mcp"]];
|
|
101
102
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
102
103
|
const { app } = options;
|
|
@@ -211,10 +212,11 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
211
212
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
212
213
|
const { app } = options;
|
|
213
214
|
const { build } = createAppServer(command, context, options);
|
|
214
|
-
const { serveOverHttp } = await import("./serve-
|
|
215
|
+
const { serveOverHttp } = await import("./serve-OPZXMVLH.js");
|
|
215
216
|
const listening = await serveOverHttp(build, {
|
|
216
217
|
...http,
|
|
217
218
|
appName: app.command,
|
|
219
|
+
reaches: `your ${options.name}`,
|
|
218
220
|
onCode: /* @__PURE__ */ __name((code, expires) => context.renderer.note(context.env[mcpHttpMarker(app.envPrefix)] === void 0 ? `login code for a new browser app: ${code} (until ${expires.toTimeString().slice(0, 5)}; a new one after each login)` : `a new login code for a browser app: \`${app.command} ${context.settings.profile} mcp server status\``), "onCode"),
|
|
219
221
|
onError: /* @__PURE__ */ __name((error) => context.renderer.note(`mcp: ${error.message}`), "onError")
|
|
220
222
|
}).catch((error) => {
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-K6XVRA6U.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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-V2VMBM7O.js";
|
|
7
|
+
import "./chunk-246P2DCT.js";
|
|
8
|
+
import "./chunk-LJ77Y3TK.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-HIP43OGZ.js";
|
|
13
|
+
import "./chunk-FO4TCH6P.js";
|
|
14
|
+
import "./chunk-TKW4QWCY.js";
|
|
15
|
+
import "./chunk-EBLA7GXY.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// 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/store/drivers/bun-sqlite.js
|
|
21
21
|
var customised = false;
|
|
22
22
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
23
23
|
try {
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
XLSX,
|
|
9
9
|
supported,
|
|
10
10
|
tooManyEntries
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VVCZS42A.js";
|
|
12
12
|
import {
|
|
13
13
|
googleError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JQLIM6BH.js";
|
|
15
15
|
import {
|
|
16
16
|
extractText
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-67QXMO2G.js";
|
|
18
18
|
import {
|
|
19
19
|
MAX_TEXT_CHARS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UNJE63JK.js";
|
|
21
21
|
import {
|
|
22
22
|
importFrom
|
|
23
23
|
} from "./chunk-Y5E2WNWB.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-EBLA7GXY.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
errorObjectOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LJ77Y3TK.js";
|
|
6
6
|
import {
|
|
7
7
|
visibleControls
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HIP43OGZ.js";
|
|
9
9
|
import {
|
|
10
10
|
LOG_ATTRIBUTE_KEYS,
|
|
11
11
|
isContentKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FO4TCH6P.js";
|
|
13
13
|
import {
|
|
14
14
|
getDotPath,
|
|
15
15
|
safeParse
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TKW4QWCY.js";
|
|
17
17
|
import {
|
|
18
18
|
CliError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EBLA7GXY.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__name,
|
|
@@ -1889,7 +1889,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1889
1889
|
}
|
|
1890
1890
|
});
|
|
1891
1891
|
|
|
1892
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1892
|
+
// 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/keyring.js
|
|
1893
1893
|
import { createRequire } from "node:module";
|
|
1894
1894
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
1895
1895
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -1909,7 +1909,7 @@ var systemKeyring = {
|
|
|
1909
1909
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
1910
1910
|
};
|
|
1911
1911
|
|
|
1912
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1912
|
+
// 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/paths.js
|
|
1913
1913
|
import { homedir, userInfo } from "node:os";
|
|
1914
1914
|
import { join, posix, win32 } from "node:path";
|
|
1915
1915
|
var PATH_KINDS = ["config", "state", "cache"];
|
|
@@ -1961,11 +1961,11 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
1961
1961
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
1962
1962
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
1963
1963
|
|
|
1964
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1964
|
+
// 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/credentials.js
|
|
1965
1965
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
1966
1966
|
import { join as join3, resolve } from "node:path";
|
|
1967
1967
|
|
|
1968
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1968
|
+
// 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/config.js
|
|
1969
1969
|
import { randomBytes } from "node:crypto";
|
|
1970
1970
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
1971
1971
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2009,7 +2009,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2009
2009
|
`, 384);
|
|
2010
2010
|
}, "saveConfigFile");
|
|
2011
2011
|
|
|
2012
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2012
|
+
// 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/credentials.js
|
|
2013
2013
|
var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
|
|
2014
2014
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2015
2015
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
@@ -2145,7 +2145,7 @@ var Credentials = class {
|
|
|
2145
2145
|
}
|
|
2146
2146
|
};
|
|
2147
2147
|
|
|
2148
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2148
|
+
// 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/drain.js
|
|
2149
2149
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2150
2150
|
if (signal?.aborted)
|
|
2151
2151
|
return Promise.reject(signal.reason);
|
|
@@ -2173,7 +2173,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2173
2173
|
});
|
|
2174
2174
|
}, "waitForDrain");
|
|
2175
2175
|
|
|
2176
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2176
|
+
// 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/streams.js
|
|
2177
2177
|
var processStreams = {
|
|
2178
2178
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2179
2179
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2202,7 +2202,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2202
2202
|
};
|
|
2203
2203
|
}, "captureStreams");
|
|
2204
2204
|
|
|
2205
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2205
|
+
// 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/retry.js
|
|
2206
2206
|
var DEFAULT_RETRY = {
|
|
2207
2207
|
retries: 1,
|
|
2208
2208
|
baseDelayMs: 250,
|
|
@@ -2214,7 +2214,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2214
2214
|
return Math.round(random() * ceiling);
|
|
2215
2215
|
}, "backoffMs");
|
|
2216
2216
|
|
|
2217
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2217
|
+
// 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/result-fields.js
|
|
2218
2218
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2219
2219
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2220
2220
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2279,7 +2279,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2279
2279
|
return project(value, fields);
|
|
2280
2280
|
}, "projectFields");
|
|
2281
2281
|
|
|
2282
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2282
|
+
// 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/batch.js
|
|
2283
2283
|
var BATCH_LIMITS = Object.freeze({
|
|
2284
2284
|
requests: 32,
|
|
2285
2285
|
input_bytes: 262144,
|
|
@@ -2406,7 +2406,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2406
2406
|
};
|
|
2407
2407
|
}, "runBatch");
|
|
2408
2408
|
|
|
2409
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2409
|
+
// 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/time.js
|
|
2410
2410
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2411
2411
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2412
2412
|
if (signal?.aborted) {
|
|
@@ -2420,7 +2420,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2420
2420
|
}, { once: true });
|
|
2421
2421
|
}), "realSleep");
|
|
2422
2422
|
|
|
2423
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2423
|
+
// 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/logging.js
|
|
2424
2424
|
import { appendFileSync } from "node:fs";
|
|
2425
2425
|
var REDACTED_FIELDS = [
|
|
2426
2426
|
"authorization",
|
|
@@ -2515,7 +2515,7 @@ var silent = {
|
|
|
2515
2515
|
}, "error")
|
|
2516
2516
|
};
|
|
2517
2517
|
|
|
2518
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2518
|
+
// 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/pretty.js
|
|
2519
2519
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2520
2520
|
import { styleText } from "node:util";
|
|
2521
2521
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2589,7 +2589,7 @@ var BORDERLESS = {
|
|
|
2589
2589
|
middle: ""
|
|
2590
2590
|
};
|
|
2591
2591
|
|
|
2592
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2592
|
+
// 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/renderer.js
|
|
2593
2593
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2594
2594
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2595
2595
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// 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/installer.js
|
|
8
8
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
9
9
|
const path = scriptPath.replaceAll("\\", "/");
|
|
10
10
|
if (path.includes("/_npx/"))
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V7QMHMR3.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// 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/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|