@wirecat/drive-cli 0.59.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/bin/drive.js.map +1 -1
- package/dist/bundle/{all-profiles-CVISDGMF.js → all-profiles-H4L3Z5UM.js} +14 -14
- package/dist/bundle/{anthropic-WLNQC23G.js → anthropic-PPGFISVP.js} +9 -9
- package/dist/bundle/{app-server-P2VOONXF.js → app-server-YXVK2FUZ.js} +52 -52
- package/dist/bundle/{bun-CDFBNTKV.js → bun-DKZAL6ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-MNZICITP.js → bun-sqlite-MTZY36QK.js} +8 -8
- package/dist/bundle/{chunk-TFH5X46A.js → chunk-2RJA4BQB.js} +19 -19
- package/dist/bundle/{chunk-VVCZS42A.js → chunk-3252WXOL.js} +1 -1
- package/dist/bundle/{chunk-H2BKXPBL.js → chunk-36CWGEVX.js} +2 -2
- package/dist/bundle/{chunk-HWLLVLAB.js → chunk-3I2D5TK2.js} +14 -11
- package/dist/bundle/{chunk-PAEVBAM3.js → chunk-3SJQNS72.js} +5 -5
- package/dist/bundle/{chunk-GI5JBGXH.js → chunk-3UPIJ7DW.js} +615 -374
- package/dist/bundle/{chunk-EORMZCVF.js → chunk-3WZH3WV3.js} +3 -3
- package/dist/bundle/{chunk-ZSMCJKGP.js → chunk-5W56YMQS.js} +28 -27
- package/dist/bundle/{chunk-LJ7E4HLQ.js → chunk-5W7D5H2R.js} +1 -1
- package/dist/bundle/{chunk-6C6255U6.js → chunk-67HS46KM.js} +12 -12
- package/dist/bundle/{chunk-AD62XJKO.js → chunk-6DN4VPA7.js} +25 -25
- package/dist/bundle/{chunk-HIP43OGZ.js → chunk-6IBM4Z3V.js} +1 -1
- package/dist/bundle/{chunk-QTM7USFA.js → chunk-6SUGANRJ.js} +6 -6
- package/dist/bundle/{chunk-II7LST64.js → chunk-6Y2FWJZ4.js} +4 -3
- package/dist/bundle/{chunk-XCOCPXCM.js → chunk-73WSULMI.js} +2 -2
- package/dist/bundle/{chunk-V42KAPU3.js → chunk-AM4RIWOZ.js} +4 -4
- package/dist/bundle/{chunk-DI5Z4SH5.js → chunk-AWN22PJK.js} +3 -3
- package/dist/bundle/{chunk-HMZAMHKN.js → chunk-BCWUDTYQ.js} +2 -2
- package/dist/bundle/{chunk-EHEZSV6I.js → chunk-BF6TQMNB.js} +8 -8
- package/dist/bundle/chunk-BQMIDYBA.js +415 -0
- package/dist/bundle/{chunk-FVQCM7IQ.js → chunk-BXR7BKM3.js} +5 -5
- package/dist/bundle/{chunk-OKXSTWKW.js → chunk-CACYL36O.js} +8 -8
- package/dist/bundle/{chunk-CBM2XAEZ.js → chunk-DCBFNBEB.js} +113 -51
- package/dist/bundle/{chunk-GT5KTGCN.js → chunk-DEPMQHXQ.js} +4 -4
- package/dist/bundle/{chunk-3KJTJDDT.js → chunk-DXPOVLQC.js} +46 -28
- package/dist/bundle/{chunk-P7WPYKSB.js → chunk-E5EXJ2XS.js} +4 -4
- package/dist/bundle/{chunk-IGF6EXBR.js → chunk-E6J5YH2N.js} +34 -34
- package/dist/bundle/{chunk-IIP43FQJ.js → chunk-ECEYAQGN.js} +2 -2
- package/dist/bundle/{chunk-OMMEQJOB.js → chunk-EPCJUL6M.js} +3 -3
- package/dist/bundle/{chunk-JSDVK3JA.js → chunk-FE5JJXKA.js} +2 -2
- package/dist/bundle/{chunk-FICVPYE4.js → chunk-HFM653T3.js} +49 -49
- package/dist/bundle/{chunk-KPRGTTJH.js → chunk-HGOYQUT7.js} +1 -1
- package/dist/bundle/{chunk-3VSUT6BD.js → chunk-I26VL4W7.js} +2 -2
- package/dist/bundle/{chunk-V36RIXFA.js → chunk-J4HQVHMN.js} +6 -5
- package/dist/bundle/{chunk-P3ZTW2ZM.js → chunk-J5UDQD5S.js} +5 -5
- package/dist/bundle/{chunk-3KNZADHJ.js → chunk-JVBLXSAA.js} +437 -193
- package/dist/bundle/{chunk-TJXPJ3A5.js → chunk-K7LS3NGM.js} +137 -62
- package/dist/bundle/{chunk-2AXA5SKP.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-YU3PTU3D.js → chunk-LARQTWIL.js} +1 -1
- package/dist/bundle/{chunk-B5GBJ35N.js → chunk-N2RLJTIW.js} +4 -4
- package/dist/bundle/{chunk-K4LXGZTE.js → chunk-NIX2MWHZ.js} +242 -344
- package/dist/bundle/{chunk-L5SE2XZP.js → chunk-NZ2EIZLX.js} +14 -10
- package/dist/bundle/{chunk-F3FOL42A.js → chunk-O5CUFS7T.js} +2 -2
- package/dist/bundle/{chunk-UQPKAY6I.js → chunk-OFFA54TW.js} +2 -2
- package/dist/bundle/{chunk-W62CON5K.js → chunk-OGNOQDWB.js} +4 -4
- package/dist/bundle/{chunk-MUUHUHWC.js → chunk-OLPJRD4S.js} +1 -22
- package/dist/bundle/{chunk-YADXWQHV.js → chunk-PJTX2MOI.js} +26 -26
- package/dist/bundle/{chunk-M6I2SQN7.js → chunk-PY7LKNOS.js} +2 -2
- package/dist/bundle/{chunk-GJ4ZCIOP.js → chunk-Q4XVBKX4.js} +3 -3
- package/dist/bundle/{chunk-A6SLYOP2.js → chunk-QR5VQXQ5.js} +69 -36
- package/dist/bundle/{chunk-OZH4ALTI.js → chunk-QSGT4ZH4.js} +1 -1
- package/dist/bundle/{chunk-UWVNRPT7.js → chunk-RFRCOAWS.js} +22 -22
- package/dist/bundle/{chunk-A6EG7ZDS.js → chunk-S4YK6TTG.js} +13 -13
- package/dist/bundle/{chunk-LPHMAQJQ.js → chunk-TKGAYKXW.js} +16 -16
- package/dist/bundle/{chunk-KFZUODXB.js → chunk-UKOYQC5O.js} +39 -22
- package/dist/bundle/{chunk-MEAPA4EZ.js → chunk-UO2IUDVK.js} +2 -2
- package/dist/bundle/{chunk-HIOJRPCT.js → chunk-VPDAH7PJ.js} +1 -1
- package/dist/bundle/{chunk-3U22QTU6.js → chunk-VYXVPYA3.js} +24 -6
- package/dist/bundle/{chunk-VT6GZAF4.js → chunk-W767AUNR.js} +4 -4
- package/dist/bundle/{chunk-5C7K6XIT.js → chunk-WIU733D2.js} +1 -1
- package/dist/bundle/{chunk-IADOBOKB.js → chunk-WUP2MJDN.js} +2 -2
- package/dist/bundle/{chunk-EBLA7GXY.js → chunk-WZ5XK74U.js} +2 -1
- package/dist/bundle/{chunk-IBZ3IBO4.js → chunk-X2CXW4HM.js} +7 -7
- package/dist/bundle/{chunk-JW2CVCUH.js → chunk-XGMDWIUP.js} +4 -4
- package/dist/bundle/{chunk-BSGOM3BD.js → chunk-XGNC5OJG.js} +1 -1
- package/dist/bundle/{chunk-TI55J3BA.js → chunk-XLFJLZJL.js} +4 -4
- package/dist/bundle/{chunk-7QTVIZII.js → chunk-XYCCGGKN.js} +792 -327
- package/dist/bundle/{chunk-6CQO2FIN.js → chunk-XZBR2O63.js} +400 -291
- package/dist/bundle/{chunk-EVETU3TF.js → chunk-YMBFZA3H.js} +8 -8
- package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-36B7AIGP.js → chunk-YWIU4HOT.js} +1 -1
- package/dist/bundle/{chunk-MKCNUI72.js → chunk-ZHYRHERD.js} +2 -2
- package/dist/bundle/{chunk-YV4ABH6J.js → chunk-ZMNYK3FC.js} +5 -5
- package/dist/bundle/command-contract-T3EO5AYD.js +39 -0
- package/dist/bundle/{decode-XTOMXMGN.js → decode-62A3HGPW.js} +8 -8
- package/dist/bundle/{dispatch-T6TW2JJB.js → dispatch-IE7PBEQC.js} +9 -9
- package/dist/bundle/drive.js +12 -12
- package/dist/bundle/{echarts-RKKIOYVV.js → echarts-BGBPRGR5.js} +2 -2
- package/dist/bundle/{embed-STHKKA6G.js → embed-J3IBVV2V.js} +9 -9
- package/dist/bundle/{embedder-3XZEWHRO.js → embedder-QFPMDRT2.js} +12 -12
- package/dist/bundle/entry-YQSYER66.js +22 -0
- package/dist/bundle/{failure-DNQYXP2T.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-BYNSAIQI.js → google-RXM2XEPD.js} +13 -13
- package/dist/bundle/{google-api-4VTZH7OP.js → google-api-NC65BZO4.js} +83 -64
- package/dist/bundle/grants-SEWUYYH3.js +105 -0
- package/dist/bundle/{identity-ARDPFYV5.js → identity-PI6F2GWA.js} +6 -6
- package/dist/bundle/{instructions-N3OH5X2Y.js → instructions-6LPDSKAD.js} +1 -1
- package/dist/bundle/{login-4VQEC7VI.js → login-HTY7GT2S.js} +66 -68
- package/dist/bundle/{mcp-WBHKX5E3.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{node-YU5JBNAA.js → node-IB246NCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-3C6PSBIW.js → node-sqlite-G2Y5SFJM.js} +9 -9
- package/dist/bundle/oauth-MWBKBI4T.js +22 -0
- package/dist/bundle/{open-M2V2VYXO.js → open-WD4GFSJD.js} +8 -8
- package/dist/bundle/{openai-ST2IWNUX.js → openai-QVM4PMY7.js} +17 -17
- package/dist/bundle/{process-PYNNBBTV.js → process-SWPJGPQC.js} +1 -1
- package/dist/bundle/{program-Q4VWV2MR.js → program-WHYFAMXR.js} +142 -106
- package/dist/bundle/prompt-OVYCGZB7.js +17 -0
- package/dist/bundle/{reasons-LOQ5J73F.js → reasons-Q34DQWB6.js} +5 -5
- package/dist/bundle/{recognize-FBLMWXNE.js → recognize-DM3YWHSE.js} +7 -7
- package/dist/bundle/{remote-XC3OXE4T.js → remote-KXVWRK7J.js} +10 -10
- package/dist/bundle/{rerank-2XMKKF4S.js → rerank-TINXM3MY.js} +10 -10
- package/dist/bundle/{serve-Q2BQHNZB.js → serve-IY2WL656.js} +12 -12
- package/dist/bundle/server-EMWVVT2C.js +70 -0
- package/dist/bundle/{server-42HPV3AH.js → server-VPY3OWPC.js} +44 -44
- package/dist/bundle/{services-WU22S2MU.js → services-PXNBOCOC.js} +34 -32
- package/dist/bundle/{sqlite-runtime-CSO6K6B2.js → sqlite-runtime-5ZK2CV7Y.js} +9 -9
- package/dist/bundle/{start-TZWKM4AH.js → start-LDVCN3DK.js} +7 -7
- package/dist/bundle/{state-FLUT7U7R.js → state-3MKTT3VS.js} +9 -9
- package/dist/bundle/{store-TG6622NG.js → store-4VQOT5IJ.js} +18 -18
- package/dist/bundle/{store-HDWMJ44E.js → store-7M4MSUJV.js} +28 -22
- package/dist/bundle/store-maintenance-command-NRATYBWD.js +60 -0
- package/dist/bundle/tokens-XUKLM3SL.js +103 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +15 -6
- 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 +15 -4
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +23 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +33 -20
- 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/errors.js +4 -4
- package/dist/errors.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.d.ts.map +1 -1
- package/dist/login.js +4 -6
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +11 -7
- 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 +3 -3
- package/dist/bundle/chunk-PGKIOSN3.js +0 -249
- package/dist/bundle/command-contract-LQDNHZJU.js +0 -39
- package/dist/bundle/entry-CNOYSSSD.js +0 -22
- package/dist/bundle/first-run-F2SI24PK.js +0 -30
- package/dist/bundle/first-screen-TYYF6VXY.js +0 -37
- package/dist/bundle/grants-EUQXSICG.js +0 -105
- package/dist/bundle/oauth-D6NJFPYU.js +0 -22
- package/dist/bundle/prompt-MFIOJMAF.js +0 -17
- 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
- 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
package/README.md
CHANGED
|
@@ -40,9 +40,8 @@ refuses every change, as `--read-only` does.
|
|
|
40
40
|
## Sign in and choose folders
|
|
41
41
|
|
|
42
42
|
Sign in with WireCat's included Google application. Each user approves their own account in the
|
|
43
|
-
browser. Google
|
|
44
|
-
|
|
45
|
-
[the warning and how to continue](docs/installation.md#google-shows-an-unverified-app-warning).
|
|
43
|
+
browser. Making a shared Google application public for Drive is complex, so Google may refuse
|
|
44
|
+
the sign-in; see [what to do](docs/installation.md#google-shows-an-unverified-app-warning).
|
|
46
45
|
You can also create your own Desktop client as explained in the
|
|
47
46
|
[installation guide](docs/installation.md). Connect your account, then choose a folder:
|
|
48
47
|
|
|
@@ -62,8 +61,8 @@ new sign-in with `session start --grant write`; history events need `session sta
|
|
|
62
61
|
|
|
63
62
|
Credentials use the OS keyring. Where it fails, drive uses an owner-only private file without
|
|
64
63
|
asking and says so once; `--credential-storage file` chooses the file outright, not recommended. Tokens never enter regular config, output
|
|
65
|
-
or diagnostics. `
|
|
66
|
-
|
|
64
|
+
or diagnostics. Your own Google app replaces the bundled one with `session start --client-file` or `--client-id`,
|
|
65
|
+
`DRIVE_GOOGLE_CLIENT_ID` and `DRIVE_GOOGLE_CLIENT_SECRET`, or the `google_client_id` setting, in that order. The included Desktop
|
|
67
66
|
client identity is public application metadata, separate from private user tokens. If you create
|
|
68
67
|
your own Desktop client and leave it in Testing, Google usually ends its sign-ins after seven days.
|
|
69
68
|
[Google OAuth guide](https://developers.google.com/identity/protocols/oauth2/native-app),
|
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.61.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,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-H4L3Z5UM.js","../bundle/anthropic-PPGFISVP.js","../bundle/app-server-YXVK2FUZ.js","../bundle/bun-DKZAL6ML.js","../bundle/bun-sqlite-MTZY36QK.js","../bundle/command-contract-T3EO5AYD.js","../bundle/decode-62A3HGPW.js","../bundle/dispatch-IE7PBEQC.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-BGBPRGR5.js","../bundle/embed-J3IBVV2V.js","../bundle/embedder-QFPMDRT2.js","../bundle/entry-YQSYER66.js","../bundle/failure-BKOGBMIC.js","../bundle/first-run-ZIFPVZAI.js","../bundle/first-screen-L5U26EY7.js","../bundle/google-RXM2XEPD.js","../bundle/google-api-NC65BZO4.js","../bundle/grants-SEWUYYH3.js","../bundle/identity-PI6F2GWA.js","../bundle/instructions-6LPDSKAD.js","../bundle/login-HTY7GT2S.js","../bundle/mcp-PPVOM4SE.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-IB246NCQ.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-G2Y5SFJM.js","../bundle/oauth-MWBKBI4T.js","../bundle/open-WD4GFSJD.js","../bundle/openai-QVM4PMY7.js","../bundle/process-SWPJGPQC.js","../bundle/program-WHYFAMXR.js","../bundle/prompt-OVYCGZB7.js","../bundle/reasons-Q34DQWB6.js","../bundle/recognize-DM3YWHSE.js","../bundle/remote-KXVWRK7J.js","../bundle/rerank-TINXM3MY.js","../bundle/serve-IY2WL656.js","../bundle/server-EMWVVT2C.js","../bundle/server-VPY3OWPC.js","../bundle/services-PXNBOCOC.js","../bundle/sqlite-runtime-5ZK2CV7Y.js","../bundle/start-LDVCN3DK.js","../bundle/state-3MKTT3VS.js","../bundle/store-4VQOT5IJ.js","../bundle/store-7M4MSUJV.js","../bundle/store-maintenance-command-NRATYBWD.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-XUKLM3SL.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
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,33 +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-QSGT4ZH4.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-73WSULMI.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-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-BF6TQMNB.js";
|
|
17
|
+
import "./chunk-BCWUDTYQ.js";
|
|
18
|
+
import "./chunk-VPDAH7PJ.js";
|
|
19
|
+
import "./chunk-LU3WKZBA.js";
|
|
20
|
+
import "./chunk-DCBFNBEB.js";
|
|
21
|
+
import "./chunk-J4HQVHMN.js";
|
|
22
22
|
import "./chunk-Y5E2WNWB.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-6IBM4Z3V.js";
|
|
24
|
+
import "./chunk-OFFA54TW.js";
|
|
25
|
+
import "./chunk-VYXVPYA3.js";
|
|
26
|
+
import "./chunk-WZ5XK74U.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// 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/all-profiles.js
|
|
32
32
|
import { spawn } from "node:child_process";
|
|
33
33
|
import { randomUUID } from "node:crypto";
|
|
34
34
|
var PROTOCOL = "2025-06-18";
|
|
@@ -262,7 +262,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
262
262
|
}, "serveAllProfilesOverStdio");
|
|
263
263
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
264
264
|
const { build, close } = allProfilesServer(options);
|
|
265
|
-
const { serveOverHttp } = await import("./serve-
|
|
265
|
+
const { serveOverHttp } = await import("./serve-IY2WL656.js");
|
|
266
266
|
const listening = await serveOverHttp(build, {
|
|
267
267
|
...http,
|
|
268
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-AWN22PJK.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FE5JJXKA.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-FXBHOCJK.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-DCBFNBEB.js";
|
|
14
|
+
import "./chunk-J4HQVHMN.js";
|
|
15
15
|
import "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-6IBM4Z3V.js";
|
|
17
|
+
import "./chunk-OFFA54TW.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-VYXVPYA3.js";
|
|
24
|
+
import "./chunk-WZ5XK74U.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.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/anthropic.js
|
|
30
30
|
var options = strictObject({
|
|
31
31
|
stop_sequences: optional(array(string()))
|
|
32
32
|
});
|
|
@@ -3,34 +3,34 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-E6J5YH2N.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QR5VQXQ5.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-DXPOVLQC.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UKOYQC5O.js";
|
|
21
21
|
import {
|
|
22
22
|
answeredWire
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QSGT4ZH4.js";
|
|
24
24
|
import {
|
|
25
25
|
StdioServerTransport,
|
|
26
26
|
serveStdio
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-73WSULMI.js";
|
|
28
28
|
import {
|
|
29
29
|
McpServer
|
|
30
30
|
} from "./chunk-5D4AEUVA.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-5W56YMQS.js";
|
|
32
|
+
import "./chunk-2RJA4BQB.js";
|
|
33
|
+
import "./chunk-3SJQNS72.js";
|
|
34
34
|
import {
|
|
35
35
|
DEFAULT_OUTPUT_BYTES,
|
|
36
36
|
changesAuthorityAt,
|
|
@@ -39,65 +39,65 @@ import {
|
|
|
39
39
|
judgedTargets,
|
|
40
40
|
readsOverMcpAt,
|
|
41
41
|
rootOf2 as rootOf
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-JVBLXSAA.js";
|
|
43
|
+
import "./chunk-BF6TQMNB.js";
|
|
44
|
+
import "./chunk-XGMDWIUP.js";
|
|
45
45
|
import {
|
|
46
46
|
readOnlyLockOf
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ECEYAQGN.js";
|
|
48
48
|
import {
|
|
49
49
|
mcpHttpMarker
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-DEPMQHXQ.js";
|
|
51
|
+
import "./chunk-Q4XVBKX4.js";
|
|
52
|
+
import "./chunk-WIU733D2.js";
|
|
53
53
|
import {
|
|
54
54
|
appInstructions
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./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-
|
|
55
|
+
} from "./chunk-YWIU4HOT.js";
|
|
56
|
+
import "./chunk-XYCCGGKN.js";
|
|
57
|
+
import "./chunk-PJTX2MOI.js";
|
|
58
|
+
import "./chunk-S4YK6TTG.js";
|
|
59
|
+
import "./chunk-6DN4VPA7.js";
|
|
60
|
+
import "./chunk-BCWUDTYQ.js";
|
|
61
|
+
import "./chunk-E5EXJ2XS.js";
|
|
62
|
+
import "./chunk-YPF6OS37.js";
|
|
63
|
+
import "./chunk-FE5JJXKA.js";
|
|
64
|
+
import "./chunk-3WZH3WV3.js";
|
|
65
|
+
import "./chunk-J5UDQD5S.js";
|
|
66
66
|
import "./chunk-5DPV7X27.js";
|
|
67
|
-
import "./chunk-
|
|
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-XLFJLZJL.js";
|
|
68
|
+
import "./chunk-TKGAYKXW.js";
|
|
69
|
+
import "./chunk-W767AUNR.js";
|
|
70
|
+
import "./chunk-3UPIJ7DW.js";
|
|
71
|
+
import "./chunk-WUP2MJDN.js";
|
|
72
|
+
import "./chunk-K7LS3NGM.js";
|
|
73
|
+
import "./chunk-NZ2EIZLX.js";
|
|
74
|
+
import "./chunk-VPDAH7PJ.js";
|
|
75
|
+
import "./chunk-CACYL36O.js";
|
|
76
|
+
import "./chunk-X2CXW4HM.js";
|
|
77
|
+
import "./chunk-I26VL4W7.js";
|
|
78
|
+
import "./chunk-6SUGANRJ.js";
|
|
79
|
+
import "./chunk-XGNC5OJG.js";
|
|
80
|
+
import "./chunk-O5CUFS7T.js";
|
|
81
81
|
import "./chunk-D72URWJE.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-KV4267S4.js";
|
|
83
|
+
import "./chunk-LU3WKZBA.js";
|
|
84
|
+
import "./chunk-HGOYQUT7.js";
|
|
85
|
+
import "./chunk-DCBFNBEB.js";
|
|
86
86
|
import {
|
|
87
87
|
mcpErrorResult
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-J4HQVHMN.js";
|
|
89
89
|
import "./chunk-Y5E2WNWB.js";
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-6IBM4Z3V.js";
|
|
91
|
+
import "./chunk-OFFA54TW.js";
|
|
92
|
+
import "./chunk-VYXVPYA3.js";
|
|
93
93
|
import {
|
|
94
94
|
CliError
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-WZ5XK74U.js";
|
|
96
96
|
import {
|
|
97
97
|
__name
|
|
98
98
|
} from "./chunk-ZVVMGPBJ.js";
|
|
99
99
|
|
|
100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
100
|
+
// 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/app-server.js
|
|
101
101
|
var EXCLUDED = [["mcp"]];
|
|
102
102
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
103
103
|
const { app } = options;
|
|
@@ -212,7 +212,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
212
212
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
213
213
|
const { app } = options;
|
|
214
214
|
const { build } = createAppServer(command, context, options);
|
|
215
|
-
const { serveOverHttp } = await import("./serve-
|
|
215
|
+
const { serveOverHttp } = await import("./serve-IY2WL656.js");
|
|
216
216
|
const listening = await serveOverHttp(build, {
|
|
217
217
|
...http,
|
|
218
218
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XGNC5OJG.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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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-ZHYRHERD.js";
|
|
7
|
+
import "./chunk-DCBFNBEB.js";
|
|
8
|
+
import "./chunk-J4HQVHMN.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-6IBM4Z3V.js";
|
|
13
|
+
import "./chunk-OFFA54TW.js";
|
|
14
|
+
import "./chunk-VYXVPYA3.js";
|
|
15
|
+
import "./chunk-WZ5XK74U.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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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 {
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
renderAnswer,
|
|
13
13
|
sharedCommand,
|
|
14
14
|
snakeKeys
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JVBLXSAA.js";
|
|
16
16
|
import {
|
|
17
17
|
readOnlyLockOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ECEYAQGN.js";
|
|
19
19
|
import {
|
|
20
20
|
AUDIT_MIN_SCORE,
|
|
21
21
|
throughWrapper
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XYCCGGKN.js";
|
|
23
23
|
import {
|
|
24
24
|
formatReference
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3UPIJ7DW.js";
|
|
26
26
|
import {
|
|
27
27
|
EVENT_QUERY,
|
|
28
28
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
readMeetingProjectEvidence,
|
|
46
46
|
validateMeetingHitSearch,
|
|
47
47
|
validateMeetingPassage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-K7LS3NGM.js";
|
|
49
49
|
import {
|
|
50
50
|
OPERATORS_BY_TYPE,
|
|
51
51
|
dateRange,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
timezoneOf,
|
|
59
59
|
validateQuery,
|
|
60
60
|
zonedMoment
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-NZ2EIZLX.js";
|
|
62
62
|
import {
|
|
63
63
|
array,
|
|
64
64
|
boolean,
|
|
@@ -68,15 +68,15 @@ import {
|
|
|
68
68
|
safeParse,
|
|
69
69
|
strictObject,
|
|
70
70
|
string
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-VYXVPYA3.js";
|
|
72
72
|
import {
|
|
73
73
|
CliError
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-WZ5XK74U.js";
|
|
75
75
|
import {
|
|
76
76
|
__name
|
|
77
77
|
} from "./chunk-ZVVMGPBJ.js";
|
|
78
78
|
|
|
79
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
79
|
+
// 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/cli/messenger/lacks.js
|
|
80
80
|
var COMMAND_NEEDS = {
|
|
81
81
|
"account update": ["updateProfile", "change the profile"],
|
|
82
82
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -126,7 +126,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
126
126
|
return group;
|
|
127
127
|
}, "hideNever");
|
|
128
128
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
129
|
+
// 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/meetings/cli/query-options.js
|
|
130
130
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
131
131
|
command.allowUnknownOption();
|
|
132
132
|
const parse = command.parseOptions.bind(command);
|
|
@@ -146,7 +146,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
146
146
|
return command;
|
|
147
147
|
}, "queryWordsAfterOptions");
|
|
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/meetings/cli/passage.js
|
|
150
150
|
var count = /* @__PURE__ */ __name((value) => {
|
|
151
151
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
152
152
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -188,7 +188,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
188
188
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
189
189
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
190
190
|
|
|
191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
191
|
+
// 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/meetings/cli/project-evidence.js
|
|
192
192
|
var integer = /* @__PURE__ */ __name((value) => {
|
|
193
193
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
194
194
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -211,7 +211,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
211
211
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
212
212
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
213
213
|
|
|
214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
214
|
+
// 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/meetings/cli/search.js
|
|
215
215
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
216
216
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
217
217
|
const zone = timezoneOf();
|
|
@@ -297,7 +297,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
297
297
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
298
298
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
299
299
|
|
|
300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
300
|
+
// 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/meetings/cli/index.js
|
|
301
301
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
302
302
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
303
303
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -429,7 +429,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
429
429
|
}, "addMeetingCommandsDefinition");
|
|
430
430
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// 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/cli/list-query.js
|
|
433
433
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
434
434
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
435
435
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -562,7 +562,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
562
562
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
563
563
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
564
564
|
|
|
565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
565
|
+
// 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/cli/paging.js
|
|
566
566
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
567
567
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
568
568
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -571,7 +571,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
571
571
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
572
572
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
573
573
|
|
|
574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
574
|
+
// 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/cli/messenger/chat-answers.js
|
|
575
575
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
576
576
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
577
577
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -833,7 +833,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
833
833
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
834
834
|
}), "sessionAnswer");
|
|
835
835
|
|
|
836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
836
|
+
// 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/background/relay.js
|
|
837
837
|
import { createHash } from "node:crypto";
|
|
838
838
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
839
839
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1054,7 +1054,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1054
1054
|
}, () => finish({ error: stopped() }));
|
|
1055
1055
|
}), "relayCommand");
|
|
1056
1056
|
|
|
1057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1057
|
+
// 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/cli/messenger/serve-relay.js
|
|
1058
1058
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1059
1059
|
close: /* @__PURE__ */ __name(async () => {
|
|
1060
1060
|
}, "close"),
|
|
@@ -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-6SUGANRJ.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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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";
|
|
@@ -3,24 +3,24 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
envName,
|
|
5
5
|
readOnlyLockOf
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ECEYAQGN.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureSqlite
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-36CWGEVX.js";
|
|
10
10
|
import {
|
|
11
11
|
catchCrashes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-J4HQVHMN.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WZ5XK74U.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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
21
21
|
import { spawn } from "node:child_process";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// 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/cli/argv-log.js
|
|
24
24
|
import { appendFileSync } from "node:fs";
|
|
25
25
|
var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
|
|
26
26
|
const words = [];
|
|
@@ -44,7 +44,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
|
|
|
44
44
|
`);
|
|
45
45
|
}, "logVersion");
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// 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/cli/entry.js
|
|
48
48
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
49
49
|
argv: process.argv,
|
|
50
50
|
env: process.env,
|
|
@@ -98,8 +98,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
98
98
|
if (command.optsWithGlobals().dryRun === true)
|
|
99
99
|
return;
|
|
100
100
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
101
|
-
import("./first-run-
|
|
102
|
-
import("./command-contract-
|
|
101
|
+
import("./first-run-ZIFPVZAI.js"),
|
|
102
|
+
import("./command-contract-T3EO5AYD.js")
|
|
103
103
|
]);
|
|
104
104
|
await setupAtStart({
|
|
105
105
|
command: entry.app.command,
|
|
@@ -114,7 +114,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
114
114
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
115
115
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
116
116
|
return false;
|
|
117
|
-
const { readSecret } = await import("./prompt-
|
|
117
|
+
const { readSecret } = await import("./prompt-OVYCGZB7.js");
|
|
118
118
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
119
119
|
input: io.stdin,
|
|
120
120
|
output: io.stderr,
|
|
@@ -123,7 +123,10 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
123
123
|
});
|
|
124
124
|
return /^(y|yes)$/i.test(answer.trim());
|
|
125
125
|
}, "ask"),
|
|
126
|
-
openBrowser: /* @__PURE__ */ __name(
|
|
126
|
+
openBrowser: /* @__PURE__ */ __name(async (url, browser, command) => {
|
|
127
|
+
if (!headless(command))
|
|
128
|
+
await openBrowser(url, browser, io);
|
|
129
|
+
}, "openBrowser"),
|
|
127
130
|
outputClosed: /* @__PURE__ */ __name(() => closed, "outputClosed")
|
|
128
131
|
};
|
|
129
132
|
let code;
|