@wirecat/amo-cli 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/amo/oauth.d.ts.map +1 -1
- package/dist/amo/oauth.js +3 -4
- package/dist/amo/oauth.js.map +1 -1
- package/dist/amo/transport.d.ts.map +1 -1
- package/dist/amo/transport.js +3 -6
- package/dist/amo/transport.js.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-VVACEKSX.js +42 -0
- package/dist/bundle/{all-profiles-PIWUQWBA.js → all-profiles-QNUKL4NA.js} +7 -7
- package/dist/bundle/amo.js +18 -18
- package/dist/bundle/{anthropic-47CMXBPQ.js → anthropic-PQN6MNP7.js} +2 -2
- package/dist/bundle/{app-server-QRBQODF2.js → app-server-Q2QEA7GP.js} +64 -63
- package/dist/bundle/{areas-QVHVU57Z.js → areas-27FRPBF3.js} +28 -20
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-7I4X7CZW.js → bun-sqlite-P5IDBDVR.js} +3 -3
- package/dist/bundle/{chunk-RN6RT5CB.js → chunk-22KAQPX7.js} +3 -3
- package/dist/bundle/{chunk-43OW5NTG.js → chunk-2JGNMZ55.js} +4 -4
- package/dist/bundle/{chunk-TAVI73RW.js → chunk-2VDHC7QO.js} +2 -2
- package/dist/bundle/{chunk-3DEQUYEG.js → chunk-34ZOMVUK.js} +7 -7
- package/dist/bundle/{chunk-EHK73OSW.js → chunk-3J3EDSXF.js} +19 -97
- package/dist/bundle/{chunk-JLXXUEAM.js → chunk-3TYER5IK.js} +13 -5
- package/dist/bundle/{chunk-MDEPJZYJ.js → chunk-5NGLCDYQ.js} +2 -2
- package/dist/bundle/{chunk-63N46DJU.js → chunk-5SQTHOBI.js} +203 -168
- package/dist/bundle/{chunk-5UTB3ADZ.js → chunk-6GE36KUE.js} +10 -10
- package/dist/bundle/{chunk-DVZ75WZJ.js → chunk-6GZKY3HV.js} +10 -10
- package/dist/bundle/{chunk-CGW5R4UD.js → chunk-6OV2TRGF.js} +6 -6
- package/dist/bundle/{chunk-NSKMNIY6.js → chunk-7CPIZFOE.js} +6 -6
- package/dist/bundle/{chunk-BVVMIAQ6.js → chunk-A5K2NU3K.js} +394 -341
- package/dist/bundle/{chunk-6D4VWSJD.js → chunk-AEC4H5WZ.js} +5 -5
- package/dist/bundle/{chunk-4VN7RI4I.js → chunk-APBEDWOE.js} +4 -4
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-FV4GQNIK.js → chunk-B7L5MSRP.js} +2 -2
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-H4AFNENN.js → chunk-DIZEHPS6.js} +30 -26
- package/dist/bundle/{chunk-43PMSR33.js → chunk-DUPCDJ3W.js} +7 -7
- package/dist/bundle/{chunk-ABX7BBS4.js → chunk-DWT24UVR.js} +1 -1
- package/dist/bundle/chunk-DXWJORSY.js +1703 -0
- package/dist/bundle/{chunk-G2TU5RYY.js → chunk-DY3PLWIH.js} +1 -1
- package/dist/bundle/{chunk-RIMPFMZE.js → chunk-DYWHAJRK.js} +23 -15
- package/dist/bundle/{chunk-R53XXHEI.js → chunk-EXRM3ML4.js} +2 -2
- package/dist/bundle/{chunk-JG6LCSEX.js → chunk-FFER7KJI.js} +12 -12
- package/dist/bundle/{chunk-6JTHXWPE.js → chunk-FIP2DG7W.js} +2 -2
- package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
- package/dist/bundle/{chunk-3GX6KM2E.js → chunk-FWRLGIF6.js} +63 -61
- package/dist/bundle/{chunk-3PYE55JY.js → chunk-FYOPPKAN.js} +1 -1
- package/dist/bundle/{chunk-K7YY6SXR.js → chunk-G3N2RHGF.js} +12 -12
- package/dist/bundle/{chunk-NISH4UXM.js → chunk-G46PNDWL.js} +1 -1
- package/dist/bundle/{chunk-LKH3UKLO.js → chunk-G6NY7LFB.js} +3 -3
- package/dist/bundle/{chunk-M6VZXAJC.js → chunk-GOCMJBEE.js} +2 -2
- package/dist/bundle/{chunk-ADTI5RUO.js → chunk-GRGCZSES.js} +5 -5
- package/dist/bundle/{chunk-6WS6GJ4V.js → chunk-GVSKLZRD.js} +1 -1
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-FNV5HLHX.js → chunk-HN2LCLGT.js} +18 -18
- package/dist/bundle/{chunk-2JHVQMVC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
- package/dist/bundle/chunk-IDCZ4LWS.js +150 -0
- package/dist/bundle/{chunk-7IR2G5XY.js → chunk-IN3VL7UU.js} +15 -14
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
- package/dist/bundle/{chunk-633NQY2R.js → chunk-JVBCQHCS.js} +2 -2
- package/dist/bundle/{chunk-DQ6S5TFZ.js → chunk-K5W7YEHB.js} +61 -59
- package/dist/bundle/{chunk-LZPKBN3C.js → chunk-KAFSS35C.js} +1 -1
- package/dist/bundle/{chunk-IA7LLLEI.js → chunk-KLRCTMES.js} +2 -2
- package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/{chunk-V2CNGXWX.js → chunk-LBZSURLL.js} +36 -36
- package/dist/bundle/{chunk-XEQQJBBO.js → chunk-LC7ZD2RW.js} +1 -1
- package/dist/bundle/{chunk-IB55P46L.js → chunk-LH6FJYMO.js} +4 -4
- package/dist/bundle/{chunk-HSPEU6S7.js → chunk-LJKINNWC.js} +6 -6
- package/dist/bundle/{chunk-GLYWZQY4.js → chunk-M36XP74N.js} +2 -2
- package/dist/bundle/chunk-MNPGZCKE.js +361 -0
- package/dist/bundle/{chunk-U5RJJ2EC.js → chunk-MRPMORLH.js} +7 -7
- package/dist/bundle/{chunk-57HFPNMF.js → chunk-NNREILWP.js} +6 -6
- package/dist/bundle/chunk-NSOY4FMN.js +159 -0
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/{chunk-6QGUK3H7.js → chunk-OGJFDKDL.js} +4 -4
- package/dist/bundle/{chunk-ZLUIRFJX.js → chunk-PATZAYFZ.js} +35 -362
- package/dist/bundle/{chunk-PPSAWFJD.js → chunk-PCR6GFNP.js} +39 -161
- package/dist/bundle/{chunk-XUT7DSM5.js → chunk-Q4MH2O5E.js} +2 -2
- package/dist/bundle/{chunk-AKRIUNYP.js → chunk-QQRJEWKB.js} +5 -5
- package/dist/bundle/{chunk-KZ2FIDI3.js → chunk-RNWUCAJJ.js} +2 -2
- package/dist/bundle/{chunk-BIKOE2IW.js → chunk-SDVUGWD7.js} +4 -4
- package/dist/bundle/{chunk-GDK7ETSB.js → chunk-SEFE6PGL.js} +10 -10
- package/dist/bundle/{chunk-WUFX4TKA.js → chunk-SWCJM3YD.js} +2 -2
- package/dist/bundle/{chunk-KEKXERBE.js → chunk-SYRDEMQE.js} +3664 -2704
- package/dist/bundle/{chunk-WXJYMMEL.js → chunk-SYYQZDHJ.js} +5 -5
- package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-YWDFYQOU.js → chunk-TES7MB6I.js} +1 -1
- package/dist/bundle/{chunk-S4ZHQMNM.js → chunk-U6XPWCWM.js} +3 -3
- package/dist/bundle/{chunk-W5JRXIG6.js → chunk-UFKC7TIX.js} +1213 -804
- package/dist/bundle/{chunk-XCCU2E3Z.js → chunk-UNWF3TH5.js} +3 -3
- package/dist/bundle/{chunk-UDSL3MUU.js → chunk-W3BOR6AT.js} +7 -7
- package/dist/bundle/{chunk-JXT6GY4V.js → chunk-X76RS6JO.js} +29 -9
- package/dist/bundle/{chunk-DSJ6EAOA.js → chunk-YF3S26TS.js} +51 -51
- package/dist/bundle/{chunk-TLG6ECZ2.js → chunk-ZCQ4H7CA.js} +1 -1
- package/dist/bundle/{chunk-D4NE7EON.js → chunk-ZOZV32IR.js} +2 -2
- package/dist/bundle/{chunk-7IWIFVXH.js → chunk-ZTKHXDEU.js} +3 -3
- package/dist/bundle/{cli-3NXOSENF.js → cli-EAD3WZLR.js} +81 -66
- package/dist/bundle/command-contract-SMEJ2ICG.js +40 -0
- package/dist/bundle/{command-server-entry-4ZQPNUL4.js → command-server-entry-YTZP6I4T.js} +25 -24
- package/dist/bundle/{decode-K7U7X5EL.js → decode-57BE5OBT.js} +2 -2
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-SWLVG73O.js → embed-NFGFYUO4.js} +3 -3
- package/dist/bundle/{embedder-EJN75BPV.js → embedder-SRBOJMXX.js} +6 -6
- package/dist/bundle/{first-run-WPGUUC4Z.js → first-run-HWRUL2GR.js} +6 -6
- package/dist/bundle/first-screen-ATN4D3FQ.js +41 -0
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/meeting-combined-BGDEHCWY.js +26 -0
- package/dist/bundle/{meeting-model-YXXNETKC.js → meeting-model-WWGVRXPL.js} +8 -8
- package/dist/bundle/{meeting-semantic-U7EUB3ET.js → meeting-semantic-ZQ47BL2Z.js} +2 -2
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-YVOGMDSP.js → node-sqlite-JOTSNH3P.js} +4 -4
- package/dist/bundle/{oauth-2SNRBIJM.js → oauth-XPSAL6VO.js} +4 -4
- package/dist/bundle/{open-ABCPY5IH.js → open-PO52FVA5.js} +2 -2
- package/dist/bundle/{openai-4D6PXJR7.js → openai-WITYLMY5.js} +12 -12
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-CBDQBZZ3.js → program-JODTZNBZ.js} +107 -158
- package/dist/bundle/{prompt-2QUK5QST.js → prompt-XORLAXHY.js} +2 -2
- package/dist/bundle/{recognize-QMQSJRIH.js → recognize-JKMZHDYS.js} +1 -1
- package/dist/bundle/{remote-U7TC2BLZ.js → remote-3IMEJTEH.js} +6 -6
- package/dist/bundle/{rerank-5UPVXGVV.js → rerank-3F2E6NNN.js} +4 -4
- package/dist/bundle/{serve-VX6GUM6J.js → serve-6BWU3NMB.js} +6 -6
- package/dist/bundle/{server-FOPC6DJ3.js → server-GPSB5WFG.js} +56 -55
- package/dist/bundle/server-HMCC64ZU.js +88 -0
- package/dist/bundle/source-E72OS27D.js +47 -0
- package/dist/bundle/{sqlite-runtime-77NKDEXN.js → sqlite-runtime-YHYQDUXE.js} +3 -3
- package/dist/bundle/{state-X2HU6GB2.js → state-R7W4U6T4.js} +3 -3
- package/dist/bundle/{store-3CHPHFP7.js → store-HTVRL7FB.js} +51 -40
- package/dist/bundle/store-IWW6U6QN.js +34 -0
- package/dist/bundle/{store-2U4U6KL4.js → store-TBZ3ZS6H.js} +21 -19
- package/dist/bundle/store-maintenance-command-CJM2VLMW.js +75 -0
- package/dist/bundle/surface-5GBWNYBE.js +74 -0
- package/dist/bundle/writer-TW2Q55VJ.js +49 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +1 -6
- package/dist/commands/session.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/agent-EFMUK732.js +0 -41
- package/dist/bundle/chunk-IG2TJQJ7.js +0 -79
- package/dist/bundle/chunk-KZN2BG3P.js +0 -721
- package/dist/bundle/chunk-RRTMPSQR.js +0 -29
- package/dist/bundle/command-contract-LNSAV5LA.js +0 -39
- package/dist/bundle/first-screen-JMNEUQ46.js +0 -40
- package/dist/bundle/meeting-combined-5TKG2RYD.js +0 -24
- package/dist/bundle/server-OIVNOMVK.js +0 -87
- package/dist/bundle/source-HWS5SJIV.js +0 -46
- package/dist/bundle/store-Z3747L5F.js +0 -34
- package/dist/bundle/store-maintenance-command-UOSZJTVP.js +0 -74
- package/dist/bundle/surface-MUT72QON.js +0 -73
- package/dist/bundle/writer-RBKQ64ZM.js +0 -48
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
messengerContext
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DYWHAJRK.js";
|
|
6
6
|
import {
|
|
7
7
|
chatEventAnswer,
|
|
8
8
|
memberAnswer,
|
|
9
9
|
pollVoteAnswer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MRPMORLH.js";
|
|
11
11
|
import {
|
|
12
12
|
serveRelay
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2JGNMZ55.js";
|
|
14
14
|
import {
|
|
15
15
|
FETCHING,
|
|
16
16
|
RULES_VERSION,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
servicesFor,
|
|
26
26
|
syncsOneChat,
|
|
27
27
|
withTimeLimit
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-A5K2NU3K.js";
|
|
29
29
|
import {
|
|
30
30
|
answerOf,
|
|
31
31
|
inside,
|
|
@@ -33,15 +33,15 @@ import {
|
|
|
33
33
|
realPathOf,
|
|
34
34
|
refuseLockedOutput,
|
|
35
35
|
refusedPlace
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FWRLGIF6.js";
|
|
37
37
|
import {
|
|
38
38
|
capability
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GVSKLZRD.js";
|
|
40
40
|
import {
|
|
41
41
|
queryTerms,
|
|
42
42
|
typedQuery,
|
|
43
43
|
withQuery
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-G3N2RHGF.js";
|
|
45
45
|
import {
|
|
46
46
|
holdLock,
|
|
47
47
|
lockPath,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
releaseLock,
|
|
50
50
|
servingProfiles,
|
|
51
51
|
takeLock
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-M36XP74N.js";
|
|
53
53
|
import {
|
|
54
54
|
Command,
|
|
55
55
|
LOCAL_READ,
|
|
@@ -76,10 +76,10 @@ import {
|
|
|
76
76
|
snakeKeys,
|
|
77
77
|
storeTable,
|
|
78
78
|
withoutProviderRefs
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-5SQTHOBI.js";
|
|
80
80
|
import {
|
|
81
81
|
holdersOf
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-T3W4V4A6.js";
|
|
83
83
|
import {
|
|
84
84
|
QUICK_HEALTH_CHECKS,
|
|
85
85
|
fts5Tables,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
lossUnknown,
|
|
88
88
|
storeDamageReport,
|
|
89
89
|
storeHealth
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-HN2LCLGT.js";
|
|
91
91
|
import {
|
|
92
92
|
CORPORA,
|
|
93
93
|
MIGRATIONS,
|
|
@@ -125,49 +125,49 @@ import {
|
|
|
125
125
|
storeClients,
|
|
126
126
|
storeContents,
|
|
127
127
|
vectorIndexCounts
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-SYRDEMQE.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-PCR6GFNP.js";
|
|
136
136
|
import {
|
|
137
137
|
failureKey,
|
|
138
138
|
isStoreDamage
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-3TYER5IK.js";
|
|
140
140
|
import {
|
|
141
141
|
modelAddressAllowed,
|
|
142
142
|
onThisComputer
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-DY3PLWIH.js";
|
|
144
144
|
import {
|
|
145
145
|
renderMessages
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-KAFSS35C.js";
|
|
147
147
|
import {
|
|
148
148
|
levelFor
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-SDVUGWD7.js";
|
|
150
150
|
import {
|
|
151
151
|
formatLocator,
|
|
152
152
|
parseLocator
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-PATZAYFZ.js";
|
|
154
154
|
import {
|
|
155
155
|
queryFieldsOf
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-YF3S26TS.js";
|
|
157
157
|
import {
|
|
158
158
|
readSharedSection,
|
|
159
159
|
sharedConfigPath,
|
|
160
160
|
writeSharedSection
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-QQRJEWKB.js";
|
|
162
162
|
import {
|
|
163
163
|
readSecret
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-KLRCTMES.js";
|
|
165
165
|
import {
|
|
166
166
|
storePath
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-ZCQ4H7CA.js";
|
|
168
168
|
import {
|
|
169
169
|
openCache
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-SYYQZDHJ.js";
|
|
171
171
|
import {
|
|
172
172
|
Credentials,
|
|
173
173
|
isMovedRun,
|
|
@@ -5538,11 +5538,11 @@ var require_liquid_node = __commonJS({
|
|
|
5538
5538
|
}
|
|
5539
5539
|
});
|
|
5540
5540
|
|
|
5541
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5541
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5542
5542
|
import { chmodSync, constants, copyFileSync, existsSync as existsSync10, mkdirSync, realpathSync as realpathSync3, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
|
|
5543
5543
|
import { dirname as dirname4, resolve as resolve2 } from "node:path";
|
|
5544
5544
|
|
|
5545
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5545
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5546
5546
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5547
5547
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5548
5548
|
import { Transform } from "node:stream";
|
|
@@ -5649,7 +5649,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5649
5649
|
renameSync(pending, to);
|
|
5650
5650
|
}, "unsealFile");
|
|
5651
5651
|
|
|
5652
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5652
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5653
5653
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5654
5654
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5655
5655
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5673,7 +5673,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5673
5673
|
};
|
|
5674
5674
|
}, "compatibilityOf");
|
|
5675
5675
|
|
|
5676
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5676
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5677
5677
|
import { createHash as createHash2 } from "node:crypto";
|
|
5678
5678
|
var COPY_MARK = "__repair_";
|
|
5679
5679
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5927,7 +5927,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5927
5927
|
return found;
|
|
5928
5928
|
}, "deleteCopy");
|
|
5929
5929
|
|
|
5930
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5930
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/path-options.js
|
|
5931
5931
|
import { dirname, isAbsolute, join, resolve } from "node:path";
|
|
5932
5932
|
var PATH_NAME = /^([a-z]+-)*(file|path|dir|directory|folder)s?$/;
|
|
5933
5933
|
var PATH_PLACEHOLDER = /[<[]([a-z]+-)*(file|path|dir|directory|folder)s?(\.\.\.)?[>\]]/;
|
|
@@ -5987,19 +5987,19 @@ var absoluteFrom = /* @__PURE__ */ __name((cwd, value) => {
|
|
|
5987
5987
|
return resolve(cwd, value);
|
|
5988
5988
|
}, "absoluteFrom");
|
|
5989
5989
|
|
|
5990
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5990
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5991
5991
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5992
5992
|
|
|
5993
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5993
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5994
5994
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5995
5995
|
|
|
5996
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5996
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5997
5997
|
import { execFileSync, spawn } from "node:child_process";
|
|
5998
5998
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5999
5999
|
import { basename, dirname as dirname2, join as join2 } from "node:path";
|
|
6000
6000
|
import { Transform as Transform2 } from "node:stream";
|
|
6001
6001
|
|
|
6002
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6002
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/refill.js
|
|
6003
6003
|
var REFILL_MARGIN_MS = 864e5;
|
|
6004
6004
|
var TIME_KEYS = 1e12;
|
|
6005
6005
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -6079,7 +6079,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
6079
6079
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6080
6080
|
}, "forgetMail");
|
|
6081
6081
|
|
|
6082
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6082
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
6083
6083
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6084
6084
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6085
6085
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6610,7 +6610,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6610
6610
|
}
|
|
6611
6611
|
}, "recoverLocked");
|
|
6612
6612
|
|
|
6613
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6613
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6614
6614
|
var COUNTED = [
|
|
6615
6615
|
"accounts",
|
|
6616
6616
|
"chats",
|
|
@@ -6766,7 +6766,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6766
6766
|
return recover;
|
|
6767
6767
|
}, "storeRecoverCommand");
|
|
6768
6768
|
|
|
6769
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6769
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6770
6770
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6771
6771
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6772
6772
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6816,7 +6816,7 @@ var sharedStoreCommand = /* @__PURE__ */ __name((app) => {
|
|
|
6816
6816
|
return app ? store.addCommand(storeRecoverCommand(app)) : store;
|
|
6817
6817
|
}, "sharedStoreCommand");
|
|
6818
6818
|
|
|
6819
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6819
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6820
6820
|
var ENCRYPT_OPTION = [
|
|
6821
6821
|
"--encrypt",
|
|
6822
6822
|
"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"
|
|
@@ -6835,7 +6835,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6835
6835
|
return password;
|
|
6836
6836
|
}, "passwordOf");
|
|
6837
6837
|
|
|
6838
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6838
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6839
6839
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6840
6840
|
import { join as join3 } from "node:path";
|
|
6841
6841
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -7006,7 +7006,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
7006
7006
|
}, "problem");
|
|
7007
7007
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
7008
7008
|
|
|
7009
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7009
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
7010
7010
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
7011
7011
|
import { join as join4 } from "node:path";
|
|
7012
7012
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -7059,7 +7059,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
7059
7059
|
}, "recordReply");
|
|
7060
7060
|
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");
|
|
7061
7061
|
|
|
7062
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7062
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
7063
7063
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
7064
7064
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
7065
7065
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7165,10 +7165,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7165
7165
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7166
7166
|
}, "filled");
|
|
7167
7167
|
|
|
7168
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7168
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7169
7169
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7170
7170
|
|
|
7171
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7171
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
7172
7172
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7173
7173
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7174
7174
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7195,7 +7195,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7195
7195
|
return engine;
|
|
7196
7196
|
}, "safeLiquid");
|
|
7197
7197
|
|
|
7198
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7198
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7199
7199
|
var TEMPLATE_LIMITS = {
|
|
7200
7200
|
parse: 32768,
|
|
7201
7201
|
renders: 2e3,
|
|
@@ -7334,7 +7334,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7334
7334
|
}
|
|
7335
7335
|
}, "renderReplyTemplate");
|
|
7336
7336
|
|
|
7337
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7337
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
7338
7338
|
var DRY_RUN_DAYS = 7;
|
|
7339
7339
|
var PAGE = 500;
|
|
7340
7340
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7448,7 +7448,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7448
7448
|
}
|
|
7449
7449
|
}, "storedSince");
|
|
7450
7450
|
|
|
7451
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7451
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/models/ai.js
|
|
7452
7452
|
var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
|
|
7453
7453
|
var DEFAULT_BASE_URL = {
|
|
7454
7454
|
anthropic: "https://api.anthropic.com",
|
|
@@ -7616,7 +7616,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
|
|
|
7616
7616
|
}
|
|
7617
7617
|
}, "checkAi");
|
|
7618
7618
|
|
|
7619
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7619
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/models/purpose.js
|
|
7620
7620
|
var HOSTED = {
|
|
7621
7621
|
openai: "https://api.openai.com/v1",
|
|
7622
7622
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7637,7 +7637,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7637
7637
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7638
7638
|
}, "purposeModel");
|
|
7639
7639
|
|
|
7640
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7640
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7641
7641
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7642
7642
|
import { join as join5 } from "node:path";
|
|
7643
7643
|
var shape = strictObject({
|
|
@@ -7662,7 +7662,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7662
7662
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7663
7663
|
}, "mayModelReply");
|
|
7664
7664
|
|
|
7665
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7665
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7666
7666
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7667
7667
|
ai: true
|
|
7668
7668
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7710,7 +7710,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7710
7710
|
return result2;
|
|
7711
7711
|
}, "replyRenderer");
|
|
7712
7712
|
|
|
7713
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7713
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7714
7714
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7715
7715
|
var NO_RULES = "no rules";
|
|
7716
7716
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7803,7 +7803,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7803
7803
|
return { skip: why };
|
|
7804
7804
|
}, "replyTo");
|
|
7805
7805
|
|
|
7806
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7806
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7807
7807
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7808
7808
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7809
7809
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7880,7 +7880,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7880
7880
|
};
|
|
7881
7881
|
}, "startSync");
|
|
7882
7882
|
|
|
7883
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7883
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7884
7884
|
var FIRST_FETCH_MS = 6e4;
|
|
7885
7885
|
var DAY_MS = 864e5;
|
|
7886
7886
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7934,7 +7934,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7934
7934
|
};
|
|
7935
7935
|
}, "memberFetches");
|
|
7936
7936
|
|
|
7937
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7937
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7938
7938
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7939
7939
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7940
7940
|
if (context.format === "pretty") {
|
|
@@ -7967,7 +7967,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7967
7967
|
return context;
|
|
7968
7968
|
}, "recordDiagnostics");
|
|
7969
7969
|
|
|
7970
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7970
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
|
|
7971
7971
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7972
7972
|
import { dirname as dirname3, join as join6 } from "node:path";
|
|
7973
7973
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -8053,7 +8053,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
8053
8053
|
};
|
|
8054
8054
|
}, "watchOutdated");
|
|
8055
8055
|
|
|
8056
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8056
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
8057
8057
|
var STEMS_EVERY_MS = 3e4;
|
|
8058
8058
|
var STEMS_SLICE_MS = 2e3;
|
|
8059
8059
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -8093,7 +8093,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
8093
8093
|
};
|
|
8094
8094
|
}, "stemFills");
|
|
8095
8095
|
|
|
8096
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8096
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
8097
8097
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
8098
8098
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
8099
8099
|
kind: attachment.kind,
|
|
@@ -8168,6 +8168,8 @@ var messageItem = /* @__PURE__ */ __name((message, reader) => {
|
|
|
8168
8168
|
thread: message.email.thread,
|
|
8169
8169
|
read: message.email.read,
|
|
8170
8170
|
flagged: message.email.flagged,
|
|
8171
|
+
mail_type: message.email.mailType,
|
|
8172
|
+
reach: message.email.reach,
|
|
8171
8173
|
sender_score: message.email.senderScore
|
|
8172
8174
|
},
|
|
8173
8175
|
provider_metadata: message.providerMetadata
|
|
@@ -8189,7 +8191,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
8189
8191
|
locale: messenger.app.locale
|
|
8190
8192
|
}), "viewOf");
|
|
8191
8193
|
|
|
8192
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8194
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
8193
8195
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
8194
8196
|
value: value.value,
|
|
8195
8197
|
observed_at: value.observedAt,
|
|
@@ -8256,7 +8258,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8256
8258
|
}
|
|
8257
8259
|
}, "watchEventItem");
|
|
8258
8260
|
|
|
8259
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8261
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
8260
8262
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8261
8263
|
output: { entity: "watch_item" },
|
|
8262
8264
|
effects: REMOTE_READ,
|
|
@@ -8411,7 +8413,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8411
8413
|
}
|
|
8412
8414
|
}, "describe");
|
|
8413
8415
|
|
|
8414
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8416
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
8415
8417
|
var CURRENT_EVERY_MS = 6e4;
|
|
8416
8418
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8417
8419
|
const command = annotate(new Command("serve"), {
|
|
@@ -8711,7 +8713,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8711
8713
|
};
|
|
8712
8714
|
}, "tasking");
|
|
8713
8715
|
|
|
8714
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8716
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8715
8717
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8716
8718
|
var PATH = "store tables list";
|
|
8717
8719
|
var STORE_TABLES_QUERY = {
|
|
@@ -8754,7 +8756,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8754
8756
|
return tables;
|
|
8755
8757
|
}, "storeTablesCommand");
|
|
8756
8758
|
|
|
8757
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8759
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8758
8760
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8759
8761
|
var WORD_INDEX = "message_words";
|
|
8760
8762
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TES7MB6I.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-S6JG4YUH.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var EMPTY_TRIES = 3;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
8
8
|
var TIME_LIMIT_FUNCTION = "wc_time_limit";
|
|
9
9
|
var TimeLimitReached = class extends Error {
|
|
10
10
|
static {
|