@wirecat/drive-cli 0.69.0 → 0.70.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/contracts/wirecat.json +14 -13
- package/dist/age.d.ts +0 -36
- package/dist/age.d.ts.map +1 -1
- package/dist/age.js +0 -22
- package/dist/age.js.map +1 -1
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-B4A737YW.js → all-profiles-FW3GK3QO.js} +13 -13
- package/dist/bundle/{anthropic-RZGPDESM.js → anthropic-QVKJT3II.js} +8 -8
- package/dist/bundle/{app-server-OWEW7DY5.js → app-server-QU73RD5R.js} +66 -58
- package/dist/bundle/{bun-V5QLYBZU.js → bun-5XCD5CBB.js} +2 -2
- package/dist/bundle/{bun-sqlite-KHLHXXGH.js → bun-sqlite-TIGSVNSV.js} +9 -9
- package/dist/bundle/{chunk-GK6KXBL6.js → chunk-2SBC4DVV.js} +4 -4
- package/dist/bundle/{chunk-E7URRFBB.js → chunk-3AHBZP33.js} +10 -15
- package/dist/bundle/{chunk-V4FMN5A6.js → chunk-3CHW7JGR.js} +17 -17
- package/dist/bundle/chunk-3TCMANIM.js +387 -0
- package/dist/bundle/{chunk-6EL5AVXX.js → chunk-3UWRAIWA.js} +4 -4
- package/dist/bundle/{chunk-2DS2TDGW.js → chunk-3UZ4OH22.js} +18 -18
- package/dist/bundle/{chunk-WQOGHND4.js → chunk-4WK26MPY.js} +1 -1
- package/dist/bundle/{chunk-AD7VI3XU.js → chunk-54BQWRJL.js} +7 -7
- package/dist/bundle/{chunk-EA2OB75T.js → chunk-54NDYVZA.js} +1 -1
- package/dist/bundle/{chunk-4YECZ6CN.js → chunk-5JTB4URG.js} +12 -12
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-66PL7P4C.js} +1 -1
- package/dist/bundle/{chunk-BVVXYZSU.js → chunk-6BMTW5A6.js} +9 -9
- package/dist/bundle/{chunk-6D44YQ5X.js → chunk-6DPOWBKA.js} +6 -6
- package/dist/bundle/{chunk-AMQGKMLZ.js → chunk-7C5KENNU.js} +3 -3
- package/dist/bundle/chunk-7DJNURKV.js +823 -0
- package/dist/bundle/{chunk-5TK2YQCO.js → chunk-7IBENBCK.js} +2 -2
- package/dist/bundle/chunk-7QSRODXM.js +259 -0
- package/dist/bundle/{chunk-HCZYJMBP.js → chunk-ABZ2NYDT.js} +1 -1
- package/dist/bundle/{chunk-RLGQMMYE.js → chunk-AV5UKJZM.js} +35 -13
- package/dist/bundle/{chunk-533XOW74.js → chunk-BBFXQPKD.js} +3 -3
- package/dist/bundle/{chunk-ZUG67442.js → chunk-BBRMDMIR.js} +3 -3
- package/dist/bundle/{chunk-LRCSDAYK.js → chunk-BD2K2ONK.js} +4 -4
- package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-BFKFKDPC.js} +1 -1
- package/dist/bundle/{chunk-OOIAJRKQ.js → chunk-BXPC5TFG.js} +2 -2
- package/dist/bundle/chunk-DHX27E5M.js +31 -0
- package/dist/bundle/{chunk-L342KHIZ.js → chunk-DR57KDAY.js} +6 -6
- package/dist/bundle/{chunk-XUHQ7DVT.js → chunk-DVI72ZQG.js} +1 -1
- package/dist/bundle/{chunk-N4ACIIQB.js → chunk-DVVUJ254.js} +2 -2
- package/dist/bundle/{chunk-MHXZ62CU.js → chunk-EDO5LZVF.js} +1 -1
- package/dist/bundle/{chunk-LUZRVBQR.js → chunk-EG62WVR2.js} +6 -6
- package/dist/bundle/{chunk-WNMPIRRF.js → chunk-F5KJWRF5.js} +3 -3
- package/dist/bundle/{chunk-U3RXH6RY.js → chunk-FADAOLGB.js} +4 -4
- package/dist/bundle/{chunk-4ZFO2CVH.js → chunk-FCSHWUMW.js} +5 -5
- package/dist/bundle/{chunk-GHFBT2ZM.js → chunk-FN3RXBO7.js} +6 -6
- package/dist/bundle/{chunk-GTDCP5OG.js → chunk-FONIFRYI.js} +4 -4
- package/dist/bundle/{chunk-IQ2QU2X6.js → chunk-FVTKFIQH.js} +981 -589
- package/dist/bundle/{chunk-F5UUJU6R.js → chunk-FYPW7NMH.js} +4 -4
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-GA3URWIF.js} +1 -1
- package/dist/bundle/{chunk-HEBZCKMU.js → chunk-GAHIHE4K.js} +1778 -2232
- package/dist/bundle/{chunk-4J5GJJ2I.js → chunk-GJZSVSV3.js} +2 -2
- package/dist/bundle/{chunk-VUPWDCYV.js → chunk-GK3BJMGK.js} +1 -1
- package/dist/bundle/{chunk-6XNTELM5.js → chunk-GPDPEHYX.js} +1 -1
- package/dist/bundle/{chunk-CU6RATZH.js → chunk-GV5DGHSA.js} +4 -4
- package/dist/bundle/{chunk-JRFKCYMW.js → chunk-HHAZ6DCY.js} +23 -6
- package/dist/bundle/{chunk-OUM4ZO53.js → chunk-HK225DAG.js} +1 -1
- package/dist/bundle/{chunk-5SJZDEIO.js → chunk-HRATXUFH.js} +20 -20
- package/dist/bundle/{chunk-TZ75K6R7.js → chunk-HWUPU6WX.js} +8 -8
- package/dist/bundle/{chunk-3RLRJHAI.js → chunk-HYXXMSVD.js} +7688 -8301
- package/dist/bundle/{chunk-EL2E3ABX.js → chunk-I7YSHUPW.js} +13 -13
- package/dist/bundle/{chunk-EWUQIUTB.js → chunk-IFTX7AQU.js} +5 -5
- package/dist/bundle/{chunk-BBJVV4E2.js → chunk-IGNIUDI3.js} +61 -38
- package/dist/bundle/{chunk-7JKECODO.js → chunk-ILAQIBEO.js} +1 -11
- package/dist/bundle/{chunk-SY2HLH5R.js → chunk-KSJAFMU5.js} +57 -23
- package/dist/bundle/{chunk-PB6NWKH3.js → chunk-LINBDWJK.js} +2 -2
- package/dist/bundle/{chunk-CZ4UEXCE.js → chunk-LMJBQFW6.js} +6 -6
- package/dist/bundle/{chunk-IJCUAKR5.js → chunk-ML3R2UHV.js} +4 -4
- package/dist/bundle/{chunk-2Q4CB4EI.js → chunk-MXNQZAJQ.js} +2 -2
- package/dist/bundle/{chunk-WOUIHZRI.js → chunk-NP7LJATI.js} +15 -67
- package/dist/bundle/chunk-OY7TNUEC.js +16 -0
- package/dist/bundle/{chunk-2VFAXC6O.js → chunk-P77FL6RY.js} +18 -18
- package/dist/bundle/{chunk-I55XYREN.js → chunk-P7PLKNPX.js} +993 -2512
- package/dist/bundle/{chunk-3URYKAJP.js → chunk-PAPY6Q6H.js} +1 -1
- package/dist/bundle/{chunk-5B5NOAIA.js → chunk-PN4JYURZ.js} +45 -45
- package/dist/bundle/{chunk-ZBYKCVSV.js → chunk-PR7XD2DI.js} +2 -2
- package/dist/bundle/{chunk-UPCEHSIZ.js → chunk-Q5C6YKAY.js} +21 -16
- package/dist/bundle/{chunk-SEJBS7SI.js → chunk-QBAOIMVB.js} +1 -1
- package/dist/bundle/{chunk-KUQDBWPU.js → chunk-RCTOWLCD.js} +31 -32
- package/dist/bundle/{chunk-22SH77TG.js → chunk-REM5WHHQ.js} +64 -64
- package/dist/bundle/{chunk-Y2QVNVHK.js → chunk-RHSBXOQM.js} +1 -1
- package/dist/bundle/{chunk-3YKAFLXY.js → chunk-RLNZ7NX5.js} +2 -2
- package/dist/bundle/chunk-RQNRYF6D.js +170 -0
- package/dist/bundle/{chunk-PV3AWPHR.js → chunk-SONPLYV7.js} +5 -5
- package/dist/bundle/{chunk-RWQ7T4Y5.js → chunk-T5D4OGDC.js} +2 -2
- package/dist/bundle/{chunk-25FT44S3.js → chunk-TGS5VPJD.js} +282 -525
- package/dist/bundle/chunk-TNKQDS5A.js +335 -0
- package/dist/bundle/{chunk-NVDR72GP.js → chunk-VVN6GHAZ.js} +60 -81
- package/dist/bundle/{chunk-CDSB7WVG.js → chunk-WJK6KTCS.js} +8 -8
- package/dist/bundle/{chunk-T6X6EZ5N.js → chunk-WWE5GO6G.js} +3 -3
- package/dist/bundle/{chunk-SYUXKV2E.js → chunk-XOL346TJ.js} +2 -2
- package/dist/bundle/{chunk-T4FMXDDV.js → chunk-XZBA6FVH.js} +3 -3
- package/dist/bundle/chunk-YCL3SK4T.js +1978 -0
- package/dist/bundle/{chunk-XVH3WZSZ.js → chunk-YRUR3E3E.js} +53 -53
- package/dist/bundle/{chunk-QJGFQRTL.js → chunk-YZPE72GE.js} +12 -12
- package/dist/bundle/{chunk-O6PD7RZY.js → chunk-ZCXWV4XO.js} +4 -4
- package/dist/bundle/{chunk-376ZGVUZ.js → chunk-ZHZYGY5R.js} +4 -4
- package/dist/bundle/{cli-BS4L3HAP.js → cli-K4D4DIGQ.js} +88 -69
- package/dist/bundle/command-contract-V3F452QI.js +43 -0
- package/dist/bundle/{command-server-entry-CJ2CV7ZV.js → command-server-entry-WREK3QBB.js} +33 -30
- package/dist/bundle/decode-SEETPKBH.js +299 -0
- package/dist/bundle/{dispatch-WBEOHZDV.js → dispatch-SQCEURVK.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-QIXLXS3G.js → echarts-WZ5RKFCX.js} +2 -2
- package/dist/bundle/{embed-YNZW5X6M.js → embed-B2UCRZZR.js} +9 -9
- package/dist/bundle/{embedder-LRC2PKTS.js → embedder-4R6Z7G7L.js} +12 -12
- package/dist/bundle/entry-ORZYRJ5N.js +25 -0
- package/dist/bundle/{failure-X6PSLVSO.js → failure-CYNXH3RQ.js} +4 -4
- package/dist/bundle/first-run-KAKA6KBY.js +31 -0
- package/dist/bundle/first-screen-R645UHRH.js +41 -0
- package/dist/bundle/google-BSO3YB7N.js +45 -0
- package/dist/bundle/{google-api-7JDZDCWE.js → google-api-SAND2F7L.js} +70 -62
- package/dist/bundle/grants-PLNFYARD.js +118 -0
- package/dist/bundle/{identity-E43WKN5F.js → identity-JVVGS4U6.js} +6 -6
- package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-JSMTSB22.js} +1 -1
- package/dist/bundle/{login-RBDJPQAG.js → login-6WG3YBDU.js} +78 -70
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-VFIOZDVY.js} +2 -2
- package/dist/bundle/meeting-combined-SUKMFK3F.js +27 -0
- package/dist/bundle/meeting-model-S4YGKIFI.js +29 -0
- package/dist/bundle/meeting-semantic-5U7JQCFF.js +25 -0
- package/dist/bundle/{node-IEVT2FSJ.js → node-VJMVHOWD.js} +2 -2
- package/dist/bundle/{node-sqlite-IENH4TRX.js → node-sqlite-DCNT3HVE.js} +10 -10
- package/dist/bundle/oauth-KCMNQ3ZP.js +22 -0
- package/dist/bundle/{open-TZ5H7NYM.js → open-NFOEHVW7.js} +8 -8
- package/dist/bundle/{openai-XF2KB7W2.js → openai-D47WY7EC.js} +32 -30
- package/dist/bundle/{process-6Q23D3TO.js → process-Q2FRU5VA.js} +1 -1
- package/dist/bundle/{program-D5XWOHV5.js → program-T2AJJQEM.js} +1332 -1331
- package/dist/bundle/{prompt-KUC5D4GX.js → prompt-YJSDABXN.js} +8 -8
- package/dist/bundle/{reasons-KSYP5VDJ.js → reasons-WEHPCSJX.js} +5 -5
- package/dist/bundle/{recognize-DPFW7HO3.js → recognize-6OBEIEB3.js} +7 -7
- package/dist/bundle/{remote-MODTSUNH.js → remote-3SL2QJ7T.js} +13 -13
- package/dist/bundle/{rerank-JK7SERLE.js → rerank-L6F5SLIB.js} +10 -10
- package/dist/bundle/{serve-BV2WHZLW.js → serve-GYSWIWH4.js} +12 -12
- package/dist/bundle/server-BI46BSRE.js +80 -0
- package/dist/bundle/{server-N3WPEU7Z.js → server-GWWP3RIT.js} +54 -46
- package/dist/bundle/{services-SV6CFUCS.js → services-BDQBRXT5.js} +79 -54
- package/dist/bundle/{sqlite-runtime-RZ5PLZVQ.js → sqlite-runtime-ZSZGAUYB.js} +9 -9
- package/dist/bundle/{start-C6EXYXAL.js → start-BJ275RUK.js} +7 -7
- package/dist/bundle/{state-RAZIREVG.js → state-HLNGFI2T.js} +9 -9
- package/dist/bundle/{store-2DLGLYS6.js → store-I43KZNJW.js} +31 -26
- package/dist/bundle/{store-DQKJKX2G.js → store-OSRTGYGI.js} +23 -19
- package/dist/bundle/store-maintenance-command-FO7LEVSL.js +72 -0
- package/dist/bundle/tokens-DB7O7QNB.js +118 -0
- package/dist/catalog.d.ts +0 -28
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +0 -82
- package/dist/catalog.js.map +1 -1
- package/dist/commands/catalog.d.ts +3 -8
- package/dist/commands/catalog.d.ts.map +1 -1
- package/dist/commands/catalog.js +36 -109
- package/dist/commands/catalog.js.map +1 -1
- package/dist/commands/context.d.ts +3 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +20 -0
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +30 -72
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/folders.d.ts +1 -1
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +45 -48
- package/dist/commands/folders.js.map +1 -1
- package/dist/commands/knowledge.d.ts +4 -21
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +3 -241
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/commands/mirrors.d.ts +2 -2
- package/dist/commands/mirrors.d.ts.map +1 -1
- package/dist/commands/mirrors.js +46 -202
- package/dist/commands/mirrors.js.map +1 -1
- package/dist/commands/search.d.ts +1 -3
- package/dist/commands/search.d.ts.map +1 -1
- package/dist/commands/search.js +20 -42
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +36 -53
- package/dist/commands/sync.js.map +1 -1
- package/dist/contract-overrides.d.ts +0 -2
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +0 -317
- package/dist/contract-overrides.js.map +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.d.ts.map +1 -1
- package/dist/knowledge.js +4 -3
- package/dist/knowledge.js.map +1 -1
- package/dist/list-queries.d.ts +0 -31
- package/dist/list-queries.d.ts.map +1 -1
- package/dist/list-queries.js +0 -36
- package/dist/list-queries.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -3
- package/dist/program.js.map +1 -1
- package/dist/provider-json.d.ts.map +1 -1
- package/dist/provider-json.js +5 -5
- package/dist/provider-json.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -10
- package/dist/reasons.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/command-contract-HYURWSD6.js +0 -40
- package/dist/bundle/decode-E2NM5SSM.js +0 -165
- package/dist/bundle/entry-2IMSWRJU.js +0 -25
- package/dist/bundle/first-run-7CPHQDM5.js +0 -30
- package/dist/bundle/first-screen-OKZ7GMFR.js +0 -38
- package/dist/bundle/google-WDKDBDD4.js +0 -45
- package/dist/bundle/grants-AU25GWKF.js +0 -110
- package/dist/bundle/oauth-3JGSN47Z.js +0 -22
- package/dist/bundle/server-6YDI4Y36.js +0 -72
- package/dist/bundle/store-maintenance-command-UJ5F5L4H.js +0 -64
- package/dist/bundle/tokens-LY3WML55.js +0 -110
- package/dist/knowledge-query.d.ts +0 -77
- package/dist/knowledge-query.d.ts.map +0 -1
- package/dist/knowledge-query.js +0 -104
- package/dist/knowledge-query.js.map +0 -1
- package/dist/bundle/{chunk-XWBPP2HX.js → chunk-ZI3YTXSF.js} +0 -0
- package/dist/bundle/{mdast-util-from-markdown-CE73EWJ2.js → mdast-util-from-markdown-FXEPSNER.js} +3 -3
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
searchMeetingsCombined
|
|
5
|
+
} from "./chunk-3TCMANIM.js";
|
|
6
|
+
import "./chunk-RQNRYF6D.js";
|
|
7
|
+
import "./chunk-TNKQDS5A.js";
|
|
8
|
+
import "./chunk-FONIFRYI.js";
|
|
9
|
+
import "./chunk-7DJNURKV.js";
|
|
10
|
+
import "./chunk-OY7TNUEC.js";
|
|
11
|
+
import "./chunk-DHX27E5M.js";
|
|
12
|
+
import "./chunk-P7PLKNPX.js";
|
|
13
|
+
import "./chunk-Q5C6YKAY.js";
|
|
14
|
+
import "./chunk-WJK6KTCS.js";
|
|
15
|
+
import "./chunk-ZI3YTXSF.js";
|
|
16
|
+
import "./chunk-T5D4OGDC.js";
|
|
17
|
+
import "./chunk-HRATXUFH.js";
|
|
18
|
+
import "./chunk-SONPLYV7.js";
|
|
19
|
+
import "./chunk-Y5E2WNWB.js";
|
|
20
|
+
import "./chunk-ABZ2NYDT.js";
|
|
21
|
+
import "./chunk-7IBENBCK.js";
|
|
22
|
+
import "./chunk-HHAZ6DCY.js";
|
|
23
|
+
import "./chunk-54NDYVZA.js";
|
|
24
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
25
|
+
export {
|
|
26
|
+
searchMeetingsCombined
|
|
27
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
createMeetingRemoteModel,
|
|
5
|
+
meetingEmbeddingModel,
|
|
6
|
+
openMeetingEmbedder
|
|
7
|
+
} from "./chunk-7QSRODXM.js";
|
|
8
|
+
import "./chunk-FCSHWUMW.js";
|
|
9
|
+
import "./chunk-FN3RXBO7.js";
|
|
10
|
+
import "./chunk-IFTX7AQU.js";
|
|
11
|
+
import "./chunk-5DPV7X27.js";
|
|
12
|
+
import "./chunk-TNKQDS5A.js";
|
|
13
|
+
import "./chunk-DR57KDAY.js";
|
|
14
|
+
import "./chunk-FONIFRYI.js";
|
|
15
|
+
import "./chunk-WJK6KTCS.js";
|
|
16
|
+
import "./chunk-T5D4OGDC.js";
|
|
17
|
+
import "./chunk-HRATXUFH.js";
|
|
18
|
+
import "./chunk-SONPLYV7.js";
|
|
19
|
+
import "./chunk-Y5E2WNWB.js";
|
|
20
|
+
import "./chunk-ABZ2NYDT.js";
|
|
21
|
+
import "./chunk-7IBENBCK.js";
|
|
22
|
+
import "./chunk-HHAZ6DCY.js";
|
|
23
|
+
import "./chunk-54NDYVZA.js";
|
|
24
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
25
|
+
export {
|
|
26
|
+
createMeetingRemoteModel,
|
|
27
|
+
meetingEmbeddingModel,
|
|
28
|
+
openMeetingEmbedder
|
|
29
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
applyMeetingEmbedding,
|
|
5
|
+
proposeMeetingEmbedding,
|
|
6
|
+
readMeetingSemantic,
|
|
7
|
+
validateVector
|
|
8
|
+
} from "./chunk-RQNRYF6D.js";
|
|
9
|
+
import "./chunk-P7PLKNPX.js";
|
|
10
|
+
import "./chunk-Q5C6YKAY.js";
|
|
11
|
+
import "./chunk-ZI3YTXSF.js";
|
|
12
|
+
import "./chunk-HRATXUFH.js";
|
|
13
|
+
import "./chunk-SONPLYV7.js";
|
|
14
|
+
import "./chunk-Y5E2WNWB.js";
|
|
15
|
+
import "./chunk-ABZ2NYDT.js";
|
|
16
|
+
import "./chunk-7IBENBCK.js";
|
|
17
|
+
import "./chunk-HHAZ6DCY.js";
|
|
18
|
+
import "./chunk-54NDYVZA.js";
|
|
19
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
20
|
+
export {
|
|
21
|
+
applyMeetingEmbedding,
|
|
22
|
+
proposeMeetingEmbedding,
|
|
23
|
+
readMeetingSemantic,
|
|
24
|
+
validateVector
|
|
25
|
+
};
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PAPY6Q6H.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.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/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,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
TIME_LIMIT_FUNCTION,
|
|
5
5
|
beforeTimeLimit
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HK225DAG.js";
|
|
7
7
|
import {
|
|
8
8
|
loadVectorExtension,
|
|
9
9
|
vectorExtension
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GJZSVSV3.js";
|
|
11
11
|
import {
|
|
12
12
|
refuseOwnerStoreInTests
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-T5D4OGDC.js";
|
|
14
|
+
import "./chunk-HRATXUFH.js";
|
|
15
|
+
import "./chunk-SONPLYV7.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ABZ2NYDT.js";
|
|
18
|
+
import "./chunk-7IBENBCK.js";
|
|
19
|
+
import "./chunk-HHAZ6DCY.js";
|
|
20
|
+
import "./chunk-54NDYVZA.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
26
26
|
import { DatabaseSync } from "node:sqlite";
|
|
27
27
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
28
28
|
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-DVVUJ254.js";
|
|
7
|
+
import "./chunk-5D4AEUVA.js";
|
|
8
|
+
import "./chunk-ZHZYGY5R.js";
|
|
9
|
+
import "./chunk-WWE5GO6G.js";
|
|
10
|
+
import "./chunk-4WK26MPY.js";
|
|
11
|
+
import "./chunk-HRATXUFH.js";
|
|
12
|
+
import "./chunk-SONPLYV7.js";
|
|
13
|
+
import "./chunk-Y5E2WNWB.js";
|
|
14
|
+
import "./chunk-ABZ2NYDT.js";
|
|
15
|
+
import "./chunk-7IBENBCK.js";
|
|
16
|
+
import "./chunk-HHAZ6DCY.js";
|
|
17
|
+
import "./chunk-54NDYVZA.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-6DPOWBKA.js";
|
|
10
|
+
import "./chunk-HK225DAG.js";
|
|
11
|
+
import "./chunk-HRATXUFH.js";
|
|
12
|
+
import "./chunk-SONPLYV7.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-ABZ2NYDT.js";
|
|
15
|
+
import "./chunk-7IBENBCK.js";
|
|
16
|
+
import "./chunk-HHAZ6DCY.js";
|
|
17
|
+
import "./chunk-54NDYVZA.js";
|
|
18
18
|
import "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
export {
|
|
20
20
|
CAPABILITY_STATEMENTS,
|
|
@@ -3,49 +3,50 @@ 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-BD2K2ONK.js";
|
|
7
|
+
import "./chunk-I7YSHUPW.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FCSHWUMW.js";
|
|
11
11
|
import {
|
|
12
12
|
refuseModelAddress
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-FN3RXBO7.js";
|
|
14
|
+
import "./chunk-IFTX7AQU.js";
|
|
15
15
|
import "./chunk-5DPV7X27.js";
|
|
16
16
|
import {
|
|
17
17
|
endpointFetch,
|
|
18
|
+
onThisComputer,
|
|
18
19
|
providerWaitMs
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DR57KDAY.js";
|
|
20
21
|
import {
|
|
21
22
|
OPENAI_TRANSCRIBE_MODEL,
|
|
22
23
|
VAD,
|
|
23
24
|
filesPresent,
|
|
24
25
|
modelsDirectory,
|
|
25
26
|
vadPath
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-FONIFRYI.js";
|
|
28
|
+
import "./chunk-WJK6KTCS.js";
|
|
29
|
+
import "./chunk-T5D4OGDC.js";
|
|
29
30
|
import {
|
|
30
31
|
DEFAULT_RETRY,
|
|
31
32
|
backoffMs
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-HRATXUFH.js";
|
|
34
|
+
import "./chunk-SONPLYV7.js";
|
|
34
35
|
import "./chunk-Y5E2WNWB.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-ABZ2NYDT.js";
|
|
37
|
+
import "./chunk-7IBENBCK.js";
|
|
38
|
+
import "./chunk-HHAZ6DCY.js";
|
|
38
39
|
import {
|
|
39
40
|
CliError
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-54NDYVZA.js";
|
|
41
42
|
import {
|
|
42
43
|
__name
|
|
43
44
|
} from "./chunk-ZVVMGPBJ.js";
|
|
44
45
|
|
|
45
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
46
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
46
47
|
import { setTimeout as wait } from "node:timers/promises";
|
|
47
48
|
|
|
48
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
49
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
49
50
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
50
51
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
51
52
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -66,7 +67,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
66
67
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
67
68
|
}, "encodeWav");
|
|
68
69
|
|
|
69
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
70
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
70
71
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
71
72
|
var JOINED_SECONDS = 0.2;
|
|
72
73
|
var PAD_SECONDS = 0.2;
|
|
@@ -121,27 +122,28 @@ var send = /* @__PURE__ */ __name(async (wav, options) => {
|
|
|
121
122
|
const retry = options.retry ?? RETRY;
|
|
122
123
|
const sleep = options.sleep ?? sleeping;
|
|
123
124
|
const random = options.random ?? Math.random;
|
|
125
|
+
const who = options.label ?? "OpenAI";
|
|
124
126
|
for (let attempt = 1; ; attempt++) {
|
|
125
127
|
interrupted(options.signal);
|
|
126
128
|
let response;
|
|
127
129
|
try {
|
|
128
130
|
response = await post(url, {
|
|
129
131
|
method: "POST",
|
|
130
|
-
headers: { authorization: `Bearer ${options.apiKey}` },
|
|
132
|
+
headers: options.apiKey ? { authorization: `Bearer ${options.apiKey}` } : {},
|
|
131
133
|
body: formOf(wav, options),
|
|
132
134
|
...options.signal ? { signal: options.signal } : {}
|
|
133
135
|
});
|
|
134
136
|
} catch {
|
|
135
137
|
interrupted(options.signal);
|
|
136
138
|
if (attempt > retry.retries)
|
|
137
|
-
throw new CliError("network_error",
|
|
139
|
+
throw new CliError("network_error", `${who} could not be reached`, { reason: "network.failed" });
|
|
138
140
|
await sleep(backoffMs(attempt, retry, random), options.signal);
|
|
139
141
|
continue;
|
|
140
142
|
}
|
|
141
143
|
if (response.ok) {
|
|
142
144
|
const body = await response.json().catch(() => interrupted(options.signal));
|
|
143
145
|
if (typeof body?.text !== "string")
|
|
144
|
-
throw new CliError("invalid_response",
|
|
146
|
+
throw new CliError("invalid_response", `${who} answered without a transcript`, {
|
|
145
147
|
reason: "provider.invalid-response"
|
|
146
148
|
});
|
|
147
149
|
return body.text.trim();
|
|
@@ -150,15 +152,15 @@ var send = /* @__PURE__ */ __name(async (wav, options) => {
|
|
|
150
152
|
const status = response.status;
|
|
151
153
|
const said = `HTTP ${status}${code ? `, ${code}` : type ? `, ${type}` : ""}`;
|
|
152
154
|
if (status === 401)
|
|
153
|
-
throw new CliError("authentication_error",
|
|
155
|
+
throw new CliError("authentication_error", `${who} refused the key (${said}) \u2014 set it again with \`${options.keyHint ?? "models keys set openai"}\``, { reason: "auth.failed" });
|
|
154
156
|
if (status === 403)
|
|
155
|
-
throw new CliError("permission_error",
|
|
157
|
+
throw new CliError("permission_error", `${who} refused the request (${said}) \u2014 OpenAI answers this when the country or region is not supported, or the key's project may not use the model`, { reason: "access.denied" });
|
|
156
158
|
if (status === 413)
|
|
157
|
-
throw new CliError("validation_error",
|
|
159
|
+
throw new CliError("validation_error", `${who} refused the audio as too large (${said})`, {
|
|
158
160
|
reason: "transcription.too-large"
|
|
159
161
|
});
|
|
160
162
|
if (EXHAUSTED.has(code ?? "") || EXHAUSTED.has(type ?? ""))
|
|
161
|
-
throw new CliError("permission_error",
|
|
163
|
+
throw new CliError("permission_error", `${who} refused: the account's credit, spend limit or usage limit is used up (${said}) \u2014 see the billing page`, { reason: "transcription.quota-exhausted" });
|
|
162
164
|
const again = status === 408 || status === 429 || status >= 500;
|
|
163
165
|
const asked = providerWaitMs(response.headers, () => /* @__PURE__ */ new Date());
|
|
164
166
|
if (again && attempt <= retry.retries && (asked === void 0 || asked <= retry.maxRetryAfterMs)) {
|
|
@@ -166,13 +168,13 @@ var send = /* @__PURE__ */ __name(async (wav, options) => {
|
|
|
166
168
|
continue;
|
|
167
169
|
}
|
|
168
170
|
if (status === 429)
|
|
169
|
-
throw new CliError("rate_limited",
|
|
171
|
+
throw new CliError("rate_limited", `${who} answered ${said}`, {
|
|
170
172
|
reason: "provider.rate-limited",
|
|
171
173
|
...asked === void 0 ? {} : { retry_after_ms: asked }
|
|
172
174
|
});
|
|
173
175
|
if (status >= 500)
|
|
174
|
-
throw new CliError([502, 503, 504].includes(status) ? "provider_unavailable" : "provider_error",
|
|
175
|
-
throw new CliError("provider_error",
|
|
176
|
+
throw new CliError([502, 503, 504].includes(status) ? "provider_unavailable" : "provider_error", `${who} answered ${said}`, { reason: [502, 503, 504].includes(status) ? "provider.unavailable" : "provider.refused" });
|
|
177
|
+
throw new CliError("provider_error", `${who} answered ${said}`, { reason: "provider.refused" });
|
|
176
178
|
}
|
|
177
179
|
}, "send");
|
|
178
180
|
var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
@@ -189,7 +191,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
189
191
|
return pieces;
|
|
190
192
|
}, "piecesOf");
|
|
191
193
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
192
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
194
|
+
const { openSpeechCutter } = await import("./recognize-6OBEIEB3.js");
|
|
193
195
|
return openSpeechCutter(vadModel);
|
|
194
196
|
}, "openCutter");
|
|
195
197
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -199,7 +201,7 @@ var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
|
199
201
|
}, "checkKeywords");
|
|
200
202
|
var transcribeOpenAI = /* @__PURE__ */ __name(async (audio, options) => {
|
|
201
203
|
refuseModelAddress(options.env ?? process.env, options.baseUrl ?? OPENAI_URL, "audio");
|
|
202
|
-
if (!options.apiKey)
|
|
204
|
+
if (!options.apiKey && !onThisComputer(options.baseUrl ?? OPENAI_URL))
|
|
203
205
|
throw new CliError("authentication_error", "no OpenAI key \u2014 `models keys set openai`, or OPENAI_API_KEY", {
|
|
204
206
|
reason: "transcription.no-key"
|
|
205
207
|
});
|
|
@@ -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.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/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";
|