@wirecat/notion-cli 0.6.0 → 0.7.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 +12 -0
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/agent-AILW4JPO.js +42 -0
- package/dist/bundle/{all-profiles-AELHUTFU.js → all-profiles-CKOACXTW.js} +11 -11
- package/dist/bundle/{anthropic-3CCYAGO3.js → anthropic-DWBBVTU3.js} +5 -5
- package/dist/bundle/{app-server-DJ6P4NY4.js → app-server-BHFYNCDE.js} +72 -72
- package/dist/bundle/{bun-2FLR4IV4.js → bun-ICK2XT7J.js} +2 -2
- package/dist/bundle/{bun-sqlite-QB6CU6TH.js → bun-sqlite-LU5V5Y4A.js} +6 -6
- package/dist/bundle/{chunk-4RFR4J2O.js → chunk-2OZVCNU5.js} +2 -2
- package/dist/bundle/{chunk-6EJCI47L.js → chunk-2RNJ2JP3.js} +4 -4
- package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-364ET7LV.js} +1 -1
- package/dist/bundle/{chunk-WAGADES3.js → chunk-3AKMIKND.js} +17 -17
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-3DGHBXH2.js} +1 -1
- package/dist/bundle/{chunk-VH7526NL.js → chunk-3KOJNZH3.js} +3 -3
- package/dist/bundle/{chunk-T37TAXVL.js → chunk-3T3OAYL4.js} +2 -2
- package/dist/bundle/{chunk-XYQVVW4R.js → chunk-3YXYA6HB.js} +1 -1
- package/dist/bundle/{chunk-3MYN2RMG.js → chunk-3ZSUVFR7.js} +8 -8
- package/dist/bundle/{chunk-STTO2MSY.js → chunk-46JBCXLI.js} +6 -6
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-4FHKSSXQ.js} +2 -2
- package/dist/bundle/{chunk-RD7BKTWV.js → chunk-5NFIUY2P.js} +4 -4
- package/dist/bundle/{chunk-3UX4VJWD.js → chunk-63SW4UXG.js} +3 -4
- package/dist/bundle/{chunk-2XUV7HNE.js → chunk-64IK7JFO.js} +2 -2
- package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-6MQSBWWF.js} +1 -1
- package/dist/bundle/{chunk-SAPP2LEH.js → chunk-6UZ5D2WP.js} +7 -7
- package/dist/bundle/{chunk-CL3YNUCC.js → chunk-7COTHS6G.js} +6 -6
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-A3RJ6FD5.js} +21 -8
- package/dist/bundle/{chunk-ZDYEOE7L.js → chunk-ADCAWRRX.js} +48 -48
- package/dist/bundle/{chunk-IJVTN5L3.js → chunk-ALAPDLCP.js} +2 -2
- package/dist/bundle/{chunk-DGMTSDKB.js → chunk-B6DJQBZI.js} +5 -5
- package/dist/bundle/{chunk-BAXNAOOL.js → chunk-BFCRGLOF.js} +3 -3
- package/dist/bundle/{chunk-YYQ5GKAI.js → chunk-BFHPT67P.js} +655 -565
- package/dist/bundle/{chunk-6YOMPW7Y.js → chunk-BQ6CXCLP.js} +8 -8
- package/dist/bundle/{chunk-BEV5LO4D.js → chunk-BXXHUO7Y.js} +13 -13
- package/dist/bundle/{chunk-W2VQDIU5.js → chunk-DCSPCOPB.js} +9 -9
- package/dist/bundle/{chunk-KB35BVTG.js → chunk-EMIJVLOA.js} +2 -2
- package/dist/bundle/{chunk-FMMYBVCH.js → chunk-EUF5JNPG.js} +1 -1
- package/dist/bundle/{chunk-Q7EIL6VU.js → chunk-EWXMIKZN.js} +28 -28
- package/dist/bundle/{chunk-LC6WE6JS.js → chunk-FHYV4VWY.js} +14 -7
- package/dist/bundle/{chunk-GPRJXJC7.js → chunk-FNESLLZS.js} +15 -1
- package/dist/bundle/{chunk-JFSVAOA7.js → chunk-FO3XY2Y2.js} +2 -2
- package/dist/bundle/{chunk-7L2XOKDZ.js → chunk-HJDQTM3T.js} +8 -8
- package/dist/bundle/{chunk-FV4WTZCU.js → chunk-HOO53OYK.js} +16 -16
- package/dist/bundle/{chunk-T6XIBULH.js → chunk-HSVKU4OJ.js} +45 -31
- package/dist/bundle/{chunk-OEQNP56V.js → chunk-IEY7KS6Q.js} +1 -1
- package/dist/bundle/{chunk-QGGRFRMP.js → chunk-ITW26OBI.js} +38 -38
- package/dist/bundle/{chunk-IURYZSG3.js → chunk-ITWINZ6R.js} +12 -12
- package/dist/bundle/{chunk-WAU5LSHP.js → chunk-IYZWHCZJ.js} +90 -11
- package/dist/bundle/{chunk-YUDVRFXN.js → chunk-J3DZVB67.js} +1 -1
- package/dist/bundle/{chunk-GCAJW4SR.js → chunk-JEZJFQQW.js} +1 -1
- package/dist/bundle/{chunk-AE4VW4NB.js → chunk-JPGN473W.js} +3 -3
- package/dist/bundle/{chunk-NSR43UEW.js → chunk-JVRBW5LH.js} +5 -5
- package/dist/bundle/{chunk-DIU2QJJF.js → chunk-KBY42GKW.js} +23 -23
- package/dist/bundle/{chunk-WGZH2M64.js → chunk-KWBLDSRV.js} +16 -3
- package/dist/bundle/{chunk-P27NDZQR.js → chunk-LBRTLZHI.js} +171 -157
- package/dist/bundle/{chunk-WB2KSQIP.js → chunk-LEPPRULN.js} +20 -6
- package/dist/bundle/{chunk-ERN53B3Z.js → chunk-LVAFTQ45.js} +18 -18
- package/dist/bundle/{chunk-PHKED7AG.js → chunk-MB4HXDBT.js} +5 -5
- package/dist/bundle/{chunk-BQBC2WIG.js → chunk-N3NJPHZB.js} +1 -1
- package/dist/bundle/{chunk-DHVVXQEL.js → chunk-NCCRLAAI.js} +3 -3
- package/dist/bundle/{chunk-HOVHE3A3.js → chunk-NV7NNL5T.js} +7 -7
- package/dist/bundle/{chunk-TFT4FVRU.js → chunk-OALFRUMI.js} +2 -2
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-OCGNOJYD.js} +1 -1
- package/dist/bundle/{chunk-2CMLY2X3.js → chunk-OFMCU3BH.js} +5 -5
- package/dist/bundle/{chunk-FRB2L7OE.js → chunk-OP2BH55P.js} +3 -3
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-OS4WPXPZ.js} +4 -4
- package/dist/bundle/{chunk-ESZHGC4Q.js → chunk-OW5HW3TD.js} +6 -6
- package/dist/bundle/{chunk-5OJLUUOJ.js → chunk-PDVXG3T3.js} +6 -6
- package/dist/bundle/{chunk-4VXXOJ2F.js → chunk-PSMRUOII.js} +3 -3
- package/dist/bundle/{chunk-EHW45LLT.js → chunk-QK52ARAU.js} +3 -3
- package/dist/bundle/{chunk-AZLDR36U.js → chunk-QMNEDK7Z.js} +3 -3
- package/dist/bundle/{chunk-RXU5T5NM.js → chunk-R4JV3VLU.js} +12 -12
- package/dist/bundle/{chunk-5XPHFV7H.js → chunk-REOBWSGV.js} +8 -8
- package/dist/bundle/{chunk-LECMHK2F.js → chunk-RNVYNPXT.js} +1 -1
- package/dist/bundle/{chunk-JVESLS7B.js → chunk-RXGX2CZX.js} +63 -63
- package/dist/bundle/{chunk-KNCPBX5P.js → chunk-S35UJBFZ.js} +19 -19
- package/dist/bundle/{chunk-LQVDFD65.js → chunk-S5P7THM5.js} +2 -2
- package/dist/bundle/{chunk-A42T4YX7.js → chunk-SRVTGI3M.js} +2 -2
- package/dist/bundle/{chunk-CHPWBQUK.js → chunk-TWY543BS.js} +1 -1
- package/dist/bundle/{chunk-EZMG5QXB.js → chunk-UO4O6WQ4.js} +8 -8
- package/dist/bundle/{chunk-KGAUINBO.js → chunk-UQVUXG7H.js} +10 -10
- package/dist/bundle/{chunk-GUIQJUJV.js → chunk-UYEDQGMI.js} +6 -6
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-VRBEYOJL.js} +1 -1
- package/dist/bundle/{chunk-YDDI4QIT.js → chunk-VXKD533R.js} +575 -447
- package/dist/bundle/{chunk-KZJQPJK5.js → chunk-VYZ2J7DT.js} +4 -4
- package/dist/bundle/{chunk-G4ZU73SD.js → chunk-WJFQMOVM.js} +75 -60
- package/dist/bundle/{chunk-YXYZAWWW.js → chunk-WUNEJRLJ.js} +6 -6
- package/dist/bundle/{chunk-HHEWTLAT.js → chunk-X5LUHN62.js} +2 -2
- package/dist/bundle/{chunk-UOC52GCB.js → chunk-X737FHZP.js} +4 -4
- package/dist/bundle/{chunk-K5IC4FZN.js → chunk-YSF5JBRA.js} +1 -1
- package/dist/bundle/{chunk-SEAGUFBX.js → chunk-ZGUUP2T3.js} +12 -12
- package/dist/bundle/{chunk-QEJFBORC.js → chunk-ZMKAI3F3.js} +3 -3
- package/dist/bundle/command-contract-C2CF4QAH.js +41 -0
- package/dist/bundle/{command-server-entry-VUR6WL77.js → command-server-entry-F3B2KSPO.js} +29 -29
- package/dist/bundle/{decode-I64PF2RM.js → decode-FDHFF7GC.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-IXKG5Z5Y.js} +8 -8
- package/dist/bundle/{echarts-YRRVLEX3.js → echarts-PGJPVPA4.js} +2 -2
- package/dist/bundle/{embed-BLXLKMK2.js → embed-U6X7CNNK.js} +6 -6
- package/dist/bundle/{embedder-JYGF6R7I.js → embedder-3ROL6ROQ.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-IYMRXM2X.js} +2 -2
- package/dist/bundle/{first-run-YLDOZGY6.js → first-run-PNVNHGR7.js} +12 -12
- package/dist/bundle/first-screen-DEDD64YH.js +41 -0
- package/dist/bundle/{instructions-AG7SRWTR.js → instructions-MJQWRI2D.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-JNHOSK4L.js} +2 -2
- package/dist/bundle/meeting-combined-HEC25QPY.js +25 -0
- package/dist/bundle/meeting-model-R7QPDNZZ.js +27 -0
- package/dist/bundle/{meeting-semantic-3DZPHM7L.js → meeting-semantic-7WPLMBNT.js} +6 -6
- package/dist/bundle/{node-GJQYN4FT.js → node-3UXNV3CD.js} +2 -2
- package/dist/bundle/{node-sqlite-7VXIRQPH.js → node-sqlite-ULWDWM3I.js} +7 -7
- package/dist/bundle/notes-search-7PE3E3C7.js +64 -0
- package/dist/bundle/notion.js +13 -13
- package/dist/bundle/{oauth-N67CH2TK.js → oauth-LNUZMA72.js} +7 -7
- package/dist/bundle/{open-JGXVHIKO.js → open-HGHC35M4.js} +5 -5
- package/dist/bundle/{openai-PFQJTF4H.js → openai-ISSP57MV.js} +18 -18
- package/dist/bundle/{process-MEKCZMX3.js → process-PB2WCOR2.js} +1 -1
- package/dist/bundle/{program-DUJYLJH5.js → program-GASBJRMG.js} +1987 -1245
- package/dist/bundle/{prompt-FW44QDHD.js → prompt-3VGQVX2B.js} +5 -5
- package/dist/bundle/{recognize-62TDQ6A7.js → recognize-7Q2P3NME.js} +4 -4
- package/dist/bundle/{remote-7ONFD7GG.js → remote-BBAWKVIT.js} +11 -11
- package/dist/bundle/{rerank-YOHQQJS4.js → rerank-H4PUS4HV.js} +7 -7
- package/dist/bundle/{schemas-IIGJ7DOP.js → schemas-TTVUADHT.js} +1 -1
- package/dist/bundle/{serve-ZCXGT5RB.js → serve-FZNSKY7R.js} +9 -9
- package/dist/bundle/{server-RQ74M637.js → server-BRRNDW6L.js} +64 -64
- package/dist/bundle/server-CQJ4LKAZ.js +90 -0
- package/dist/bundle/{services-FWBRZ57M.js → services-PEU557KZ.js} +51 -51
- package/dist/bundle/{sqlite-runtime-ZZBNGV5L.js → sqlite-runtime-4IZJ4YUM.js} +6 -6
- package/dist/bundle/{state-GDDFO62Y.js → state-MX3JVT5Q.js} +6 -6
- package/dist/bundle/{store-D2LRIWEI.js → store-JUT34REM.js} +23 -23
- package/dist/bundle/{store-KQCLR57N.js → store-PP4BPADZ.js} +21 -21
- package/dist/bundle/store-maintenance-command-GRFTJBSB.js +77 -0
- package/dist/bundle/surface-FPWES3NY.js +76 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +3 -25
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/library.d.ts.map +1 -1
- package/dist/commands/library.js +8 -6
- package/dist/commands/library.js.map +1 -1
- package/dist/context.d.ts +11 -3
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +20 -7
- package/dist/context.js.map +1 -1
- package/dist/generated/wirecat-config.d.ts +13 -0
- package/dist/generated/wirecat-config.d.ts.map +1 -0
- package/dist/generated/wirecat-config.js +82 -0
- package/dist/generated/wirecat-config.js.map +1 -0
- package/dist/library.d.ts +0 -5
- package/dist/library.d.ts.map +1 -1
- package/dist/library.js +0 -13
- package/dist/library.js.map +1 -1
- package/dist/notion/client.d.ts +2 -6
- package/dist/notion/client.d.ts.map +1 -1
- package/dist/notion/client.js +7 -8
- package/dist/notion/client.js.map +1 -1
- package/dist/notion/errors.d.ts +5 -0
- package/dist/notion/errors.d.ts.map +1 -1
- package/dist/notion/errors.js +21 -1
- package/dist/notion/errors.js.map +1 -1
- package/dist/notion/port.d.ts +10 -0
- package/dist/notion/port.d.ts.map +1 -1
- package/dist/notion/port.js +19 -0
- package/dist/notion/port.js.map +1 -1
- package/dist/sync/files.d.ts +3 -3
- package/dist/sync/files.d.ts.map +1 -1
- package/dist/sync/from-config.d.ts +13 -0
- package/dist/sync/from-config.d.ts.map +1 -0
- package/dist/sync/from-config.js +32 -0
- package/dist/sync/from-config.js.map +1 -0
- package/dist/sync/source.d.ts +2 -1
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +4 -20
- package/dist/sync/source.js.map +1 -1
- package/dist/sync/users.d.ts +1 -11
- package/dist/sync/users.d.ts.map +1 -1
- package/dist/sync/users.js +0 -33
- package/dist/sync/users.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -7
- package/dist/bundle/agent-ILG6AH7S.js +0 -42
- package/dist/bundle/command-contract-L2FASWD6.js +0 -41
- package/dist/bundle/first-screen-GZH3LMLZ.js +0 -41
- package/dist/bundle/meeting-combined-OFQSGKBG.js +0 -25
- package/dist/bundle/meeting-model-K6NSX3O5.js +0 -27
- package/dist/bundle/notes-search-ACDOPTNH.js +0 -64
- package/dist/bundle/server-XMZF57WM.js +0 -90
- package/dist/bundle/store-maintenance-command-CK2MU5M6.js +0 -77
- package/dist/bundle/surface-K4TPIQW7.js +0 -76
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
RANK_WITHIN,
|
|
5
|
+
embedEvents,
|
|
6
|
+
embedMail,
|
|
7
|
+
embedNotes,
|
|
8
|
+
fieldsOfQuery2 as fieldsOfQuery,
|
|
9
|
+
importAccounts,
|
|
10
|
+
localModel,
|
|
11
|
+
nearestNotes,
|
|
12
|
+
noteSourceOfQuery,
|
|
13
|
+
notesScopeOf,
|
|
14
|
+
searchNotes,
|
|
15
|
+
searchNotesOf,
|
|
16
|
+
searchNotesQuery,
|
|
17
|
+
storeQuery,
|
|
18
|
+
withLocal
|
|
19
|
+
} from "./chunk-ADCAWRRX.js";
|
|
20
|
+
import "./chunk-YSF5JBRA.js";
|
|
21
|
+
import "./chunk-EMIJVLOA.js";
|
|
22
|
+
import "./chunk-3ZSUVFR7.js";
|
|
23
|
+
import "./chunk-BFCRGLOF.js";
|
|
24
|
+
import "./chunk-MB4HXDBT.js";
|
|
25
|
+
import "./chunk-B6DJQBZI.js";
|
|
26
|
+
import "./chunk-UQVUXG7H.js";
|
|
27
|
+
import "./chunk-REOBWSGV.js";
|
|
28
|
+
import "./chunk-BXXHUO7Y.js";
|
|
29
|
+
import "./chunk-S5P7THM5.js";
|
|
30
|
+
import "./chunk-FHYV4VWY.js";
|
|
31
|
+
import "./chunk-6MQSBWWF.js";
|
|
32
|
+
import "./chunk-3T3OAYL4.js";
|
|
33
|
+
import "./chunk-RXGX2CZX.js";
|
|
34
|
+
import "./chunk-OFMCU3BH.js";
|
|
35
|
+
import "./chunk-OP2BH55P.js";
|
|
36
|
+
import "./chunk-NV7NNL5T.js";
|
|
37
|
+
import "./chunk-46JBCXLI.js";
|
|
38
|
+
import "./chunk-5NFIUY2P.js";
|
|
39
|
+
import "./chunk-VRBEYOJL.js";
|
|
40
|
+
import "./chunk-OW5HW3TD.js";
|
|
41
|
+
import "./chunk-X5LUHN62.js";
|
|
42
|
+
import "./chunk-S35UJBFZ.js";
|
|
43
|
+
import "./chunk-A3RJ6FD5.js";
|
|
44
|
+
import "./chunk-S4UUN6LD.js";
|
|
45
|
+
import "./chunk-Y5E2WNWB.js";
|
|
46
|
+
import "./chunk-4FHKSSXQ.js";
|
|
47
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
48
|
+
export {
|
|
49
|
+
RANK_WITHIN,
|
|
50
|
+
embedEvents,
|
|
51
|
+
embedMail,
|
|
52
|
+
embedNotes,
|
|
53
|
+
fieldsOfQuery,
|
|
54
|
+
importAccounts,
|
|
55
|
+
localModel,
|
|
56
|
+
nearestNotes,
|
|
57
|
+
noteSourceOfQuery,
|
|
58
|
+
notesScopeOf,
|
|
59
|
+
searchNotes,
|
|
60
|
+
searchNotesOf,
|
|
61
|
+
searchNotesQuery,
|
|
62
|
+
storeQuery,
|
|
63
|
+
withLocal
|
|
64
|
+
};
|
package/dist/bundle/notion.js
CHANGED
|
@@ -3,12 +3,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
DESKTOP
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LEPPRULN.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-3DGHBXH2.js";
|
|
10
|
+
import "./chunk-VRBEYOJL.js";
|
|
11
|
+
import "./chunk-OW5HW3TD.js";
|
|
12
12
|
import {
|
|
13
13
|
DESCRIBE_FLAG,
|
|
14
14
|
DISPATCH_FLAG,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
fileState,
|
|
20
20
|
shimFiles,
|
|
21
21
|
writeShim
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-OS4WPXPZ.js";
|
|
23
|
+
import "./chunk-S35UJBFZ.js";
|
|
24
24
|
import {
|
|
25
25
|
catchCrashes
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-A3RJ6FD5.js";
|
|
27
27
|
import "./chunk-S4UUN6LD.js";
|
|
28
28
|
import "./chunk-Y5E2WNWB.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-4FHKSSXQ.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
// dist/bin/notion.js
|
|
35
35
|
import { enableCompileCache } from "node:module";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
38
38
|
import { createHash } from "node:crypto";
|
|
39
39
|
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
40
40
|
import { dirname as dirname2, join as join2 } from "node:path";
|
|
41
41
|
import { fileURLToPath } from "node:url";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
|
|
44
44
|
import { readFileSync } from "node:fs";
|
|
45
45
|
import { basename, dirname, join, resolve } from "node:path";
|
|
46
46
|
var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
|
|
@@ -126,7 +126,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
|
126
126
|
}
|
|
127
127
|
}, "ensureLauncher");
|
|
128
128
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
129
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
130
130
|
var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
131
131
|
const argv = io.argv ?? process.argv;
|
|
132
132
|
const env = io.env ?? process.env;
|
|
@@ -139,7 +139,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
139
139
|
return { code: 0 };
|
|
140
140
|
}
|
|
141
141
|
if (first === DISPATCH_FLAG) {
|
|
142
|
-
const { runWcat } = await import("./dispatch-
|
|
142
|
+
const { runWcat } = await import("./dispatch-IXKG5Z5Y.js");
|
|
143
143
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
144
144
|
return { code };
|
|
145
145
|
}
|
|
@@ -179,7 +179,7 @@ var wcat = await wcatStart(DESKTOP);
|
|
|
179
179
|
if (wcat.code !== void 0) {
|
|
180
180
|
process.exitCode = wcat.code;
|
|
181
181
|
} else {
|
|
182
|
-
const { run } = await import("./program-
|
|
182
|
+
const { run } = await import("./program-GASBJRMG.js");
|
|
183
183
|
process.exitCode = await run(process.argv.slice(2));
|
|
184
184
|
}
|
|
185
185
|
stopCatching();
|
|
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SRVTGI3M.js";
|
|
7
7
|
import "./chunk-PL5P7UKW.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-X737FHZP.js";
|
|
9
|
+
import "./chunk-KWBLDSRV.js";
|
|
10
|
+
import "./chunk-J3DZVB67.js";
|
|
11
|
+
import "./chunk-S35UJBFZ.js";
|
|
12
|
+
import "./chunk-A3RJ6FD5.js";
|
|
13
13
|
import "./chunk-S4UUN6LD.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-4FHKSSXQ.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
export {
|
|
18
18
|
ownerLogin,
|
|
@@ -6,13 +6,13 @@ 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-WUNEJRLJ.js";
|
|
10
|
+
import "./chunk-EUF5JNPG.js";
|
|
11
|
+
import "./chunk-S35UJBFZ.js";
|
|
12
|
+
import "./chunk-A3RJ6FD5.js";
|
|
13
13
|
import "./chunk-S4UUN6LD.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-4FHKSSXQ.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
export {
|
|
18
18
|
CAPABILITY_STATEMENTS,
|
|
@@ -3,50 +3,50 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-VYZ2J7DT.js";
|
|
7
|
+
import "./chunk-ITWINZ6R.js";
|
|
8
|
+
import "./chunk-YSF5JBRA.js";
|
|
9
9
|
import {
|
|
10
10
|
OPENAI_URL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JVRBW5LH.js";
|
|
12
12
|
import {
|
|
13
13
|
refuseModelAddress
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OFMCU3BH.js";
|
|
15
15
|
import {
|
|
16
16
|
endpointFetch,
|
|
17
17
|
onThisComputer
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-OP2BH55P.js";
|
|
19
|
+
import "./chunk-NV7NNL5T.js";
|
|
20
|
+
import "./chunk-46JBCXLI.js";
|
|
21
21
|
import {
|
|
22
22
|
OPENAI_TRANSCRIBE_MODEL,
|
|
23
23
|
VAD,
|
|
24
24
|
filesPresent,
|
|
25
25
|
modelsDirectory,
|
|
26
26
|
vadPath
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5NFIUY2P.js";
|
|
28
28
|
import {
|
|
29
29
|
providerWaitMs
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-OW5HW3TD.js";
|
|
31
|
+
import "./chunk-X5LUHN62.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_RETRY,
|
|
34
34
|
backoffMs
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-S35UJBFZ.js";
|
|
36
|
+
import "./chunk-A3RJ6FD5.js";
|
|
37
37
|
import "./chunk-S4UUN6LD.js";
|
|
38
38
|
import "./chunk-Y5E2WNWB.js";
|
|
39
39
|
import {
|
|
40
40
|
CliError
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
42
42
|
import {
|
|
43
43
|
__name
|
|
44
44
|
} from "./chunk-ZVVMGPBJ.js";
|
|
45
45
|
|
|
46
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
46
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
47
47
|
import { setTimeout as wait } from "node:timers/promises";
|
|
48
48
|
|
|
49
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
49
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
50
50
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
51
51
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
52
52
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -67,7 +67,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
67
67
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
68
68
|
}, "encodeWav");
|
|
69
69
|
|
|
70
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
70
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
71
71
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
72
72
|
var JOINED_SECONDS = 0.2;
|
|
73
73
|
var PAD_SECONDS = 0.2;
|
|
@@ -191,7 +191,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
191
191
|
return pieces;
|
|
192
192
|
}, "piecesOf");
|
|
193
193
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
194
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
194
|
+
const { openSpeechCutter } = await import("./recognize-7Q2P3NME.js");
|
|
195
195
|
return openSpeechCutter(vadModel);
|
|
196
196
|
}, "openCutter");
|
|
197
197
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-ZVVMGPBJ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/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";
|