@wirecat/notion-cli 0.5.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 +47 -0
- package/README.md +5 -0
- package/contracts/wirecat.json +55 -2
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/agent-AILW4JPO.js +42 -0
- package/dist/bundle/{all-profiles-V37KCXH3.js → all-profiles-CKOACXTW.js} +64 -21
- package/dist/bundle/{anthropic-Q4S3BYXD.js → anthropic-DWBBVTU3.js} +6 -6
- package/dist/bundle/{app-server-43SR3ACI.js → app-server-BHFYNCDE.js} +86 -65
- package/dist/bundle/{bun-M3J2QTR3.js → bun-ICK2XT7J.js} +2 -2
- package/dist/bundle/{bun-sqlite-EJ3W2PSV.js → bun-sqlite-LU5V5Y4A.js} +7 -7
- package/dist/bundle/{chunk-KHWOLBHQ.js → chunk-2OZVCNU5.js} +2 -2
- package/dist/bundle/{chunk-O5YB7FQD.js → chunk-2RNJ2JP3.js} +4 -4
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-364ET7LV.js} +1 -1
- package/dist/bundle/{chunk-TDNURSU6.js → chunk-3AKMIKND.js} +19 -19
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-3DGHBXH2.js} +1 -1
- package/dist/bundle/chunk-3KOJNZH3.js +80 -0
- package/dist/bundle/{chunk-DSP36YHQ.js → chunk-3T3OAYL4.js} +2 -2
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-3YXYA6HB.js} +1 -1
- package/dist/bundle/chunk-3ZSUVFR7.js +398 -0
- package/dist/bundle/{chunk-GCZ6MAEN.js → chunk-46JBCXLI.js} +43 -64
- package/dist/bundle/{chunk-DB2XKHI4.js → chunk-4FHKSSXQ.js} +2 -2
- package/dist/bundle/chunk-4HP6KGBI.js +32 -0
- package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
- package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
- package/dist/bundle/{chunk-BNEE35WD.js → chunk-5NFIUY2P.js} +4 -4
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-63SW4UXG.js} +3 -4
- package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-64IK7JFO.js} +2 -2
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-6MQSBWWF.js} +1 -1
- package/dist/bundle/{chunk-2FJNMADN.js → chunk-6UZ5D2WP.js} +10 -10
- package/dist/bundle/chunk-6VPC5Z56.js +2145 -0
- package/dist/bundle/chunk-7COTHS6G.js +388 -0
- package/dist/bundle/{chunk-TOSCB4SO.js → chunk-A3RJ6FD5.js} +29 -10
- package/dist/bundle/chunk-ADCAWRRX.js +2366 -0
- package/dist/bundle/{chunk-PPHBRESD.js → chunk-ALAPDLCP.js} +2 -2
- package/dist/bundle/{chunk-ONZVPE24.js → chunk-B6DJQBZI.js} +6 -6
- package/dist/bundle/{chunk-N2XADGL4.js → chunk-BFCRGLOF.js} +4 -4
- package/dist/bundle/{chunk-5P5TXU2K.js → chunk-BFHPT67P.js} +9581 -10764
- package/dist/bundle/{chunk-NA6QLHBZ.js → chunk-BQ6CXCLP.js} +10 -8
- package/dist/bundle/{chunk-JCKWQGCD.js → chunk-BXXHUO7Y.js} +110 -862
- package/dist/bundle/chunk-DCSPCOPB.js +221 -0
- package/dist/bundle/chunk-DQSOYH6N.js +20 -0
- package/dist/bundle/chunk-ECYOTDJM.js +14 -0
- package/dist/bundle/chunk-EMIJVLOA.js +30 -0
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-EUF5JNPG.js} +1 -1
- package/dist/bundle/{chunk-RIGE67FR.js → chunk-EWXMIKZN.js} +43 -33
- package/dist/bundle/chunk-F4BX7TH2.js +15 -0
- package/dist/bundle/{chunk-QYXWRKNA.js → chunk-FHYV4VWY.js} +16 -9
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-FNESLLZS.js} +29 -1
- package/dist/bundle/chunk-FO3XY2Y2.js +108 -0
- package/dist/bundle/chunk-HJDQTM3T.js +353 -0
- package/dist/bundle/chunk-HOO53OYK.js +561 -0
- package/dist/bundle/{chunk-KHZ2RGXI.js → chunk-HSVKU4OJ.js} +153 -572
- package/dist/bundle/{chunk-CDK5E45T.js → chunk-IEY7KS6Q.js} +2 -100
- package/dist/bundle/{chunk-RJMQGG3P.js → chunk-ITW26OBI.js} +65 -49
- package/dist/bundle/{chunk-FBZI4Z3Z.js → chunk-ITWINZ6R.js} +13 -26
- package/dist/bundle/{chunk-J3NKZ6MO.js → chunk-IYZWHCZJ.js} +155 -435
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-J3DZVB67.js} +1 -1
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-JEZJFQQW.js} +1 -1
- package/dist/bundle/chunk-JPGN473W.js +50 -0
- package/dist/bundle/{chunk-NTG657MI.js → chunk-JVRBW5LH.js} +7 -64
- package/dist/bundle/chunk-KBY42GKW.js +785 -0
- package/dist/bundle/{chunk-DO7BLXO3.js → chunk-KWBLDSRV.js} +16 -3
- package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
- package/dist/bundle/{chunk-PWRRDDMZ.js → chunk-LBRTLZHI.js} +249 -555
- package/dist/bundle/{chunk-B3FSLAIU.js → chunk-LEPPRULN.js} +20 -6
- package/dist/bundle/{chunk-WPP76PSX.js → chunk-LVAFTQ45.js} +32 -24
- package/dist/bundle/{chunk-PAW6RRCW.js → chunk-MB4HXDBT.js} +8 -210
- package/dist/bundle/chunk-MEYYH47C.js +25 -0
- package/dist/bundle/{chunk-UZSBGECU.js → chunk-N3NJPHZB.js} +1 -65
- package/dist/bundle/{chunk-BWLBSQSU.js → chunk-NCCRLAAI.js} +4 -4
- package/dist/bundle/chunk-NMQRSEZM.js +37 -0
- package/dist/bundle/{chunk-H3E2PZ5Y.js → chunk-NV7NNL5T.js} +7 -7
- package/dist/bundle/chunk-OALFRUMI.js +67 -0
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-OCGNOJYD.js} +1 -1
- package/dist/bundle/chunk-OFMCU3BH.js +72 -0
- package/dist/bundle/{chunk-MGUEZYFA.js → chunk-OLAGFJDM.js} +13 -2143
- package/dist/bundle/{chunk-E2AFUJDR.js → chunk-OP2BH55P.js} +3 -3
- package/dist/bundle/{chunk-P5BHKKBI.js → chunk-OS4WPXPZ.js} +4 -4
- package/dist/bundle/{chunk-XUPN2EHR.js → chunk-OW5HW3TD.js} +23 -7
- package/dist/bundle/{chunk-ECC2UX7X.js → chunk-PDVXG3T3.js} +6 -6
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-G2MJYXZG.js → chunk-PSMRUOII.js} +4 -4
- package/dist/bundle/{chunk-DBEQI5YM.js → chunk-QK52ARAU.js} +3 -3
- package/dist/bundle/{chunk-QWYMXFKM.js → chunk-QMNEDK7Z.js} +3 -3
- package/dist/bundle/chunk-R4JV3VLU.js +714 -0
- package/dist/bundle/{chunk-C32AKHTY.js → chunk-REOBWSGV.js} +35 -12
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-RNVYNPXT.js} +1 -1
- package/dist/bundle/{chunk-HHVFIXDO.js → chunk-RXGX2CZX.js} +399 -399
- package/dist/bundle/{chunk-W5JZMXGW.js → chunk-S35UJBFZ.js} +75 -75
- package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
- package/dist/bundle/chunk-S5P7THM5.js +72 -0
- package/dist/bundle/{chunk-NE43YXKL.js → chunk-SRVTGI3M.js} +3 -3
- package/dist/bundle/chunk-TRYYWV7J.js +291 -0
- package/dist/bundle/chunk-TWY543BS.js +39 -0
- package/dist/bundle/{chunk-KFVDL2QS.js → chunk-UC7JLE6J.js} +1 -89
- package/dist/bundle/{chunk-3RL2MIUF.js → chunk-UO4O6WQ4.js} +8 -8
- package/dist/bundle/chunk-UPL474OW.js +94 -0
- package/dist/bundle/chunk-UQVUXG7H.js +594 -0
- package/dist/bundle/chunk-UYEDQGMI.js +340 -0
- package/dist/bundle/chunk-VNWF4I7E.js +34 -0
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-VRBEYOJL.js} +1 -1
- package/dist/bundle/{chunk-BBSFQ3PU.js → chunk-VXKD533R.js} +1646 -1337
- package/dist/bundle/{chunk-ECEZOLOD.js → chunk-VYZ2J7DT.js} +4 -4
- package/dist/bundle/{chunk-TD2JZ25O.js → chunk-WJFQMOVM.js} +113 -80
- package/dist/bundle/{chunk-MNRMKWCN.js → chunk-WUNEJRLJ.js} +6 -6
- package/dist/bundle/chunk-WVN2KTNS.js +52 -0
- package/dist/bundle/{chunk-GTY6N5KZ.js → chunk-X5LUHN62.js} +2 -2
- package/dist/bundle/{chunk-LBYGJKXW.js → chunk-X737FHZP.js} +4 -4
- package/dist/bundle/chunk-YHWFF6DN.js +39 -0
- package/dist/bundle/chunk-YSF5JBRA.js +36 -0
- package/dist/bundle/{chunk-QIG55MZH.js → chunk-ZGUUP2T3.js} +12 -12
- package/dist/bundle/{chunk-AT5I34AN.js → chunk-ZMKAI3F3.js} +3 -3
- package/dist/bundle/command-contract-C2CF4QAH.js +41 -0
- package/dist/bundle/{command-server-entry-LJ627ZUA.js → command-server-entry-F3B2KSPO.js} +30 -27
- package/dist/bundle/{decode-PX2LZ5Y2.js → decode-FDHFF7GC.js} +6 -6
- package/dist/bundle/{definitions-M3U4UYHN.js → definitions-MB65223J.js} +72 -18
- package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-IXKG5Z5Y.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-PGJPVPA4.js} +2 -2
- package/dist/bundle/{embed-CCSDK43I.js → embed-U6X7CNNK.js} +7 -7
- package/dist/bundle/{embedder-VHI4DHB7.js → embedder-3ROL6ROQ.js} +10 -10
- package/dist/bundle/{failure-FZ6VYKEQ.js → failure-IYMRXM2X.js} +3 -3
- package/dist/bundle/first-run-PNVNHGR7.js +29 -0
- package/dist/bundle/first-screen-DEDD64YH.js +41 -0
- package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
- package/dist/bundle/hast-util-to-html-IIFHILP5.js +998 -0
- package/dist/bundle/hast-util-to-mdast-3CSMIWK2.js +2272 -0
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-MJQWRI2D.js} +1 -1
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-JNHOSK4L.js} +2 -2
- package/dist/bundle/{mdast-util-from-markdown-R66F4HZA.js → mdast-util-from-markdown-XCR5KW5S.js} +138 -195
- package/dist/bundle/{mdast-util-gfm-LN2ELINH.js → mdast-util-gfm-JO7PHUIB.js} +28 -357
- package/dist/bundle/mdast-util-to-hast-AYJV7KAE.js +879 -0
- package/dist/bundle/mdast-util-to-markdown-DOXGHRI7.js +1854 -0
- package/dist/bundle/meeting-combined-HEC25QPY.js +25 -0
- package/dist/bundle/meeting-model-R7QPDNZZ.js +27 -0
- package/dist/bundle/{meeting-semantic-UD26T37N.js → meeting-semantic-7WPLMBNT.js} +7 -7
- package/dist/bundle/{micromark-extension-gfm-5X7YT43T.js → micromark-extension-gfm-PQ7DWZM7.js} +12 -78
- package/dist/bundle/{node-CXZIFHZC.js → node-3UXNV3CD.js} +2 -2
- package/dist/bundle/{node-sqlite-ME7KMORI.js → node-sqlite-ULWDWM3I.js} +8 -8
- package/dist/bundle/notes-search-7PE3E3C7.js +64 -0
- package/dist/bundle/notion.js +14 -14
- package/dist/bundle/oauth-LNUZMA72.js +20 -0
- package/dist/bundle/{open-HA6D3SXR.js → open-HGHC35M4.js} +6 -6
- package/dist/bundle/{openai-H5AJPZBX.js → openai-ISSP57MV.js} +21 -18
- package/dist/bundle/{process-5RUXWGYS.js → process-PB2WCOR2.js} +1 -1
- package/dist/bundle/{program-F3NBTZ7J.js → program-GASBJRMG.js} +7574 -7047
- package/dist/bundle/{prompt-6XSUOLHK.js → prompt-3VGQVX2B.js} +6 -6
- package/dist/bundle/{recognize-2Y7AUVGG.js → recognize-7Q2P3NME.js} +5 -5
- package/dist/bundle/{remote-KCABPXQ3.js → remote-BBAWKVIT.js} +12 -11
- package/dist/bundle/{rerank-BTN7LUVA.js → rerank-H4PUS4HV.js} +8 -8
- package/dist/bundle/{schemas-VVLTLMXS.js → schemas-TTVUADHT.js} +39 -60
- package/dist/bundle/{serve-CYEMVRFC.js → serve-FZNSKY7R.js} +11 -11
- package/dist/bundle/{server-WFIICGMI.js → server-BRRNDW6L.js} +78 -56
- package/dist/bundle/server-CQJ4LKAZ.js +90 -0
- package/dist/bundle/{services-L4W6ZWDG.js → services-PEU557KZ.js} +103 -88
- package/dist/bundle/{sqlite-runtime-IKMYLRQC.js → sqlite-runtime-4IZJ4YUM.js} +7 -7
- package/dist/bundle/{state-LMUP636P.js → state-MX3JVT5Q.js} +7 -7
- package/dist/bundle/{store-W2JC2JP4.js → store-JUT34REM.js} +24 -20
- package/dist/bundle/{store-A2QZFBOX.js → store-PP4BPADZ.js} +30 -18
- package/dist/bundle/store-maintenance-command-GRFTJBSB.js +77 -0
- package/dist/bundle/surface-FPWES3NY.js +76 -0
- package/dist/commands/account.d.ts +3 -0
- package/dist/commands/account.d.ts.map +1 -0
- package/dist/commands/account.js +22 -0
- package/dist/commands/account.js.map +1 -0
- package/dist/commands/api.d.ts +7 -2
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +19 -141
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/library.d.ts.map +1 -1
- package/dist/commands/library.js +14 -6
- package/dist/commands/library.js.map +1 -1
- package/dist/config.d.ts +11 -13
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +63 -54
- package/dist/config.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/definitions.d.ts.map +1 -1
- package/dist/generated/definitions.js +72 -18
- package/dist/generated/definitions.js.map +1 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +49 -0
- package/dist/generated/manifest.js.map +1 -1
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +32 -32
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/types.d.ts +125 -25
- package/dist/generated/types.d.ts.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 +3 -0
- package/dist/library.d.ts.map +1 -1
- package/dist/library.js +11 -1
- 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/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.js.map +1 -1
- package/dist/sync/files.d.ts +12 -0
- package/dist/sync/files.d.ts.map +1 -1
- package/dist/sync/files.js.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 +48 -48
- package/dist/sync/source.js.map +1 -1
- package/dist/sync/users.d.ts +4 -1
- package/dist/sync/users.d.ts.map +1 -1
- package/dist/sync/users.js +3 -1
- package/dist/sync/users.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +8 -8
- package/dist/bundle/chunk-6EOZTUHT.js +0 -726
- package/dist/bundle/command-contract-TVRFW2IX.js +0 -38
- package/dist/bundle/first-run-7JKE5AHN.js +0 -29
- package/dist/bundle/first-screen-ZROHOEYJ.js +0 -38
- package/dist/bundle/meeting-combined-SSTOJUIJ.js +0 -24
- package/dist/bundle/meeting-model-K7TPS4S5.js +0 -26
- package/dist/bundle/oauth-XBTROXHB.js +0 -20
- package/dist/bundle/server-UC2FNNXX.js +0 -72
- package/dist/bundle/store-maintenance-command-LRGQJPSZ.js +0 -63
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
searchMeetingsCombined
|
|
5
|
+
} from "./chunk-DCSPCOPB.js";
|
|
6
|
+
import "./chunk-MB4HXDBT.js";
|
|
7
|
+
import "./chunk-B6DJQBZI.js";
|
|
8
|
+
import "./chunk-QMNEDK7Z.js";
|
|
9
|
+
import "./chunk-FHYV4VWY.js";
|
|
10
|
+
import "./chunk-6MQSBWWF.js";
|
|
11
|
+
import "./chunk-3T3OAYL4.js";
|
|
12
|
+
import "./chunk-RXGX2CZX.js";
|
|
13
|
+
import "./chunk-NV7NNL5T.js";
|
|
14
|
+
import "./chunk-5NFIUY2P.js";
|
|
15
|
+
import "./chunk-VRBEYOJL.js";
|
|
16
|
+
import "./chunk-X5LUHN62.js";
|
|
17
|
+
import "./chunk-S35UJBFZ.js";
|
|
18
|
+
import "./chunk-A3RJ6FD5.js";
|
|
19
|
+
import "./chunk-S4UUN6LD.js";
|
|
20
|
+
import "./chunk-Y5E2WNWB.js";
|
|
21
|
+
import "./chunk-4FHKSSXQ.js";
|
|
22
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
23
|
+
export {
|
|
24
|
+
searchMeetingsCombined
|
|
25
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
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-PDVXG3T3.js";
|
|
8
|
+
import "./chunk-B6DJQBZI.js";
|
|
9
|
+
import "./chunk-JVRBW5LH.js";
|
|
10
|
+
import "./chunk-OFMCU3BH.js";
|
|
11
|
+
import "./chunk-OP2BH55P.js";
|
|
12
|
+
import "./chunk-NV7NNL5T.js";
|
|
13
|
+
import "./chunk-46JBCXLI.js";
|
|
14
|
+
import "./chunk-5NFIUY2P.js";
|
|
15
|
+
import "./chunk-OW5HW3TD.js";
|
|
16
|
+
import "./chunk-X5LUHN62.js";
|
|
17
|
+
import "./chunk-S35UJBFZ.js";
|
|
18
|
+
import "./chunk-A3RJ6FD5.js";
|
|
19
|
+
import "./chunk-S4UUN6LD.js";
|
|
20
|
+
import "./chunk-Y5E2WNWB.js";
|
|
21
|
+
import "./chunk-4FHKSSXQ.js";
|
|
22
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
23
|
+
export {
|
|
24
|
+
createMeetingRemoteModel,
|
|
25
|
+
meetingEmbeddingModel,
|
|
26
|
+
openMeetingEmbedder
|
|
27
|
+
};
|
|
@@ -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-QMNEDK7Z.js";
|
|
9
|
+
import "./chunk-RXGX2CZX.js";
|
|
10
|
+
import "./chunk-VRBEYOJL.js";
|
|
11
|
+
import "./chunk-S35UJBFZ.js";
|
|
12
|
+
import "./chunk-A3RJ6FD5.js";
|
|
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
|
applyMeetingEmbedding,
|
package/dist/bundle/{micromark-extension-gfm-5X7YT43T.js → micromark-extension-gfm-PQ7DWZM7.js}
RENAMED
|
@@ -7,19 +7,27 @@ import {
|
|
|
7
7
|
factorySpace,
|
|
8
8
|
resolveAll,
|
|
9
9
|
splice
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OLAGFJDM.js";
|
|
11
|
+
import {
|
|
12
|
+
normalizeIdentifier
|
|
13
|
+
} from "./chunk-F4BX7TH2.js";
|
|
14
|
+
import "./chunk-6VPC5Z56.js";
|
|
15
|
+
import {
|
|
16
|
+
classifyCharacter
|
|
17
|
+
} from "./chunk-UPL474OW.js";
|
|
18
|
+
import {
|
|
19
|
+
sanitizeUri
|
|
20
|
+
} from "./chunk-4ZTB7LS3.js";
|
|
11
21
|
import {
|
|
12
22
|
asciiAlpha,
|
|
13
23
|
asciiAlphanumeric,
|
|
14
24
|
asciiControl,
|
|
15
|
-
classifyCharacter,
|
|
16
25
|
markdownLineEnding,
|
|
17
26
|
markdownLineEndingOrSpace,
|
|
18
27
|
markdownSpace,
|
|
19
|
-
normalizeIdentifier,
|
|
20
28
|
unicodePunctuation,
|
|
21
29
|
unicodeWhitespace
|
|
22
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UC7JLE6J.js";
|
|
23
31
|
import {
|
|
24
32
|
__name
|
|
25
33
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -405,80 +413,6 @@ function previousUnbalanced(events) {
|
|
|
405
413
|
}
|
|
406
414
|
__name(previousUnbalanced, "previousUnbalanced");
|
|
407
415
|
|
|
408
|
-
// node_modules/.pnpm/micromark-util-encode@2.0.1/node_modules/micromark-util-encode/index.js
|
|
409
|
-
var characterReferences = { '"': "quot", "&": "amp", "<": "lt", ">": "gt" };
|
|
410
|
-
function encode(value) {
|
|
411
|
-
return value.replace(/["&<>]/g, replace2);
|
|
412
|
-
function replace2(value2) {
|
|
413
|
-
return "&" + characterReferences[
|
|
414
|
-
/** @type {keyof typeof characterReferences} */
|
|
415
|
-
value2
|
|
416
|
-
] + ";";
|
|
417
|
-
}
|
|
418
|
-
__name(replace2, "replace");
|
|
419
|
-
}
|
|
420
|
-
__name(encode, "encode");
|
|
421
|
-
|
|
422
|
-
// node_modules/.pnpm/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri/index.js
|
|
423
|
-
function sanitizeUri(url, protocol) {
|
|
424
|
-
const value = encode(normalizeUri(url || ""));
|
|
425
|
-
if (!protocol) {
|
|
426
|
-
return value;
|
|
427
|
-
}
|
|
428
|
-
const colon = value.indexOf(":");
|
|
429
|
-
const questionMark = value.indexOf("?");
|
|
430
|
-
const numberSign = value.indexOf("#");
|
|
431
|
-
const slash = value.indexOf("/");
|
|
432
|
-
if (
|
|
433
|
-
// If there is no protocol, it’s relative.
|
|
434
|
-
colon < 0 || // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.
|
|
435
|
-
slash > -1 && colon > slash || questionMark > -1 && colon > questionMark || numberSign > -1 && colon > numberSign || // It is a protocol, it should be allowed.
|
|
436
|
-
protocol.test(value.slice(0, colon))
|
|
437
|
-
) {
|
|
438
|
-
return value;
|
|
439
|
-
}
|
|
440
|
-
return "";
|
|
441
|
-
}
|
|
442
|
-
__name(sanitizeUri, "sanitizeUri");
|
|
443
|
-
function normalizeUri(value) {
|
|
444
|
-
const result = [];
|
|
445
|
-
let index = -1;
|
|
446
|
-
let start = 0;
|
|
447
|
-
let skip = 0;
|
|
448
|
-
while (++index < value.length) {
|
|
449
|
-
const code2 = value.charCodeAt(index);
|
|
450
|
-
let replace2 = "";
|
|
451
|
-
if (code2 === 37 && asciiAlphanumeric(value.charCodeAt(index + 1)) && asciiAlphanumeric(value.charCodeAt(index + 2))) {
|
|
452
|
-
skip = 2;
|
|
453
|
-
} else if (code2 < 128) {
|
|
454
|
-
if (!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(code2))) {
|
|
455
|
-
replace2 = String.fromCharCode(code2);
|
|
456
|
-
}
|
|
457
|
-
} else if (code2 > 55295 && code2 < 57344) {
|
|
458
|
-
const next = value.charCodeAt(index + 1);
|
|
459
|
-
if (code2 < 56320 && next > 56319 && next < 57344) {
|
|
460
|
-
replace2 = String.fromCharCode(code2, next);
|
|
461
|
-
skip = 1;
|
|
462
|
-
} else {
|
|
463
|
-
replace2 = "\uFFFD";
|
|
464
|
-
}
|
|
465
|
-
} else {
|
|
466
|
-
replace2 = String.fromCharCode(code2);
|
|
467
|
-
}
|
|
468
|
-
if (replace2) {
|
|
469
|
-
result.push(value.slice(start, index), encodeURIComponent(replace2));
|
|
470
|
-
start = index + skip + 1;
|
|
471
|
-
replace2 = "";
|
|
472
|
-
}
|
|
473
|
-
if (skip) {
|
|
474
|
-
index += skip;
|
|
475
|
-
skip = 0;
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
return result.join("") + value.slice(start);
|
|
479
|
-
}
|
|
480
|
-
__name(normalizeUri, "normalizeUri");
|
|
481
|
-
|
|
482
416
|
// node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/html.js
|
|
483
417
|
function gfmAutolinkLiteralHtml() {
|
|
484
418
|
return {
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-364ET7LV.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.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/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-64IK7JFO.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X5LUHN62.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-EUF5JNPG.js";
|
|
14
|
+
import "./chunk-S35UJBFZ.js";
|
|
15
|
+
import "./chunk-A3RJ6FD5.js";
|
|
16
|
+
import "./chunk-S4UUN6LD.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-4FHKSSXQ.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.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/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 } = {}) => {
|
|
@@ -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-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-A3RJ6FD5.js";
|
|
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();
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
ownerLogin,
|
|
5
|
+
revokeAll
|
|
6
|
+
} from "./chunk-SRVTGI3M.js";
|
|
7
|
+
import "./chunk-PL5P7UKW.js";
|
|
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
|
+
import "./chunk-S4UUN6LD.js";
|
|
14
|
+
import "./chunk-Y5E2WNWB.js";
|
|
15
|
+
import "./chunk-4FHKSSXQ.js";
|
|
16
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
17
|
+
export {
|
|
18
|
+
ownerLogin,
|
|
19
|
+
revokeAll
|
|
20
|
+
};
|
|
@@ -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-WUNEJRLJ.js";
|
|
10
|
+
import "./chunk-EUF5JNPG.js";
|
|
11
|
+
import "./chunk-S35UJBFZ.js";
|
|
12
|
+
import "./chunk-A3RJ6FD5.js";
|
|
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,47 +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-VYZ2J7DT.js";
|
|
7
|
+
import "./chunk-ITWINZ6R.js";
|
|
8
|
+
import "./chunk-YSF5JBRA.js";
|
|
9
|
+
import {
|
|
10
|
+
OPENAI_URL
|
|
11
|
+
} from "./chunk-JVRBW5LH.js";
|
|
8
12
|
import {
|
|
9
|
-
OPENAI_URL,
|
|
10
13
|
refuseModelAddress
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OFMCU3BH.js";
|
|
12
15
|
import {
|
|
13
16
|
endpointFetch,
|
|
14
17
|
onThisComputer
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-OP2BH55P.js";
|
|
19
|
+
import "./chunk-NV7NNL5T.js";
|
|
20
|
+
import "./chunk-46JBCXLI.js";
|
|
18
21
|
import {
|
|
19
22
|
OPENAI_TRANSCRIBE_MODEL,
|
|
20
23
|
VAD,
|
|
21
24
|
filesPresent,
|
|
22
25
|
modelsDirectory,
|
|
23
26
|
vadPath
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5NFIUY2P.js";
|
|
25
28
|
import {
|
|
26
29
|
providerWaitMs
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-OW5HW3TD.js";
|
|
31
|
+
import "./chunk-X5LUHN62.js";
|
|
29
32
|
import {
|
|
30
33
|
DEFAULT_RETRY,
|
|
31
34
|
backoffMs
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-S35UJBFZ.js";
|
|
36
|
+
import "./chunk-A3RJ6FD5.js";
|
|
37
|
+
import "./chunk-S4UUN6LD.js";
|
|
35
38
|
import "./chunk-Y5E2WNWB.js";
|
|
36
39
|
import {
|
|
37
40
|
CliError
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
39
42
|
import {
|
|
40
43
|
__name
|
|
41
44
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
45
|
|
|
43
|
-
// 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
|
|
44
47
|
import { setTimeout as wait } from "node:timers/promises";
|
|
45
48
|
|
|
46
|
-
// 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
|
|
47
50
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
48
51
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
49
52
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -64,7 +67,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
64
67
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
65
68
|
}, "encodeWav");
|
|
66
69
|
|
|
67
|
-
// 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
|
|
68
71
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
69
72
|
var JOINED_SECONDS = 0.2;
|
|
70
73
|
var PAD_SECONDS = 0.2;
|
|
@@ -188,7 +191,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
188
191
|
return pieces;
|
|
189
192
|
}, "piecesOf");
|
|
190
193
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
191
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
194
|
+
const { openSpeechCutter } = await import("./recognize-7Q2P3NME.js");
|
|
192
195
|
return openSpeechCutter(vadModel);
|
|
193
196
|
}, "openCutter");
|
|
194
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";
|