@wirecat/zoom-cli 0.73.0 → 0.75.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/contracts/wirecat.json +5 -4
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-V47CUJFK.js → all-profiles-WFLKFKJC.js} +19 -29
- package/dist/bundle/answer-policy-XCKC2LLN.js +110 -0
- package/dist/bundle/{anthropic-SID7Z3QN.js → anthropic-H45W4P22.js} +2 -2
- package/dist/bundle/{app-server-KCMUSY4A.js → app-server-I4FPLBIX.js} +49 -66
- package/dist/bundle/{bun-PWMM6L45.js → bun-V5QLYBZU.js} +2 -2
- package/dist/bundle/{bun-sqlite-3TLKUN5A.js → bun-sqlite-X2YZPHDS.js} +3 -3
- package/dist/bundle/{chunk-PGPHEC2X.js → chunk-2Q4CB4EI.js} +1 -1
- package/dist/bundle/{chunk-PACLT6IW.js → chunk-3U3W6YY5.js} +69 -68
- package/dist/bundle/{chunk-QVJMFZFW.js → chunk-3URYKAJP.js} +1 -1
- package/dist/bundle/{chunk-UYBLNGZ2.js → chunk-3YKAFLXY.js} +1 -1
- package/dist/bundle/{chunk-IKNOTHG2.js → chunk-3YRPDNWK.js} +544 -142
- package/dist/bundle/{chunk-CMWFYZ45.js → chunk-4J5GJJ2I.js} +1 -1
- package/dist/bundle/{chunk-Y3IH7EZC.js → chunk-4XDWV6VJ.js} +16 -16
- package/dist/bundle/{chunk-KHBZ4OEP.js → chunk-4YNUQGDP.js} +1 -1
- package/dist/bundle/{chunk-35CYSRGJ.js → chunk-532H3KT3.js} +2 -2
- package/dist/bundle/{chunk-TI2OANJZ.js → chunk-6XNTELM5.js} +1 -1
- package/dist/bundle/chunk-7ZVWV33Z.js +707 -0
- package/dist/bundle/{chunk-ERQRY6WZ.js → chunk-A3Q3PG54.js} +1 -1
- package/dist/bundle/{chunk-JQF4LM3V.js → chunk-AVCYD4WQ.js} +20 -19
- package/dist/bundle/{chunk-P4FU6R3Z.js → chunk-B6Q53CVA.js} +7 -7
- package/dist/bundle/{chunk-KSNJK4QM.js → chunk-BY2YPKZZ.js} +12 -12
- package/dist/bundle/{chunk-L6YSKCC3.js → chunk-C5WQ57AB.js} +1 -1
- package/dist/bundle/{chunk-AIEMFRBU.js → chunk-CAQ5GW3A.js} +1 -1
- package/dist/bundle/{chunk-G2TSDMTA.js → chunk-DQBLDZ7M.js} +3 -3
- package/dist/bundle/{chunk-ILDGZBZD.js → chunk-DUPFAY35.js} +6 -6
- package/dist/bundle/{chunk-GCZMYDKU.js → chunk-ELD5AC7Q.js} +2 -2
- package/dist/bundle/{chunk-CIUJEQH4.js → chunk-EOZAJGB4.js} +11 -12
- package/dist/bundle/{chunk-VJVYGTPM.js → chunk-F6RB5FHZ.js} +1 -1
- package/dist/bundle/{chunk-LVDTSCIN.js → chunk-F7K2V6OA.js} +10 -10
- package/dist/bundle/{chunk-4LFFDUUW.js → chunk-FBYGBR4Q.js} +3 -3
- package/dist/bundle/{chunk-6AO2RSYH.js → chunk-GPVSGZ4R.js} +1608 -1096
- package/dist/bundle/{chunk-2NQPB6MT.js → chunk-GU4FVTJV.js} +17 -1
- package/dist/bundle/{chunk-6NI4FE5G.js → chunk-HKPNQL52.js} +3 -3
- package/dist/bundle/{chunk-KUL7S5Y3.js → chunk-IDGWBKMH.js} +10 -10
- package/dist/bundle/{chunk-QS6DWXDB.js → chunk-IMDTC4MD.js} +34 -20
- package/dist/bundle/{chunk-LSVQCI6V.js → chunk-IO3BQ6JU.js} +22 -22
- package/dist/bundle/{chunk-V5Q2QKYM.js → chunk-IW245Q5B.js} +23 -25
- package/dist/bundle/{chunk-DPSTOVKC.js → chunk-JDTZCZ5K.js} +2 -2
- package/dist/bundle/{chunk-JIS34MLC.js → chunk-JTYWSXJG.js} +7 -7
- package/dist/bundle/{chunk-K5JFX5TK.js → chunk-K5E5MB4C.js} +18 -18
- package/dist/bundle/{chunk-VPPNYUQM.js → chunk-L5UILROP.js} +322 -11
- package/dist/bundle/{chunk-DYLYH7VE.js → chunk-LRCSDAYK.js} +3 -3
- package/dist/bundle/{chunk-PJ3FKBXG.js → chunk-MHXZ62CU.js} +1 -1
- package/dist/bundle/{chunk-OKOJEBHK.js → chunk-MNVT7EJS.js} +2 -2
- package/dist/bundle/{chunk-HAMDPWEZ.js → chunk-NE4GYKQA.js} +5 -5
- package/dist/bundle/{chunk-PKON63JH.js → chunk-NL6AZ6S2.js} +1 -1
- package/dist/bundle/{chunk-N3SOTKXC.js → chunk-NQLL4KRN.js} +5 -5
- package/dist/bundle/{chunk-XLY7V2LB.js → chunk-NQQVNLO6.js} +10 -10
- package/dist/bundle/{chunk-44YVZIA4.js → chunk-NU4FSSMN.js} +2 -2
- package/dist/bundle/{chunk-ZVQDOKDY.js → chunk-OUM4ZO53.js} +1 -1
- package/dist/bundle/{chunk-OU5OXA6Q.js → chunk-P4ZQQLZF.js} +1772 -718
- package/dist/bundle/{chunk-OMLVWOEF.js → chunk-P6MQ6FS4.js} +184 -16
- package/dist/bundle/{chunk-NBA2V6LB.js → chunk-PCJRHC5Y.js} +7 -7
- package/dist/bundle/{chunk-G3SIY4MQ.js → chunk-PPM7UTCT.js} +22 -21
- package/dist/bundle/{chunk-3ADFJ3UP.js → chunk-PX4IMYVB.js} +2 -2
- package/dist/bundle/{chunk-FJMRDRPN.js → chunk-QBKKTTA3.js} +1155 -484
- package/dist/bundle/{chunk-ZX4QWTMQ.js → chunk-QEO3XTIE.js} +37 -29
- package/dist/bundle/{chunk-FZLJ2G7A.js → chunk-QXQUANWE.js} +4 -4
- package/dist/bundle/{chunk-MG2CCAVG.js → chunk-RABCFGT3.js} +2 -2
- package/dist/bundle/{chunk-SYIOT45G.js → chunk-RBYVQE3S.js} +4 -4
- package/dist/bundle/{chunk-6WUTUCKH.js → chunk-RKI4BGWG.js} +2 -2
- package/dist/bundle/{chunk-EXWZCI5G.js → chunk-SEJBS7SI.js} +1 -1
- package/dist/bundle/{chunk-LQYMN36C.js → chunk-SR5X7YKB.js} +1 -1
- package/dist/bundle/{chunk-KK2IVZUQ.js → chunk-T25PR26L.js} +5 -5
- package/dist/bundle/{chunk-ZAIE3G5I.js → chunk-T4FMXDDV.js} +2 -2
- package/dist/bundle/{chunk-SO52EJ2W.js → chunk-TSHUBGN4.js} +2 -2
- package/dist/bundle/{chunk-OFA22L4G.js → chunk-V3UK6E5B.js} +4 -4
- package/dist/bundle/{chunk-Q43KX56Z.js → chunk-VLK3X53X.js} +2 -2
- package/dist/bundle/{chunk-Z5XCU4S7.js → chunk-VPSQZ2YR.js} +44 -52
- package/dist/bundle/{chunk-QWGEOQHA.js → chunk-VUPWDCYV.js} +1 -1
- package/dist/bundle/{chunk-K7EMVFJ7.js → chunk-W2AC2RAG.js} +13 -13
- package/dist/bundle/{chunk-UIKVP23D.js → chunk-WQOGHND4.js} +1 -1
- package/dist/bundle/{chunk-ETQNHS3A.js → chunk-WUWF4EXZ.js} +6 -6
- package/dist/bundle/{chunk-HO3GBTIT.js → chunk-XCJGDPMN.js} +1547 -917
- package/dist/bundle/{chunk-2VYEGKQ3.js → chunk-XUHQ7DVT.js} +1 -1
- package/dist/bundle/{chunk-IE7YBRUO.js → chunk-Y5J5CAG2.js} +1 -1
- package/dist/bundle/{chunk-MOKEB656.js → chunk-ZBYKCVSV.js} +1 -1
- package/dist/bundle/{chunk-CQBLPBZU.js → chunk-ZVVRRMLW.js} +98 -6
- package/dist/bundle/{cli-4ZYJ6OZE.js → cli-NPRYCWFH.js} +112 -83
- package/dist/bundle/command-contract-OJYRKQHR.js +41 -0
- package/dist/bundle/{command-server-entry-CASONRIJ.js → command-server-entry-BV4SUPUI.js} +24 -26
- package/dist/bundle/config-UMEV24OE.js +97 -0
- package/dist/bundle/{decode-KEFCVGEB.js → decode-PRMKCHHC.js} +2 -2
- package/dist/bundle/{dist-GCQ7KCKN.js → dist-HGLDGKUW.js} +18 -15
- package/dist/bundle/{echarts-SDZA2SWG.js → echarts-QIXLXS3G.js} +2 -2
- package/dist/bundle/{embed-43VJEPM6.js → embed-OZN2BIJY.js} +3 -3
- package/dist/bundle/{embedder-Q4ZHAGRP.js → embedder-RBDHO6Z6.js} +6 -6
- package/dist/bundle/{first-run-CPOLQVNA.js → first-run-HNCD7U3B.js} +6 -6
- package/dist/bundle/first-screen-374BBMO6.js +39 -0
- package/dist/bundle/{instructions-7T6JJIFS.js → instructions-MD2RZT5Z.js} +1 -1
- package/dist/bundle/{main-NA3QVPXS.js → main-FPMCCRIQ.js} +15 -15
- package/dist/bundle/{meetings-7CVIQJTA.js → meetings-WYCVHAIP.js} +17 -1
- package/dist/bundle/{node-BZDMUFTW.js → node-IEVT2FSJ.js} +2 -2
- package/dist/bundle/{node-sqlite-QHGB23B4.js → node-sqlite-O4C6IWSM.js} +4 -4
- package/dist/bundle/{oauth-BMEMCM2I.js → oauth-6VXOUXSE.js} +4 -4
- package/dist/bundle/{open-JGU2NRJP.js → open-AMUIWV3Y.js} +2 -2
- package/dist/bundle/{openai-VTXXFNCS.js → openai-MEDN6FSK.js} +10 -10
- package/dist/bundle/{process-756VBE7E.js → process-6Q23D3TO.js} +1 -1
- package/dist/bundle/{program-XM6CDIJ2.js → program-CF2NKA2A.js} +84 -87
- package/dist/bundle/{prompt-2IPFXJ4B.js → prompt-N3UZE4ZR.js} +2 -2
- package/dist/bundle/{recognize-672E2RIB.js → recognize-I5F3K3CZ.js} +1 -1
- package/dist/bundle/{remote-YLHRVPDS.js → remote-CJF5KMMY.js} +6 -6
- package/dist/bundle/{rerank-NBXQG3OS.js → rerank-6WLY6MKY.js} +4 -4
- package/dist/bundle/{run-log-3WITBT2F.js → run-log-FKF4ZX4M.js} +55 -57
- package/dist/bundle/{serve-FNLOUMYP.js → serve-FOQJ3WMX.js} +6 -6
- package/dist/bundle/server-BAGY5HEZ.js +74 -0
- package/dist/bundle/{server-7ZB5AK5H.js → server-OEEGRSQD.js} +47 -47
- package/dist/bundle/{services-Z4UWN64R.js → services-Q6SFESMS.js} +43 -28
- package/dist/bundle/{speech-XSYVCKR3.js → speech-PBVEIG4N.js} +12 -12
- package/dist/bundle/{sqlite-runtime-GAPXJNWU.js → sqlite-runtime-IWR65V6I.js} +3 -3
- package/dist/bundle/{state-QSA53EF5.js → state-G54C2N6U.js} +3 -3
- package/dist/bundle/{store-NOF5EYUC.js → store-7EWMPTTW.js} +20 -16
- package/dist/bundle/{store-EKI4OAJH.js → store-D5OLXIFW.js} +14 -14
- package/dist/bundle/store-connection-34747SCC.js +90 -0
- package/dist/bundle/store-maintenance-command-QBO67F7Z.js +65 -0
- package/dist/bundle/{tokens-WJQYQ3FK.js → tokens-J7TFHLEG.js} +4 -4
- package/dist/bundle/zm.js +2 -2
- package/dist/bundle/{zoom-app-Y7RMWLVU.js → zoom-app-SULPMVN4.js} +2 -2
- package/dist/recording-schedule-commands.d.ts.map +1 -1
- package/dist/recording-schedule-commands.js +2 -2
- package/dist/recording-schedule-commands.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/answer-policy-W6H72X2R.js +0 -112
- package/dist/bundle/chunk-2BAZRRJP.js +0 -1239
- package/dist/bundle/chunk-KQD4ZVNC.js +0 -153
- package/dist/bundle/chunk-R5FTCNLJ.js +0 -76
- package/dist/bundle/chunk-USIMMGWS.js +0 -997
- package/dist/bundle/command-contract-FJDDCHYP.js +0 -43
- package/dist/bundle/config-4DZHX2WX.js +0 -99
- package/dist/bundle/first-screen-XYESRGWW.js +0 -41
- package/dist/bundle/server-GGRGD4SH.js +0 -77
- package/dist/bundle/store-connection-2OZQGEIO.js +0 -92
- package/dist/bundle/store-maintenance-command-GNX3SOZ6.js +0 -67
|
@@ -3,26 +3,23 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answerOf,
|
|
5
5
|
messengerContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PPM7UTCT.js";
|
|
7
7
|
import {
|
|
8
8
|
chatEventAnswer,
|
|
9
9
|
memberAnswer,
|
|
10
10
|
pollVoteAnswer,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
typedQuery,
|
|
14
|
-
withQuery
|
|
15
|
-
} from "./chunk-2BAZRRJP.js";
|
|
11
|
+
serveRelay
|
|
12
|
+
} from "./chunk-7ZVWV33Z.js";
|
|
16
13
|
import {
|
|
17
14
|
renderMessages
|
|
18
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NL6AZ6S2.js";
|
|
19
16
|
import {
|
|
20
17
|
holdLock,
|
|
21
18
|
lockPath,
|
|
22
19
|
releaseLock,
|
|
23
20
|
servingProfiles,
|
|
24
21
|
takeLock
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PX4IMYVB.js";
|
|
26
23
|
import {
|
|
27
24
|
FETCHING,
|
|
28
25
|
RULES_VERSION,
|
|
@@ -35,14 +32,17 @@ import {
|
|
|
35
32
|
onlineDeps,
|
|
36
33
|
openRequestTask,
|
|
37
34
|
patiently,
|
|
35
|
+
queryTerms,
|
|
38
36
|
refuseLockedOutput,
|
|
39
37
|
senderIsMe,
|
|
40
38
|
servicesFor,
|
|
41
|
-
syncsOneChat
|
|
42
|
-
|
|
39
|
+
syncsOneChat,
|
|
40
|
+
typedQuery,
|
|
41
|
+
withQuery
|
|
42
|
+
} from "./chunk-P4ZQQLZF.js";
|
|
43
43
|
import {
|
|
44
44
|
withTimeLimit
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-Y5J5CAG2.js";
|
|
46
46
|
import {
|
|
47
47
|
QUICK_HEALTH_CHECKS,
|
|
48
48
|
fts5Tables,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
lossUnknown,
|
|
51
51
|
storeDamageReport,
|
|
52
52
|
storeHealth
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4XDWV6VJ.js";
|
|
54
54
|
import {
|
|
55
55
|
Command,
|
|
56
56
|
LOCAL_READ,
|
|
@@ -58,6 +58,7 @@ import {
|
|
|
58
58
|
REMOTE_READ,
|
|
59
59
|
REMOTE_WRITE,
|
|
60
60
|
annotate,
|
|
61
|
+
codeOf,
|
|
61
62
|
commandAt,
|
|
62
63
|
destroysNothing,
|
|
63
64
|
environmentOf,
|
|
@@ -66,33 +67,30 @@ import {
|
|
|
66
67
|
jsonlRecords,
|
|
67
68
|
lineOf,
|
|
68
69
|
listOf,
|
|
70
|
+
modelTarget,
|
|
69
71
|
nextStep,
|
|
70
72
|
outputFor,
|
|
73
|
+
parseDuration,
|
|
71
74
|
recalledAccount,
|
|
72
75
|
recordLogFor,
|
|
73
76
|
renderAnswer,
|
|
74
77
|
snakeKeys,
|
|
75
78
|
storeTable,
|
|
76
79
|
withoutProviderRefs
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import {
|
|
79
|
-
holdersOf
|
|
80
|
-
} from "./chunk-UIKVP23D.js";
|
|
81
|
-
import {
|
|
82
|
-
codeOf,
|
|
83
|
-
modelTarget,
|
|
84
|
-
parseDuration
|
|
85
|
-
} from "./chunk-USIMMGWS.js";
|
|
80
|
+
} from "./chunk-QBKKTTA3.js";
|
|
86
81
|
import {
|
|
87
82
|
levelFor
|
|
88
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-P6MQ6FS4.js";
|
|
84
|
+
import {
|
|
85
|
+
holdersOf
|
|
86
|
+
} from "./chunk-WQOGHND4.js";
|
|
89
87
|
import {
|
|
90
88
|
modelAddressAllowed,
|
|
91
89
|
onThisComputer
|
|
92
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-SR5X7YKB.js";
|
|
93
91
|
import {
|
|
94
92
|
readSecret
|
|
95
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-T4FMXDDV.js";
|
|
96
94
|
import {
|
|
97
95
|
CORPORA,
|
|
98
96
|
MIGRATIONS,
|
|
@@ -127,33 +125,33 @@ import {
|
|
|
127
125
|
storeClients,
|
|
128
126
|
storeContents,
|
|
129
127
|
vectorIndexCounts
|
|
130
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-XCJGDPMN.js";
|
|
131
129
|
import {
|
|
132
130
|
currentRun,
|
|
133
131
|
readDamageMark,
|
|
134
132
|
readHealthMark,
|
|
135
133
|
readJournalMark,
|
|
136
134
|
recordDeepCheck
|
|
137
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-IO3BQ6JU.js";
|
|
138
136
|
import {
|
|
139
137
|
failureKey,
|
|
140
138
|
isStoreDamage
|
|
141
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-3YKAFLXY.js";
|
|
142
140
|
import {
|
|
143
141
|
formatLocator,
|
|
144
142
|
parseLocator
|
|
145
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-IMDTC4MD.js";
|
|
146
144
|
import {
|
|
147
145
|
readSharedSection,
|
|
148
146
|
sharedConfigPath,
|
|
149
147
|
writeSharedSection
|
|
150
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-L5UILROP.js";
|
|
151
149
|
import {
|
|
152
150
|
storePath
|
|
153
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-A3Q3PG54.js";
|
|
154
152
|
import {
|
|
155
153
|
openCache
|
|
156
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-NQLL4KRN.js";
|
|
157
155
|
import {
|
|
158
156
|
queryFieldsOf
|
|
159
157
|
} from "./chunk-3HTJBGNP.js";
|
|
@@ -5527,11 +5525,11 @@ var require_liquid_node = __commonJS({
|
|
|
5527
5525
|
}
|
|
5528
5526
|
});
|
|
5529
5527
|
|
|
5530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5531
5529
|
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";
|
|
5532
5530
|
import { dirname as dirname3, resolve } from "node:path";
|
|
5533
5531
|
|
|
5534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5535
5533
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5536
5534
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5537
5535
|
import { Transform } from "node:stream";
|
|
@@ -5638,7 +5636,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5638
5636
|
renameSync(pending, to);
|
|
5639
5637
|
}, "unsealFile");
|
|
5640
5638
|
|
|
5641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5642
5640
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5643
5641
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5644
5642
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5662,7 +5660,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5662
5660
|
};
|
|
5663
5661
|
}, "compatibilityOf");
|
|
5664
5662
|
|
|
5665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5666
5664
|
import { createHash as createHash2 } from "node:crypto";
|
|
5667
5665
|
var COPY_MARK = "__repair_";
|
|
5668
5666
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5916,19 +5914,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5916
5914
|
return found;
|
|
5917
5915
|
}, "deleteCopy");
|
|
5918
5916
|
|
|
5919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5920
5918
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5921
5919
|
|
|
5922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5923
5921
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5924
5922
|
|
|
5925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5926
5924
|
import { execFileSync, spawn } from "node:child_process";
|
|
5927
5925
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5928
5926
|
import { basename, dirname, join } from "node:path";
|
|
5929
5927
|
import { Transform as Transform2 } from "node:stream";
|
|
5930
5928
|
|
|
5931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/refill.js
|
|
5932
5930
|
var REFILL_MARGIN_MS = 864e5;
|
|
5933
5931
|
var TIME_KEYS = 1e12;
|
|
5934
5932
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -6008,7 +6006,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
6008
6006
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6009
6007
|
}, "forgetMail");
|
|
6010
6008
|
|
|
6011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6009
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
6012
6010
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6013
6011
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6014
6012
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6536,7 +6534,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6536
6534
|
}
|
|
6537
6535
|
}, "recoverLocked");
|
|
6538
6536
|
|
|
6539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6540
6538
|
var COUNTED = [
|
|
6541
6539
|
"accounts",
|
|
6542
6540
|
"chats",
|
|
@@ -6692,7 +6690,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6692
6690
|
return recover;
|
|
6693
6691
|
}, "storeRecoverCommand");
|
|
6694
6692
|
|
|
6695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6696
6694
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6697
6695
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6698
6696
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6742,7 +6740,7 @@ var sharedStoreCommand = /* @__PURE__ */ __name((app) => {
|
|
|
6742
6740
|
return app ? store.addCommand(storeRecoverCommand(app)) : store;
|
|
6743
6741
|
}, "sharedStoreCommand");
|
|
6744
6742
|
|
|
6745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6746
6744
|
var ENCRYPT_OPTION = [
|
|
6747
6745
|
"--encrypt",
|
|
6748
6746
|
"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"
|
|
@@ -6761,7 +6759,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6761
6759
|
return password;
|
|
6762
6760
|
}, "passwordOf");
|
|
6763
6761
|
|
|
6764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6765
6763
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6766
6764
|
import { join as join2 } from "node:path";
|
|
6767
6765
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6932,7 +6930,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6932
6930
|
}, "problem");
|
|
6933
6931
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6934
6932
|
|
|
6935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6936
6934
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6937
6935
|
import { join as join3 } from "node:path";
|
|
6938
6936
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6985,7 +6983,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6985
6983
|
}, "recordReply");
|
|
6986
6984
|
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");
|
|
6987
6985
|
|
|
6988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6989
6987
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6990
6988
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6991
6989
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7091,10 +7089,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7091
7089
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7092
7090
|
}, "filled");
|
|
7093
7091
|
|
|
7094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7092
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7095
7093
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7096
7094
|
|
|
7097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7095
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
7098
7096
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7099
7097
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7100
7098
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7121,7 +7119,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7121
7119
|
return engine;
|
|
7122
7120
|
}, "safeLiquid");
|
|
7123
7121
|
|
|
7124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7125
7123
|
var TEMPLATE_LIMITS = {
|
|
7126
7124
|
parse: 32768,
|
|
7127
7125
|
renders: 2e3,
|
|
@@ -7260,7 +7258,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7260
7258
|
}
|
|
7261
7259
|
}, "renderReplyTemplate");
|
|
7262
7260
|
|
|
7263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
7264
7262
|
var DRY_RUN_DAYS = 7;
|
|
7265
7263
|
var PAGE = 500;
|
|
7266
7264
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7374,7 +7372,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7374
7372
|
}
|
|
7375
7373
|
}, "storedSince");
|
|
7376
7374
|
|
|
7377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/models/ai.js
|
|
7378
7376
|
var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
|
|
7379
7377
|
var DEFAULT_BASE_URL = {
|
|
7380
7378
|
anthropic: "https://api.anthropic.com",
|
|
@@ -7538,7 +7536,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
|
|
|
7538
7536
|
}
|
|
7539
7537
|
}, "checkAi");
|
|
7540
7538
|
|
|
7541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/models/purpose.js
|
|
7542
7540
|
var HOSTED = {
|
|
7543
7541
|
openai: "https://api.openai.com/v1",
|
|
7544
7542
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7559,7 +7557,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7559
7557
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7560
7558
|
}, "purposeModel");
|
|
7561
7559
|
|
|
7562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7563
7561
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7564
7562
|
import { join as join4 } from "node:path";
|
|
7565
7563
|
var shape = strictObject({
|
|
@@ -7584,7 +7582,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7584
7582
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7585
7583
|
}, "mayModelReply");
|
|
7586
7584
|
|
|
7587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7588
7586
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7589
7587
|
ai: true
|
|
7590
7588
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7632,7 +7630,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7632
7630
|
return result2;
|
|
7633
7631
|
}, "replyRenderer");
|
|
7634
7632
|
|
|
7635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7636
7634
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7637
7635
|
var NO_RULES = "no rules";
|
|
7638
7636
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7725,7 +7723,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7725
7723
|
return { skip: why };
|
|
7726
7724
|
}, "replyTo");
|
|
7727
7725
|
|
|
7728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7729
7727
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7730
7728
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7731
7729
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7802,7 +7800,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7802
7800
|
};
|
|
7803
7801
|
}, "startSync");
|
|
7804
7802
|
|
|
7805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7806
7804
|
var FIRST_FETCH_MS = 6e4;
|
|
7807
7805
|
var DAY_MS = 864e5;
|
|
7808
7806
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7856,7 +7854,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7856
7854
|
};
|
|
7857
7855
|
}, "memberFetches");
|
|
7858
7856
|
|
|
7859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7860
7858
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7861
7859
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7862
7860
|
if (context.format === "pretty") {
|
|
@@ -7889,7 +7887,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7889
7887
|
return context;
|
|
7890
7888
|
}, "recordDiagnostics");
|
|
7891
7889
|
|
|
7892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
|
|
7893
7891
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7894
7892
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
7895
7893
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -7975,7 +7973,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
7975
7973
|
};
|
|
7976
7974
|
}, "watchOutdated");
|
|
7977
7975
|
|
|
7978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
7979
7977
|
var STEMS_EVERY_MS = 3e4;
|
|
7980
7978
|
var STEMS_SLICE_MS = 2e3;
|
|
7981
7979
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -8015,7 +8013,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
8015
8013
|
};
|
|
8016
8014
|
}, "stemFills");
|
|
8017
8015
|
|
|
8018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
8019
8017
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
8020
8018
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
8021
8019
|
kind: attachment.kind,
|
|
@@ -8111,7 +8109,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
8111
8109
|
locale: messenger.app.locale
|
|
8112
8110
|
}), "viewOf");
|
|
8113
8111
|
|
|
8114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
8115
8113
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
8116
8114
|
value: value.value,
|
|
8117
8115
|
observed_at: value.observedAt,
|
|
@@ -8178,7 +8176,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8178
8176
|
}
|
|
8179
8177
|
}, "watchEventItem");
|
|
8180
8178
|
|
|
8181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
8182
8180
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8183
8181
|
output: { entity: "watch_item" },
|
|
8184
8182
|
effects: REMOTE_READ,
|
|
@@ -8333,7 +8331,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8333
8331
|
}
|
|
8334
8332
|
}, "describe");
|
|
8335
8333
|
|
|
8336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
8337
8335
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8338
8336
|
const command = annotate(new Command("serve"), {
|
|
8339
8337
|
output: { entity: "serve_summary" },
|
|
@@ -8374,7 +8372,7 @@ var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
|
8374
8372
|
});
|
|
8375
8373
|
}, "onReady");
|
|
8376
8374
|
const counts = {};
|
|
8377
|
-
const rules = replying(context, messenger, Date.parse(startedAt));
|
|
8375
|
+
const rules = replying(context, messenger, Date.parse(startedAt), () => messenger.resolveSettings(this.optsWithGlobals(), { env: context.env }));
|
|
8378
8376
|
const tasks = tasking(context, warn);
|
|
8379
8377
|
const { handled, startSyncDelayMs, outdated: outdatedHook } = environmentOf(this);
|
|
8380
8378
|
const count3 = /* @__PURE__ */ __name((event) => {
|
|
@@ -8516,7 +8514,7 @@ var NO_REPLIES = {
|
|
|
8516
8514
|
}, "stop"),
|
|
8517
8515
|
summary: /* @__PURE__ */ __name(() => ({}), "summary")
|
|
8518
8516
|
};
|
|
8519
|
-
var replying = /* @__PURE__ */ __name((context, messenger, since) => {
|
|
8517
|
+
var replying = /* @__PURE__ */ __name((context, messenger, since, reload) => {
|
|
8520
8518
|
if (messenger.autoReplies === false)
|
|
8521
8519
|
return NO_REPLIES;
|
|
8522
8520
|
const controller = new AbortController();
|
|
@@ -8541,6 +8539,9 @@ var replying = /* @__PURE__ */ __name((context, messenger, since) => {
|
|
|
8541
8539
|
if (connection === void 0 || controller.signal.aborted)
|
|
8542
8540
|
return;
|
|
8543
8541
|
const open = connection;
|
|
8542
|
+
const current = reload();
|
|
8543
|
+
settings.permissions = current.permissions;
|
|
8544
|
+
settings.permissionSources = current.permissionSources;
|
|
8544
8545
|
const answer = await replyTo({
|
|
8545
8546
|
rulesPath: repliesPathFor(app, profile, env),
|
|
8546
8547
|
statePath: repliesStatePathFor(app, profile, env),
|
|
@@ -8616,7 +8617,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8616
8617
|
};
|
|
8617
8618
|
}, "tasking");
|
|
8618
8619
|
|
|
8619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8620
8621
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8621
8622
|
var PATH = "store tables list";
|
|
8622
8623
|
var STORE_TABLES_QUERY = {
|
|
@@ -8659,7 +8660,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8659
8660
|
return tables;
|
|
8660
8661
|
}, "storeTablesCommand");
|
|
8661
8662
|
|
|
8662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8663
8664
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8664
8665
|
var WORD_INDEX = "message_words";
|
|
8665
8666
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-ZVVMGPBJ.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
12
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
13
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
14
|
const { code, exitCode } = value ?? {};
|