@wirecat/mail-cli 0.37.0 → 0.38.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 +20 -0
- package/contracts/wirecat.json +1 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-U43CYLAP.js +41 -0
- package/dist/bundle/{all-profiles-ICGWDPUU.js → all-profiles-OCUZMXMI.js} +7 -7
- package/dist/bundle/{anthropic-TL4WFWGU.js → anthropic-CABWJABQ.js} +2 -2
- package/dist/bundle/{app-server-YAR5EFOO.js → app-server-TTWPIGWG.js} +63 -62
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-WI3ZPANS.js → bun-sqlite-YKYG25CR.js} +3 -3
- package/dist/bundle/{chunk-YODGIMMM.js → chunk-24UGTK32.js} +7 -7
- package/dist/bundle/{chunk-IUJDWEGJ.js → chunk-2HDXD6LM.js} +4 -4
- package/dist/bundle/{chunk-UTS5NMR3.js → chunk-2SQLHBDP.js} +1 -1
- package/dist/bundle/{chunk-JLXXUEAM.js → chunk-3TYER5IK.js} +13 -5
- package/dist/bundle/{chunk-R73VWPNL.js → chunk-4FXDUXZP.js} +6 -6
- package/dist/bundle/{chunk-XWBTD2WP.js → chunk-5ICUC66S.js} +2 -2
- package/dist/bundle/{chunk-TMJLGR4A.js → chunk-725OPCHI.js} +51 -51
- package/dist/bundle/{chunk-ZSAPOC7B.js → chunk-77YTUOKN.js} +22 -14
- package/dist/bundle/{chunk-NB52JKLR.js → chunk-7EJWHADX.js} +7 -7
- package/dist/bundle/{chunk-FXNCKPQ7.js → chunk-7KO5FSAW.js} +2 -2
- package/dist/bundle/{chunk-OWPRJLHV.js → chunk-A3KNH3Q4.js} +7 -7
- package/dist/bundle/{chunk-KUX54EGR.js → chunk-AGO3OVKW.js} +441 -377
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-NAOLBEFX.js → chunk-BA5B5ZF4.js} +203 -168
- package/dist/bundle/{chunk-CICUPYHT.js → chunk-C4PUDTGD.js} +2 -2
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-DJZIFZOT.js → chunk-CJJFOT7W.js} +2 -2
- package/dist/bundle/{chunk-JNP3XGJI.js → chunk-CLTFTGBP.js} +15 -14
- package/dist/bundle/{chunk-GQIMVR7C.js → chunk-DKGKPJA3.js} +10 -10
- package/dist/bundle/{chunk-DTR7JO2M.js → chunk-DYCE72XB.js} +34 -34
- package/dist/bundle/{chunk-7PDGZFXD.js → chunk-EDWY73H7.js} +3 -3
- package/dist/bundle/{chunk-3ZOOTTFW.js → chunk-EJQAP6A6.js} +5 -5
- package/dist/bundle/{chunk-7YKWFERX.js → chunk-ESNZL7SB.js} +1 -1
- package/dist/bundle/{chunk-JG6LCSEX.js → chunk-FFER7KJI.js} +12 -12
- package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
- package/dist/bundle/{chunk-GPUC3FTU.js → chunk-FWGNDKJK.js} +1 -1
- package/dist/bundle/{chunk-NISH4UXM.js → chunk-G46PNDWL.js} +1 -1
- package/dist/bundle/{chunk-K4DEQAEW.js → chunk-G5HG7ZWQ.js} +42 -164
- package/dist/bundle/{chunk-LKH3UKLO.js → chunk-G6NY7LFB.js} +3 -3
- package/dist/bundle/{chunk-KCM3WSER.js → chunk-GMWKNWWY.js} +1 -1
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-HFY7536N.js → chunk-HFDDVGDH.js} +62 -60
- package/dist/bundle/{chunk-BYITYTRL.js → chunk-HFRH5YJ6.js} +2 -2
- package/dist/bundle/{chunk-EZQ5BYNL.js → chunk-HI6MTNID.js} +4 -4
- package/dist/bundle/{chunk-BNURKCQG.js → chunk-HIKPVWCL.js} +2 -1
- 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-F2D3J5DR.js → chunk-HYUUAH2N.js} +6 -6
- package/dist/bundle/chunk-I4AWLFYH.js +377 -0
- package/dist/bundle/{chunk-CUW7Y2HJ.js → chunk-I4PZOWYG.js} +4 -4
- package/dist/bundle/chunk-IDCZ4LWS.js +150 -0
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.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-4IZ6R5FS.js → chunk-LB2CF3GG.js} +13 -13
- package/dist/bundle/{chunk-XEQQJBBO.js → chunk-LC7ZD2RW.js} +1 -1
- package/dist/bundle/{chunk-4FTIHADB.js → chunk-M65NILSA.js} +5 -5
- package/dist/bundle/{chunk-IWFWWO37.js → chunk-NQFG7AES.js} +7 -7
- package/dist/bundle/chunk-OAO3JKQD.js +463 -0
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/{chunk-R44KVISE.js → chunk-OVHC7OV4.js} +10 -10
- package/dist/bundle/{chunk-HES6YMYN.js → chunk-PT4VLN3K.js} +4 -4
- package/dist/bundle/chunk-QETNCUWB.js +1703 -0
- package/dist/bundle/{chunk-BNVISIHP.js → chunk-QK3Z7BCC.js} +5 -5
- package/dist/bundle/{chunk-CQHLWMKK.js → chunk-QWF3TFW4.js} +34 -25
- package/dist/bundle/{chunk-FTT7UDYV.js → chunk-RHEDE7D4.js} +2 -2
- package/dist/bundle/{chunk-7HRKUKKY.js → chunk-RI5YZ23Y.js} +20 -20
- package/dist/bundle/{chunk-JZUYZ2XJ.js → chunk-ROUZN6UQ.js} +19 -98
- package/dist/bundle/{chunk-3SKTQ2HC.js → chunk-RQD7CAGF.js} +2 -2
- package/dist/bundle/{chunk-BQMJYSA4.js → chunk-SBLHQAH3.js} +10 -10
- package/dist/bundle/{chunk-NQSKI7XK.js → chunk-SXLIADMY.js} +3 -3
- package/dist/bundle/{chunk-ES2FF42M.js → chunk-SYCM6SQ5.js} +12 -12
- 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-HCRUGAIN.js → chunk-UGFMQWAZ.js} +29 -9
- package/dist/bundle/{chunk-3DHJF57U.js → chunk-VA6PHTMV.js} +6 -6
- package/dist/bundle/{chunk-Z4BLNAWI.js → chunk-VUHH4MQW.js} +8817 -2581
- package/dist/bundle/{chunk-UDSL3MUU.js → chunk-W3BOR6AT.js} +7 -7
- package/dist/bundle/chunk-WA53OJ7V.js +160 -0
- package/dist/bundle/{chunk-QLJGYDWG.js → chunk-XGVMQMTS.js} +5 -5
- package/dist/bundle/{chunk-ZTWTEXB2.js → chunk-YP4FYLFI.js} +2 -2
- package/dist/bundle/{chunk-KZD3H5QA.js → chunk-ZDBWBCEO.js} +2 -2
- package/dist/bundle/{chunk-EV72K4IU.js → chunk-ZKVUAH5N.js} +3 -3
- package/dist/bundle/command-contract-V2WIL6RL.js +40 -0
- package/dist/bundle/{command-server-entry-RA3ZX2KV.js → command-server-entry-ZC5YF4EC.js} +25 -24
- package/dist/bundle/{decode-QVKRSRVF.js → decode-NXAGEUAD.js} +2 -2
- package/dist/bundle/{dist-ITIXJAXK.js → dist-XN2CRP3U.js} +45 -44
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-2HOODFQT.js → embed-3P3LSM2O.js} +3 -3
- package/dist/bundle/{embedder-22AJGCZX.js → embedder-2SANUF2X.js} +6 -6
- package/dist/bundle/{first-run-FU4MFXOA.js → first-run-HEZKQLJL.js} +6 -6
- package/dist/bundle/first-screen-7TQZ4I6X.js +41 -0
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/meeting-combined-HF2NL4PU.js +26 -0
- package/dist/bundle/{meeting-model-QWGAOQHL.js → meeting-model-B7RVFB7L.js} +8 -8
- package/dist/bundle/{meeting-semantic-7PVO6RNB.js → meeting-semantic-YQTL7YVQ.js} +2 -2
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-JXUELLMP.js → node-sqlite-OFHTCHJH.js} +4 -4
- package/dist/bundle/{oauth-OYAYWH4K.js → oauth-IVB5RP7T.js} +4 -4
- package/dist/bundle/{open-GLEUJGNA.js → open-KDGDLCWV.js} +2 -2
- package/dist/bundle/{openai-PYTVNB6L.js → openai-NVUBKA7Z.js} +12 -12
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-7CFNZ2DF.js → program-JQ7EFODJ.js} +1615 -6308
- package/dist/bundle/{prompt-CYTILD7N.js → prompt-QG7FC2SA.js} +2 -2
- package/dist/bundle/{public-XWMXEGEF.js → public-FBD7MQUM.js} +42 -34
- package/dist/bundle/{recognize-26UNETSQ.js → recognize-ZBR5KNID.js} +1 -1
- package/dist/bundle/{remote-PKXBQA5N.js → remote-QOTHNO2M.js} +6 -6
- package/dist/bundle/{rerank-LLKP7M6Q.js → rerank-JD2NIUW6.js} +4 -4
- package/dist/bundle/{serve-ZRJEAPJI.js → serve-QZT3FKK7.js} +6 -6
- package/dist/bundle/{server-4OQ4G5JY.js → server-M6JJ7IKS.js} +55 -54
- package/dist/bundle/server-TAMXMWK6.js +87 -0
- package/dist/bundle/{sqlite-runtime-667VV4VY.js → sqlite-runtime-N2PY7C7J.js} +3 -3
- package/dist/bundle/{state-V3CAAJBE.js → state-OGRUMU7P.js} +3 -3
- package/dist/bundle/{store-BJCIMIAH.js → store-7UE63OQR.js} +52 -41
- package/dist/bundle/{store-GLBBY4OZ.js → store-DGJKE4ZJ.js} +21 -19
- package/dist/bundle/store-maintenance-command-WIDKMZLK.js +74 -0
- package/dist/bundle/surface-LTEEEZU4.js +73 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +28 -4
- package/dist/commands/sync.js.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +1 -0
- package/dist/identity.js.map +1 -1
- package/dist/mail/send-as.d.ts +21 -0
- package/dist/mail/send-as.d.ts.map +1 -0
- package/dist/mail/send-as.js +66 -0
- package/dist/mail/send-as.js.map +1 -0
- package/dist/mail/send.d.ts.map +1 -1
- package/dist/mail/send.js +3 -1
- package/dist/mail/send.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-OU4K7TKQ.js +0 -40
- package/dist/bundle/chunk-G4VJN75G.js +0 -806
- package/dist/bundle/chunk-OZKZT3ZI.js +0 -79
- package/dist/bundle/chunk-RRTMPSQR.js +0 -29
- package/dist/bundle/chunk-VYCB5EVI.js +0 -721
- package/dist/bundle/command-contract-UC6IGCCM.js +0 -39
- package/dist/bundle/first-screen-A7SEI2ON.js +0 -40
- package/dist/bundle/meeting-combined-KC6YGWA7.js +0 -24
- package/dist/bundle/server-VVRQ4A34.js +0 -86
- package/dist/bundle/store-maintenance-command-N7L5OVUE.js +0 -73
- package/dist/bundle/surface-26EUQNDT.js +0 -72
- /package/dist/bundle/{chunk-KXJ3JEDH.js → chunk-7ECP5ZQR.js} +0 -0
- /package/dist/bundle/{chunk-XXPJF2VD.js → chunk-TQDSBLQB.js} +0 -0
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
13
|
+
// 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/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
16
|
+
// 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/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
73
|
+
// 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/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -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/cli/stdin-field.js
|
|
8
8
|
var fields = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
var readsStdin = /* @__PURE__ */ __name((command, field) => {
|
|
10
10
|
fields.set(command, field);
|
|
@@ -2,18 +2,18 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
renderMessages
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FWGNDKJK.js";
|
|
6
6
|
import {
|
|
7
7
|
messengerContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-77YTUOKN.js";
|
|
9
9
|
import {
|
|
10
10
|
chatEventAnswer,
|
|
11
11
|
memberAnswer,
|
|
12
12
|
pollVoteAnswer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A3KNH3Q4.js";
|
|
14
14
|
import {
|
|
15
15
|
serveRelay
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HI6MTNID.js";
|
|
17
17
|
import {
|
|
18
18
|
FETCHING,
|
|
19
19
|
RULES_VERSION,
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
servicesFor,
|
|
35
35
|
syncsOneChat,
|
|
36
36
|
withTimeLimit
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AGO3OVKW.js";
|
|
38
38
|
import {
|
|
39
39
|
capability,
|
|
40
40
|
queryTerms,
|
|
41
41
|
typedQuery,
|
|
42
42
|
withQuery
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-LB2CF3GG.js";
|
|
44
44
|
import {
|
|
45
45
|
holdLock,
|
|
46
46
|
lockPath,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
releaseLock,
|
|
49
49
|
servingProfiles,
|
|
50
50
|
takeLock
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-HFRH5YJ6.js";
|
|
52
52
|
import {
|
|
53
53
|
Command,
|
|
54
54
|
LOCAL_READ,
|
|
@@ -75,16 +75,16 @@ import {
|
|
|
75
75
|
snakeKeys,
|
|
76
76
|
storeTable,
|
|
77
77
|
withoutProviderRefs
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-BA5B5ZF4.js";
|
|
79
79
|
import {
|
|
80
80
|
levelFor
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-2HDXD6LM.js";
|
|
82
82
|
import {
|
|
83
83
|
holdersOf
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-T3W4V4A6.js";
|
|
85
85
|
import {
|
|
86
86
|
readSecret
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-KLRCTMES.js";
|
|
88
88
|
import {
|
|
89
89
|
QUICK_HEALTH_CHECKS,
|
|
90
90
|
fts5Tables,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
lossUnknown,
|
|
93
93
|
storeDamageReport,
|
|
94
94
|
storeHealth
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-RI5YZ23Y.js";
|
|
96
96
|
import {
|
|
97
97
|
CORPORA,
|
|
98
98
|
MIGRATIONS,
|
|
@@ -130,40 +130,40 @@ import {
|
|
|
130
130
|
storeClients,
|
|
131
131
|
storeContents,
|
|
132
132
|
vectorIndexCounts
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-VUHH4MQW.js";
|
|
134
134
|
import {
|
|
135
135
|
currentRun,
|
|
136
136
|
readDamageMark,
|
|
137
137
|
readHealthMark,
|
|
138
138
|
readJournalMark,
|
|
139
139
|
recordDeepCheck
|
|
140
|
-
} from "./chunk-
|
|
141
|
-
import {
|
|
142
|
-
formatLocator,
|
|
143
|
-
parseLocator
|
|
144
|
-
} from "./chunk-G4VJN75G.js";
|
|
140
|
+
} from "./chunk-G5HG7ZWQ.js";
|
|
145
141
|
import {
|
|
146
142
|
failureKey,
|
|
147
143
|
isStoreDamage
|
|
148
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-3TYER5IK.js";
|
|
145
|
+
import {
|
|
146
|
+
formatLocator,
|
|
147
|
+
parseLocator
|
|
148
|
+
} from "./chunk-OAO3JKQD.js";
|
|
149
149
|
import {
|
|
150
150
|
queryFieldsOf
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-725OPCHI.js";
|
|
152
152
|
import {
|
|
153
153
|
modelAddressAllowed,
|
|
154
154
|
onThisComputer
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-ESNZL7SB.js";
|
|
156
156
|
import {
|
|
157
157
|
readSharedSection,
|
|
158
158
|
sharedConfigPath,
|
|
159
159
|
writeSharedSection
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-XGVMQMTS.js";
|
|
161
161
|
import {
|
|
162
162
|
storePath
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-2SQLHBDP.js";
|
|
164
164
|
import {
|
|
165
165
|
openCache
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-QK3Z7BCC.js";
|
|
167
167
|
import {
|
|
168
168
|
Credentials,
|
|
169
169
|
isMovedRun,
|
|
@@ -5534,11 +5534,11 @@ var require_liquid_node = __commonJS({
|
|
|
5534
5534
|
}
|
|
5535
5535
|
});
|
|
5536
5536
|
|
|
5537
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5537
|
+
// 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
|
|
5538
5538
|
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";
|
|
5539
5539
|
import { dirname as dirname4, resolve as resolve2 } from "node:path";
|
|
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/sealed.js
|
|
5542
5542
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5543
5543
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5544
5544
|
import { Transform } from "node:stream";
|
|
@@ -5645,7 +5645,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5645
5645
|
renameSync(pending, to);
|
|
5646
5646
|
}, "unsealFile");
|
|
5647
5647
|
|
|
5648
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5648
|
+
// 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
|
|
5649
5649
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5650
5650
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5651
5651
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5669,7 +5669,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5669
5669
|
};
|
|
5670
5670
|
}, "compatibilityOf");
|
|
5671
5671
|
|
|
5672
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5672
|
+
// 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
|
|
5673
5673
|
import { createHash as createHash2 } from "node:crypto";
|
|
5674
5674
|
var COPY_MARK = "__repair_";
|
|
5675
5675
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5923,7 +5923,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5923
5923
|
return found;
|
|
5924
5924
|
}, "deleteCopy");
|
|
5925
5925
|
|
|
5926
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5926
|
+
// 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
|
|
5927
5927
|
import { dirname, isAbsolute, join, resolve } from "node:path";
|
|
5928
5928
|
var PATH_NAME = /^([a-z]+-)*(file|path|dir|directory|folder)s?$/;
|
|
5929
5929
|
var PATH_PLACEHOLDER = /[<[]([a-z]+-)*(file|path|dir|directory|folder)s?(\.\.\.)?[>\]]/;
|
|
@@ -5983,19 +5983,19 @@ var absoluteFrom = /* @__PURE__ */ __name((cwd, value) => {
|
|
|
5983
5983
|
return resolve(cwd, value);
|
|
5984
5984
|
}, "absoluteFrom");
|
|
5985
5985
|
|
|
5986
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5986
|
+
// 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
|
|
5987
5987
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5988
5988
|
|
|
5989
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5989
|
+
// 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
|
|
5990
5990
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5991
5991
|
|
|
5992
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5992
|
+
// 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
|
|
5993
5993
|
import { execFileSync, spawn } from "node:child_process";
|
|
5994
5994
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5995
5995
|
import { basename, dirname as dirname2, join as join2 } from "node:path";
|
|
5996
5996
|
import { Transform as Transform2 } from "node:stream";
|
|
5997
5997
|
|
|
5998
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5998
|
+
// 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
|
|
5999
5999
|
var REFILL_MARGIN_MS = 864e5;
|
|
6000
6000
|
var TIME_KEYS = 1e12;
|
|
6001
6001
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -6075,7 +6075,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
6075
6075
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6076
6076
|
}, "forgetMail");
|
|
6077
6077
|
|
|
6078
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6078
|
+
// 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
|
|
6079
6079
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6080
6080
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6081
6081
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6606,7 +6606,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6606
6606
|
}
|
|
6607
6607
|
}, "recoverLocked");
|
|
6608
6608
|
|
|
6609
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6609
|
+
// 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
|
|
6610
6610
|
var COUNTED = [
|
|
6611
6611
|
"accounts",
|
|
6612
6612
|
"chats",
|
|
@@ -6762,7 +6762,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6762
6762
|
return recover;
|
|
6763
6763
|
}, "storeRecoverCommand");
|
|
6764
6764
|
|
|
6765
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6765
|
+
// 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
|
|
6766
6766
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6767
6767
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6768
6768
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6808,7 +6808,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
|
|
|
6808
6808
|
renderAnswer(this, outputFor(this), itemOf(answer));
|
|
6809
6809
|
}), "storeInfoCommand");
|
|
6810
6810
|
|
|
6811
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6811
|
+
// 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
|
|
6812
6812
|
var ENCRYPT_OPTION = [
|
|
6813
6813
|
"--encrypt",
|
|
6814
6814
|
"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"
|
|
@@ -6827,7 +6827,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6827
6827
|
return password;
|
|
6828
6828
|
}, "passwordOf");
|
|
6829
6829
|
|
|
6830
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6830
|
+
// 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
|
|
6831
6831
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6832
6832
|
import { join as join3 } from "node:path";
|
|
6833
6833
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6998,7 +6998,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6998
6998
|
}, "problem");
|
|
6999
6999
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
7000
7000
|
|
|
7001
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7001
|
+
// 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
|
|
7002
7002
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
7003
7003
|
import { join as join4 } from "node:path";
|
|
7004
7004
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -7051,7 +7051,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
7051
7051
|
}, "recordReply");
|
|
7052
7052
|
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");
|
|
7053
7053
|
|
|
7054
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7054
|
+
// 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
|
|
7055
7055
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
7056
7056
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
7057
7057
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7157,10 +7157,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7157
7157
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7158
7158
|
}, "filled");
|
|
7159
7159
|
|
|
7160
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7160
|
+
// 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
|
|
7161
7161
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7162
7162
|
|
|
7163
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7163
|
+
// 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
|
|
7164
7164
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7165
7165
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7166
7166
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7187,7 +7187,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7187
7187
|
return engine;
|
|
7188
7188
|
}, "safeLiquid");
|
|
7189
7189
|
|
|
7190
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7190
|
+
// 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
|
|
7191
7191
|
var TEMPLATE_LIMITS = {
|
|
7192
7192
|
parse: 32768,
|
|
7193
7193
|
renders: 2e3,
|
|
@@ -7326,7 +7326,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7326
7326
|
}
|
|
7327
7327
|
}, "renderReplyTemplate");
|
|
7328
7328
|
|
|
7329
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7329
|
+
// 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
|
|
7330
7330
|
var DRY_RUN_DAYS = 7;
|
|
7331
7331
|
var PAGE = 500;
|
|
7332
7332
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7440,7 +7440,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7440
7440
|
}
|
|
7441
7441
|
}, "storedSince");
|
|
7442
7442
|
|
|
7443
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7443
|
+
// 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
|
|
7444
7444
|
var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
|
|
7445
7445
|
var DEFAULT_BASE_URL = {
|
|
7446
7446
|
anthropic: "https://api.anthropic.com",
|
|
@@ -7608,7 +7608,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
|
|
|
7608
7608
|
}
|
|
7609
7609
|
}, "checkAi");
|
|
7610
7610
|
|
|
7611
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7611
|
+
// 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
|
|
7612
7612
|
var HOSTED = {
|
|
7613
7613
|
openai: "https://api.openai.com/v1",
|
|
7614
7614
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7629,7 +7629,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7629
7629
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7630
7630
|
}, "purposeModel");
|
|
7631
7631
|
|
|
7632
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7632
|
+
// 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
|
|
7633
7633
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7634
7634
|
import { join as join5 } from "node:path";
|
|
7635
7635
|
var shape = strictObject({
|
|
@@ -7654,7 +7654,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7654
7654
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7655
7655
|
}, "mayModelReply");
|
|
7656
7656
|
|
|
7657
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7657
|
+
// 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
|
|
7658
7658
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7659
7659
|
ai: true
|
|
7660
7660
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7702,7 +7702,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7702
7702
|
return result2;
|
|
7703
7703
|
}, "replyRenderer");
|
|
7704
7704
|
|
|
7705
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7705
|
+
// 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
|
|
7706
7706
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7707
7707
|
var NO_RULES = "no rules";
|
|
7708
7708
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7795,7 +7795,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7795
7795
|
return { skip: why };
|
|
7796
7796
|
}, "replyTo");
|
|
7797
7797
|
|
|
7798
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7798
|
+
// 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
|
|
7799
7799
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7800
7800
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7801
7801
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7872,7 +7872,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7872
7872
|
};
|
|
7873
7873
|
}, "startSync");
|
|
7874
7874
|
|
|
7875
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7875
|
+
// 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
|
|
7876
7876
|
var FIRST_FETCH_MS = 6e4;
|
|
7877
7877
|
var DAY_MS = 864e5;
|
|
7878
7878
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7926,7 +7926,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7926
7926
|
};
|
|
7927
7927
|
}, "memberFetches");
|
|
7928
7928
|
|
|
7929
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7929
|
+
// 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
|
|
7930
7930
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7931
7931
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7932
7932
|
if (context.format === "pretty") {
|
|
@@ -7959,7 +7959,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7959
7959
|
return context;
|
|
7960
7960
|
}, "recordDiagnostics");
|
|
7961
7961
|
|
|
7962
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7962
|
+
// 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
|
|
7963
7963
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7964
7964
|
import { dirname as dirname3, join as join6 } from "node:path";
|
|
7965
7965
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -8045,7 +8045,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
8045
8045
|
};
|
|
8046
8046
|
}, "watchOutdated");
|
|
8047
8047
|
|
|
8048
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8048
|
+
// 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
|
|
8049
8049
|
var STEMS_EVERY_MS = 3e4;
|
|
8050
8050
|
var STEMS_SLICE_MS = 2e3;
|
|
8051
8051
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -8085,7 +8085,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
8085
8085
|
};
|
|
8086
8086
|
}, "stemFills");
|
|
8087
8087
|
|
|
8088
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8088
|
+
// 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
|
|
8089
8089
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
8090
8090
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
8091
8091
|
kind: attachment.kind,
|
|
@@ -8160,6 +8160,8 @@ var messageItem = /* @__PURE__ */ __name((message, reader) => {
|
|
|
8160
8160
|
thread: message.email.thread,
|
|
8161
8161
|
read: message.email.read,
|
|
8162
8162
|
flagged: message.email.flagged,
|
|
8163
|
+
mail_type: message.email.mailType,
|
|
8164
|
+
reach: message.email.reach,
|
|
8163
8165
|
sender_score: message.email.senderScore
|
|
8164
8166
|
},
|
|
8165
8167
|
provider_metadata: message.providerMetadata
|
|
@@ -8181,7 +8183,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
8181
8183
|
locale: messenger.app.locale
|
|
8182
8184
|
}), "viewOf");
|
|
8183
8185
|
|
|
8184
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8186
|
+
// 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
|
|
8185
8187
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
8186
8188
|
value: value.value,
|
|
8187
8189
|
observed_at: value.observedAt,
|
|
@@ -8248,7 +8250,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8248
8250
|
}
|
|
8249
8251
|
}, "watchEventItem");
|
|
8250
8252
|
|
|
8251
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8253
|
+
// 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
|
|
8252
8254
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8253
8255
|
output: { entity: "watch_item" },
|
|
8254
8256
|
effects: REMOTE_READ,
|
|
@@ -8403,7 +8405,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8403
8405
|
}
|
|
8404
8406
|
}, "describe");
|
|
8405
8407
|
|
|
8406
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8408
|
+
// 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
|
|
8407
8409
|
var CURRENT_EVERY_MS = 6e4;
|
|
8408
8410
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8409
8411
|
const command = annotate(new Command("serve"), {
|
|
@@ -8703,7 +8705,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8703
8705
|
};
|
|
8704
8706
|
}, "tasking");
|
|
8705
8707
|
|
|
8706
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8708
|
+
// 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
|
|
8707
8709
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8708
8710
|
var PATH = "store tables list";
|
|
8709
8711
|
var STORE_TABLES_QUERY = {
|
|
@@ -8746,7 +8748,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8746
8748
|
return tables;
|
|
8747
8749
|
}, "storeTablesCommand");
|
|
8748
8750
|
|
|
8749
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8751
|
+
// 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
|
|
8750
8752
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8751
8753
|
var WORD_INDEX = "message_words";
|
|
8752
8754
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-T3W4V4A6.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
14
|
+
// 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/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
throughWrapper
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LB2CF3GG.js";
|
|
6
6
|
import {
|
|
7
7
|
environmentOf,
|
|
8
8
|
readOnlyLockOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BA5B5ZF4.js";
|
|
10
10
|
import {
|
|
11
11
|
array,
|
|
12
12
|
boolean,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
27
|
+
// 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/background/relay.js
|
|
28
28
|
import { createHash } from "node:crypto";
|
|
29
29
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
30
30
|
import { createConnection, createServer } from "node:net";
|
|
@@ -245,7 +245,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
245
245
|
}, () => finish({ error: stopped() }));
|
|
246
246
|
}), "relayCommand");
|
|
247
247
|
|
|
248
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
248
|
+
// 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-relay.js
|
|
249
249
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
250
250
|
close: /* @__PURE__ */ __name(async () => {
|
|
251
251
|
}, "close"),
|
|
@@ -57,7 +57,7 @@ var ENTRIES = [
|
|
|
57
57
|
var REASONS = defineReasons(ENTRIES.map(([reason, code, message]) => ({ reason, code, message, details: [] })));
|
|
58
58
|
|
|
59
59
|
// dist/version.js
|
|
60
|
-
var VERSION = "0.
|
|
60
|
+
var VERSION = "0.38.0";
|
|
61
61
|
|
|
62
62
|
// dist/identity.js
|
|
63
63
|
var PACKAGE = "@wirecat/mail-cli";
|
|
@@ -83,6 +83,7 @@ var DESKTOP = {
|
|
|
83
83
|
"accounts.google.com",
|
|
84
84
|
"oauth2.googleapis.com",
|
|
85
85
|
"openidconnect.googleapis.com",
|
|
86
|
+
"gmail.googleapis.com",
|
|
86
87
|
"autoconfig.thunderbird.net",
|
|
87
88
|
"data.iana.org",
|
|
88
89
|
"imap.yandex.com",
|
|
@@ -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/normalize.js
|
|
8
8
|
var NORMALIZER_VERSION = 1;
|
|
9
9
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
10
10
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
@@ -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/cli/commander-internals.js
|
|
8
8
|
var internals = /* @__PURE__ */ __name((command) => command, "internals");
|
|
9
9
|
var hasOwnAction = /* @__PURE__ */ __name((command) => internals(command)._actionHandler != null, "hasOwnAction");
|
|
10
10
|
var isHidden = /* @__PURE__ */ __name((command) => internals(command)._hidden === true, "isHidden");
|
|
@@ -2,14 +2,14 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
stdinFieldOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GZ7WBU5Y.js";
|
|
6
6
|
import {
|
|
7
7
|
commandPathOf
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EDWY73H7.js";
|
|
9
9
|
import {
|
|
10
10
|
commandServerRequest,
|
|
11
11
|
metaOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BA5B5ZF4.js";
|
|
13
13
|
import {
|
|
14
14
|
errorObjectOf,
|
|
15
15
|
renderError
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
24
|
+
// 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/command-server.js
|
|
25
25
|
import { createInterface } from "node:readline";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
27
|
+
// 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/command-server-argv.js
|
|
28
28
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
29
29
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
31
|
+
// 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/command-server.js
|
|
32
32
|
var COMMAND_SERVER_PROTOCOL = 1;
|
|
33
33
|
var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
|
|
34
34
|
var COMMAND_SERVER_CONCURRENT = 8;
|