@wirecat/zoom-cli 0.79.0 → 0.81.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/README.md +5 -4
- package/contracts/wirecat.json +71 -3
- package/dist/answer-output.d.ts +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/answers.d.ts +44 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/agent-VYAJCJLE.js +45 -0
- package/dist/bundle/{all-profiles-LDSHUH5W.js → all-profiles-3ASMN35R.js} +64 -22
- package/dist/bundle/answer-policy-PTH4F2DW.js +129 -0
- package/dist/bundle/{anthropic-UH3QWA3F.js → anthropic-XXI53VNI.js} +6 -6
- package/dist/bundle/{app-server-LFANTLAJ.js → app-server-B7WLNZNQ.js} +90 -80
- package/dist/bundle/{bun-M3J2QTR3.js → bun-2FLR4IV4.js} +2 -2
- package/dist/bundle/{bun-sqlite-NYP5UH23.js → bun-sqlite-3NNHTOGM.js} +7 -7
- package/dist/bundle/{chunk-RMQ7EALU.js → chunk-2ELGSNX3.js} +17 -17
- package/dist/bundle/{chunk-5RVXXDN7.js → chunk-2GNGR265.js} +1 -1
- package/dist/bundle/{chunk-FMT4CIGN.js → chunk-2RFWRJFK.js} +7 -7
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-2Z7UOXFC.js} +1 -1
- package/dist/bundle/chunk-337ALCXQ.js +640 -0
- package/dist/bundle/{chunk-2PUMYKGV.js → chunk-35FVYRH5.js} +20 -18
- package/dist/bundle/{chunk-Y64L7A7E.js → chunk-3M436OO2.js} +6 -6
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-3UX4VJWD.js} +1 -1
- package/dist/bundle/{chunk-P4MZOAPC.js → chunk-437DLSB3.js} +1371 -638
- package/dist/bundle/{chunk-I75KOOUD.js → chunk-46EF6P2J.js} +3 -3
- package/dist/bundle/{chunk-XOYMIEAZ.js → chunk-4B335BCJ.js} +7 -78
- package/dist/bundle/chunk-4BU3LRTB.js +561 -0
- package/dist/bundle/{chunk-LITZ7KPO.js → chunk-4BXLHSXY.js} +2 -2
- package/dist/bundle/{chunk-TUECY6LV.js → chunk-4FSH7K6N.js} +2 -2
- package/dist/bundle/{chunk-W656MRJD.js → chunk-4VOCXLMJ.js} +6 -6
- package/dist/bundle/{chunk-TLO62ROR.js → chunk-4ZXJ4AZW.js} +26 -26
- package/dist/bundle/{chunk-XFMVDQ6J.js → chunk-5EWYDHBH.js} +2 -2
- package/dist/bundle/{chunk-UQKVZFIX.js → chunk-5SEBLX6B.js} +12 -12
- package/dist/bundle/{chunk-HVQVCGME.js → chunk-77TJ3AJH.js} +3 -3
- package/dist/bundle/{chunk-I6VDTYML.js → chunk-7JWVPJIP.js} +10 -10
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-AV2ZJ4WX.js} +1 -1
- package/dist/bundle/{chunk-PCPOO5FS.js → chunk-AWJQ6FAX.js} +2 -2
- package/dist/bundle/{chunk-NKFEEY5M.js → chunk-B2WBWKYN.js} +12 -12
- package/dist/bundle/{chunk-52ZQ72HL.js → chunk-BQBC2WIG.js} +1 -1
- package/dist/bundle/{chunk-2GI63IPV.js → chunk-BZXHJKKI.js} +3 -3
- package/dist/bundle/{chunk-3QPAD6YI.js → chunk-C4BBCSGK.js} +43 -64
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-OLMEJNL4.js → chunk-D26K6756.js} +6 -6
- package/dist/bundle/{chunk-DI5JX4SD.js → chunk-D7CDHBDX.js} +1 -1
- package/dist/bundle/{chunk-Y4UDPQ3L.js → chunk-DMJLJVD3.js} +7 -7
- package/dist/bundle/{chunk-LCCVEX4R.js → chunk-EEBSKMEA.js} +12 -12
- package/dist/bundle/{chunk-DQVCCO7G.js → chunk-EPASOAEI.js} +184 -165
- package/dist/bundle/{chunk-RUE3WP7K.js → chunk-EWEQ7AXL.js} +45 -23
- package/dist/bundle/{chunk-4T3J4NCF.js → chunk-F2J2FQUB.js} +9 -9
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-F5ZAN7OC.js} +1 -1
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-FMMYBVCH.js} +1 -1
- package/dist/bundle/{chunk-XAOSZGTD.js → chunk-FXCR4DGU.js} +1 -1
- package/dist/bundle/{chunk-M5FW654Z.js → chunk-FXZPAGHT.js} +2 -2
- package/dist/bundle/{chunk-5KEOCHBZ.js → chunk-G3DWMG7Y.js} +4 -4
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-GCAJW4SR.js} +1 -1
- package/dist/bundle/chunk-GDRFVBCB.js +108 -0
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-GPRJXJC7.js} +15 -1
- package/dist/bundle/chunk-GW2A2FJH.js +209 -0
- package/dist/bundle/{chunk-2N57GL4L.js → chunk-HHQROAJQ.js} +1 -1
- package/dist/bundle/{chunk-M4RXPZ6K.js → chunk-HIFPHARA.js} +4 -4
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-ONJPUFLX.js → chunk-IBYGNUO7.js} +1 -1
- package/dist/bundle/{chunk-2W6QGFHF.js → chunk-IDUKCXL7.js} +8 -8
- package/dist/bundle/{chunk-FO5UNFFN.js → chunk-IFM4G4MT.js} +4 -4
- package/dist/bundle/chunk-IVZACJ6X.js +52 -0
- package/dist/bundle/{chunk-XIHENZW6.js → chunk-IYNICUCC.js} +4 -4
- package/dist/bundle/chunk-J5EHZBO5.js +68 -0
- package/dist/bundle/{chunk-FIJREKLA.js → chunk-JK24A3RP.js} +3 -3
- package/dist/bundle/{chunk-73L5R7AS.js → chunk-JKEMW6E4.js} +2 -2
- package/dist/bundle/{chunk-PP6SZLCY.js → chunk-K7CTCDYX.js} +18 -249
- package/dist/bundle/{chunk-63WT3HCY.js → chunk-KZ3B6HW5.js} +3 -3
- package/dist/bundle/{chunk-XDBGGOE2.js → chunk-L2ERFXB7.js} +32 -28
- package/dist/bundle/{chunk-2IPIBDXI.js → chunk-L54I45OX.js} +19 -16
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-LECMHK2F.js} +1 -1
- package/dist/bundle/{chunk-NQMHYLZO.js → chunk-LGESUPKO.js} +20 -20
- package/dist/bundle/{chunk-SGFNQFP4.js → chunk-LVCCZI5A.js} +71 -61
- package/dist/bundle/chunk-M7OYEMLI.js +340 -0
- package/dist/bundle/{chunk-VX6ZSKXM.js → chunk-MA4UJNUI.js} +12 -12
- package/dist/bundle/{chunk-4S7RUA3U.js → chunk-MBBR7QHI.js} +9333 -8433
- package/dist/bundle/{chunk-BNEJKGG7.js → chunk-N5ROXGY4.js} +78 -76
- package/dist/bundle/{chunk-2LJARGNG.js → chunk-N62P5FY4.js} +12 -12
- package/dist/bundle/{chunk-65DOVVHQ.js → chunk-NM5XMKWO.js} +1 -1
- package/dist/bundle/{chunk-YOBTKYIX.js → chunk-NQGGTO3B.js} +35 -12
- package/dist/bundle/{chunk-W5HRTC6X.js → chunk-NS3JWBDR.js} +6 -6
- package/dist/bundle/{chunk-QIK2IBJ4.js → chunk-NX3BLISW.js} +23 -7
- package/dist/bundle/{chunk-4BQN5IFQ.js → chunk-OEQNP56V.js} +2 -100
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-AWLZZTPW.js → chunk-PS7HQ5LQ.js} +3 -3
- package/dist/bundle/{chunk-J62BQBVG.js → chunk-Q26UFIH4.js} +3 -3
- package/dist/bundle/{chunk-QRKSASGP.js → chunk-QFK52FG6.js} +3 -3
- package/dist/bundle/chunk-QNG27PGH.js +751 -0
- package/dist/bundle/{chunk-T6LA664Z.js → chunk-R4CXFYQN.js} +139 -574
- package/dist/bundle/{chunk-OZQSTX4J.js → chunk-R6HP2XKD.js} +5 -5
- package/dist/bundle/{chunk-GTUBQQU2.js → chunk-RQFRXUI4.js} +77 -67
- package/dist/bundle/{chunk-BTFPDS52.js → chunk-RRYHLP3A.js} +6 -6
- package/dist/bundle/{chunk-HOXBHGP2.js → chunk-SRUAUMBL.js} +12 -12
- package/dist/bundle/{chunk-RJ5JAYNZ.js → chunk-T2BHIC37.js} +65 -65
- package/dist/bundle/{chunk-JJGUHWLB.js → chunk-T7QPZYRZ.js} +7 -7
- package/dist/bundle/{chunk-NI7UYGTF.js → chunk-TI4WJOEX.js} +13 -13
- package/dist/bundle/{chunk-ST3ZB7LS.js → chunk-UHMJSSQO.js} +1 -1
- package/dist/bundle/{chunk-BOVYOUB3.js → chunk-UMPUY77T.js} +10 -10
- package/dist/bundle/{chunk-U7QXC75C.js → chunk-UPR2S5IE.js} +9 -9
- package/dist/bundle/chunk-UUVWAVKN.js +80 -0
- package/dist/bundle/{chunk-2OTETB4A.js → chunk-V3ZTAAJ6.js} +19 -9
- package/dist/bundle/{chunk-QX3PO5UE.js → chunk-VAW7QGJA.js} +3 -3
- package/dist/bundle/{chunk-N5O3XVX3.js → chunk-VQTYJ6XH.js} +3 -3
- package/dist/bundle/{chunk-YCW422X7.js → chunk-VXD65V67.js} +1466 -1544
- package/dist/bundle/{chunk-D264RGZ4.js → chunk-WHXYPLUE.js} +4 -4
- package/dist/bundle/chunk-WIX6BFRF.js +353 -0
- package/dist/bundle/{chunk-P4WHDL2F.js → chunk-WKNYNK7W.js} +4 -4
- package/dist/bundle/{chunk-PJFVE7UH.js → chunk-XWKUGAG6.js} +31 -16
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-XYQVVW4R.js} +1 -1
- package/dist/bundle/{chunk-RMX2WPWS.js → chunk-Y7XJA4EW.js} +4 -4
- package/dist/bundle/{chunk-Z3CPZ4I4.js → chunk-YIIGF643.js} +306 -306
- package/dist/bundle/{chunk-525BI32C.js → chunk-YISJJNXT.js} +3 -3
- package/dist/bundle/{chunk-AZB6QXZU.js → chunk-YJKXCINQ.js} +51 -4
- package/dist/bundle/{chunk-IIFRJV3A.js → chunk-YNWBRDBX.js} +2 -2
- package/dist/bundle/{chunk-ZPZT46O6.js → chunk-YRDQ54G5.js} +33 -10
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-YUDVRFXN.js} +1 -1
- package/dist/bundle/{chunk-ND7TBQKO.js → chunk-ZFRYFDZN.js} +2 -2
- package/dist/bundle/{chunk-XEIL6VNA.js → chunk-ZLYICF6A.js} +4 -4
- package/dist/bundle/{chunk-7DTWT7BN.js → chunk-ZMAPXIGC.js} +2 -2
- package/dist/bundle/{chunk-ZKVYV25H.js → chunk-ZNAX7GUV.js} +8 -8
- package/dist/bundle/{cli-AVQU63FT.js → cli-WTGAGSXV.js} +144 -97
- package/dist/bundle/command-contract-3IKVWPDL.js +45 -0
- package/dist/bundle/{command-server-entry-JZP7Y73G.js → command-server-entry-47CAYN3E.js} +35 -35
- package/dist/bundle/config-ZOGOKGTU.js +116 -0
- package/dist/bundle/{decode-JLAYH7GC.js → decode-2G7QS5IQ.js} +6 -6
- package/dist/bundle/{dispatch-AWDROXWN.js → dispatch-ZAP3KBVJ.js} +9 -9
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{dist-TBLTUL5M.js → dist-WY6R3WH7.js} +21 -21
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-YRRVLEX3.js} +2 -2
- package/dist/bundle/{embed-CJRENDF7.js → embed-B5H3OW2O.js} +7 -7
- package/dist/bundle/{embedder-RPE67QJD.js → embedder-3O73SP6Y.js} +10 -10
- package/dist/bundle/{failure-JZW73RP7.js → failure-EYGW7JMC.js} +3 -3
- package/dist/bundle/first-run-MPKMDEMA.js +29 -0
- package/dist/bundle/first-screen-AIAAC3KF.js +45 -0
- package/dist/bundle/{folders-TGFOE7DY.js → folders-4CGFWM6H.js} +5 -5
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-AG7SRWTR.js} +1 -1
- package/dist/bundle/{main-QRJ6NRCD.js → main-DOGY6FJP.js} +24 -24
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-YKPKTKGA.js +26 -0
- package/dist/bundle/meeting-model-HTXSGHNM.js +26 -0
- package/dist/bundle/{meeting-semantic-4MURLQCA.js → meeting-semantic-FOEBWV3P.js} +8 -8
- package/dist/bundle/{meetings-QFZWKHI4.js → meetings-PVE4C2NF.js} +7 -7
- package/dist/bundle/{node-CXZIFHZC.js → node-GJQYN4FT.js} +2 -2
- package/dist/bundle/{node-sqlite-CZPYFROO.js → node-sqlite-MLRYKVCQ.js} +8 -8
- package/dist/bundle/oauth-AC55C6SG.js +20 -0
- package/dist/bundle/{open-3AONZFET.js → open-3LGTYP6M.js} +6 -6
- package/dist/bundle/openai-E2MSLVIX.js +28 -0
- package/dist/bundle/{output-file-J4SU6X4I.js → output-file-FXMTTLOI.js} +6 -6
- package/dist/bundle/{process-5RUXWGYS.js → process-MEKCZMX3.js} +1 -1
- package/dist/bundle/{program-2O4YSRWY.js → program-E5BSSIGY.js} +166 -156
- package/dist/bundle/{prompt-NDLUFCJV.js → prompt-AIA6QSZK.js} +6 -6
- package/dist/bundle/{recognize-CZOIAJQX.js → recognize-M57VNTEV.js} +5 -5
- package/dist/bundle/{remote-O3CE4Q3B.js → remote-3OTENZ7Z.js} +11 -11
- package/dist/bundle/{rerank-MZOL746K.js → rerank-P5WHDFDU.js} +8 -8
- package/dist/bundle/run-log-EOQ4EQDS.js +143 -0
- package/dist/bundle/{serve-43IBHMFM.js → serve-BRLC2QVV.js} +11 -11
- package/dist/bundle/{server-6LTMPPTO.js → server-25NF7DMS.js} +80 -69
- package/dist/bundle/server-EW2RL2EL.js +93 -0
- package/dist/bundle/{services-UIRD5PHE.js → services-MJE43OGD.js} +54 -52
- package/dist/bundle/{speech-6QVKIJVR.js → speech-4AVCWTQH.js} +28 -28
- package/dist/bundle/{sqlite-runtime-PKCIBVHZ.js → sqlite-runtime-U4TQXWMC.js} +7 -7
- package/dist/bundle/{state-AC55V3IE.js → state-GNUGVMY7.js} +7 -7
- package/dist/bundle/{store-OAGA2ZK3.js → store-KBFZVQWF.js} +33 -24
- package/dist/bundle/{store-QOCYJNKX.js → store-MHVBFUBB.js} +27 -26
- package/dist/bundle/store-connection-SKRUAI4L.js +109 -0
- package/dist/bundle/store-maintenance-command-G6EXJSHJ.js +81 -0
- package/dist/bundle/{streaming-VDJOYGMO.js → streaming-6F7AFEHD.js} +7 -7
- package/dist/bundle/surface-DWEWB5RG.js +79 -0
- package/dist/bundle/{tokens-LN442AO6.js → tokens-BB4MQBLH.js} +11 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-TOCQ7LB5.js → zoom-app-YTGOZ2FS.js} +8 -8
- package/dist/commands.d.ts +1 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +8 -2
- package/dist/commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -2
- package/dist/program-bindings.js.map +1 -1
- package/dist/setup-commands.d.ts +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +31 -5
- package/dist/setup-commands.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-api/types.d.ts +5 -0
- package/dist/zoom-api/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-VJK4ID2F.js +0 -122
- package/dist/bundle/chunk-3AFZ6Q5N.js +0 -729
- package/dist/bundle/command-contract-MCWBL5VS.js +0 -45
- package/dist/bundle/config-G3C54VH6.js +0 -109
- package/dist/bundle/first-run-QEASX5J5.js +0 -29
- package/dist/bundle/first-screen-NGCQD3CU.js +0 -45
- package/dist/bundle/meeting-combined-AZXCDXCV.js +0 -26
- package/dist/bundle/meeting-model-7HNQ4I3J.js +0 -26
- package/dist/bundle/oauth-T45MPIZF.js +0 -20
- package/dist/bundle/openai-LHWUXEBO.js +0 -28
- package/dist/bundle/run-log-GX6LNMWY.js +0 -136
- package/dist/bundle/server-3E2PJGYK.js +0 -85
- package/dist/bundle/store-connection-PBZMFY56.js +0 -102
- package/dist/bundle/store-maintenance-command-VBCHEOGI.js +0 -77
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
answerSchema,
|
|
7
7
|
describeOptions,
|
|
8
8
|
metaOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EPASOAEI.js";
|
|
10
10
|
import {
|
|
11
11
|
keyForCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-V3ZTAAJ6.js";
|
|
13
13
|
import {
|
|
14
14
|
jsonSchemaOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YRDQ54G5.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UHMJSSQO.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.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
24
24
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
25
25
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
26
26
|
const entity = answerEntitySchema(command);
|
|
@@ -2,52 +2,56 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
sharedModel
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IDUKCXL7.js";
|
|
6
6
|
import {
|
|
7
7
|
answerOf,
|
|
8
8
|
messengerContext
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-35FVYRH5.js";
|
|
10
10
|
import {
|
|
11
11
|
chatEventAnswer,
|
|
12
12
|
memberAnswer,
|
|
13
|
-
pollVoteAnswer
|
|
13
|
+
pollVoteAnswer
|
|
14
|
+
} from "./chunk-WIX6BFRF.js";
|
|
15
|
+
import {
|
|
14
16
|
serveRelay
|
|
15
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-M7OYEMLI.js";
|
|
16
18
|
import {
|
|
17
19
|
holdLock,
|
|
18
20
|
lockPath,
|
|
19
21
|
releaseLock,
|
|
20
22
|
servingProfiles,
|
|
21
23
|
takeLock
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Q26UFIH4.js";
|
|
23
25
|
import {
|
|
24
26
|
FETCHING,
|
|
25
27
|
RULES_VERSION,
|
|
26
28
|
applyTaskRulesOnArrival,
|
|
27
|
-
capability,
|
|
28
29
|
newSendId,
|
|
29
30
|
onlineDeps,
|
|
30
31
|
openRequestTask,
|
|
31
32
|
patiently,
|
|
32
|
-
queryTerms,
|
|
33
33
|
refuseLockedOutput,
|
|
34
34
|
senderIsMe,
|
|
35
35
|
servicesFor,
|
|
36
|
-
syncsOneChat
|
|
37
|
-
|
|
38
|
-
withQuery
|
|
39
|
-
} from "./chunk-4S7RUA3U.js";
|
|
36
|
+
syncsOneChat
|
|
37
|
+
} from "./chunk-MBBR7QHI.js";
|
|
40
38
|
import {
|
|
41
39
|
embeddingKeys,
|
|
42
40
|
endpointKeyName,
|
|
43
41
|
modelGateway
|
|
44
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-SRUAUMBL.js";
|
|
45
43
|
import {
|
|
46
44
|
withTimeLimit
|
|
47
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-NM5XMKWO.js";
|
|
46
|
+
import {
|
|
47
|
+
capability,
|
|
48
|
+
queryTerms,
|
|
49
|
+
typedQuery,
|
|
50
|
+
withQuery
|
|
51
|
+
} from "./chunk-QNG27PGH.js";
|
|
48
52
|
import {
|
|
49
53
|
renderMessages
|
|
50
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-4FSH7K6N.js";
|
|
51
55
|
import {
|
|
52
56
|
QUICK_HEALTH_CHECKS,
|
|
53
57
|
fts5Tables,
|
|
@@ -55,7 +59,7 @@ import {
|
|
|
55
59
|
lossUnknown,
|
|
56
60
|
storeDamageReport,
|
|
57
61
|
storeHealth
|
|
58
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2ELGSNX3.js";
|
|
59
63
|
import {
|
|
60
64
|
Command,
|
|
61
65
|
LOCAL_READ,
|
|
@@ -81,19 +85,19 @@ import {
|
|
|
81
85
|
snakeKeys,
|
|
82
86
|
storeTable,
|
|
83
87
|
withoutProviderRefs
|
|
84
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-EPASOAEI.js";
|
|
85
89
|
import {
|
|
86
90
|
modelTarget
|
|
87
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-IFM4G4MT.js";
|
|
88
92
|
import {
|
|
89
93
|
holdersOf
|
|
90
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-YUDVRFXN.js";
|
|
91
95
|
import {
|
|
92
96
|
levelFor
|
|
93
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-V3ZTAAJ6.js";
|
|
94
98
|
import {
|
|
95
99
|
readSecret
|
|
96
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-VAW7QGJA.js";
|
|
97
101
|
import {
|
|
98
102
|
CORPORA,
|
|
99
103
|
MIGRATIONS,
|
|
@@ -117,10 +121,12 @@ import {
|
|
|
117
121
|
readStoreTables,
|
|
118
122
|
rebuildMentions,
|
|
119
123
|
resetAttachmentWords,
|
|
124
|
+
resetContentPostWords,
|
|
120
125
|
resetCrmFileWords,
|
|
121
126
|
resetNoteIndex,
|
|
122
127
|
resetSearchIndex,
|
|
123
128
|
resetStems,
|
|
129
|
+
resetTrackerItemWords,
|
|
124
130
|
rollBack,
|
|
125
131
|
rowCounts,
|
|
126
132
|
searchIndexState,
|
|
@@ -129,37 +135,37 @@ import {
|
|
|
129
135
|
storeClients,
|
|
130
136
|
storeContents,
|
|
131
137
|
vectorIndexCounts
|
|
132
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-437DLSB3.js";
|
|
133
139
|
import {
|
|
134
140
|
readDamageMark,
|
|
135
141
|
readHealthMark,
|
|
136
142
|
readJournalMark,
|
|
137
143
|
recordDeepCheck
|
|
138
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-EWEQ7AXL.js";
|
|
139
145
|
import {
|
|
140
146
|
currentRun
|
|
141
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-D26K6756.js";
|
|
142
148
|
import {
|
|
143
149
|
failureKey,
|
|
144
150
|
isStoreDamage
|
|
145
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-ZFRYFDZN.js";
|
|
146
152
|
import {
|
|
147
153
|
formatLocator,
|
|
148
154
|
parseLocator
|
|
149
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-TI4WJOEX.js";
|
|
150
156
|
import {
|
|
151
157
|
storePath
|
|
152
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-JKEMW6E4.js";
|
|
153
159
|
import {
|
|
154
160
|
openCache
|
|
155
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-NS3JWBDR.js";
|
|
156
162
|
import {
|
|
157
163
|
queryFieldsOf
|
|
158
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-YIIGF643.js";
|
|
159
165
|
import {
|
|
160
166
|
resolvePaths,
|
|
161
167
|
writeSecurely
|
|
162
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-N5ROXGY4.js";
|
|
163
169
|
import {
|
|
164
170
|
array,
|
|
165
171
|
boolean,
|
|
@@ -180,10 +186,10 @@ import {
|
|
|
180
186
|
string,
|
|
181
187
|
transform,
|
|
182
188
|
trim
|
|
183
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-YRDQ54G5.js";
|
|
184
190
|
import {
|
|
185
191
|
CliError
|
|
186
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-UHMJSSQO.js";
|
|
187
193
|
import {
|
|
188
194
|
__commonJS,
|
|
189
195
|
__name,
|
|
@@ -5523,11 +5529,11 @@ var require_liquid_node = __commonJS({
|
|
|
5523
5529
|
}
|
|
5524
5530
|
});
|
|
5525
5531
|
|
|
5526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5527
5533
|
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
5534
|
import { dirname as dirname3, resolve } from "node:path";
|
|
5529
5535
|
|
|
5530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5531
5537
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5532
5538
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5533
5539
|
import { Transform } from "node:stream";
|
|
@@ -5634,7 +5640,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5634
5640
|
renameSync(pending, to);
|
|
5635
5641
|
}, "unsealFile");
|
|
5636
5642
|
|
|
5637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5638
5644
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5639
5645
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5640
5646
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5658,7 +5664,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5658
5664
|
};
|
|
5659
5665
|
}, "compatibilityOf");
|
|
5660
5666
|
|
|
5661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5662
5668
|
import { createHash as createHash2 } from "node:crypto";
|
|
5663
5669
|
var COPY_MARK = "__repair_";
|
|
5664
5670
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5912,19 +5918,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5912
5918
|
return found;
|
|
5913
5919
|
}, "deleteCopy");
|
|
5914
5920
|
|
|
5915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5916
5922
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5917
5923
|
|
|
5918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5919
5925
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5920
5926
|
|
|
5921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5922
5928
|
import { execFileSync, spawn } from "node:child_process";
|
|
5923
5929
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5924
5930
|
import { basename, dirname, join } from "node:path";
|
|
5925
5931
|
import { Transform as Transform2 } from "node:stream";
|
|
5926
5932
|
|
|
5927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/refill.js
|
|
5928
5934
|
var REFILL_MARGIN_MS = 864e5;
|
|
5929
5935
|
var TIME_KEYS = 1e12;
|
|
5930
5936
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -6004,7 +6010,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
6004
6010
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6005
6011
|
}, "forgetMail");
|
|
6006
6012
|
|
|
6007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
6008
6014
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6009
6015
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6010
6016
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6282,6 +6288,8 @@ var FILLERS = {
|
|
|
6282
6288
|
}, "message_stems"),
|
|
6283
6289
|
attachment_words: /* @__PURE__ */ __name((database) => void resetAttachmentWords(database), "attachment_words"),
|
|
6284
6290
|
crm_file_words: /* @__PURE__ */ __name((database) => void resetCrmFileWords(database), "crm_file_words"),
|
|
6291
|
+
tracker_item_words: /* @__PURE__ */ __name((database) => void resetTrackerItemWords(database), "tracker_item_words"),
|
|
6292
|
+
content_post_words: /* @__PURE__ */ __name((database) => void resetContentPostWords(database), "content_post_words"),
|
|
6285
6293
|
attachment_name_words: /* @__PURE__ */ __name((database) => (
|
|
6286
6294
|
// As migration 20 filled it: й and ё fold as the triggers fold them.
|
|
6287
6295
|
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 +6541,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6533
6541
|
}
|
|
6534
6542
|
}, "recoverLocked");
|
|
6535
6543
|
|
|
6536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6537
6545
|
var COUNTED = [
|
|
6538
6546
|
"accounts",
|
|
6539
6547
|
"chats",
|
|
@@ -6689,7 +6697,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6689
6697
|
return recover;
|
|
6690
6698
|
}, "storeRecoverCommand");
|
|
6691
6699
|
|
|
6692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6693
6701
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6694
6702
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6695
6703
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6739,7 +6747,7 @@ var sharedStoreCommand = /* @__PURE__ */ __name((app) => {
|
|
|
6739
6747
|
return app ? store.addCommand(storeRecoverCommand(app)) : store;
|
|
6740
6748
|
}, "sharedStoreCommand");
|
|
6741
6749
|
|
|
6742
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6743
6751
|
var ENCRYPT_OPTION = [
|
|
6744
6752
|
"--encrypt",
|
|
6745
6753
|
"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"
|
|
@@ -6758,7 +6766,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6758
6766
|
return password;
|
|
6759
6767
|
}, "passwordOf");
|
|
6760
6768
|
|
|
6761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6762
6770
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6763
6771
|
import { join as join2 } from "node:path";
|
|
6764
6772
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6929,7 +6937,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6929
6937
|
}, "problem");
|
|
6930
6938
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6931
6939
|
|
|
6932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6933
6941
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6934
6942
|
import { join as join3 } from "node:path";
|
|
6935
6943
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6982,7 +6990,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6982
6990
|
}, "recordReply");
|
|
6983
6991
|
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");
|
|
6984
6992
|
|
|
6985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6986
6994
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6987
6995
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6988
6996
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7088,10 +7096,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7088
7096
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7089
7097
|
}, "filled");
|
|
7090
7098
|
|
|
7091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7092
7100
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7093
7101
|
|
|
7094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
7095
7103
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7096
7104
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7097
7105
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7118,7 +7126,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7118
7126
|
return engine;
|
|
7119
7127
|
}, "safeLiquid");
|
|
7120
7128
|
|
|
7121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7122
7130
|
var TEMPLATE_LIMITS = {
|
|
7123
7131
|
parse: 32768,
|
|
7124
7132
|
renders: 2e3,
|
|
@@ -7257,7 +7265,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7257
7265
|
}
|
|
7258
7266
|
}, "renderReplyTemplate");
|
|
7259
7267
|
|
|
7260
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
7261
7269
|
var DRY_RUN_DAYS = 7;
|
|
7262
7270
|
var PAGE = 500;
|
|
7263
7271
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7371,7 +7379,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7371
7379
|
}
|
|
7372
7380
|
}, "storedSince");
|
|
7373
7381
|
|
|
7374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/models/purpose.js
|
|
7375
7383
|
var HOSTED = {
|
|
7376
7384
|
openai: "https://api.openai.com/v1",
|
|
7377
7385
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7392,7 +7400,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7392
7400
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7393
7401
|
}, "purposeModel");
|
|
7394
7402
|
|
|
7395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7396
7404
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7397
7405
|
import { join as join4 } from "node:path";
|
|
7398
7406
|
var shape = strictObject({
|
|
@@ -7417,7 +7425,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7417
7425
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7418
7426
|
}, "mayModelReply");
|
|
7419
7427
|
|
|
7420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7421
7429
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7422
7430
|
ai: true
|
|
7423
7431
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7465,7 +7473,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7465
7473
|
return result2;
|
|
7466
7474
|
}, "replyRenderer");
|
|
7467
7475
|
|
|
7468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7469
7477
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7470
7478
|
var NO_RULES = "no rules";
|
|
7471
7479
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7558,7 +7566,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7558
7566
|
return { skip: why };
|
|
7559
7567
|
}, "replyTo");
|
|
7560
7568
|
|
|
7561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7562
7570
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7563
7571
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7564
7572
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7635,7 +7643,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7635
7643
|
};
|
|
7636
7644
|
}, "startSync");
|
|
7637
7645
|
|
|
7638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7646
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7639
7647
|
var FIRST_FETCH_MS = 6e4;
|
|
7640
7648
|
var DAY_MS = 864e5;
|
|
7641
7649
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7689,7 +7697,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7689
7697
|
};
|
|
7690
7698
|
}, "memberFetches");
|
|
7691
7699
|
|
|
7692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7693
7701
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7694
7702
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7695
7703
|
if (context.format === "pretty") {
|
|
@@ -7722,7 +7730,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7722
7730
|
return context;
|
|
7723
7731
|
}, "recordDiagnostics");
|
|
7724
7732
|
|
|
7725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
|
|
7726
7734
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7727
7735
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
7728
7736
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -7808,7 +7816,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
7808
7816
|
};
|
|
7809
7817
|
}, "watchOutdated");
|
|
7810
7818
|
|
|
7811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
7812
7820
|
var STEMS_EVERY_MS = 3e4;
|
|
7813
7821
|
var STEMS_SLICE_MS = 2e3;
|
|
7814
7822
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -7848,7 +7856,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
7848
7856
|
};
|
|
7849
7857
|
}, "stemFills");
|
|
7850
7858
|
|
|
7851
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
7852
7860
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
7853
7861
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
7854
7862
|
kind: attachment.kind,
|
|
@@ -7944,7 +7952,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
7944
7952
|
locale: messenger.app.locale
|
|
7945
7953
|
}), "viewOf");
|
|
7946
7954
|
|
|
7947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
7948
7956
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
7949
7957
|
value: value.value,
|
|
7950
7958
|
observed_at: value.observedAt,
|
|
@@ -8011,7 +8019,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8011
8019
|
}
|
|
8012
8020
|
}, "watchEventItem");
|
|
8013
8021
|
|
|
8014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
8015
8023
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8016
8024
|
output: { entity: "watch_item" },
|
|
8017
8025
|
effects: REMOTE_READ,
|
|
@@ -8166,7 +8174,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8166
8174
|
}
|
|
8167
8175
|
}, "describe");
|
|
8168
8176
|
|
|
8169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
8170
8178
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8171
8179
|
const command = annotate(new Command("serve"), {
|
|
8172
8180
|
output: { entity: "serve_summary" },
|
|
@@ -8452,7 +8460,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8452
8460
|
};
|
|
8453
8461
|
}, "tasking");
|
|
8454
8462
|
|
|
8455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8463
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8456
8464
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8457
8465
|
var PATH = "store tables list";
|
|
8458
8466
|
var STORE_TABLES_QUERY = {
|
|
@@ -8495,7 +8503,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8495
8503
|
return tables;
|
|
8496
8504
|
}, "storeTablesCommand");
|
|
8497
8505
|
|
|
8498
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8499
8507
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8500
8508
|
var WORD_INDEX = "message_words";
|
|
8501
8509
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -8738,7 +8746,9 @@ var inspect = /* @__PURE__ */ __name((path) => reading(path, (database) => {
|
|
|
8738
8746
|
...wordIndex ? [[WORD_INDEX, indexIntegrity(database, WORD_INDEX, 0)]] : [],
|
|
8739
8747
|
...stems ? [["message_stems", indexIntegrity(database, "message_stems", 0)]] : [],
|
|
8740
8748
|
...schema.version > 0 ? [["attachment_words", indexIntegrity(database, "attachment_words", 0)]] : [],
|
|
8741
|
-
...schema.version >= 68 ? [["crm_file_words", indexIntegrity(database, "crm_file_words", 0)]] : []
|
|
8749
|
+
...schema.version >= 68 ? [["crm_file_words", indexIntegrity(database, "crm_file_words", 0)]] : [],
|
|
8750
|
+
...schema.version >= 70 ? [["tracker_item_words", indexIntegrity(database, "tracker_item_words", 0)]] : [],
|
|
8751
|
+
...schema.version >= 71 ? [["content_post_words", indexIntegrity(database, "content_post_words", 0)]] : []
|
|
8742
8752
|
]);
|
|
8743
8753
|
const size = bytesOf2(path) + bytesOf2(`${path}-wal`);
|
|
8744
8754
|
const { bavail, bsize } = statfsSync2(dirname3(path));
|
|
@@ -8906,7 +8916,7 @@ var reindexCommand = /* @__PURE__ */ __name((owner) => destroysNothing(annotate(
|
|
|
8906
8916
|
throw new CliError("validation_error", `the store is behind this build \u2014 \`${lineOf(this, "store migrate")}\` first`);
|
|
8907
8917
|
}
|
|
8908
8918
|
resetSearchIndex(database);
|
|
8909
|
-
const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database);
|
|
8919
|
+
const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database) + resetTrackerItemWords(database) + resetContentPostWords(database);
|
|
8910
8920
|
const words = buildWordIndex(database, (note) => renderer.note(note));
|
|
8911
8921
|
return {
|
|
8912
8922
|
path,
|
|
@@ -5,27 +5,27 @@ import {
|
|
|
5
5
|
openRemote,
|
|
6
6
|
remoteKey,
|
|
7
7
|
remoteModel
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-F2J2FQUB.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextModelInstalled,
|
|
11
11
|
openEmbedder,
|
|
12
12
|
textModelsDirectory
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-C4BBCSGK.js";
|
|
14
14
|
import {
|
|
15
15
|
textModel,
|
|
16
16
|
vectorModelKey
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4VOCXLMJ.js";
|
|
18
18
|
import {
|
|
19
19
|
endpointFetch
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-77TJ3AJH.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UHMJSSQO.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
|
|
29
29
|
var integer = /* @__PURE__ */ __name((value, name, max) => {
|
|
30
30
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
31
31
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
withTimeLimit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NM5XMKWO.js";
|
|
6
6
|
import {
|
|
7
7
|
EmptyAnswer,
|
|
8
8
|
checkedOptions,
|
|
@@ -10,25 +10,25 @@ import {
|
|
|
10
10
|
range,
|
|
11
11
|
systemFor,
|
|
12
12
|
validateImages
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HIFPHARA.js";
|
|
14
14
|
import {
|
|
15
15
|
refuseOffComputer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F2J2FQUB.js";
|
|
17
17
|
import {
|
|
18
18
|
envName
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FXZPAGHT.js";
|
|
20
20
|
import {
|
|
21
21
|
PLAIN_HTTP_REFUSED,
|
|
22
22
|
endpoint,
|
|
23
23
|
endpointFetch,
|
|
24
24
|
modelAddressAllowed,
|
|
25
25
|
onThisComputer
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-77TJ3AJH.js";
|
|
27
27
|
import {
|
|
28
28
|
Credentials,
|
|
29
29
|
pathsAreOverridden,
|
|
30
30
|
resolvePaths
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-N5ROXGY4.js";
|
|
32
32
|
import {
|
|
33
33
|
array,
|
|
34
34
|
integer,
|
|
@@ -39,15 +39,15 @@ import {
|
|
|
39
39
|
strictObject,
|
|
40
40
|
string,
|
|
41
41
|
union
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YRDQ54G5.js";
|
|
43
43
|
import {
|
|
44
44
|
CliError
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UHMJSSQO.js";
|
|
46
46
|
import {
|
|
47
47
|
__name
|
|
48
48
|
} from "./chunk-ZVVMGPBJ.js";
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/models/openai.js
|
|
51
51
|
var options = strictObject({
|
|
52
52
|
temperature: range(0, 2),
|
|
53
53
|
top_p: range(0, 1),
|
|
@@ -114,7 +114,7 @@ var openai = {
|
|
|
114
114
|
}), "complete")
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/models/index.js
|
|
118
118
|
var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
119
119
|
complete: /* @__PURE__ */ __name(async (request) => {
|
|
120
120
|
if (deps.signal?.aborted)
|
|
@@ -129,7 +129,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
129
129
|
if (!adapter && target.provider === "openai")
|
|
130
130
|
adapter = openai;
|
|
131
131
|
if (!adapter && target.provider === "anthropic")
|
|
132
|
-
adapter = (await import("./anthropic-
|
|
132
|
+
adapter = (await import("./anthropic-XXI53VNI.js")).anthropic;
|
|
133
133
|
if (!adapter)
|
|
134
134
|
throw new CliError("validation_error", `no model adapter for ${target.provider}`);
|
|
135
135
|
if (request.images !== void 0 && adapter.images !== true)
|
|
@@ -189,7 +189,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
189
189
|
}, "complete")
|
|
190
190
|
}), "modelGateway");
|
|
191
191
|
|
|
192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
|
|
193
193
|
var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
|
|
194
194
|
const host = new URL(baseUrl).host;
|
|
195
195
|
return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
|