@wirecat/amo-cli 0.5.0 → 0.6.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/CHANGELOG.md +16 -0
- package/dist/amo/oauth.d.ts.map +1 -1
- package/dist/amo/oauth.js +3 -4
- package/dist/amo/oauth.js.map +1 -1
- package/dist/amo/transport.d.ts.map +1 -1
- package/dist/amo/transport.js +3 -6
- package/dist/amo/transport.js.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-VVACEKSX.js +42 -0
- package/dist/bundle/{all-profiles-PIWUQWBA.js → all-profiles-QNUKL4NA.js} +7 -7
- package/dist/bundle/amo.js +18 -18
- package/dist/bundle/{anthropic-47CMXBPQ.js → anthropic-PQN6MNP7.js} +2 -2
- package/dist/bundle/{app-server-QRBQODF2.js → app-server-Q2QEA7GP.js} +64 -63
- package/dist/bundle/{areas-QVHVU57Z.js → areas-27FRPBF3.js} +28 -20
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-7I4X7CZW.js → bun-sqlite-P5IDBDVR.js} +3 -3
- package/dist/bundle/{chunk-RN6RT5CB.js → chunk-22KAQPX7.js} +3 -3
- package/dist/bundle/{chunk-43OW5NTG.js → chunk-2JGNMZ55.js} +4 -4
- package/dist/bundle/{chunk-TAVI73RW.js → chunk-2VDHC7QO.js} +2 -2
- package/dist/bundle/{chunk-3DEQUYEG.js → chunk-34ZOMVUK.js} +7 -7
- package/dist/bundle/{chunk-EHK73OSW.js → chunk-3J3EDSXF.js} +19 -97
- package/dist/bundle/{chunk-JLXXUEAM.js → chunk-3TYER5IK.js} +13 -5
- package/dist/bundle/{chunk-MDEPJZYJ.js → chunk-5NGLCDYQ.js} +2 -2
- package/dist/bundle/{chunk-63N46DJU.js → chunk-5SQTHOBI.js} +203 -168
- package/dist/bundle/{chunk-5UTB3ADZ.js → chunk-6GE36KUE.js} +10 -10
- package/dist/bundle/{chunk-DVZ75WZJ.js → chunk-6GZKY3HV.js} +10 -10
- package/dist/bundle/{chunk-CGW5R4UD.js → chunk-6OV2TRGF.js} +6 -6
- package/dist/bundle/{chunk-NSKMNIY6.js → chunk-7CPIZFOE.js} +6 -6
- package/dist/bundle/{chunk-BVVMIAQ6.js → chunk-A5K2NU3K.js} +394 -341
- package/dist/bundle/{chunk-6D4VWSJD.js → chunk-AEC4H5WZ.js} +5 -5
- package/dist/bundle/{chunk-4VN7RI4I.js → chunk-APBEDWOE.js} +4 -4
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-FV4GQNIK.js → chunk-B7L5MSRP.js} +2 -2
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-H4AFNENN.js → chunk-DIZEHPS6.js} +30 -26
- package/dist/bundle/{chunk-43PMSR33.js → chunk-DUPCDJ3W.js} +7 -7
- package/dist/bundle/{chunk-ABX7BBS4.js → chunk-DWT24UVR.js} +1 -1
- package/dist/bundle/chunk-DXWJORSY.js +1703 -0
- package/dist/bundle/{chunk-G2TU5RYY.js → chunk-DY3PLWIH.js} +1 -1
- package/dist/bundle/{chunk-RIMPFMZE.js → chunk-DYWHAJRK.js} +23 -15
- package/dist/bundle/{chunk-R53XXHEI.js → chunk-EXRM3ML4.js} +2 -2
- package/dist/bundle/{chunk-JG6LCSEX.js → chunk-FFER7KJI.js} +12 -12
- package/dist/bundle/{chunk-6JTHXWPE.js → chunk-FIP2DG7W.js} +2 -2
- package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
- package/dist/bundle/{chunk-3GX6KM2E.js → chunk-FWRLGIF6.js} +63 -61
- package/dist/bundle/{chunk-3PYE55JY.js → chunk-FYOPPKAN.js} +1 -1
- package/dist/bundle/{chunk-K7YY6SXR.js → chunk-G3N2RHGF.js} +12 -12
- package/dist/bundle/{chunk-NISH4UXM.js → chunk-G46PNDWL.js} +1 -1
- package/dist/bundle/{chunk-LKH3UKLO.js → chunk-G6NY7LFB.js} +3 -3
- package/dist/bundle/{chunk-M6VZXAJC.js → chunk-GOCMJBEE.js} +2 -2
- package/dist/bundle/{chunk-ADTI5RUO.js → chunk-GRGCZSES.js} +5 -5
- package/dist/bundle/{chunk-6WS6GJ4V.js → chunk-GVSKLZRD.js} +1 -1
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-FNV5HLHX.js → chunk-HN2LCLGT.js} +18 -18
- package/dist/bundle/{chunk-2JHVQMVC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
- package/dist/bundle/chunk-IDCZ4LWS.js +150 -0
- package/dist/bundle/{chunk-7IR2G5XY.js → chunk-IN3VL7UU.js} +15 -14
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
- package/dist/bundle/{chunk-633NQY2R.js → chunk-JVBCQHCS.js} +2 -2
- package/dist/bundle/{chunk-DQ6S5TFZ.js → chunk-K5W7YEHB.js} +61 -59
- package/dist/bundle/{chunk-LZPKBN3C.js → chunk-KAFSS35C.js} +1 -1
- package/dist/bundle/{chunk-IA7LLLEI.js → chunk-KLRCTMES.js} +2 -2
- package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/{chunk-V2CNGXWX.js → chunk-LBZSURLL.js} +36 -36
- package/dist/bundle/{chunk-XEQQJBBO.js → chunk-LC7ZD2RW.js} +1 -1
- package/dist/bundle/{chunk-IB55P46L.js → chunk-LH6FJYMO.js} +4 -4
- package/dist/bundle/{chunk-HSPEU6S7.js → chunk-LJKINNWC.js} +6 -6
- package/dist/bundle/{chunk-GLYWZQY4.js → chunk-M36XP74N.js} +2 -2
- package/dist/bundle/chunk-MNPGZCKE.js +361 -0
- package/dist/bundle/{chunk-U5RJJ2EC.js → chunk-MRPMORLH.js} +7 -7
- package/dist/bundle/{chunk-57HFPNMF.js → chunk-NNREILWP.js} +6 -6
- package/dist/bundle/chunk-NSOY4FMN.js +159 -0
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/{chunk-6QGUK3H7.js → chunk-OGJFDKDL.js} +4 -4
- package/dist/bundle/{chunk-ZLUIRFJX.js → chunk-PATZAYFZ.js} +35 -362
- package/dist/bundle/{chunk-PPSAWFJD.js → chunk-PCR6GFNP.js} +39 -161
- package/dist/bundle/{chunk-XUT7DSM5.js → chunk-Q4MH2O5E.js} +2 -2
- package/dist/bundle/{chunk-AKRIUNYP.js → chunk-QQRJEWKB.js} +5 -5
- package/dist/bundle/{chunk-KZ2FIDI3.js → chunk-RNWUCAJJ.js} +2 -2
- package/dist/bundle/{chunk-BIKOE2IW.js → chunk-SDVUGWD7.js} +4 -4
- package/dist/bundle/{chunk-GDK7ETSB.js → chunk-SEFE6PGL.js} +10 -10
- package/dist/bundle/{chunk-WUFX4TKA.js → chunk-SWCJM3YD.js} +2 -2
- package/dist/bundle/{chunk-KEKXERBE.js → chunk-SYRDEMQE.js} +3664 -2704
- package/dist/bundle/{chunk-WXJYMMEL.js → chunk-SYYQZDHJ.js} +5 -5
- package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-YWDFYQOU.js → chunk-TES7MB6I.js} +1 -1
- package/dist/bundle/{chunk-S4ZHQMNM.js → chunk-U6XPWCWM.js} +3 -3
- package/dist/bundle/{chunk-W5JRXIG6.js → chunk-UFKC7TIX.js} +1213 -804
- package/dist/bundle/{chunk-XCCU2E3Z.js → chunk-UNWF3TH5.js} +3 -3
- package/dist/bundle/{chunk-UDSL3MUU.js → chunk-W3BOR6AT.js} +7 -7
- package/dist/bundle/{chunk-JXT6GY4V.js → chunk-X76RS6JO.js} +29 -9
- package/dist/bundle/{chunk-DSJ6EAOA.js → chunk-YF3S26TS.js} +51 -51
- package/dist/bundle/{chunk-TLG6ECZ2.js → chunk-ZCQ4H7CA.js} +1 -1
- package/dist/bundle/{chunk-D4NE7EON.js → chunk-ZOZV32IR.js} +2 -2
- package/dist/bundle/{chunk-7IWIFVXH.js → chunk-ZTKHXDEU.js} +3 -3
- package/dist/bundle/{cli-3NXOSENF.js → cli-EAD3WZLR.js} +81 -66
- package/dist/bundle/command-contract-SMEJ2ICG.js +40 -0
- package/dist/bundle/{command-server-entry-4ZQPNUL4.js → command-server-entry-YTZP6I4T.js} +25 -24
- package/dist/bundle/{decode-K7U7X5EL.js → decode-57BE5OBT.js} +2 -2
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-SWLVG73O.js → embed-NFGFYUO4.js} +3 -3
- package/dist/bundle/{embedder-EJN75BPV.js → embedder-SRBOJMXX.js} +6 -6
- package/dist/bundle/{first-run-WPGUUC4Z.js → first-run-HWRUL2GR.js} +6 -6
- package/dist/bundle/first-screen-ATN4D3FQ.js +41 -0
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/meeting-combined-BGDEHCWY.js +26 -0
- package/dist/bundle/{meeting-model-YXXNETKC.js → meeting-model-WWGVRXPL.js} +8 -8
- package/dist/bundle/{meeting-semantic-U7EUB3ET.js → meeting-semantic-ZQ47BL2Z.js} +2 -2
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-YVOGMDSP.js → node-sqlite-JOTSNH3P.js} +4 -4
- package/dist/bundle/{oauth-2SNRBIJM.js → oauth-XPSAL6VO.js} +4 -4
- package/dist/bundle/{open-ABCPY5IH.js → open-PO52FVA5.js} +2 -2
- package/dist/bundle/{openai-4D6PXJR7.js → openai-WITYLMY5.js} +12 -12
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-CBDQBZZ3.js → program-JODTZNBZ.js} +107 -158
- package/dist/bundle/{prompt-2QUK5QST.js → prompt-XORLAXHY.js} +2 -2
- package/dist/bundle/{recognize-QMQSJRIH.js → recognize-JKMZHDYS.js} +1 -1
- package/dist/bundle/{remote-U7TC2BLZ.js → remote-3IMEJTEH.js} +6 -6
- package/dist/bundle/{rerank-5UPVXGVV.js → rerank-3F2E6NNN.js} +4 -4
- package/dist/bundle/{serve-VX6GUM6J.js → serve-6BWU3NMB.js} +6 -6
- package/dist/bundle/{server-FOPC6DJ3.js → server-GPSB5WFG.js} +56 -55
- package/dist/bundle/server-HMCC64ZU.js +88 -0
- package/dist/bundle/source-E72OS27D.js +47 -0
- package/dist/bundle/{sqlite-runtime-77NKDEXN.js → sqlite-runtime-YHYQDUXE.js} +3 -3
- package/dist/bundle/{state-X2HU6GB2.js → state-R7W4U6T4.js} +3 -3
- package/dist/bundle/{store-3CHPHFP7.js → store-HTVRL7FB.js} +51 -40
- package/dist/bundle/store-IWW6U6QN.js +34 -0
- package/dist/bundle/{store-2U4U6KL4.js → store-TBZ3ZS6H.js} +21 -19
- package/dist/bundle/store-maintenance-command-CJM2VLMW.js +75 -0
- package/dist/bundle/surface-5GBWNYBE.js +74 -0
- package/dist/bundle/writer-TW2Q55VJ.js +49 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +1 -6
- package/dist/commands/session.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/agent-EFMUK732.js +0 -41
- package/dist/bundle/chunk-IG2TJQJ7.js +0 -79
- package/dist/bundle/chunk-KZN2BG3P.js +0 -721
- package/dist/bundle/chunk-RRTMPSQR.js +0 -29
- package/dist/bundle/command-contract-LNSAV5LA.js +0 -39
- package/dist/bundle/first-screen-JMNEUQ46.js +0 -40
- package/dist/bundle/meeting-combined-5TKG2RYD.js +0 -24
- package/dist/bundle/server-OIVNOMVK.js +0 -87
- package/dist/bundle/source-HWS5SJIV.js +0 -46
- package/dist/bundle/store-Z3747L5F.js +0 -34
- package/dist/bundle/store-maintenance-command-UOSZJTVP.js +0 -74
- package/dist/bundle/surface-MUT72QON.js +0 -73
- package/dist/bundle/writer-RBKQ64ZM.js +0 -48
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
createMeetingRemoteModel,
|
|
5
5
|
meetingEmbeddingModel,
|
|
6
6
|
openMeetingEmbedder
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-AEC4H5WZ.js";
|
|
8
|
+
import "./chunk-LH6FJYMO.js";
|
|
9
|
+
import "./chunk-34ZOMVUK.js";
|
|
10
|
+
import "./chunk-DY3PLWIH.js";
|
|
11
|
+
import "./chunk-GRGCZSES.js";
|
|
12
|
+
import "./chunk-UNWF3TH5.js";
|
|
13
|
+
import "./chunk-QQRJEWKB.js";
|
|
14
|
+
import "./chunk-ZCQ4H7CA.js";
|
|
15
15
|
import "./chunk-WIHN3ELW.js";
|
|
16
16
|
import "./chunk-QFOP3KUP.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
proposeMeetingEmbedding,
|
|
6
6
|
readMeetingSemantic,
|
|
7
7
|
validateVector
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-ZOZV32IR.js";
|
|
9
|
+
import "./chunk-YF3S26TS.js";
|
|
10
10
|
import "./chunk-DNCLQPOM.js";
|
|
11
11
|
import "./chunk-WIHN3ELW.js";
|
|
12
12
|
import "./chunk-QFOP3KUP.js";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TCT5D2X2.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/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,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G46PNDWL.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZCQ4H7CA.js";
|
|
10
10
|
import {
|
|
11
11
|
TIME_LIMIT_FUNCTION,
|
|
12
12
|
beforeTimeLimit
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KYRYD4CR.js";
|
|
14
14
|
import "./chunk-WIHN3ELW.js";
|
|
15
15
|
import "./chunk-QFOP3KUP.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
23
23
|
import { DatabaseSync } from "node:sqlite";
|
|
24
24
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
25
25
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2VDHC7QO.js";
|
|
7
7
|
import "./chunk-PL5P7UKW.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-OGJFDKDL.js";
|
|
9
|
+
import "./chunk-M36XP74N.js";
|
|
10
|
+
import "./chunk-T3W4V4A6.js";
|
|
11
11
|
import "./chunk-WIHN3ELW.js";
|
|
12
12
|
import "./chunk-QFOP3KUP.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-SYYQZDHJ.js";
|
|
10
|
+
import "./chunk-KYRYD4CR.js";
|
|
11
11
|
import "./chunk-WIHN3ELW.js";
|
|
12
12
|
import "./chunk-QFOP3KUP.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -3,27 +3,27 @@ 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-G6NY7LFB.js";
|
|
7
|
+
import "./chunk-FFER7KJI.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL,
|
|
10
10
|
refuseModelAddress
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-34ZOMVUK.js";
|
|
12
12
|
import {
|
|
13
13
|
endpointFetch,
|
|
14
14
|
onThisComputer,
|
|
15
15
|
providerWaitMs
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-DY3PLWIH.js";
|
|
17
|
+
import "./chunk-GRGCZSES.js";
|
|
18
18
|
import {
|
|
19
19
|
OPENAI_TRANSCRIBE_MODEL,
|
|
20
20
|
VAD,
|
|
21
21
|
filesPresent,
|
|
22
22
|
modelsDirectory,
|
|
23
23
|
vadPath
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-UNWF3TH5.js";
|
|
25
|
+
import "./chunk-QQRJEWKB.js";
|
|
26
|
+
import "./chunk-ZCQ4H7CA.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_RETRY,
|
|
29
29
|
backoffMs
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
__name
|
|
38
38
|
} from "./chunk-ZVVMGPBJ.js";
|
|
39
39
|
|
|
40
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
40
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
41
41
|
import { setTimeout as wait } from "node:timers/promises";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
44
44
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
45
45
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
46
46
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -61,7 +61,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
61
61
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
62
62
|
}, "encodeWav");
|
|
63
63
|
|
|
64
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
64
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
65
65
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
66
66
|
var JOINED_SECONDS = 0.2;
|
|
67
67
|
var PAD_SECONDS = 0.2;
|
|
@@ -185,7 +185,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
185
185
|
return pieces;
|
|
186
186
|
}, "piecesOf");
|
|
187
187
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
188
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
188
|
+
const { openSpeechCutter } = await import("./recognize-JKMZHDYS.js");
|
|
189
189
|
return openSpeechCutter(vadModel);
|
|
190
190
|
}, "openCutter");
|
|
191
191
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-ZVVMGPBJ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/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";
|