@wirecat/notion-cli 0.2.0 → 0.3.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 +29 -0
- package/README.md +6 -2
- package/contracts/wirecat.json +48 -0
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/{all-profiles-JGYLQZ5C.js → all-profiles-4IONYZB6.js} +10 -10
- package/dist/bundle/{anthropic-S2VSMIKQ.js → anthropic-OXF74J4P.js} +6 -6
- package/dist/bundle/{app-server-SASYDBCA.js → app-server-M2VF6ABM.js} +59 -59
- package/dist/bundle/{bun-LU5LP3JI.js → bun-DLA6QRLL.js} +2 -2
- package/dist/bundle/{bun-sqlite-JBSINB4O.js → bun-sqlite-F4BYLW3F.js} +7 -7
- package/dist/bundle/{chunk-4HWJOU7N.js → chunk-2MHMKNWD.js} +1 -1
- package/dist/bundle/{chunk-SHJQ6JKG.js → chunk-4KUJTSHG.js} +2 -2
- package/dist/bundle/{chunk-SWAOWNKW.js → chunk-4TQVZXOV.js} +3 -3
- package/dist/bundle/{chunk-ODBZNSZ6.js → chunk-5LBJNTEJ.js} +6 -6
- package/dist/bundle/{chunk-SZOVLP44.js → chunk-5UA2TYMI.js} +2 -2
- package/dist/bundle/{chunk-22QQUKWA.js → chunk-5XP4KQ2F.js} +1 -1
- package/dist/bundle/{chunk-4IPURN72.js → chunk-6GN7KU7X.js} +9 -9
- package/dist/bundle/{chunk-X4TIMMKJ.js → chunk-6JBLIQQN.js} +1 -1
- package/dist/bundle/{chunk-4ZTVJHWU.js → chunk-7NF3V5L2.js} +4 -4
- package/dist/bundle/{chunk-OTV53F34.js → chunk-7NGFGFE5.js} +9 -60
- package/dist/bundle/{chunk-VBHETQVV.js → chunk-7NVPM55S.js} +1908 -1013
- package/dist/bundle/{chunk-Z56QFOBR.js → chunk-7YZPBAQX.js} +1 -1
- package/dist/bundle/{chunk-3AL7QUS3.js → chunk-AYU5TFDU.js} +20 -20
- package/dist/bundle/{chunk-FPY6EJ7B.js → chunk-BEPFGITI.js} +55 -55
- package/dist/bundle/{chunk-VCIALTEM.js → chunk-CBGBFAYJ.js} +12 -4
- package/dist/bundle/{chunk-NQWV4WQO.js → chunk-CDGZZNGY.js} +6 -6
- package/dist/bundle/{chunk-DH5PRHT4.js → chunk-CIVXTBJY.js} +13 -13
- package/dist/bundle/{chunk-B26TQZKZ.js → chunk-COH7OEER.js} +14 -13
- package/dist/bundle/{chunk-XF26XKTS.js → chunk-D6RCRBDH.js} +2 -2
- package/dist/bundle/{chunk-YMYUBZWT.js → chunk-EQPAZ33O.js} +17 -17
- package/dist/bundle/{chunk-LAYPFBOM.js → chunk-EY6S7FV3.js} +6 -6
- package/dist/bundle/chunk-FEMHUSGO.js +88 -0
- package/dist/bundle/{chunk-FWVBPRL4.js → chunk-FSJHASRQ.js} +79 -62
- package/dist/bundle/{chunk-TPX2M45D.js → chunk-GBFEEHQC.js} +10 -10
- package/dist/bundle/{chunk-5IYKVRH2.js → chunk-GCCPFKSU.js} +434 -343
- package/dist/bundle/{chunk-3Z4YTSRY.js → chunk-GK4GLPG2.js} +3 -3
- package/dist/bundle/{chunk-GZOUFX3C.js → chunk-GSNE7OB4.js} +4 -4
- package/dist/bundle/{chunk-TSDBSIFM.js → chunk-HTKSCSJU.js} +4 -4
- package/dist/bundle/{chunk-5NFK5EM2.js → chunk-IJMFG7HB.js} +7 -7
- package/dist/bundle/{chunk-D7QSEEYW.js → chunk-JIRRF6BM.js} +4 -4
- package/dist/bundle/{chunk-5RSC54NA.js → chunk-JODE2XED.js} +25 -25
- package/dist/bundle/{chunk-RV64YUQX.js → chunk-K5I64ZVI.js} +9 -9
- package/dist/bundle/{chunk-AOCUKEAX.js → chunk-KL3P5TQK.js} +4 -4
- package/dist/bundle/{chunk-2LWO3PDX.js → chunk-L62XTC7N.js} +11 -11
- package/dist/bundle/{chunk-LLG2POQ7.js → chunk-L6H7PY4X.js} +3 -3
- package/dist/bundle/{chunk-5RDNBG7D.js → chunk-LIQMUDIZ.js} +2 -2
- package/dist/bundle/{chunk-WF4D56CA.js → chunk-M2EEIYBU.js} +2 -2
- package/dist/bundle/{chunk-MZU2YFBZ.js → chunk-M6DGZ2O6.js} +8 -8
- package/dist/bundle/{chunk-FXEJY4OL.js → chunk-MRA62W5K.js} +233 -167
- package/dist/bundle/{chunk-XYIT2XB3.js → chunk-MVA5HVKL.js} +20 -0
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-WCSOH4JS.js → chunk-OCDJ4FFA.js} +4 -4
- package/dist/bundle/{chunk-2F4QQ7WB.js → chunk-OI5DWZJG.js} +3 -3
- package/dist/bundle/{chunk-EUIVXFLJ.js → chunk-P3P6DA6K.js} +6 -6
- package/dist/bundle/{chunk-MY742GAD.js → chunk-QX3TPFEX.js} +37 -37
- package/dist/bundle/{chunk-6RA3EABS.js → chunk-R6SDRSZK.js} +62 -32
- package/dist/bundle/{chunk-5QIQEUOG.js → chunk-RMJMID5D.js} +8 -8
- package/dist/bundle/{chunk-BNPTZ5ZB.js → chunk-SGBS5QCU.js} +4 -4
- package/dist/bundle/{chunk-YNTLT3Z3.js → chunk-T5UNSFES.js} +8 -8
- package/dist/bundle/{chunk-M7S2NDWB.js → chunk-TFNRCCGR.js} +4 -4
- package/dist/bundle/{chunk-B7ON6KPT.js → chunk-TJCPTRYD.js} +7 -7
- package/dist/bundle/{chunk-KM6WHPHI.js → chunk-TXONV3HW.js} +2 -2
- package/dist/bundle/{chunk-NOQ7B5N7.js → chunk-TZ2QJ53V.js} +2 -2
- package/dist/bundle/{chunk-KGERXYTV.js → chunk-UKE3CGHK.js} +1 -1
- package/dist/bundle/{chunk-6EVKHZKN.js → chunk-UROEWCOG.js} +3 -3
- package/dist/bundle/{chunk-WJHZMR2W.js → chunk-WHJWURZB.js} +6 -6
- package/dist/bundle/{chunk-G3EZFRSS.js → chunk-WU3XHGOB.js} +112 -42
- package/dist/bundle/{chunk-2F6VO5HA.js → chunk-WZEEEQGC.js} +3 -3
- package/dist/bundle/{chunk-M3KB25D3.js → chunk-XCTOCVMW.js} +14 -14
- package/dist/bundle/{chunk-FT3LN3HP.js → chunk-Y5LAJWR5.js} +1 -1
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-HL52XXZX.js → chunk-YFWLHTNO.js} +1 -1
- package/dist/bundle/{chunk-P7CUM5IB.js → chunk-YGCI3DHS.js} +1 -1
- package/dist/bundle/{chunk-KCLOUUYF.js → chunk-Z53LYX4M.js} +3 -3
- package/dist/bundle/{chunk-ZKAEZXUP.js → chunk-ZC6ZQQ55.js} +36 -37
- package/dist/bundle/command-contract-UBXS6NHI.js +38 -0
- package/dist/bundle/{command-server-entry-UFSG7KRO.js → command-server-entry-2SORMVRM.js} +27 -27
- package/dist/bundle/{decode-7LLWTSPT.js → decode-5O7IEFPN.js} +6 -6
- package/dist/bundle/{dispatch-2GY6JIJH.js → dispatch-YHQX6FEJ.js} +8 -8
- package/dist/bundle/{echarts-BXX4OQWC.js → echarts-ARLMVQC7.js} +2 -2
- package/dist/bundle/{embed-JXFNBTKH.js → embed-FUDUKQ3K.js} +7 -7
- package/dist/bundle/{embedder-57YZ44KO.js → embedder-HDRV7GX3.js} +10 -10
- package/dist/bundle/{failure-MYT4HPE3.js → failure-JHXICWIL.js} +3 -3
- package/dist/bundle/first-run-BGEFTXOE.js +29 -0
- package/dist/bundle/first-screen-F5F3VS6Y.js +38 -0
- package/dist/bundle/{instructions-2VECIDXF.js → instructions-MEFIKCDI.js} +1 -1
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-HNSS3FQY.js +24 -0
- package/dist/bundle/meeting-model-REZVYGQW.js +26 -0
- package/dist/bundle/{meeting-semantic-ETN3A4BJ.js → meeting-semantic-R4CSLVRG.js} +7 -7
- package/dist/bundle/{node-MPEQSFI3.js → node-MAQALPLA.js} +2 -2
- package/dist/bundle/{node-sqlite-WA32MYSJ.js → node-sqlite-J7IJYNBO.js} +8 -8
- package/dist/bundle/notion.js +14 -14
- package/dist/bundle/{oauth-IAFZG3IR.js → oauth-AMV4YGJD.js} +8 -8
- package/dist/bundle/{open-M3JQUC5G.js → open-AB27MTGR.js} +6 -6
- package/dist/bundle/{openai-HXUEHUSD.js → openai-D77MU5XV.js} +17 -17
- package/dist/bundle/{process-F6TKXWWA.js → process-SIOWTRJ6.js} +1 -1
- package/dist/bundle/{program-Y7JAB6TG.js → program-QC5MX4ZJ.js} +2816 -1645
- package/dist/bundle/{prompt-IMUQLZD2.js → prompt-W77YDHA6.js} +6 -6
- package/dist/bundle/{recognize-2MZAYHAA.js → recognize-3JAXQQ36.js} +5 -5
- package/dist/bundle/{remote-OV4LB6VR.js → remote-PSOJXCXO.js} +11 -11
- package/dist/bundle/{rerank-ZIULUS34.js → rerank-EE44ZTGL.js} +8 -8
- package/dist/bundle/{schemas-DIVZS6TU.js → schemas-LBYUMBC6.js} +2 -2
- package/dist/bundle/{serve-YU7QBP6L.js → serve-XJMGAMFW.js} +10 -10
- package/dist/bundle/{server-LGMNONSB.js → server-ASU6CP5R.js} +51 -51
- package/dist/bundle/server-WSPQ5EOA.js +72 -0
- package/dist/bundle/{services-5WY4DCPJ.js → services-PT4PA4J6.js} +46 -39
- package/dist/bundle/{sqlite-runtime-5MXZDETH.js → sqlite-runtime-YHXRTVXE.js} +7 -7
- package/dist/bundle/{state-LWMZH2KI.js → state-T6ZKFWGD.js} +7 -7
- package/dist/bundle/{store-EPZYV4VW.js → store-3MUCZEI3.js} +20 -18
- package/dist/bundle/{store-QE6FEIZD.js → store-E5EE25FY.js} +24 -20
- package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +63 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +13 -4
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/documents.d.ts +8 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +173 -3
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/library.d.ts.map +1 -1
- package/dist/commands/library.js +3 -1
- package/dist/commands/library.js.map +1 -1
- package/dist/config.d.ts +19 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +73 -5
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +3 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +3 -0
- package/dist/context.js.map +1 -1
- package/dist/generated/types.d.ts +485 -375
- package/dist/generated/types.d.ts.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 +7 -0
- package/dist/notion/errors.js.map +1 -1
- package/dist/notion/writes.d.ts +40 -0
- package/dist/notion/writes.d.ts.map +1 -0
- package/dist/notion/writes.js +112 -0
- package/dist/notion/writes.js.map +1 -0
- package/dist/sync/cursor.d.ts +12 -0
- package/dist/sync/cursor.d.ts.map +1 -1
- package/dist/sync/files.d.ts +10 -0
- package/dist/sync/files.d.ts.map +1 -1
- package/dist/sync/files.js +19 -0
- package/dist/sync/files.js.map +1 -1
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +43 -25
- package/dist/sync/source.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/notion-cli/SKILL.md +6 -0
- package/dist/bundle/command-contract-JS5V27NX.js +0 -38
- package/dist/bundle/first-run-3PF7T74J.js +0 -29
- package/dist/bundle/first-screen-7BEROEQR.js +0 -36
- package/dist/bundle/meeting-combined-PPUQ3KBR.js +0 -24
- package/dist/bundle/meeting-model-ZNMYKMCD.js +0 -26
- package/dist/bundle/server-FKQET4ZO.js +0 -71
- package/dist/bundle/store-maintenance-command-ZUUUFCHL.js +0 -62
- /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
searchMeetingsCombined
|
|
5
|
+
} from "./chunk-GBFEEHQC.js";
|
|
6
|
+
import "./chunk-L6H7PY4X.js";
|
|
7
|
+
import "./chunk-WHJWURZB.js";
|
|
8
|
+
import "./chunk-M6DGZ2O6.js";
|
|
9
|
+
import "./chunk-6JBLIQQN.js";
|
|
10
|
+
import "./chunk-5UA2TYMI.js";
|
|
11
|
+
import "./chunk-FSJHASRQ.js";
|
|
12
|
+
import "./chunk-TJCPTRYD.js";
|
|
13
|
+
import "./chunk-JIRRF6BM.js";
|
|
14
|
+
import "./chunk-SHTHNBHG.js";
|
|
15
|
+
import "./chunk-M2EEIYBU.js";
|
|
16
|
+
import "./chunk-AYU5TFDU.js";
|
|
17
|
+
import "./chunk-6GN7KU7X.js";
|
|
18
|
+
import "./chunk-MVA5HVKL.js";
|
|
19
|
+
import "./chunk-Y5E2WNWB.js";
|
|
20
|
+
import "./chunk-LIQMUDIZ.js";
|
|
21
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
22
|
+
export {
|
|
23
|
+
searchMeetingsCombined
|
|
24
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
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-P3P6DA6K.js";
|
|
8
|
+
import "./chunk-WHJWURZB.js";
|
|
9
|
+
import "./chunk-K5I64ZVI.js";
|
|
10
|
+
import "./chunk-WZEEEQGC.js";
|
|
11
|
+
import "./chunk-TJCPTRYD.js";
|
|
12
|
+
import "./chunk-5LBJNTEJ.js";
|
|
13
|
+
import "./chunk-JIRRF6BM.js";
|
|
14
|
+
import "./chunk-CDGZZNGY.js";
|
|
15
|
+
import "./chunk-M2EEIYBU.js";
|
|
16
|
+
import "./chunk-AYU5TFDU.js";
|
|
17
|
+
import "./chunk-6GN7KU7X.js";
|
|
18
|
+
import "./chunk-MVA5HVKL.js";
|
|
19
|
+
import "./chunk-Y5E2WNWB.js";
|
|
20
|
+
import "./chunk-LIQMUDIZ.js";
|
|
21
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
22
|
+
export {
|
|
23
|
+
createMeetingRemoteModel,
|
|
24
|
+
meetingEmbeddingModel,
|
|
25
|
+
openMeetingEmbedder
|
|
26
|
+
};
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
proposeMeetingEmbedding,
|
|
6
6
|
readMeetingSemantic,
|
|
7
7
|
validateVector
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-L6H7PY4X.js";
|
|
9
|
+
import "./chunk-FSJHASRQ.js";
|
|
10
|
+
import "./chunk-SHTHNBHG.js";
|
|
11
|
+
import "./chunk-AYU5TFDU.js";
|
|
12
|
+
import "./chunk-6GN7KU7X.js";
|
|
13
|
+
import "./chunk-MVA5HVKL.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-LIQMUDIZ.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
export {
|
|
18
18
|
applyMeetingEmbedding,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Y5LAJWR5.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.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/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,24 +3,24 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TZ2QJ53V.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M2EEIYBU.js";
|
|
10
10
|
import {
|
|
11
11
|
TIME_LIMIT_FUNCTION,
|
|
12
12
|
beforeTimeLimit
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-2MHMKNWD.js";
|
|
14
|
+
import "./chunk-AYU5TFDU.js";
|
|
15
|
+
import "./chunk-6GN7KU7X.js";
|
|
16
|
+
import "./chunk-MVA5HVKL.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-LIQMUDIZ.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
24
24
|
import { DatabaseSync } from "node:sqlite";
|
|
25
25
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
26
26
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
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-CBGBFAYJ.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-YAPDU3SV.js";
|
|
10
|
+
import "./chunk-SHTHNBHG.js";
|
|
11
|
+
import "./chunk-CDGZZNGY.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-7NF3V5L2.js";
|
|
23
|
+
import "./chunk-AYU5TFDU.js";
|
|
24
24
|
import {
|
|
25
25
|
catchCrashes
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-6GN7KU7X.js";
|
|
27
|
+
import "./chunk-MVA5HVKL.js";
|
|
28
28
|
import "./chunk-Y5E2WNWB.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-LIQMUDIZ.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.106.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.106.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.106.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-YHQX6FEJ.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-QC5MX4ZJ.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-TXONV3HW.js";
|
|
7
7
|
import "./chunk-5D4AEUVA.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-SGBS5QCU.js";
|
|
9
|
+
import "./chunk-OI5DWZJG.js";
|
|
10
|
+
import "./chunk-7YZPBAQX.js";
|
|
11
|
+
import "./chunk-AYU5TFDU.js";
|
|
12
|
+
import "./chunk-6GN7KU7X.js";
|
|
13
|
+
import "./chunk-MVA5HVKL.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-LIQMUDIZ.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-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-EY6S7FV3.js";
|
|
10
|
+
import "./chunk-2MHMKNWD.js";
|
|
11
|
+
import "./chunk-AYU5TFDU.js";
|
|
12
|
+
import "./chunk-6GN7KU7X.js";
|
|
13
|
+
import "./chunk-MVA5HVKL.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-LIQMUDIZ.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
export {
|
|
18
18
|
CAPABILITY_STATEMENTS,
|
|
@@ -3,47 +3,47 @@ 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-GSNE7OB4.js";
|
|
7
|
+
import "./chunk-CIVXTBJY.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL,
|
|
10
10
|
refuseModelAddress
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-K5I64ZVI.js";
|
|
12
12
|
import {
|
|
13
13
|
endpointFetch,
|
|
14
14
|
onThisComputer
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-WZEEEQGC.js";
|
|
16
|
+
import "./chunk-TJCPTRYD.js";
|
|
17
|
+
import "./chunk-5LBJNTEJ.js";
|
|
18
18
|
import {
|
|
19
19
|
OPENAI_TRANSCRIBE_MODEL,
|
|
20
20
|
VAD,
|
|
21
21
|
filesPresent,
|
|
22
22
|
modelsDirectory,
|
|
23
23
|
vadPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JIRRF6BM.js";
|
|
25
25
|
import {
|
|
26
26
|
providerWaitMs
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-CDGZZNGY.js";
|
|
28
|
+
import "./chunk-M2EEIYBU.js";
|
|
29
29
|
import {
|
|
30
30
|
DEFAULT_RETRY,
|
|
31
31
|
backoffMs
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-AYU5TFDU.js";
|
|
33
|
+
import "./chunk-6GN7KU7X.js";
|
|
34
|
+
import "./chunk-MVA5HVKL.js";
|
|
35
35
|
import "./chunk-Y5E2WNWB.js";
|
|
36
36
|
import {
|
|
37
37
|
CliError
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
39
39
|
import {
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
44
44
|
import { setTimeout as wait } from "node:timers/promises";
|
|
45
45
|
|
|
46
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
46
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
47
47
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
48
48
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
49
49
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -64,7 +64,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
64
64
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
65
65
|
}, "encodeWav");
|
|
66
66
|
|
|
67
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
67
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
68
68
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
69
69
|
var JOINED_SECONDS = 0.2;
|
|
70
70
|
var PAD_SECONDS = 0.2;
|
|
@@ -188,7 +188,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
188
188
|
return pieces;
|
|
189
189
|
}, "piecesOf");
|
|
190
190
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
191
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
191
|
+
const { openSpeechCutter } = await import("./recognize-3JAXQQ36.js");
|
|
192
192
|
return openSpeechCutter(vadModel);
|
|
193
193
|
}, "openCutter");
|
|
194
194
|
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.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/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";
|