@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
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// 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/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// 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/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// 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/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -3,48 +3,38 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answerOf,
|
|
5
5
|
messengerContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LVAFTQ45.js";
|
|
7
7
|
import {
|
|
8
8
|
chatEventAnswer,
|
|
9
9
|
memberAnswer,
|
|
10
|
-
pollVoteAnswer
|
|
11
|
-
|
|
12
|
-
} from "./chunk-6EOZTUHT.js";
|
|
10
|
+
pollVoteAnswer
|
|
11
|
+
} from "./chunk-HJDQTM3T.js";
|
|
13
12
|
import {
|
|
14
13
|
readSecret
|
|
15
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QK52ARAU.js";
|
|
16
15
|
import {
|
|
17
16
|
stringWidth,
|
|
18
17
|
wrapAnsi
|
|
19
18
|
} from "./chunk-EH6ZEJGT.js";
|
|
19
|
+
import {
|
|
20
|
+
serveRelay
|
|
21
|
+
} from "./chunk-UYEDQGMI.js";
|
|
20
22
|
import {
|
|
21
23
|
FETCHING,
|
|
22
24
|
RULES_VERSION,
|
|
23
25
|
applyTaskRulesOnArrival,
|
|
24
|
-
capability,
|
|
25
|
-
embeddingKeys,
|
|
26
|
-
endpointKeyName,
|
|
27
|
-
modelGateway,
|
|
28
26
|
newSendId,
|
|
29
|
-
onlineDeps,
|
|
30
27
|
openRequestTask,
|
|
31
28
|
patiently,
|
|
32
|
-
queryTerms,
|
|
33
29
|
refuseLockedOutput,
|
|
34
|
-
senderIsMe,
|
|
35
30
|
servicesFor,
|
|
36
|
-
syncsOneChat
|
|
37
|
-
|
|
38
|
-
withQuery,
|
|
39
|
-
withTimeLimit
|
|
40
|
-
} from "./chunk-5P5TXU2K.js";
|
|
31
|
+
syncsOneChat
|
|
32
|
+
} from "./chunk-BFHPT67P.js";
|
|
41
33
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
takeLock
|
|
47
|
-
} from "./chunk-DO7BLXO3.js";
|
|
34
|
+
queryTerms,
|
|
35
|
+
typedQuery,
|
|
36
|
+
withQuery
|
|
37
|
+
} from "./chunk-R4JV3VLU.js";
|
|
48
38
|
import {
|
|
49
39
|
Command,
|
|
50
40
|
LOCAL_READ,
|
|
@@ -52,7 +42,6 @@ import {
|
|
|
52
42
|
REMOTE_READ,
|
|
53
43
|
REMOTE_WRITE,
|
|
54
44
|
annotate,
|
|
55
|
-
codeOf,
|
|
56
45
|
commandAt,
|
|
57
46
|
destroysNothing,
|
|
58
47
|
environmentOf,
|
|
@@ -62,7 +51,6 @@ import {
|
|
|
62
51
|
levelFor,
|
|
63
52
|
lineOf,
|
|
64
53
|
listOf,
|
|
65
|
-
modelTarget,
|
|
66
54
|
nextStep,
|
|
67
55
|
outputFor,
|
|
68
56
|
parseDuration,
|
|
@@ -72,10 +60,33 @@ import {
|
|
|
72
60
|
snakeKeys,
|
|
73
61
|
storeTable,
|
|
74
62
|
withoutProviderRefs
|
|
75
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-LBRTLZHI.js";
|
|
64
|
+
import {
|
|
65
|
+
embeddingKeys,
|
|
66
|
+
endpointKeyName,
|
|
67
|
+
modelGateway,
|
|
68
|
+
onlineDeps,
|
|
69
|
+
senderIsMe,
|
|
70
|
+
withTimeLimit
|
|
71
|
+
} from "./chunk-ADCAWRRX.js";
|
|
72
|
+
import {
|
|
73
|
+
capability
|
|
74
|
+
} from "./chunk-EMIJVLOA.js";
|
|
75
|
+
import {
|
|
76
|
+
codeOf,
|
|
77
|
+
modelTarget
|
|
78
|
+
} from "./chunk-3ZSUVFR7.js";
|
|
79
|
+
import {
|
|
80
|
+
holdLock,
|
|
81
|
+
lockPath,
|
|
82
|
+
markCurrent,
|
|
83
|
+
releaseLock,
|
|
84
|
+
servingProfiles,
|
|
85
|
+
takeLock
|
|
86
|
+
} from "./chunk-KWBLDSRV.js";
|
|
76
87
|
import {
|
|
77
88
|
holdersOf
|
|
78
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-J3DZVB67.js";
|
|
79
90
|
import {
|
|
80
91
|
QUICK_HEALTH_CHECKS,
|
|
81
92
|
fts5Tables,
|
|
@@ -83,7 +94,7 @@ import {
|
|
|
83
94
|
lossUnknown,
|
|
84
95
|
storeDamageReport,
|
|
85
96
|
storeHealth
|
|
86
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-3AKMIKND.js";
|
|
87
98
|
import {
|
|
88
99
|
CORPORA,
|
|
89
100
|
MIGRATIONS,
|
|
@@ -107,10 +118,12 @@ import {
|
|
|
107
118
|
readStoreTables,
|
|
108
119
|
rebuildMentions,
|
|
109
120
|
resetAttachmentWords,
|
|
121
|
+
resetContentPostWords,
|
|
110
122
|
resetCrmFileWords,
|
|
111
123
|
resetNoteIndex,
|
|
112
124
|
resetSearchIndex,
|
|
113
125
|
resetStems,
|
|
126
|
+
resetTrackerItemWords,
|
|
114
127
|
rollBack,
|
|
115
128
|
rowCounts,
|
|
116
129
|
searchIndexState,
|
|
@@ -119,44 +132,46 @@ import {
|
|
|
119
132
|
storeClients,
|
|
120
133
|
storeContents,
|
|
121
134
|
vectorIndexCounts
|
|
122
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-VXKD533R.js";
|
|
123
136
|
import {
|
|
124
|
-
currentRun,
|
|
125
|
-
formatLocator,
|
|
126
|
-
parseLocator,
|
|
127
137
|
readDamageMark,
|
|
128
138
|
readHealthMark,
|
|
129
139
|
readJournalMark,
|
|
130
140
|
recordDeepCheck
|
|
131
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-KBY42GKW.js";
|
|
142
|
+
import {
|
|
143
|
+
currentRun,
|
|
144
|
+
formatLocator,
|
|
145
|
+
parseLocator
|
|
146
|
+
} from "./chunk-BXXHUO7Y.js";
|
|
132
147
|
import {
|
|
133
148
|
failureKey,
|
|
134
149
|
isStoreDamage
|
|
135
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-S5P7THM5.js";
|
|
136
151
|
import {
|
|
137
152
|
queryFieldsOf
|
|
138
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-RXGX2CZX.js";
|
|
139
154
|
import {
|
|
140
155
|
modelAddressAllowed,
|
|
141
156
|
onThisComputer
|
|
142
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-OP2BH55P.js";
|
|
143
158
|
import {
|
|
144
159
|
readSharedSection,
|
|
145
160
|
sharedConfigPath,
|
|
146
161
|
writeSharedSection
|
|
147
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-NV7NNL5T.js";
|
|
148
163
|
import {
|
|
149
164
|
storePath
|
|
150
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-X5LUHN62.js";
|
|
151
166
|
import {
|
|
152
167
|
openCache
|
|
153
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-WUNEJRLJ.js";
|
|
154
169
|
import {
|
|
155
170
|
Credentials,
|
|
156
171
|
isMovedRun,
|
|
157
172
|
resolvePaths,
|
|
158
173
|
writeSecurely
|
|
159
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-S35UJBFZ.js";
|
|
160
175
|
import {
|
|
161
176
|
array,
|
|
162
177
|
boolean,
|
|
@@ -178,12 +193,12 @@ import {
|
|
|
178
193
|
string,
|
|
179
194
|
transform,
|
|
180
195
|
trim
|
|
181
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-S4UUN6LD.js";
|
|
182
197
|
import {
|
|
183
198
|
CliError,
|
|
184
199
|
singleLine,
|
|
185
200
|
visibleControls
|
|
186
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
187
202
|
import {
|
|
188
203
|
__commonJS,
|
|
189
204
|
__name,
|
|
@@ -5523,11 +5538,11 @@ var require_liquid_node = __commonJS({
|
|
|
5523
5538
|
}
|
|
5524
5539
|
});
|
|
5525
5540
|
|
|
5526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5541
|
+
// 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/cli/messenger/store-maintenance-command.js
|
|
5527
5542
|
import { chmodSync, constants, copyFileSync, existsSync as existsSync10, mkdirSync, realpathSync as realpathSync3, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
|
|
5528
5543
|
import { dirname as dirname3, resolve } from "node:path";
|
|
5529
5544
|
|
|
5530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5545
|
+
// 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/sealed.js
|
|
5531
5546
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5532
5547
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5533
5548
|
import { Transform } from "node:stream";
|
|
@@ -5634,7 +5649,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5634
5649
|
renameSync(pending, to);
|
|
5635
5650
|
}, "unsealFile");
|
|
5636
5651
|
|
|
5637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5652
|
+
// 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/compatibility.js
|
|
5638
5653
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5639
5654
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5640
5655
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5658,7 +5673,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5658
5673
|
};
|
|
5659
5674
|
}, "compatibilityOf");
|
|
5660
5675
|
|
|
5661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5676
|
+
// 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/repair.js
|
|
5662
5677
|
import { createHash as createHash2 } from "node:crypto";
|
|
5663
5678
|
var COPY_MARK = "__repair_";
|
|
5664
5679
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5912,19 +5927,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5912
5927
|
return found;
|
|
5913
5928
|
}, "deleteCopy");
|
|
5914
5929
|
|
|
5915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5930
|
+
// 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/cli/store-info.js
|
|
5916
5931
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5917
5932
|
|
|
5918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5933
|
+
// 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/cli/store-recover.js
|
|
5919
5934
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5920
5935
|
|
|
5921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5936
|
+
// 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/recover.js
|
|
5922
5937
|
import { execFileSync, spawn } from "node:child_process";
|
|
5923
5938
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5924
5939
|
import { basename, dirname, join } from "node:path";
|
|
5925
5940
|
import { Transform as Transform2 } from "node:stream";
|
|
5926
5941
|
|
|
5927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5942
|
+
// 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/refill.js
|
|
5928
5943
|
var REFILL_MARGIN_MS = 864e5;
|
|
5929
5944
|
var TIME_KEYS = 1e12;
|
|
5930
5945
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -6004,7 +6019,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
6004
6019
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6005
6020
|
}, "forgetMail");
|
|
6006
6021
|
|
|
6007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6022
|
+
// 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/recover.js
|
|
6008
6023
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6009
6024
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6010
6025
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6282,6 +6297,8 @@ var FILLERS = {
|
|
|
6282
6297
|
}, "message_stems"),
|
|
6283
6298
|
attachment_words: /* @__PURE__ */ __name((database) => void resetAttachmentWords(database), "attachment_words"),
|
|
6284
6299
|
crm_file_words: /* @__PURE__ */ __name((database) => void resetCrmFileWords(database), "crm_file_words"),
|
|
6300
|
+
tracker_item_words: /* @__PURE__ */ __name((database) => void resetTrackerItemWords(database), "tracker_item_words"),
|
|
6301
|
+
content_post_words: /* @__PURE__ */ __name((database) => void resetContentPostWords(database), "content_post_words"),
|
|
6285
6302
|
attachment_name_words: /* @__PURE__ */ __name((database) => (
|
|
6286
6303
|
// As migration 20 filled it: й and ё fold as the triggers fold them.
|
|
6287
6304
|
database.exec("INSERT INTO attachment_name_words (rowid, name) SELECT id, replace(replace(replace(replace(name, '\u0439', '\u0438'), '\u0419', '\u0418'), '\u0451', '\u0435'), '\u0401', '\u0415') FROM attachments WHERE name IS NOT NULL")
|
|
@@ -6533,7 +6550,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6533
6550
|
}
|
|
6534
6551
|
}, "recoverLocked");
|
|
6535
6552
|
|
|
6536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6553
|
+
// 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/cli/store-recover.js
|
|
6537
6554
|
var COUNTED = [
|
|
6538
6555
|
"accounts",
|
|
6539
6556
|
"chats",
|
|
@@ -6689,7 +6706,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6689
6706
|
return recover;
|
|
6690
6707
|
}, "storeRecoverCommand");
|
|
6691
6708
|
|
|
6692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6709
|
+
// 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/cli/store-info.js
|
|
6693
6710
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6694
6711
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6695
6712
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6735,7 +6752,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
|
|
|
6735
6752
|
renderAnswer(this, outputFor(this), itemOf(answer));
|
|
6736
6753
|
}), "storeInfoCommand");
|
|
6737
6754
|
|
|
6738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6755
|
+
// 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/cli/messenger/password.js
|
|
6739
6756
|
var ENCRYPT_OPTION = [
|
|
6740
6757
|
"--encrypt",
|
|
6741
6758
|
"compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
|
|
@@ -6754,7 +6771,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6754
6771
|
return password;
|
|
6755
6772
|
}, "passwordOf");
|
|
6756
6773
|
|
|
6757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6774
|
+
// 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/replies/rules.js
|
|
6758
6775
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6759
6776
|
import { join as join2 } from "node:path";
|
|
6760
6777
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6925,7 +6942,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6925
6942
|
}, "problem");
|
|
6926
6943
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6927
6944
|
|
|
6928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6945
|
+
// 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/replies/state.js
|
|
6929
6946
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6930
6947
|
import { join as join3 } from "node:path";
|
|
6931
6948
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6978,7 +6995,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6978
6995
|
}, "recordReply");
|
|
6979
6996
|
var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
|
|
6980
6997
|
|
|
6981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6998
|
+
// 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/replies/decide.js
|
|
6982
6999
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6983
7000
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6984
7001
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7084,10 +7101,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7084
7101
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7085
7102
|
}, "filled");
|
|
7086
7103
|
|
|
7087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7104
|
+
// 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/replies/template.js
|
|
7088
7105
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7089
7106
|
|
|
7090
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7107
|
+
// 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/render/liquid.js
|
|
7091
7108
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7092
7109
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7093
7110
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7114,7 +7131,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7114
7131
|
return engine;
|
|
7115
7132
|
}, "safeLiquid");
|
|
7116
7133
|
|
|
7117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7134
|
+
// 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/replies/template.js
|
|
7118
7135
|
var TEMPLATE_LIMITS = {
|
|
7119
7136
|
parse: 32768,
|
|
7120
7137
|
renders: 2e3,
|
|
@@ -7253,7 +7270,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7253
7270
|
}
|
|
7254
7271
|
}, "renderReplyTemplate");
|
|
7255
7272
|
|
|
7256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7273
|
+
// 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/replies/dry-run.js
|
|
7257
7274
|
var DRY_RUN_DAYS = 7;
|
|
7258
7275
|
var PAGE = 500;
|
|
7259
7276
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7367,7 +7384,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7367
7384
|
}
|
|
7368
7385
|
}, "storedSince");
|
|
7369
7386
|
|
|
7370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7387
|
+
// 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/models/ai.js
|
|
7371
7388
|
var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
|
|
7372
7389
|
var DEFAULT_BASE_URL = {
|
|
7373
7390
|
anthropic: "https://api.anthropic.com",
|
|
@@ -7517,7 +7534,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
|
|
|
7517
7534
|
}
|
|
7518
7535
|
}, "checkAi");
|
|
7519
7536
|
|
|
7520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7537
|
+
// 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/models/purpose.js
|
|
7521
7538
|
var HOSTED = {
|
|
7522
7539
|
openai: "https://api.openai.com/v1",
|
|
7523
7540
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7538,7 +7555,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7538
7555
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7539
7556
|
}, "purposeModel");
|
|
7540
7557
|
|
|
7541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7558
|
+
// 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/replies/consents.js
|
|
7542
7559
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7543
7560
|
import { join as join4 } from "node:path";
|
|
7544
7561
|
var shape = strictObject({
|
|
@@ -7563,7 +7580,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7563
7580
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7564
7581
|
}, "mayModelReply");
|
|
7565
7582
|
|
|
7566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7583
|
+
// 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/replies/rendering.js
|
|
7567
7584
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7568
7585
|
ai: true
|
|
7569
7586
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7611,7 +7628,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7611
7628
|
return result2;
|
|
7612
7629
|
}, "replyRenderer");
|
|
7613
7630
|
|
|
7614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7631
|
+
// 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/replies/serve.js
|
|
7615
7632
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7616
7633
|
var NO_RULES = "no rules";
|
|
7617
7634
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7704,7 +7721,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7704
7721
|
return { skip: why };
|
|
7705
7722
|
}, "replyTo");
|
|
7706
7723
|
|
|
7707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7724
|
+
// 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/cli/messenger/serve-catch-up.js
|
|
7708
7725
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7709
7726
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7710
7727
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7781,7 +7798,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7781
7798
|
};
|
|
7782
7799
|
}, "startSync");
|
|
7783
7800
|
|
|
7784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7801
|
+
// 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/cli/messenger/serve-members.js
|
|
7785
7802
|
var FIRST_FETCH_MS = 6e4;
|
|
7786
7803
|
var DAY_MS = 864e5;
|
|
7787
7804
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7835,7 +7852,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7835
7852
|
};
|
|
7836
7853
|
}, "memberFetches");
|
|
7837
7854
|
|
|
7838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7855
|
+
// 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/cli/messenger/serve-notice.js
|
|
7839
7856
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7840
7857
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7841
7858
|
if (context.format === "pretty") {
|
|
@@ -7868,7 +7885,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7868
7885
|
return context;
|
|
7869
7886
|
}, "recordDiagnostics");
|
|
7870
7887
|
|
|
7871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7888
|
+
// 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/cli/messenger/serve-outdated.js
|
|
7872
7889
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7873
7890
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
7874
7891
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -7954,7 +7971,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
7954
7971
|
};
|
|
7955
7972
|
}, "watchOutdated");
|
|
7956
7973
|
|
|
7957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7974
|
+
// 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/cli/messenger/serve-stems.js
|
|
7958
7975
|
var STEMS_EVERY_MS = 3e4;
|
|
7959
7976
|
var STEMS_SLICE_MS = 2e3;
|
|
7960
7977
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -7994,7 +8011,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
7994
8011
|
};
|
|
7995
8012
|
}, "stemFills");
|
|
7996
8013
|
|
|
7997
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8014
|
+
// 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/render/messages.js
|
|
7998
8015
|
import { styleText } from "node:util";
|
|
7999
8016
|
var TIME_WIDTH = 8;
|
|
8000
8017
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -8170,7 +8187,7 @@ var editedAt = /* @__PURE__ */ __name((message, options) => {
|
|
|
8170
8187
|
return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
|
|
8171
8188
|
}, "editedAt");
|
|
8172
8189
|
|
|
8173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8190
|
+
// 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/cli/messenger/message-items.js
|
|
8174
8191
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
8175
8192
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
8176
8193
|
kind: attachment.kind,
|
|
@@ -8266,7 +8283,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
8266
8283
|
locale: messenger.app.locale
|
|
8267
8284
|
}), "viewOf");
|
|
8268
8285
|
|
|
8269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8286
|
+
// 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/cli/messenger/watch-answers.js
|
|
8270
8287
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
8271
8288
|
value: value.value,
|
|
8272
8289
|
observed_at: value.observedAt,
|
|
@@ -8333,7 +8350,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8333
8350
|
}
|
|
8334
8351
|
}, "watchEventItem");
|
|
8335
8352
|
|
|
8336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8353
|
+
// 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/cli/messenger/watch-command.js
|
|
8337
8354
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8338
8355
|
output: { entity: "watch_item" },
|
|
8339
8356
|
effects: REMOTE_READ,
|
|
@@ -8488,7 +8505,8 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8488
8505
|
}
|
|
8489
8506
|
}, "describe");
|
|
8490
8507
|
|
|
8491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8508
|
+
// 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/cli/messenger/serve-command.js
|
|
8509
|
+
var CURRENT_EVERY_MS = 6e4;
|
|
8492
8510
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8493
8511
|
const command = annotate(new Command("serve"), {
|
|
8494
8512
|
output: { entity: "serve_summary" },
|
|
@@ -8511,9 +8529,18 @@ var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
|
8511
8529
|
throw new CliError("validation_error", `${messenger.app.command} serve is already running for profile ${context.profile} (PID ${held.pid}, since ${held.startedAt})`);
|
|
8512
8530
|
}
|
|
8513
8531
|
let relaying;
|
|
8532
|
+
let current;
|
|
8533
|
+
const stamp = /* @__PURE__ */ __name(() => {
|
|
8534
|
+
try {
|
|
8535
|
+
markCurrent(path);
|
|
8536
|
+
} catch {
|
|
8537
|
+
}
|
|
8538
|
+
}, "stamp");
|
|
8514
8539
|
const onReady = /* @__PURE__ */ __name(() => {
|
|
8515
8540
|
const listening2 = { pid: process.pid, startedAt, version, listeningAt: (/* @__PURE__ */ new Date()).toISOString() };
|
|
8516
8541
|
holdLock(path, listening2);
|
|
8542
|
+
stamp();
|
|
8543
|
+
current ??= setInterval(stamp, CURRENT_EVERY_MS).unref();
|
|
8517
8544
|
note({
|
|
8518
8545
|
code: "listening",
|
|
8519
8546
|
text: `listening for profile ${context.profile}, catching up on what arrived while it was down`
|
|
@@ -8634,6 +8661,10 @@ var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
|
8634
8661
|
}, "connected")
|
|
8635
8662
|
});
|
|
8636
8663
|
} finally {
|
|
8664
|
+
if (current) {
|
|
8665
|
+
clearInterval(current);
|
|
8666
|
+
stamp();
|
|
8667
|
+
}
|
|
8637
8668
|
watch.stop();
|
|
8638
8669
|
await relaying;
|
|
8639
8670
|
await relay?.close();
|
|
@@ -8774,7 +8805,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8774
8805
|
};
|
|
8775
8806
|
}, "tasking");
|
|
8776
8807
|
|
|
8777
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8808
|
+
// 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/cli/messenger/store-tables-command.js
|
|
8778
8809
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8779
8810
|
var PATH = "store tables list";
|
|
8780
8811
|
var STORE_TABLES_QUERY = {
|
|
@@ -8817,7 +8848,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8817
8848
|
return tables;
|
|
8818
8849
|
}, "storeTablesCommand");
|
|
8819
8850
|
|
|
8820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8851
|
+
// 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/cli/messenger/store-maintenance-command.js
|
|
8821
8852
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8822
8853
|
var WORD_INDEX = "message_words";
|
|
8823
8854
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -9060,7 +9091,9 @@ var inspect = /* @__PURE__ */ __name((path) => reading(path, (database) => {
|
|
|
9060
9091
|
...wordIndex ? [[WORD_INDEX, indexIntegrity(database, WORD_INDEX, 0)]] : [],
|
|
9061
9092
|
...stems ? [["message_stems", indexIntegrity(database, "message_stems", 0)]] : [],
|
|
9062
9093
|
...schema.version > 0 ? [["attachment_words", indexIntegrity(database, "attachment_words", 0)]] : [],
|
|
9063
|
-
...schema.version >= 68 ? [["crm_file_words", indexIntegrity(database, "crm_file_words", 0)]] : []
|
|
9094
|
+
...schema.version >= 68 ? [["crm_file_words", indexIntegrity(database, "crm_file_words", 0)]] : [],
|
|
9095
|
+
...schema.version >= 70 ? [["tracker_item_words", indexIntegrity(database, "tracker_item_words", 0)]] : [],
|
|
9096
|
+
...schema.version >= 71 ? [["content_post_words", indexIntegrity(database, "content_post_words", 0)]] : []
|
|
9064
9097
|
]);
|
|
9065
9098
|
const size = bytesOf2(path) + bytesOf2(`${path}-wal`);
|
|
9066
9099
|
const { bavail, bsize } = statfsSync2(dirname3(path));
|
|
@@ -9228,7 +9261,7 @@ var reindexCommand = /* @__PURE__ */ __name((owner) => destroysNothing(annotate(
|
|
|
9228
9261
|
throw new CliError("validation_error", `the store is behind this build \u2014 \`${lineOf(this, "store migrate")}\` first`);
|
|
9229
9262
|
}
|
|
9230
9263
|
resetSearchIndex(database);
|
|
9231
|
-
const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database);
|
|
9264
|
+
const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database) + resetTrackerItemWords(database) + resetContentPostWords(database);
|
|
9232
9265
|
const words = buildWordIndex(database, (note) => renderer.note(note));
|
|
9233
9266
|
return {
|
|
9234
9267
|
path,
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EUF5JNPG.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// 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-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// 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/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-LU5V5Y4A.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-ULWDWM3I.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|