@wirecat/zoom-cli 0.75.0 → 0.76.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/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-WFLKFKJC.js → all-profiles-AAMFP7IN.js} +11 -11
- package/dist/bundle/answer-policy-ETAELI4A.js +110 -0
- package/dist/bundle/{anthropic-H45W4P22.js → anthropic-6KIS53QB.js} +6 -6
- package/dist/bundle/{app-server-I4FPLBIX.js → app-server-6QYNNYEU.js} +57 -57
- package/dist/bundle/{bun-V5QLYBZU.js → bun-QVVCH4MJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-X2YZPHDS.js → bun-sqlite-Y2ZFMNQ3.js} +7 -7
- package/dist/bundle/{chunk-P4ZQQLZF.js → chunk-25GMFXPF.js} +707 -698
- package/dist/bundle/{chunk-PX4IMYVB.js → chunk-2HKUQ7DR.js} +3 -3
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
- package/dist/bundle/{chunk-4RJL32PF.js → chunk-3D5PETD2.js} +26 -9
- package/dist/bundle/{chunk-C5WQ57AB.js → chunk-4ERYXY4Y.js} +1 -1
- package/dist/bundle/{chunk-HKPNQL52.js → chunk-4JPOELCT.js} +4 -4
- package/dist/bundle/{chunk-QBKKTTA3.js → chunk-55SWKR6Y.js} +181 -158
- package/dist/bundle/{chunk-2PYZTRRC.js → chunk-5EII5RIL.js} +1 -1
- package/dist/bundle/{chunk-F6RB5FHZ.js → chunk-5T7TBK5Y.js} +1 -1
- package/dist/bundle/{chunk-NU4FSSMN.js → chunk-64N7MY3I.js} +3 -3
- package/dist/bundle/{chunk-532H3KT3.js → chunk-65VRWNDP.js} +4 -4
- package/dist/bundle/{chunk-T25PR26L.js → chunk-6SXCGS3A.js} +7 -7
- package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-6VCQ4CTK.js} +1 -1
- package/dist/bundle/{chunk-MNVT7EJS.js → chunk-7RORMNKP.js} +2 -2
- package/dist/bundle/{chunk-IDGWBKMH.js → chunk-B7ZREOBD.js} +12 -12
- package/dist/bundle/{chunk-LRCSDAYK.js → chunk-CE5Y7PQU.js} +4 -4
- package/dist/bundle/{chunk-IW245Q5B.js → chunk-CPOFLYPU.js} +33 -29
- package/dist/bundle/{chunk-HNWDEDMU.js → chunk-CS62FET6.js} +21 -21
- package/dist/bundle/{chunk-DUPFAY35.js → chunk-CXHUOPN5.js} +7 -7
- package/dist/bundle/{chunk-DQBLDZ7M.js → chunk-D2TGXSHQ.js} +5 -5
- package/dist/bundle/{chunk-ELD5AC7Q.js → chunk-DQHS336B.js} +6 -6
- package/dist/bundle/{chunk-VUPWDCYV.js → chunk-EBIK5Q73.js} +1 -1
- package/dist/bundle/{chunk-3YRPDNWK.js → chunk-ELW3LMJZ.js} +803 -359
- package/dist/bundle/{chunk-HCZYJMBP.js → chunk-EPPE6ZTS.js} +1 -1
- package/dist/bundle/{chunk-K5E5MB4C.js → chunk-EZJSAYWZ.js} +21 -21
- package/dist/bundle/{chunk-7ZVWV33Z.js → chunk-EZXW3ZCR.js} +35 -13
- package/dist/bundle/{chunk-IO3BQ6JU.js → chunk-FBVJGJDM.js} +29 -28
- package/dist/bundle/{chunk-ZMHZ6CQS.js → chunk-FGRFIXG2.js} +2 -2
- package/dist/bundle/{chunk-3HTJBGNP.js → chunk-FMJ4QSSU.js} +21 -16
- package/dist/bundle/{chunk-NE4GYKQA.js → chunk-GB5LI5RM.js} +6 -6
- package/dist/bundle/{chunk-W2AC2RAG.js → chunk-GPIQY4YB.js} +14 -14
- package/dist/bundle/{chunk-2Q4CB4EI.js → chunk-GYTAHH5Y.js} +2 -2
- package/dist/bundle/{chunk-SEJBS7SI.js → chunk-GZYICXO4.js} +1 -1
- package/dist/bundle/{chunk-GPVSGZ4R.js → chunk-HUHH25AG.js} +434 -410
- package/dist/bundle/{chunk-X2FILY5F.js → chunk-HWYSJ4SL.js} +3 -3
- package/dist/bundle/{chunk-XCJGDPMN.js → chunk-IUSY4ZJK.js} +6109 -5958
- package/dist/bundle/{chunk-RBYVQE3S.js → chunk-IVFNHIU4.js} +5 -5
- package/dist/bundle/{chunk-V3UK6E5B.js → chunk-IXPBSDKB.js} +4 -4
- package/dist/bundle/{chunk-3URYKAJP.js → chunk-JADBHKBP.js} +1 -1
- package/dist/bundle/{chunk-WUWF4EXZ.js → chunk-JWMOHEDL.js} +22 -12
- package/dist/bundle/{chunk-EA2OB75T.js → chunk-K3K3WKDB.js} +1 -1
- package/dist/bundle/{chunk-F7K2V6OA.js → chunk-KEFDP6NL.js} +12 -12
- package/dist/bundle/{chunk-NQQVNLO6.js → chunk-LEVOI6Z3.js} +12 -12
- package/dist/bundle/{chunk-VLK3X53X.js → chunk-LGBLYFKI.js} +2 -2
- package/dist/bundle/{chunk-AVCYD4WQ.js → chunk-LOEK6IFQ.js} +44 -36
- package/dist/bundle/{chunk-PCJRHC5Y.js → chunk-M7WYBGQT.js} +8 -8
- package/dist/bundle/{chunk-JDTZCZ5K.js → chunk-MDTEAKA5.js} +5 -5
- package/dist/bundle/{chunk-GU4FVTJV.js → chunk-NQ356ERO.js} +3 -4
- package/dist/bundle/{chunk-T4FMXDDV.js → chunk-OFODCJ2A.js} +3 -3
- package/dist/bundle/{chunk-FBYGBR4Q.js → chunk-OINDAHXC.js} +4 -4
- package/dist/bundle/{chunk-OUM4ZO53.js → chunk-OOYIPK4F.js} +1 -1
- package/dist/bundle/{chunk-NL6AZ6S2.js → chunk-ORM73DZO.js} +2 -2
- package/dist/bundle/{chunk-P6MQ6FS4.js → chunk-OWZETMRE.js} +8 -8
- package/dist/bundle/{chunk-VPSQZ2YR.js → chunk-PFLJJQWW.js} +33 -33
- package/dist/bundle/{chunk-TSHUBGN4.js → chunk-QLUU3BV2.js} +2 -2
- package/dist/bundle/{chunk-ZBYKCVSV.js → chunk-QY6GE7CL.js} +2 -2
- package/dist/bundle/{chunk-QEO3XTIE.js → chunk-R47GYLNN.js} +29 -32
- package/dist/bundle/{chunk-EOZAJGB4.js → chunk-RJK5ADMH.js} +16 -16
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
- package/dist/bundle/{chunk-BY2YPKZZ.js → chunk-T2QVWRJF.js} +13 -13
- package/dist/bundle/{chunk-4YNUQGDP.js → chunk-TK77DCE5.js} +1 -1
- package/dist/bundle/{chunk-IMDTC4MD.js → chunk-TYAFL66K.js} +21 -18
- package/dist/bundle/{chunk-MHXZ62CU.js → chunk-UAV74EY4.js} +1 -1
- package/dist/bundle/{chunk-WQOGHND4.js → chunk-UG2QDGAH.js} +1 -1
- package/dist/bundle/{chunk-6XNTELM5.js → chunk-UYZDH5LK.js} +1 -1
- package/dist/bundle/{chunk-B6Q53CVA.js → chunk-VABYJQYE.js} +10 -10
- package/dist/bundle/{chunk-IJCUAKR5.js → chunk-VCFSUGPE.js} +4 -4
- package/dist/bundle/{chunk-3YKAFLXY.js → chunk-VG63EXRC.js} +2 -2
- package/dist/bundle/{chunk-RABCFGT3.js → chunk-VJANMYEC.js} +3 -3
- package/dist/bundle/{chunk-ZVVRRMLW.js → chunk-VRA4RVQU.js} +3 -3
- package/dist/bundle/{chunk-L5UILROP.js → chunk-WKT5RPSY.js} +8 -8
- package/dist/bundle/{chunk-JTYWSXJG.js → chunk-WNXC42IU.js} +9 -9
- package/dist/bundle/{chunk-FT7X74RT.js → chunk-WZJ7ZYR4.js} +4 -4
- package/dist/bundle/{chunk-PPM7UTCT.js → chunk-X73YEFQE.js} +18 -18
- package/dist/bundle/{chunk-Y5J5CAG2.js → chunk-XC4V6YCS.js} +1 -1
- package/dist/bundle/{chunk-A3Q3PG54.js → chunk-XHVFX74L.js} +2 -2
- package/dist/bundle/{chunk-NQLL4KRN.js → chunk-XRH2NKW4.js} +6 -6
- package/dist/bundle/{chunk-3U3W6YY5.js → chunk-XWQKRKMT.js} +58 -58
- package/dist/bundle/{chunk-RKI4BGWG.js → chunk-Y2BGABXP.js} +3 -3
- package/dist/bundle/{chunk-XUHQ7DVT.js → chunk-Y4WEAWU7.js} +1 -1
- package/dist/bundle/{chunk-4XDWV6VJ.js → chunk-YEBWRWE3.js} +17 -17
- package/dist/bundle/{chunk-4J5GJJ2I.js → chunk-YESHGC3M.js} +2 -2
- package/dist/bundle/{chunk-SR5X7YKB.js → chunk-YGKM2ZWF.js} +3 -3
- package/dist/bundle/{chunk-QXQUANWE.js → chunk-ZETM63M6.js} +6 -6
- package/dist/bundle/{chunk-MAE5UGRQ.js → chunk-ZFYNJERV.js} +6 -6
- package/dist/bundle/{cli-NPRYCWFH.js → cli-FHMLYHUZ.js} +69 -65
- package/dist/bundle/command-contract-HUZ4I23S.js +41 -0
- package/dist/bundle/{command-server-entry-BV4SUPUI.js → command-server-entry-YEZM52R5.js} +31 -31
- package/dist/bundle/config-KVTWN7QZ.js +97 -0
- package/dist/bundle/{decode-PRMKCHHC.js → decode-SIYRMJOK.js} +6 -6
- package/dist/bundle/{dispatch-EU67WGME.js → dispatch-SMER3WDX.js} +9 -9
- package/dist/bundle/{dist-HGLDGKUW.js → dist-BSJETSFE.js} +19 -19
- package/dist/bundle/{echarts-QIXLXS3G.js → echarts-UZJ6AREV.js} +2 -2
- package/dist/bundle/{embed-OZN2BIJY.js → embed-A7DSHVI7.js} +7 -7
- package/dist/bundle/{embedder-RBDHO6Z6.js → embedder-WQBR4UGS.js} +10 -10
- package/dist/bundle/{failure-CTJLEB2R.js → failure-73UQXQTW.js} +3 -3
- package/dist/bundle/first-run-SY6XSUZ3.js +29 -0
- package/dist/bundle/first-screen-ZDMODGWS.js +39 -0
- package/dist/bundle/{folders-MSBTAPAG.js → folders-BH4SV6SI.js} +5 -5
- package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-SDDUBGH4.js} +1 -1
- package/dist/bundle/{main-FPMCCRIQ.js → main-KL4FN5F3.js} +24 -24
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
- package/dist/bundle/{meetings-WYCVHAIP.js → meetings-URPXBHV7.js} +25 -7
- package/dist/bundle/{node-IEVT2FSJ.js → node-ELCNUOCE.js} +2 -2
- package/dist/bundle/{node-sqlite-O4C6IWSM.js → node-sqlite-QLSNHZBM.js} +8 -8
- package/dist/bundle/{oauth-6VXOUXSE.js → oauth-LZ64S7Y3.js} +8 -8
- package/dist/bundle/{open-AMUIWV3Y.js → open-WB4HUPQT.js} +6 -6
- package/dist/bundle/openai-KN6JE4QU.js +28 -0
- package/dist/bundle/{output-file-VDOCYH2G.js → output-file-AHPQA5LR.js} +6 -6
- package/dist/bundle/{process-6Q23D3TO.js → process-67DAKAAQ.js} +1 -1
- package/dist/bundle/{program-CF2NKA2A.js → program-CIMACIBE.js} +87 -81
- package/dist/bundle/{prompt-N3UZE4ZR.js → prompt-GG53UBDJ.js} +6 -6
- package/dist/bundle/{recognize-I5F3K3CZ.js → recognize-CFJ3CAEH.js} +5 -5
- package/dist/bundle/{remote-CJF5KMMY.js → remote-BLEM7C3Q.js} +11 -11
- package/dist/bundle/{rerank-6WLY6MKY.js → rerank-ERN6PC66.js} +8 -8
- package/dist/bundle/run-log-S67YPJF6.js +124 -0
- package/dist/bundle/{serve-FOQJ3WMX.js → serve-FJPPTJXH.js} +10 -10
- package/dist/bundle/{server-OEEGRSQD.js → server-FLUSDUGM.js} +49 -49
- package/dist/bundle/server-UNJY3TSJ.js +74 -0
- package/dist/bundle/{services-Q6SFESMS.js → services-LXC6DVUQ.js} +43 -41
- package/dist/bundle/{speech-PBVEIG4N.js → speech-WFEZTKXA.js} +17 -17
- package/dist/bundle/{sqlite-runtime-IWR65V6I.js → sqlite-runtime-KN33VSP7.js} +7 -7
- package/dist/bundle/{state-G54C2N6U.js → state-TXS4ZHIT.js} +7 -7
- package/dist/bundle/{store-7EWMPTTW.js → store-MUOXLVL4.js} +22 -22
- package/dist/bundle/{store-D5OLXIFW.js → store-ZUREZYZB.js} +20 -20
- package/dist/bundle/store-connection-NRNEBUPU.js +90 -0
- package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +65 -0
- package/dist/bundle/{streaming-PQEXKTE5.js → streaming-ZSCHRC5S.js} +7 -7
- package/dist/bundle/{tokens-J7TFHLEG.js → tokens-YVDOY4EV.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-SULPMVN4.js → zoom-app-O6GIMB7Y.js} +8 -8
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +6 -5
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -1
- package/dist/program-bindings.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +3 -1
- package/dist/run.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-XCKC2LLN.js +0 -110
- package/dist/bundle/command-contract-OJYRKQHR.js +0 -41
- package/dist/bundle/config-UMEV24OE.js +0 -97
- package/dist/bundle/first-run-HNCD7U3B.js +0 -29
- package/dist/bundle/first-screen-374BBMO6.js +0 -39
- package/dist/bundle/openai-MEDN6FSK.js +0 -28
- package/dist/bundle/run-log-FKF4ZX4M.js +0 -124
- package/dist/bundle/server-BAGY5HEZ.js +0 -74
- package/dist/bundle/store-connection-34747SCC.js +0 -90
- package/dist/bundle/store-maintenance-command-QBO67F7Z.js +0 -65
- /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
|
@@ -3,23 +3,23 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answerOf,
|
|
5
5
|
messengerContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X73YEFQE.js";
|
|
7
7
|
import {
|
|
8
8
|
chatEventAnswer,
|
|
9
9
|
memberAnswer,
|
|
10
10
|
pollVoteAnswer,
|
|
11
11
|
serveRelay
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EZXW3ZCR.js";
|
|
13
13
|
import {
|
|
14
14
|
renderMessages
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ORM73DZO.js";
|
|
16
16
|
import {
|
|
17
17
|
holdLock,
|
|
18
18
|
lockPath,
|
|
19
19
|
releaseLock,
|
|
20
20
|
servingProfiles,
|
|
21
21
|
takeLock
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2HKUQ7DR.js";
|
|
23
23
|
import {
|
|
24
24
|
FETCHING,
|
|
25
25
|
RULES_VERSION,
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
syncsOneChat,
|
|
40
40
|
typedQuery,
|
|
41
41
|
withQuery
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-25GMFXPF.js";
|
|
43
43
|
import {
|
|
44
44
|
withTimeLimit
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-XC4V6YCS.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-YEBWRWE3.js";
|
|
54
54
|
import {
|
|
55
55
|
Command,
|
|
56
56
|
LOCAL_READ,
|
|
@@ -77,20 +77,20 @@ import {
|
|
|
77
77
|
snakeKeys,
|
|
78
78
|
storeTable,
|
|
79
79
|
withoutProviderRefs
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-55SWKR6Y.js";
|
|
81
81
|
import {
|
|
82
82
|
levelFor
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-OWZETMRE.js";
|
|
84
84
|
import {
|
|
85
85
|
holdersOf
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-UG2QDGAH.js";
|
|
87
87
|
import {
|
|
88
88
|
modelAddressAllowed,
|
|
89
89
|
onThisComputer
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-YGKM2ZWF.js";
|
|
91
91
|
import {
|
|
92
92
|
readSecret
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-OFODCJ2A.js";
|
|
94
94
|
import {
|
|
95
95
|
CORPORA,
|
|
96
96
|
MIGRATIONS,
|
|
@@ -125,42 +125,42 @@ import {
|
|
|
125
125
|
storeClients,
|
|
126
126
|
storeContents,
|
|
127
127
|
vectorIndexCounts
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-IUSY4ZJK.js";
|
|
129
129
|
import {
|
|
130
130
|
currentRun,
|
|
131
131
|
readDamageMark,
|
|
132
132
|
readHealthMark,
|
|
133
133
|
readJournalMark,
|
|
134
134
|
recordDeepCheck
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-FBVJGJDM.js";
|
|
136
136
|
import {
|
|
137
137
|
failureKey,
|
|
138
138
|
isStoreDamage
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-VG63EXRC.js";
|
|
140
140
|
import {
|
|
141
141
|
formatLocator,
|
|
142
142
|
parseLocator
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-TYAFL66K.js";
|
|
144
144
|
import {
|
|
145
145
|
readSharedSection,
|
|
146
146
|
sharedConfigPath,
|
|
147
147
|
writeSharedSection
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-WKT5RPSY.js";
|
|
149
149
|
import {
|
|
150
150
|
storePath
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-XHVFX74L.js";
|
|
152
152
|
import {
|
|
153
153
|
openCache
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-XRH2NKW4.js";
|
|
155
155
|
import {
|
|
156
156
|
queryFieldsOf
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-FMJ4QSSU.js";
|
|
158
158
|
import {
|
|
159
159
|
Credentials,
|
|
160
160
|
isMovedRun,
|
|
161
161
|
resolvePaths,
|
|
162
162
|
writeSecurely
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-CS62FET6.js";
|
|
164
164
|
import {
|
|
165
165
|
array,
|
|
166
166
|
boolean,
|
|
@@ -182,10 +182,10 @@ import {
|
|
|
182
182
|
string,
|
|
183
183
|
transform,
|
|
184
184
|
trim
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-3D5PETD2.js";
|
|
186
186
|
import {
|
|
187
187
|
CliError
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-K3K3WKDB.js";
|
|
189
189
|
import {
|
|
190
190
|
__commonJS,
|
|
191
191
|
__name,
|
|
@@ -5525,11 +5525,11 @@ var require_liquid_node = __commonJS({
|
|
|
5525
5525
|
}
|
|
5526
5526
|
});
|
|
5527
5527
|
|
|
5528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5529
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";
|
|
5530
5530
|
import { dirname as dirname3, resolve } from "node:path";
|
|
5531
5531
|
|
|
5532
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5533
5533
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5534
5534
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5535
5535
|
import { Transform } from "node:stream";
|
|
@@ -5636,7 +5636,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5636
5636
|
renameSync(pending, to);
|
|
5637
5637
|
}, "unsealFile");
|
|
5638
5638
|
|
|
5639
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5640
5640
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5641
5641
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5642
5642
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5660,7 +5660,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5660
5660
|
};
|
|
5661
5661
|
}, "compatibilityOf");
|
|
5662
5662
|
|
|
5663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5664
5664
|
import { createHash as createHash2 } from "node:crypto";
|
|
5665
5665
|
var COPY_MARK = "__repair_";
|
|
5666
5666
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5914,19 +5914,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5914
5914
|
return found;
|
|
5915
5915
|
}, "deleteCopy");
|
|
5916
5916
|
|
|
5917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5918
5918
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5919
5919
|
|
|
5920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5921
5921
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5922
5922
|
|
|
5923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5924
5924
|
import { execFileSync, spawn } from "node:child_process";
|
|
5925
5925
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5926
5926
|
import { basename, dirname, join } from "node:path";
|
|
5927
5927
|
import { Transform as Transform2 } from "node:stream";
|
|
5928
5928
|
|
|
5929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/refill.js
|
|
5930
5930
|
var REFILL_MARGIN_MS = 864e5;
|
|
5931
5931
|
var TIME_KEYS = 1e12;
|
|
5932
5932
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -6006,7 +6006,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
6006
6006
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6007
6007
|
}, "forgetMail");
|
|
6008
6008
|
|
|
6009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6009
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
6010
6010
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6011
6011
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6012
6012
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6534,7 +6534,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6534
6534
|
}
|
|
6535
6535
|
}, "recoverLocked");
|
|
6536
6536
|
|
|
6537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6538
6538
|
var COUNTED = [
|
|
6539
6539
|
"accounts",
|
|
6540
6540
|
"chats",
|
|
@@ -6690,7 +6690,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6690
6690
|
return recover;
|
|
6691
6691
|
}, "storeRecoverCommand");
|
|
6692
6692
|
|
|
6693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6694
6694
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6695
6695
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6696
6696
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6740,7 +6740,7 @@ var sharedStoreCommand = /* @__PURE__ */ __name((app) => {
|
|
|
6740
6740
|
return app ? store.addCommand(storeRecoverCommand(app)) : store;
|
|
6741
6741
|
}, "sharedStoreCommand");
|
|
6742
6742
|
|
|
6743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6744
6744
|
var ENCRYPT_OPTION = [
|
|
6745
6745
|
"--encrypt",
|
|
6746
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"
|
|
@@ -6759,7 +6759,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6759
6759
|
return password;
|
|
6760
6760
|
}, "passwordOf");
|
|
6761
6761
|
|
|
6762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6763
6763
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6764
6764
|
import { join as join2 } from "node:path";
|
|
6765
6765
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6930,7 +6930,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6930
6930
|
}, "problem");
|
|
6931
6931
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6932
6932
|
|
|
6933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6934
6934
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6935
6935
|
import { join as join3 } from "node:path";
|
|
6936
6936
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6983,7 +6983,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6983
6983
|
}, "recordReply");
|
|
6984
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");
|
|
6985
6985
|
|
|
6986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6987
6987
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6988
6988
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6989
6989
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7089,10 +7089,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7089
7089
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7090
7090
|
}, "filled");
|
|
7091
7091
|
|
|
7092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7092
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7093
7093
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7094
7094
|
|
|
7095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7095
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
7096
7096
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7097
7097
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7098
7098
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7119,7 +7119,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7119
7119
|
return engine;
|
|
7120
7120
|
}, "safeLiquid");
|
|
7121
7121
|
|
|
7122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7123
7123
|
var TEMPLATE_LIMITS = {
|
|
7124
7124
|
parse: 32768,
|
|
7125
7125
|
renders: 2e3,
|
|
@@ -7258,7 +7258,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7258
7258
|
}
|
|
7259
7259
|
}, "renderReplyTemplate");
|
|
7260
7260
|
|
|
7261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
7262
7262
|
var DRY_RUN_DAYS = 7;
|
|
7263
7263
|
var PAGE = 500;
|
|
7264
7264
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7372,7 +7372,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7372
7372
|
}
|
|
7373
7373
|
}, "storedSince");
|
|
7374
7374
|
|
|
7375
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/ai.js
|
|
7376
7376
|
var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
|
|
7377
7377
|
var DEFAULT_BASE_URL = {
|
|
7378
7378
|
anthropic: "https://api.anthropic.com",
|
|
@@ -7536,7 +7536,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
|
|
|
7536
7536
|
}
|
|
7537
7537
|
}, "checkAi");
|
|
7538
7538
|
|
|
7539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/purpose.js
|
|
7540
7540
|
var HOSTED = {
|
|
7541
7541
|
openai: "https://api.openai.com/v1",
|
|
7542
7542
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7557,7 +7557,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7557
7557
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7558
7558
|
}, "purposeModel");
|
|
7559
7559
|
|
|
7560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7561
7561
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7562
7562
|
import { join as join4 } from "node:path";
|
|
7563
7563
|
var shape = strictObject({
|
|
@@ -7582,7 +7582,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7582
7582
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7583
7583
|
}, "mayModelReply");
|
|
7584
7584
|
|
|
7585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7586
7586
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7587
7587
|
ai: true
|
|
7588
7588
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7630,7 +7630,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7630
7630
|
return result2;
|
|
7631
7631
|
}, "replyRenderer");
|
|
7632
7632
|
|
|
7633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7634
7634
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7635
7635
|
var NO_RULES = "no rules";
|
|
7636
7636
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7723,7 +7723,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7723
7723
|
return { skip: why };
|
|
7724
7724
|
}, "replyTo");
|
|
7725
7725
|
|
|
7726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7727
7727
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7728
7728
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7729
7729
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7800,7 +7800,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7800
7800
|
};
|
|
7801
7801
|
}, "startSync");
|
|
7802
7802
|
|
|
7803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7804
7804
|
var FIRST_FETCH_MS = 6e4;
|
|
7805
7805
|
var DAY_MS = 864e5;
|
|
7806
7806
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7854,7 +7854,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7854
7854
|
};
|
|
7855
7855
|
}, "memberFetches");
|
|
7856
7856
|
|
|
7857
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7858
7858
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7859
7859
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7860
7860
|
if (context.format === "pretty") {
|
|
@@ -7887,7 +7887,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7887
7887
|
return context;
|
|
7888
7888
|
}, "recordDiagnostics");
|
|
7889
7889
|
|
|
7890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
|
|
7891
7891
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7892
7892
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
7893
7893
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -7973,7 +7973,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
7973
7973
|
};
|
|
7974
7974
|
}, "watchOutdated");
|
|
7975
7975
|
|
|
7976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
7977
7977
|
var STEMS_EVERY_MS = 3e4;
|
|
7978
7978
|
var STEMS_SLICE_MS = 2e3;
|
|
7979
7979
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -8013,7 +8013,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
8013
8013
|
};
|
|
8014
8014
|
}, "stemFills");
|
|
8015
8015
|
|
|
8016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
8017
8017
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
8018
8018
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
8019
8019
|
kind: attachment.kind,
|
|
@@ -8109,7 +8109,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
8109
8109
|
locale: messenger.app.locale
|
|
8110
8110
|
}), "viewOf");
|
|
8111
8111
|
|
|
8112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
8113
8113
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
8114
8114
|
value: value.value,
|
|
8115
8115
|
observed_at: value.observedAt,
|
|
@@ -8176,7 +8176,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8176
8176
|
}
|
|
8177
8177
|
}, "watchEventItem");
|
|
8178
8178
|
|
|
8179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
8180
8180
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8181
8181
|
output: { entity: "watch_item" },
|
|
8182
8182
|
effects: REMOTE_READ,
|
|
@@ -8331,7 +8331,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8331
8331
|
}
|
|
8332
8332
|
}, "describe");
|
|
8333
8333
|
|
|
8334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
8335
8335
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8336
8336
|
const command = annotate(new Command("serve"), {
|
|
8337
8337
|
output: { entity: "serve_summary" },
|
|
@@ -8617,7 +8617,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8617
8617
|
};
|
|
8618
8618
|
}, "tasking");
|
|
8619
8619
|
|
|
8620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8621
8621
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8622
8622
|
var PATH = "store tables list";
|
|
8623
8623
|
var STORE_TABLES_QUERY = {
|
|
@@ -8660,7 +8660,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8660
8660
|
return tables;
|
|
8661
8661
|
}, "storeTablesCommand");
|
|
8662
8662
|
|
|
8663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8664
8664
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8665
8665
|
var WORD_INDEX = "message_words";
|
|
8666
8666
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FBVJGJDM.js";
|
|
9
9
|
import {
|
|
10
10
|
array,
|
|
11
11
|
nullable,
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
strictObject,
|
|
17
17
|
string,
|
|
18
18
|
unknown
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3D5PETD2.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
22
22
|
var link = {
|
|
23
23
|
target_text: nullable(text),
|
|
24
24
|
kind: text,
|
|
@@ -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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
|
|
8
8
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
9
9
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
10
10
|
|
|
@@ -23,28 +23,28 @@ import {
|
|
|
23
23
|
tagMemberIds,
|
|
24
24
|
thingOf,
|
|
25
25
|
write
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IUSY4ZJK.js";
|
|
27
27
|
import {
|
|
28
28
|
fold
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TK77DCE5.js";
|
|
30
30
|
import {
|
|
31
31
|
damagedFile
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VG63EXRC.js";
|
|
33
33
|
import {
|
|
34
34
|
ADDED_PROVIDER,
|
|
35
35
|
filesAccountSql,
|
|
36
36
|
folderProviderOf,
|
|
37
37
|
folderProviderSql,
|
|
38
38
|
isDocumentAccountProvider
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TYAFL66K.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-K3K3WKDB.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
48
48
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
49
49
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
50
50
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
|
|
|
147
147
|
};
|
|
148
148
|
}, "storeDamageReport");
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
151
151
|
import { realpathSync, statSync } from "node:fs";
|
|
152
152
|
import { resolve } from "node:path";
|
|
153
153
|
|
|
154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
155
155
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
156
156
|
const creatable = /* @__PURE__ */ new Set();
|
|
157
157
|
let people = 0, identities = 0;
|
|
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
214
214
|
}
|
|
215
215
|
}, "copyPeople");
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
218
218
|
import { createHash } from "node:crypto";
|
|
219
219
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
222
222
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
223
223
|
const colon = collection.indexOf(":");
|
|
224
224
|
const provider = collection.slice(0, colon);
|
|
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
262
262
|
};
|
|
263
263
|
}, "currentCollection");
|
|
264
264
|
|
|
265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
266
266
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
267
267
|
const mappings = /* @__PURE__ */ new Map();
|
|
268
268
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
429
429
|
};
|
|
430
430
|
}, "planTransfer");
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
433
433
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
434
434
|
var MAX_ENTITIES = 1e3;
|
|
435
435
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
591
591
|
};
|
|
592
592
|
}), "transferSnapshot");
|
|
593
593
|
|
|
594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
595
595
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
596
596
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
597
597
|
return provider ?? null;
|
|
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
763
763
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
764
764
|
}, "remapEntity");
|
|
765
765
|
|
|
766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
767
767
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
768
768
|
for (const value of [options.source, options.destination, options.collection])
|
|
769
769
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
|
|
|
865
865
|
}
|
|
866
866
|
}, "applyWith");
|
|
867
867
|
|
|
868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
869
869
|
import { existsSync, statSync as statSync2 } from "node:fs";
|
|
870
870
|
var JSON_COLUMNS = {
|
|
871
871
|
accounts: ["settings"],
|
|
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
1007
1007
|
}
|
|
1008
1008
|
}, "storeHealth");
|
|
1009
1009
|
|
|
1010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
1011
1011
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
1012
1012
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1013
1013
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
1033
1033
|
});
|
|
1034
1034
|
}, "previewProjectAnnotationSnapshot");
|
|
1035
1035
|
|
|
1036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
1037
1037
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
1038
1038
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1039
1039
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-K3K3WKDB.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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
hostFetch
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZFYNJERV.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isCliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K3K3WKDB.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
15
15
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
16
16
|
try {
|
|
17
17
|
const url = new URL(value);
|