@wirecat/cli-memo 0.131.24 → 0.131.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -12
- package/dist/app.d.ts +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-ZCJTYGOL.js → all-profiles-L2T7PQ7S.js} +9 -9
- package/dist/bundle/{anthropic-7WVLAKTX.js → anthropic-KWI2B4O2.js} +6 -6
- package/dist/bundle/{app-server-6G3SXEHO.js → app-server-GLDIS3HE.js} +42 -42
- package/dist/bundle/auto-QFG57LR6.js +86 -0
- package/dist/bundle/{bun-JVBDJKBB.js → bun-SMKYTOGI.js} +2 -2
- package/dist/bundle/{bun-sqlite-P4I7NVMQ.js → bun-sqlite-PKY3JXMR.js} +5 -5
- package/dist/bundle/{chunk-IC2TL7RW.js → chunk-47EZNSMD.js} +2 -2
- package/dist/bundle/{chunk-LNXFM4FD.js → chunk-4AONXXP2.js} +45 -26
- package/dist/bundle/{chunk-UY2VH3QK.js → chunk-5ANNUWNM.js} +2 -2
- package/dist/bundle/{chunk-3U7OUQV2.js → chunk-5GMOYTJQ.js} +1 -1
- package/dist/bundle/{chunk-EKTZEF3Q.js → chunk-5JYB6QKS.js} +3 -15
- package/dist/bundle/{chunk-GQOXFZBX.js → chunk-5SKYUS4U.js} +278 -279
- package/dist/bundle/{chunk-ALGIPJ6L.js → chunk-6OP743NB.js} +2 -2
- package/dist/bundle/{chunk-VVEFQEWP.js → chunk-7Y6O4UQB.js} +22 -22
- package/dist/bundle/{chunk-Q6MFBH6Q.js → chunk-BNF2ZUNS.js} +9 -9
- package/dist/bundle/{chunk-AIVUS6WA.js → chunk-BX7DVBWD.js} +15 -12
- package/dist/bundle/{chunk-LWIMGWKB.js → chunk-D5ZV7PRP.js} +3 -3
- package/dist/bundle/{chunk-OQK2IKPB.js → chunk-E2WPSRCI.js} +1 -1
- package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
- package/dist/bundle/{chunk-ND3GBFEY.js → chunk-EEVUVWHW.js} +2 -2
- package/dist/bundle/{chunk-UVR6U55E.js → chunk-EFTJ4RTT.js} +6 -6
- package/dist/bundle/{chunk-ZOYGY2PN.js → chunk-ENU2556X.js} +3 -3
- package/dist/bundle/{chunk-EB7LKK4K.js → chunk-ERQHZZNF.js} +1 -1
- package/dist/bundle/{chunk-AWGV4VOA.js → chunk-FS3ABWVX.js} +12 -12
- package/dist/bundle/{chunk-JY4LVWGZ.js → chunk-G2BB5WY5.js} +15 -8
- package/dist/bundle/{chunk-ZLZE5P6M.js → chunk-H5QHU5LZ.js} +8 -8
- package/dist/bundle/{chunk-CM2H7NRC.js → chunk-I5LIEFQR.js} +4 -4
- package/dist/bundle/{chunk-JCCL7RGH.js → chunk-I7PL5WX2.js} +4 -4
- package/dist/bundle/{chunk-JDDVGGUV.js → chunk-IE27DJP3.js} +10 -10
- package/dist/bundle/{chunk-AIGMYGEL.js → chunk-ILUTSRU3.js} +1 -1
- package/dist/bundle/{chunk-UXCDBNAY.js → chunk-INA5WGY7.js} +2 -2
- package/dist/bundle/{chunk-RTESJ5O2.js → chunk-J7T6RSR5.js} +4 -4
- package/dist/bundle/{chunk-F2ED6KG6.js → chunk-JDDLDKC7.js} +3 -3
- package/dist/bundle/{chunk-EACY2ULS.js → chunk-JLBKAIVT.js} +306 -187
- package/dist/bundle/{chunk-5YCNCXL5.js → chunk-JVNSHN2J.js} +1 -1
- package/dist/bundle/{chunk-NAH473ZR.js → chunk-KFZGI7BU.js} +1 -1
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-MPVW7BQZ.js → chunk-LFNJ6CG6.js} +6 -6
- package/dist/bundle/chunk-MAUKGKRA.js +428 -0
- package/dist/bundle/{chunk-ZDOVR4PA.js → chunk-MWX7UJCL.js} +7 -7
- package/dist/bundle/{chunk-3KNXQZMO.js → chunk-MZS3LIMW.js} +29 -29
- package/dist/bundle/{chunk-UA2C4BCH.js → chunk-NFTWNCEL.js} +9 -9
- package/dist/bundle/{chunk-R2LJDDZP.js → chunk-OGMTUMB7.js} +4 -4
- package/dist/bundle/{chunk-CPJEQK4V.js → chunk-ON5SHKHB.js} +46 -46
- package/dist/bundle/{chunk-DIMX5AEE.js → chunk-PCT2CIYR.js} +5 -5
- package/dist/bundle/{chunk-GSEDSGJF.js → chunk-POXCMAM7.js} +403 -503
- package/dist/bundle/{chunk-GRXVN2X7.js → chunk-QA674BMY.js} +1 -1
- package/dist/bundle/{chunk-ITQBXFMC.js → chunk-QJJSMLBR.js} +3 -3
- package/dist/bundle/{chunk-BTQSFPIM.js → chunk-QOWGFGG3.js} +5 -5
- package/dist/bundle/{chunk-N5H6I7WQ.js → chunk-QYDCVWD4.js} +6 -6
- package/dist/bundle/{chunk-INTF3YPV.js → chunk-RKLZQVKL.js} +2 -2
- package/dist/bundle/{chunk-XF3LZ32F.js → chunk-RTII6JWI.js} +3 -3
- package/dist/bundle/{chunk-M43DAAZ7.js → chunk-SBMBBVXF.js} +1 -1
- package/dist/bundle/{chunk-SKTGBVYC.js → chunk-SW5YJCHC.js} +4 -4
- package/dist/bundle/{chunk-EGG3PGCM.js → chunk-T3R6QHD2.js} +2 -2
- package/dist/bundle/{chunk-T4LW6UYQ.js → chunk-TZ7WDQPD.js} +40 -34
- package/dist/bundle/{chunk-3MER7NE6.js → chunk-UQS6Y2A7.js} +4 -4
- package/dist/bundle/{chunk-ELKYINWL.js → chunk-UWUP3A5H.js} +13 -13
- package/dist/bundle/{chunk-KQSHIQSV.js → chunk-VGYXKQJE.js} +73 -74
- package/dist/bundle/{chunk-FXHN2UZW.js → chunk-VZ3K7IYC.js} +30 -17
- package/dist/bundle/{chunk-IJC6MFLP.js → chunk-WGHQXJHL.js} +10 -10
- package/dist/bundle/{chunk-R3LNQ3I4.js → chunk-WHVH72AD.js} +2 -2
- package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
- package/dist/bundle/{chunk-2IRCJT4O.js → chunk-XFDE6AL4.js} +8 -8
- package/dist/bundle/{chunk-J6D34BFP.js → chunk-YMAS7U5X.js} +260 -262
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-XSI5NYGB.js → chunk-ZKZT6PCF.js} +8 -8
- package/dist/bundle/{chunk-UPXUE27A.js → chunk-ZLB2CM7Z.js} +6 -6
- package/dist/bundle/{chunk-MROFZXAB.js → chunk-ZUV337F2.js} +22 -22
- package/dist/bundle/{chunk-VLPMB3UU.js → chunk-ZVEGLXYB.js} +4 -4
- package/dist/bundle/command-contract-47EKA67S.js +32 -0
- package/dist/bundle/{decode-YHX3DQG2.js → decode-EEDEXCHR.js} +5 -5
- package/dist/bundle/{dispatch-MELZFYOS.js → dispatch-CU5KGRQL.js} +8 -8
- package/dist/bundle/{echarts-FBVAP7BR.js → echarts-36MD3UZF.js} +2 -2
- package/dist/bundle/{embed-CQJ42S5C.js → embed-R6JZ4CDW.js} +6 -6
- package/dist/bundle/{embedder-EDXLEJ27.js → embedder-XUIOKCH6.js} +9 -9
- package/dist/bundle/{entry-HZEA7QFK.js → entry-WOAZRQ5F.js} +7 -7
- package/dist/bundle/failure-BHRE5S75.js +66 -0
- package/dist/bundle/{failure-RBNZBCZJ.js → failure-TUXXI6JT.js} +2 -2
- package/dist/bundle/{first-run-JZQN7R6M.js → first-run-3ZUSIFQJ.js} +11 -11
- package/dist/bundle/first-screen-WQ2IDXDP.js +30 -0
- package/dist/bundle/{instructions-NYVYNWVU.js → instructions-7VMPJMUM.js} +1 -1
- package/dist/bundle/mcp-I7LL7AJG.js +90 -0
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-2QE6UPGS.js → node-SBHCG4ZC.js} +2 -2
- package/dist/bundle/{node-sqlite-SDHZJNY7.js → node-sqlite-EMKROM5U.js} +6 -6
- package/dist/bundle/{oauth-FFUJREKS.js → oauth-OJPTUA5K.js} +7 -7
- package/dist/bundle/{open-NT2GYX6N.js → open-XI2AVS5B.js} +5 -5
- package/dist/bundle/{openai-IQA2XR6Z.js → openai-NCYTRZB6.js} +10 -10
- package/dist/bundle/{process-HIEJXYW6.js → process-373B2EBA.js} +1 -1
- package/dist/bundle/{chunk-DMQ3342A.js → program-VW7IJ755.js} +9892 -2082
- package/dist/bundle/{prompt-IOZAME2R.js → prompt-L3KQBPNH.js} +5 -5
- package/dist/bundle/{recognize-2XOAZJ5N.js → recognize-GFWZX4F6.js} +4 -4
- package/dist/bundle/{remote-2LE7OTDA.js → remote-5IGAYQBB.js} +7 -7
- package/dist/bundle/{rerank-UKOVVZM6.js → rerank-6HWHGDFX.js} +7 -7
- package/dist/bundle/{serve-S2UHPEBP.js → serve-AA7RKEOM.js} +9 -9
- package/dist/bundle/server-MWUCYBJF.js +61 -0
- package/dist/bundle/server-XEY5AKKG.js +48 -0
- package/dist/bundle/{server-BG4WWQHY.js → server-Z6L4U6HO.js} +57 -57
- package/dist/bundle/{state-F5KT3CBD.js → state-3WTPOBXR.js} +6 -6
- package/dist/bundle/{store-WBUUS7FO.js → store-LNP5BXUL.js} +13 -13
- package/dist/bundle/store-maintenance-command-6HEGTKPL.js +48 -0
- package/dist/bundle/update-6GWVILUX.js +69 -0
- package/dist/config.d.ts +2 -28
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -35
- package/dist/config.js.map +1 -1
- package/dist/doctor/command.d.ts +0 -12
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +19 -24
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +1 -8
- package/dist/examples.js.map +1 -1
- package/dist/failure.d.ts +2 -2
- package/dist/mail/command.d.ts.map +1 -1
- package/dist/mail/command.js +2 -87
- package/dist/mail/command.js.map +1 -1
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +1 -1
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/mail/moved.d.ts +1 -1
- package/dist/mail/moved.d.ts.map +1 -1
- package/dist/mail/moved.js +3 -0
- package/dist/mail/moved.js.map +1 -1
- package/dist/mail/review-command.d.ts +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +1 -13
- package/dist/reasons.js.map +1 -1
- package/dist/run/auto.js +3 -3
- package/dist/run/auto.js.map +1 -1
- package/dist/run/import.d.ts +2 -2
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +24 -121
- package/dist/run/import.js.map +1 -1
- package/dist/search/command.js +1 -1
- package/dist/store/source-list.d.ts +1 -6
- package/dist/store/source-list.d.ts.map +1 -1
- package/dist/store/source-list.js +11 -46
- package/dist/store/source-list.js.map +1 -1
- package/dist/tasks/command.js +1 -1
- package/dist/tasks/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/scenarios/set-up.md +3 -3
- package/skills/cli-memo/SKILL.md +13 -21
- package/skills/mail-triage/SKILL.md +9 -5
- package/dist/bundle/auto-JWPM5654.js +0 -86
- package/dist/bundle/chunk-MLMSQK76.js +0 -103
- package/dist/bundle/command-contract-543RRFNU.js +0 -32
- package/dist/bundle/failure-62G7QSPX.js +0 -66
- package/dist/bundle/first-screen-56V3UOQE.js +0 -30
- package/dist/bundle/mcp-Y6IPYDS2.js +0 -90
- package/dist/bundle/program-DEMRKCZY.js +0 -10972
- package/dist/bundle/server-3YNOEPWU.js +0 -61
- package/dist/bundle/server-EZWQ5KP4.js +0 -48
- package/dist/bundle/setup-2X7ADKFH.js +0 -973
- package/dist/bundle/store-maintenance-command-KLST56XF.js +0 -48
- package/dist/bundle/update-WH4CGJGP.js +0 -69
- package/dist/mail/accounts.d.ts +0 -7
- package/dist/mail/accounts.d.ts.map +0 -1
- package/dist/mail/accounts.js +0 -28
- package/dist/mail/accounts.js.map +0 -1
- package/dist/mail/backfill-headers.d.ts +0 -11
- package/dist/mail/backfill-headers.d.ts.map +0 -1
- package/dist/mail/backfill-headers.js +0 -84
- package/dist/mail/backfill-headers.js.map +0 -1
- package/dist/mail/domain-age.d.ts +0 -26
- package/dist/mail/domain-age.d.ts.map +0 -1
- package/dist/mail/domain-age.js +0 -151
- package/dist/mail/domain-age.js.map +0 -1
- package/dist/mail/gmail.d.ts +0 -39
- package/dist/mail/gmail.d.ts.map +0 -1
- package/dist/mail/gmail.js +0 -325
- package/dist/mail/gmail.js.map +0 -1
- package/dist/mail/himalaya.d.ts +0 -22
- package/dist/mail/himalaya.d.ts.map +0 -1
- package/dist/mail/himalaya.js +0 -113
- package/dist/mail/himalaya.js.map +0 -1
- package/dist/mail/mbox.d.ts +0 -9
- package/dist/mail/mbox.d.ts.map +0 -1
- package/dist/mail/mbox.js +0 -230
- package/dist/mail/mbox.js.map +0 -1
- package/dist/mail/repair.d.ts +0 -7
- package/dist/mail/repair.d.ts.map +0 -1
- package/dist/mail/repair.js +0 -54
- package/dist/mail/repair.js.map +0 -1
- package/dist/mail/rule-store.d.ts +0 -12
- package/dist/mail/rule-store.d.ts.map +0 -1
- package/dist/mail/rule-store.js +0 -83
- package/dist/mail/rule-store.js.map +0 -1
- package/dist/mail/setup-command.d.ts +0 -4
- package/dist/mail/setup-command.d.ts.map +0 -1
- package/dist/mail/setup-command.js +0 -41
- package/dist/mail/setup-command.js.map +0 -1
- package/dist/mail/setup.d.ts +0 -19
- package/dist/mail/setup.d.ts.map +0 -1
- package/dist/mail/setup.js +0 -95
- package/dist/mail/setup.js.map +0 -1
- package/dist/mail/slices.d.ts +0 -6
- package/dist/mail/slices.d.ts.map +0 -1
- package/dist/mail/slices.js +0 -7
- package/dist/mail/slices.js.map +0 -1
- package/dist/mail/source.d.ts +0 -7
- package/dist/mail/source.d.ts.map +0 -1
- package/dist/mail/source.js +0 -119
- package/dist/mail/source.js.map +0 -1
- package/dist/mail/sync.d.ts +0 -21
- package/dist/mail/sync.d.ts.map +0 -1
- package/dist/mail/sync.js +0 -24
- package/dist/mail/sync.js.map +0 -1
- /package/dist/bundle/{chunk-CWOKGEL3.js → chunk-LU3WKZBA.js} +0 -0
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-MNDLWYNQ.js} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
sameOrdinaryFile,
|
|
9
9
|
syncDirectory,
|
|
10
10
|
writeFileAtomic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UWUP3A5H.js";
|
|
12
12
|
import {
|
|
13
13
|
Command,
|
|
14
14
|
DEFAULT_IMAGE_MODEL,
|
|
@@ -51,17 +51,17 @@ import {
|
|
|
51
51
|
typedCommand,
|
|
52
52
|
vectorModelKey,
|
|
53
53
|
withAttempt
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-JLBKAIVT.js";
|
|
55
55
|
import {
|
|
56
56
|
isCliFailure
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-NFTWNCEL.js";
|
|
58
58
|
import {
|
|
59
59
|
isNewer,
|
|
60
60
|
updateCommand
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-I7PL5WX2.js";
|
|
62
62
|
import {
|
|
63
63
|
readOnlyLockOf
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-WHVH72AD.js";
|
|
65
65
|
import {
|
|
66
66
|
AGENDA_COLUMNS,
|
|
67
67
|
CHAT_COLUMNS,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
validateAst,
|
|
164
164
|
validateFields,
|
|
165
165
|
withoutField
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-5SKYUS4U.js";
|
|
167
167
|
import {
|
|
168
168
|
EVENT_QUERY,
|
|
169
169
|
MEETING_FINDINGS_KIND,
|
|
@@ -217,23 +217,23 @@ import {
|
|
|
217
217
|
validateQuery,
|
|
218
218
|
walkQuery,
|
|
219
219
|
zonedMoment
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-VGYXKQJE.js";
|
|
221
221
|
import {
|
|
222
222
|
DEFAULT_STEMMERS,
|
|
223
223
|
createStemmer,
|
|
224
224
|
fold,
|
|
225
225
|
normalize
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-XFDE6AL4.js";
|
|
227
227
|
import {
|
|
228
228
|
DEFAULT_TASK_CATEGORIES,
|
|
229
229
|
FALLBACK_CATEGORY
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-ZLB2CM7Z.js";
|
|
231
231
|
import {
|
|
232
232
|
MAX_MODEL_IMAGE_BYTES
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-6OP743NB.js";
|
|
234
234
|
import {
|
|
235
235
|
remoteKey
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-QJJSMLBR.js";
|
|
237
237
|
import {
|
|
238
238
|
Unzip,
|
|
239
239
|
UnzipInflate,
|
|
@@ -244,19 +244,19 @@ import {
|
|
|
244
244
|
placedText,
|
|
245
245
|
runEmbedders,
|
|
246
246
|
textModelsDirectory
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-LFNJ6CG6.js";
|
|
248
248
|
import {
|
|
249
249
|
installFiles,
|
|
250
250
|
megabytes
|
|
251
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-J7T6RSR5.js";
|
|
252
252
|
import {
|
|
253
253
|
storePath,
|
|
254
254
|
wirecatDirectory
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-INA5WGY7.js";
|
|
256
256
|
import {
|
|
257
257
|
resolvePaths,
|
|
258
258
|
writeSecurely
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-TZ7WDQPD.js";
|
|
260
260
|
import {
|
|
261
261
|
array,
|
|
262
262
|
boolean,
|
|
@@ -279,7 +279,7 @@ import {
|
|
|
279
279
|
string,
|
|
280
280
|
transform,
|
|
281
281
|
unknown
|
|
282
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-G2BB5WY5.js";
|
|
283
283
|
import {
|
|
284
284
|
importFrom,
|
|
285
285
|
resolveFrom
|
|
@@ -289,7 +289,7 @@ import {
|
|
|
289
289
|
isCliError,
|
|
290
290
|
singleLine,
|
|
291
291
|
visibleControls
|
|
292
|
-
} from "./chunk-
|
|
292
|
+
} from "./chunk-EB2IULWB.js";
|
|
293
293
|
import {
|
|
294
294
|
__commonJS,
|
|
295
295
|
__name,
|
|
@@ -16905,7 +16905,7 @@ var require_lib3 = __commonJS({
|
|
|
16905
16905
|
}
|
|
16906
16906
|
});
|
|
16907
16907
|
|
|
16908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/conversations/link.js
|
|
16909
16909
|
var RULES_VERSION = 5;
|
|
16910
16910
|
var LOOK_BACK = 50;
|
|
16911
16911
|
var SAME_SENDER_WITHIN = 10;
|
|
@@ -16995,13 +16995,13 @@ var latest = /* @__PURE__ */ __name((window3, matches) => {
|
|
|
16995
16995
|
var sameThread = /* @__PURE__ */ __name((a, b) => a.threadId === b.threadId, "sameThread");
|
|
16996
16996
|
var link = /* @__PURE__ */ __name((message, parentId, source, kind, confidence, method) => ({ messageId: message.id, parentId, source, kind, confidence, method }), "link");
|
|
16997
16997
|
|
|
16998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/ports/traits.js
|
|
16999
16999
|
var syncsOneChat = /* @__PURE__ */ __name((messenger) => messenger.history !== "store" || messenger.historyOnDemand === true, "syncsOneChat");
|
|
17000
17000
|
|
|
17001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
17002
17002
|
var MAX_BYTES = 16 * 1024 * 1024;
|
|
17003
17003
|
|
|
17004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
|
|
17005
17005
|
var ORGANIZATIONS_QUERY = {
|
|
17006
17006
|
entity: "organization",
|
|
17007
17007
|
backend: "sql",
|
|
@@ -17036,7 +17036,7 @@ var REMINDERS_QUERY = {
|
|
|
17036
17036
|
})
|
|
17037
17037
|
};
|
|
17038
17038
|
|
|
17039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
17040
17040
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
17041
17041
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
17042
17042
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -17058,7 +17058,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
17058
17058
|
}
|
|
17059
17059
|
}, "previewProjectAnnotationSnapshot");
|
|
17060
17060
|
|
|
17061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
17062
17062
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
17063
17063
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
17064
17064
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -17079,7 +17079,7 @@ var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
|
17079
17079
|
}
|
|
17080
17080
|
}, "snapshotProjectAnnotations");
|
|
17081
17081
|
|
|
17082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
17083
17083
|
var COMMAND_NEEDS = {
|
|
17084
17084
|
"account update": ["updateProfile", "change the profile"],
|
|
17085
17085
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -17129,7 +17129,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
17129
17129
|
return group;
|
|
17130
17130
|
}, "hideNever");
|
|
17131
17131
|
|
|
17132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/members-audit.js
|
|
17133
17133
|
var AUDIT_PAGE = 200;
|
|
17134
17134
|
var AUDIT_BUDGET = 10;
|
|
17135
17135
|
var AUDIT_PAUSE_MS = 1e3;
|
|
@@ -17209,7 +17209,7 @@ var burstJoins = /* @__PURE__ */ __name((members) => {
|
|
|
17209
17209
|
return found;
|
|
17210
17210
|
}, "burstJoins");
|
|
17211
17211
|
|
|
17212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
17213
17213
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
17214
17214
|
command.allowUnknownOption();
|
|
17215
17215
|
const parse = command.parseOptions.bind(command);
|
|
@@ -17229,7 +17229,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
17229
17229
|
return command;
|
|
17230
17230
|
}, "queryWordsAfterOptions");
|
|
17231
17231
|
|
|
17232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
17233
17233
|
var count = /* @__PURE__ */ __name((value) => {
|
|
17234
17234
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
17235
17235
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -17271,7 +17271,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
17271
17271
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
17272
17272
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
17273
17273
|
|
|
17274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
17275
17275
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
17276
17276
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
17277
17277
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -17294,7 +17294,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
17294
17294
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
17295
17295
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
17296
17296
|
|
|
17297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
17298
17298
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
17299
17299
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
17300
17300
|
const zone = timezoneOf();
|
|
@@ -17380,7 +17380,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
17380
17380
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
17381
17381
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
17382
17382
|
|
|
17383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
17384
17384
|
var integer4 = /* @__PURE__ */ __name((text2) => {
|
|
17385
17385
|
if (!/^[1-9]\d*$/.test(text2) || !Number.isSafeInteger(Number(text2)))
|
|
17386
17386
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -17512,7 +17512,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
17512
17512
|
}, "addMeetingCommandsDefinition");
|
|
17513
17513
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
17514
17514
|
|
|
17515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
17516
17516
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
17517
17517
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
17518
17518
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -17645,7 +17645,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
17645
17645
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
17646
17646
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
17647
17647
|
|
|
17648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
17649
17649
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
17650
17650
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
17651
17651
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -17654,7 +17654,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
17654
17654
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
17655
17655
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
17656
17656
|
|
|
17657
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
17658
17658
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
17659
17659
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
17660
17660
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -17916,7 +17916,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
17916
17916
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
17917
17917
|
}), "sessionAnswer");
|
|
17918
17918
|
|
|
17919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/ports/messenger.js
|
|
17920
17920
|
var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
|
|
17921
17921
|
get: /* @__PURE__ */ __name((own, key) => {
|
|
17922
17922
|
if (key in own)
|
|
@@ -17933,12 +17933,12 @@ var capability = /* @__PURE__ */ __name((adapter, method, what) => {
|
|
|
17933
17933
|
return found.bind(adapter);
|
|
17934
17934
|
}, "capability");
|
|
17935
17935
|
|
|
17936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/send-id.js
|
|
17937
17937
|
import { randomBytes } from "node:crypto";
|
|
17938
17938
|
var newSendId = /* @__PURE__ */ __name(() => randomBytes(8).readBigInt64BE().toString(), "newSendId");
|
|
17939
17939
|
var newOperationId = newSendId;
|
|
17940
17940
|
|
|
17941
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17941
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/deps.js
|
|
17942
17942
|
var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
|
|
17943
17943
|
var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
|
|
17944
17944
|
var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
|
|
@@ -18015,7 +18015,7 @@ var storeOnlyDeps = /* @__PURE__ */ __name((store, account, { app, env }) => {
|
|
|
18015
18015
|
return { ...storedDeps(messenger, store, account, guard), ...env === void 0 ? {} : { env } };
|
|
18016
18016
|
}, "storeOnlyDeps");
|
|
18017
18017
|
|
|
18018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/patience.js
|
|
18019
18019
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
18020
18020
|
var LONGEST_WAIT_MS = 5 * 60 * 1e3;
|
|
18021
18021
|
var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
@@ -18038,10 +18038,10 @@ var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
|
18038
18038
|
}
|
|
18039
18039
|
}, "patiently");
|
|
18040
18040
|
|
|
18041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
18042
18042
|
import { setTimeout as sleep2 } from "node:timers/promises";
|
|
18043
18043
|
|
|
18044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/backfill-estimate.js
|
|
18045
18045
|
var REQUEST_MS = 400;
|
|
18046
18046
|
var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, maxPages, pauseMs }) => {
|
|
18047
18047
|
const lowest = ranges[0];
|
|
@@ -18064,13 +18064,13 @@ var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, max
|
|
|
18064
18064
|
};
|
|
18065
18065
|
}, "estimateBackfill");
|
|
18066
18066
|
|
|
18067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/recovery.js
|
|
18068
18068
|
var withRecovery = /* @__PURE__ */ __name((error) => ({
|
|
18069
18069
|
...error,
|
|
18070
18070
|
retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
|
|
18071
18071
|
}), "withRecovery");
|
|
18072
18072
|
|
|
18073
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18073
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/batch.js
|
|
18074
18074
|
var actionable = /* @__PURE__ */ __name((error) => {
|
|
18075
18075
|
if (isCliFailure(error))
|
|
18076
18076
|
return withRecovery({ code: error.code, message: error.message, ...error.details });
|
|
@@ -18153,7 +18153,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
|
|
|
18153
18153
|
};
|
|
18154
18154
|
}, "mergeBatches");
|
|
18155
18155
|
|
|
18156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
18157
18157
|
var TAKES = {
|
|
18158
18158
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
18159
18159
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -18213,7 +18213,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
18213
18213
|
throw wrongAccount(reference, scope, profiles);
|
|
18214
18214
|
}, "ensureAccount");
|
|
18215
18215
|
|
|
18216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
18217
18217
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
18218
18218
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
|
|
18219
18219
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -18258,7 +18258,7 @@ ${lines3}`, { candidates });
|
|
|
18258
18258
|
}, "ambiguous");
|
|
18259
18259
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
18260
18260
|
|
|
18261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
|
|
18262
18262
|
var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
|
|
18263
18263
|
if (deps.reads !== "store")
|
|
18264
18264
|
return keptChatId(deps.messenger, reference, store, account);
|
|
@@ -18417,7 +18417,7 @@ var senderAmong = /* @__PURE__ */ __name(async (store, accounts, reference) => {
|
|
|
18417
18417
|
}
|
|
18418
18418
|
}, "senderAmong");
|
|
18419
18419
|
|
|
18420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/images/context/index.js
|
|
18421
18421
|
var CONTEXT_MESSAGES = 3;
|
|
18422
18422
|
var CONTEXT_MINUTES = 10;
|
|
18423
18423
|
var MAX_CHARS = 1200;
|
|
@@ -18441,12 +18441,12 @@ var context = {
|
|
|
18441
18441
|
}, "describe")
|
|
18442
18442
|
};
|
|
18443
18443
|
|
|
18444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/images/registry.js
|
|
18445
18445
|
var BUILT_INS = [context];
|
|
18446
18446
|
var providers = [...BUILT_INS];
|
|
18447
18447
|
var registeredImageProviders = /* @__PURE__ */ __name(() => providers, "registeredImageProviders");
|
|
18448
18448
|
|
|
18449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/conversations.js
|
|
18450
18450
|
var READ_PAGE = 5e3;
|
|
18451
18451
|
var CHAIN = 50;
|
|
18452
18452
|
var CONVERSATION_QUERY = {
|
|
@@ -18598,7 +18598,7 @@ var sized = /* @__PURE__ */ __name((size4) => {
|
|
|
18598
18598
|
return size4;
|
|
18599
18599
|
}, "sized");
|
|
18600
18600
|
|
|
18601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/embeddings-maintenance.js
|
|
18602
18602
|
var REFRESH_BOUNDS = { maxChats: 20, maxChunks: 2e3 };
|
|
18603
18603
|
var MESSAGE_PAGE = 5e3;
|
|
18604
18604
|
var PER_SESSION = 8;
|
|
@@ -18617,7 +18617,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = DEFAULT_TEXT_MODEL)
|
|
|
18617
18617
|
price: remote.price,
|
|
18618
18618
|
installed: true,
|
|
18619
18619
|
perBatch: PER_REQUEST * concurrency,
|
|
18620
|
-
open: /* @__PURE__ */ __name(async () => (await import("./remote-
|
|
18620
|
+
open: /* @__PURE__ */ __name(async () => (await import("./remote-5IGAYQBB.js")).openRemote(remote, apiKey, { concurrency }), "open")
|
|
18621
18621
|
};
|
|
18622
18622
|
}
|
|
18623
18623
|
const model = textModel(choice);
|
|
@@ -18634,7 +18634,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = DEFAULT_TEXT_MODEL)
|
|
|
18634
18634
|
if (!isTextModelInstalled(model, directory2))
|
|
18635
18635
|
throw notDownloaded(model.id);
|
|
18636
18636
|
if (apart) {
|
|
18637
|
-
const { openProcess } = await import("./process-
|
|
18637
|
+
const { openProcess } = await import("./process-373B2EBA.js");
|
|
18638
18638
|
return openProcess(model, directory2, { threads: threads ?? defaultThreads() });
|
|
18639
18639
|
}
|
|
18640
18640
|
return openEmbedder(model, directory2, { threads: threads ?? defaultThreads() });
|
|
@@ -18923,7 +18923,7 @@ var shaped = /* @__PURE__ */ __name(({ chatId, builtAt, algorithmVersion, pendin
|
|
|
18923
18923
|
return { ...one2, state };
|
|
18924
18924
|
}, "shaped");
|
|
18925
18925
|
|
|
18926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/search-catchup.js
|
|
18927
18927
|
var CATCH_UP_BOUNDS = { maxChunks: 500, maxMessages: 1e4, timeMs: 3e4 };
|
|
18928
18928
|
var validateCatchUpBounds = /* @__PURE__ */ __name((options) => {
|
|
18929
18929
|
for (const [key, value, maximum] of [
|
|
@@ -18976,7 +18976,7 @@ var catchUpSearch = /* @__PURE__ */ __name(async (deps, chat, options, signal, c
|
|
|
18976
18976
|
}
|
|
18977
18977
|
}, "catchUpSearch");
|
|
18978
18978
|
|
|
18979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
18980
18980
|
var pushed = /* @__PURE__ */ __name((deps, what) => {
|
|
18981
18981
|
if (deps.reads === "store") {
|
|
18982
18982
|
throw new CliError("validation_error", `${what} asks for older history, and this messenger pushes its history instead \u2014 keep \`${typedCommand(deps.messenger.app.command, "serve")}\` running`);
|
|
@@ -19342,7 +19342,7 @@ var timeOfKey = /* @__PURE__ */ __name(async (store, account, chatId, key, byTim
|
|
|
19342
19342
|
return message?.timestamp ?? fallback;
|
|
19343
19343
|
}, "timeOfKey");
|
|
19344
19344
|
|
|
19345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/questions.js
|
|
19346
19346
|
var LINKS = /https?:\/\/\S+/g;
|
|
19347
19347
|
var unanswered = /* @__PURE__ */ __name((messages, { answerers: answerers2, before: before2 }) => questions(messages, { answerers: answerers2 }).filter(({ question, answer }) => answer === void 0 && Date.parse(question.timestamp) < before2).map(({ question }) => question), "unanswered");
|
|
19348
19348
|
var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker = "others" }) => {
|
|
@@ -19372,7 +19372,7 @@ var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker
|
|
|
19372
19372
|
});
|
|
19373
19373
|
}, "questions");
|
|
19374
19374
|
|
|
19375
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/task-categories.js
|
|
19376
19376
|
var names = /* @__PURE__ */ __name((categories) => categories.map(({ name }) => name).join(", "), "names");
|
|
19377
19377
|
var taskCategoryOf = /* @__PURE__ */ __name((categories = DEFAULT_TASK_CATEGORIES, flag = "--category") => (typed) => {
|
|
19378
19378
|
const name = typed.trim().toLowerCase();
|
|
@@ -19429,7 +19429,7 @@ var categorize = /* @__PURE__ */ __name((text2, categories = DEFAULT_TASK_CATEGO
|
|
|
19429
19429
|
return best.name;
|
|
19430
19430
|
}, "categorize");
|
|
19431
19431
|
|
|
19432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/task-rules.js
|
|
19433
19433
|
var taskAccount = /* @__PURE__ */ __name(({ provider, account }) => `${provider}:${account}`, "taskAccount");
|
|
19434
19434
|
var RULES_IN = {
|
|
19435
19435
|
dialog: "all",
|
|
@@ -19635,7 +19635,7 @@ var applyTaskRulesToChats = /* @__PURE__ */ __name(async (store, account, chatId
|
|
|
19635
19635
|
return passes;
|
|
19636
19636
|
}, "applyTaskRulesToChats");
|
|
19637
19637
|
|
|
19638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/context/evidence-response.js
|
|
19639
19639
|
var contextSourceKey = /* @__PURE__ */ __name((source) => JSON.stringify([source.kind, source.accountId, source.provider, source.account]), "contextSourceKey");
|
|
19640
19640
|
var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
19641
19641
|
const fail3 = /* @__PURE__ */ __name(() => {
|
|
@@ -19699,7 +19699,7 @@ var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
|
19699
19699
|
}
|
|
19700
19700
|
}, "validateContextEvidencePage");
|
|
19701
19701
|
|
|
19702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/context/read-budget.js
|
|
19703
19703
|
var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
19704
19704
|
if (!limits || typeof limits !== "object" || Array.isArray(limits))
|
|
19705
19705
|
throw new CliError("validation_error", "limits needs a context read allowance");
|
|
@@ -19752,7 +19752,7 @@ var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
|
19752
19752
|
};
|
|
19753
19753
|
}, "contextReadBudget");
|
|
19754
19754
|
|
|
19755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/context-evidence.js
|
|
19756
19756
|
var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits) => {
|
|
19757
19757
|
if (!port || typeof port.read !== "function")
|
|
19758
19758
|
throw new CliError("configuration_error", "context evidence reader is unavailable");
|
|
@@ -19796,7 +19796,7 @@ var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits)
|
|
|
19796
19796
|
};
|
|
19797
19797
|
}, "createContextEvidenceReader");
|
|
19798
19798
|
|
|
19799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/ingest.js
|
|
19800
19800
|
var emptyReceipt = /* @__PURE__ */ __name((dryRun) => ({
|
|
19801
19801
|
dryRun,
|
|
19802
19802
|
source: null,
|
|
@@ -19871,7 +19871,7 @@ var ingest = /* @__PURE__ */ __name(async (store, envelope, { account, dryRun =
|
|
|
19871
19871
|
return receipt;
|
|
19872
19872
|
}, "ingest");
|
|
19873
19873
|
|
|
19874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-purposes.js
|
|
19875
19875
|
var BUILT_IN_PURPOSES = ["work", "sales", "support", "other"];
|
|
19876
19876
|
var DEFAULT_PURPOSES = ["work"];
|
|
19877
19877
|
var LINK_PURPOSE = "work";
|
|
@@ -19901,7 +19901,7 @@ var purposeList = /* @__PURE__ */ __name((value, previous = []) => [
|
|
|
19901
19901
|
...value.split(",").map((one2) => one2.trim()).filter(Boolean)
|
|
19902
19902
|
], "purposeList");
|
|
19903
19903
|
|
|
19904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19904
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/moment.js
|
|
19905
19905
|
var AGO = /^(\d+)(m|h|d)$/;
|
|
19906
19906
|
var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
|
|
19907
19907
|
var DATE = /^\d{4}-\d{2}-\d{2}/;
|
|
@@ -19941,7 +19941,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
|
|
|
19941
19941
|
};
|
|
19942
19942
|
}, "dateWindow");
|
|
19943
19943
|
|
|
19944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/botcheck/check.js
|
|
19945
19945
|
var DAY_MS = 864e5;
|
|
19946
19946
|
var NEW_DAYS = 30;
|
|
19947
19947
|
var SAME_TEXT_MIN = 20;
|
|
@@ -20018,7 +20018,7 @@ var scorePerson = /* @__PURE__ */ __name(({ subject, provider, activity, photos,
|
|
|
20018
20018
|
};
|
|
20019
20019
|
}, "scorePerson");
|
|
20020
20020
|
|
|
20021
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20021
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/botcheck/registries.js
|
|
20022
20022
|
var REGISTRIES = {
|
|
20023
20023
|
cas: { title: "Combot Anti-Spam (CAS)", docs: "https://cas.chat/api" },
|
|
20024
20024
|
lols: { title: "lols.bot", docs: "https://api.lols.bot/lols-bot.json" }
|
|
@@ -20103,7 +20103,7 @@ var notCovered = /* @__PURE__ */ __name((messenger, now = /* @__PURE__ */ new Da
|
|
|
20103
20103
|
detail: `lists Telegram accounts only, not ${messenger} ones`
|
|
20104
20104
|
})), "notCovered");
|
|
20105
20105
|
|
|
20106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/botcheck/service.js
|
|
20107
20107
|
var ACTIVITY_MESSAGES = 1e3;
|
|
20108
20108
|
var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
20109
20109
|
const subjectOf = /* @__PURE__ */ __name(async (reference) => {
|
|
@@ -20191,7 +20191,7 @@ var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
|
20191
20191
|
};
|
|
20192
20192
|
}, "botCheckService");
|
|
20193
20193
|
|
|
20194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/thread.js
|
|
20195
20195
|
var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
20196
20196
|
if (value === void 0)
|
|
20197
20197
|
return void 0;
|
|
@@ -20201,7 +20201,7 @@ var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
|
20201
20201
|
return id2;
|
|
20202
20202
|
}, "threadIdOf");
|
|
20203
20203
|
|
|
20204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/chat-stats.js
|
|
20205
20205
|
var TOP_POSTS = 5;
|
|
20206
20206
|
var JOINS = /* @__PURE__ */ new Set(["join", "add"]);
|
|
20207
20207
|
var LEAVES = /* @__PURE__ */ new Set(["leave", "remove"]);
|
|
@@ -20318,7 +20318,7 @@ var median = /* @__PURE__ */ __name((values) => {
|
|
|
20318
20318
|
return Math.round(sorted.length % 2 === 0 ? ((sorted[middle - 1] ?? upper) + upper) / 2 : upper);
|
|
20319
20319
|
}, "median");
|
|
20320
20320
|
|
|
20321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/member-history.js
|
|
20322
20322
|
var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
20323
20323
|
const events = [];
|
|
20324
20324
|
for (const stay of stays) {
|
|
@@ -20350,7 +20350,7 @@ var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
|
20350
20350
|
return events.filter(({ at }) => Date.parse(at) >= since).sort((a, b) => Date.parse(a.at) - Date.parse(b.at) || a.id.localeCompare(b.id));
|
|
20351
20351
|
}, "memberEvents");
|
|
20352
20352
|
|
|
20353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/chats.js
|
|
20354
20354
|
var EVENTS_DAYS = 7;
|
|
20355
20355
|
var TRACKED_DAYS = 30;
|
|
20356
20356
|
var STATS_PAGE = 1e3;
|
|
@@ -20645,7 +20645,7 @@ var storedMembers = /* @__PURE__ */ __name(async (store, chatId) => {
|
|
|
20645
20645
|
return members.length === 0 ? null : members;
|
|
20646
20646
|
}, "storedMembers");
|
|
20647
20647
|
|
|
20648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/inbox.js
|
|
20649
20649
|
var INBOX_CHATS = 20;
|
|
20650
20650
|
var REVIEW_DAYS = 3;
|
|
20651
20651
|
var UNANSWERED_HOURS = 24;
|
|
@@ -20853,7 +20853,7 @@ var inboxService = /* @__PURE__ */ __name((deps) => {
|
|
|
20853
20853
|
};
|
|
20854
20854
|
}, "inboxService");
|
|
20855
20855
|
|
|
20856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20856
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/person-context.js
|
|
20857
20857
|
var CONTEXT_MESSAGES2 = 10;
|
|
20858
20858
|
var CONTEXT_BYTES = 64 * 1024;
|
|
20859
20859
|
var toContext = /* @__PURE__ */ __name((key, message, chatTitle2) => ({
|
|
@@ -21114,10 +21114,10 @@ var personMessages = /* @__PURE__ */ __name(async (store, asked, reference, { ch
|
|
|
21114
21114
|
};
|
|
21115
21115
|
}, "personMessages");
|
|
21116
21116
|
|
|
21117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
21118
21118
|
import { createHash } from "node:crypto";
|
|
21119
21119
|
|
|
21120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-reference.js
|
|
21121
21121
|
var missing2 = /* @__PURE__ */ __name(() => new CliError("not_found", "the meeting evidence is unavailable for this account"), "missing");
|
|
21122
21122
|
var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId, reference, options = {}) => {
|
|
21123
21123
|
const parsed = parseMeetingReference(reference);
|
|
@@ -21135,7 +21135,7 @@ var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId,
|
|
|
21135
21135
|
return { parsed, meeting };
|
|
21136
21136
|
}, "authorizedMeetingMetadata");
|
|
21137
21137
|
|
|
21138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
21139
21139
|
var hash = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
21140
21140
|
var checkMeetingCancelled = /* @__PURE__ */ __name((signal) => {
|
|
21141
21141
|
if (signal?.aborted)
|
|
@@ -21334,7 +21334,7 @@ var readMeetingEvidence = /* @__PURE__ */ __name(async (store, accountId, refere
|
|
|
21334
21334
|
return { ...packet, fingerprint: hash(packet) };
|
|
21335
21335
|
}, "readMeetingEvidence");
|
|
21336
21336
|
|
|
21337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/person-meeting-context.js
|
|
21338
21338
|
var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference, options) => {
|
|
21339
21339
|
const { meetings = 10, cues = 5, bytes: bytes2 = 64 * 1024, scanLimit = 1e3, since, signal } = options;
|
|
21340
21340
|
const requestedAccounts = options.accountIds;
|
|
@@ -21433,7 +21433,7 @@ var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference,
|
|
|
21433
21433
|
};
|
|
21434
21434
|
}, "personMeetingContext");
|
|
21435
21435
|
|
|
21436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/person-preparation.js
|
|
21437
21437
|
var PREPARE_BYTES = 96 * 1024;
|
|
21438
21438
|
var MEETINGS = 5;
|
|
21439
21439
|
var CUES = 3;
|
|
@@ -21550,7 +21550,7 @@ var meetingsOf = /* @__PURE__ */ __name(async (store, uid, stored, since, left)
|
|
|
21550
21550
|
}
|
|
21551
21551
|
}, "meetingsOf");
|
|
21552
21552
|
|
|
21553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/person-profile.js
|
|
21554
21554
|
var personProfile = /* @__PURE__ */ __name(async (deps, person, known2) => {
|
|
21555
21555
|
const online = deps.offline ? void 0 : await deps.connection();
|
|
21556
21556
|
const held = await storeIfOpen(deps);
|
|
@@ -21620,7 +21620,7 @@ var quiet = /* @__PURE__ */ __name((facts) => facts.chats.map(({ id: id2, title,
|
|
|
21620
21620
|
complete: false
|
|
21621
21621
|
})), "quiet");
|
|
21622
21622
|
|
|
21623
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/person-timeline.js
|
|
21624
21624
|
var TIMELINE_ITEMS = 50;
|
|
21625
21625
|
var TIMELINE_MAX = 500;
|
|
21626
21626
|
var SCOPES2 = ["personal", "work"];
|
|
@@ -21675,7 +21675,7 @@ var personTimeline = /* @__PURE__ */ __name(async (store, asked, reference, { sc
|
|
|
21675
21675
|
};
|
|
21676
21676
|
}, "personTimeline");
|
|
21677
21677
|
|
|
21678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/people.js
|
|
21679
21679
|
var peopleService = /* @__PURE__ */ __name((deps) => {
|
|
21680
21680
|
const localCard = /* @__PURE__ */ __name(async (card, includeNotes = false) => {
|
|
21681
21681
|
const held = await storeIfOpen(deps);
|
|
@@ -21902,7 +21902,7 @@ var withoutPhone = /* @__PURE__ */ __name((answer) => {
|
|
|
21902
21902
|
return rest;
|
|
21903
21903
|
}, "withoutPhone");
|
|
21904
21904
|
|
|
21905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/task-stats.js
|
|
21906
21906
|
var TASK_STATS_BY = ["chat", "meeting", "project"];
|
|
21907
21907
|
var PERIOD_FIELD = "created";
|
|
21908
21908
|
var refuseNestedPeriod = /* @__PURE__ */ __name((node, top = true) => {
|
|
@@ -22005,7 +22005,7 @@ var meetingNames = /* @__PURE__ */ __name(async (store, groups) => {
|
|
|
22005
22005
|
}));
|
|
22006
22006
|
}, "meetingNames");
|
|
22007
22007
|
|
|
22008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/task-tag-filters.js
|
|
22009
22009
|
var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
22010
22010
|
const tags = /* @__PURE__ */ new Map();
|
|
22011
22011
|
for (const node of query ? walkQuery(query.root) : [])
|
|
@@ -22014,7 +22014,7 @@ var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
|
22014
22014
|
return tags;
|
|
22015
22015
|
}, "taskTagFilters");
|
|
22016
22016
|
|
|
22017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22017
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/tasks.js
|
|
22018
22018
|
var TASK_QUERY = {
|
|
22019
22019
|
entity: "task",
|
|
22020
22020
|
backend: "sql",
|
|
@@ -22506,7 +22506,7 @@ var taskView = /* @__PURE__ */ __name(async (store, account, task2) => {
|
|
|
22506
22506
|
};
|
|
22507
22507
|
}, "taskView");
|
|
22508
22508
|
|
|
22509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposal-tasks.js
|
|
22510
22510
|
var proposalSource = /* @__PURE__ */ __name((id2) => `proposed-action:${id2}`, "proposalSource");
|
|
22511
22511
|
var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
22512
22512
|
const proposal = await store.proposedActions.get(id2);
|
|
@@ -22529,7 +22529,7 @@ var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
|
22529
22529
|
return { proposal: await store.proposedActions.approve(proposal.id, by, { task: task2.id }), task: task2 };
|
|
22530
22530
|
}, "approveAsTask");
|
|
22531
22531
|
|
|
22532
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/ids.js
|
|
22533
22533
|
var MAX_IDS = 500;
|
|
22534
22534
|
var refuse = /* @__PURE__ */ __name((message) => {
|
|
22535
22535
|
throw new CliError("validation_error", message, { reason: "proposal.ids" });
|
|
@@ -22571,7 +22571,7 @@ var parseProposalIds = /* @__PURE__ */ __name((text2) => {
|
|
|
22571
22571
|
return ids;
|
|
22572
22572
|
}, "parseProposalIds");
|
|
22573
22573
|
|
|
22574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/shared.js
|
|
22575
22575
|
var proposerOfAuthor = /* @__PURE__ */ __name((author) => {
|
|
22576
22576
|
if (author.type === "person")
|
|
22577
22577
|
return { type: "person", id: author.id };
|
|
@@ -22613,7 +22613,7 @@ var storedStatus = /* @__PURE__ */ __name((filter) => {
|
|
|
22613
22613
|
return status === "proposed" || status === "rejected" ? status : void 0;
|
|
22614
22614
|
}, "storedStatus");
|
|
22615
22615
|
|
|
22616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22616
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/action.js
|
|
22617
22617
|
var rowOf = /* @__PURE__ */ __name((action2) => ({
|
|
22618
22618
|
id: action2.id,
|
|
22619
22619
|
kind: "action",
|
|
@@ -22653,7 +22653,7 @@ var actionKind = /* @__PURE__ */ __name((store, claimed) => ({
|
|
|
22653
22653
|
}, "decide")
|
|
22654
22654
|
}), "actionKind");
|
|
22655
22655
|
|
|
22656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/fact.js
|
|
22657
22657
|
var STATUS = {
|
|
22658
22658
|
proposed: "proposed",
|
|
22659
22659
|
accepted: "confirmed",
|
|
@@ -22696,7 +22696,7 @@ var factKind = /* @__PURE__ */ __name((store) => ({
|
|
|
22696
22696
|
}, "decide")
|
|
22697
22697
|
}), "factKind");
|
|
22698
22698
|
|
|
22699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/finance.js
|
|
22700
22700
|
var rowOf3 = /* @__PURE__ */ __name((kind, entry) => ({
|
|
22701
22701
|
id: entry.ref,
|
|
22702
22702
|
kind,
|
|
@@ -22731,7 +22731,7 @@ var financeKind = /* @__PURE__ */ __name((store, kind) => ({
|
|
|
22731
22731
|
var invoiceKind = /* @__PURE__ */ __name((store) => financeKind(store, "invoice"), "invoiceKind");
|
|
22732
22732
|
var paymentKind = /* @__PURE__ */ __name((store) => financeKind(store, "payment"), "paymentKind");
|
|
22733
22733
|
|
|
22734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/findings.js
|
|
22735
22735
|
var FACT_SUMMARIES = {
|
|
22736
22736
|
fact: /* @__PURE__ */ __name((finding) => finding.statement, "fact"),
|
|
22737
22737
|
task: /* @__PURE__ */ __name((finding) => finding.title, "task"),
|
|
@@ -22803,7 +22803,7 @@ var findingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
22803
22803
|
};
|
|
22804
22804
|
}, "findingsKind");
|
|
22805
22805
|
|
|
22806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/key-document.js
|
|
22807
22807
|
var linkRow = /* @__PURE__ */ __name((link4) => ({
|
|
22808
22808
|
id: `key:${link4.id}`,
|
|
22809
22809
|
kind: "key_document",
|
|
@@ -22871,7 +22871,7 @@ var keyDocumentKind = /* @__PURE__ */ __name((store) => {
|
|
|
22871
22871
|
};
|
|
22872
22872
|
}, "keyDocumentKind");
|
|
22873
22873
|
|
|
22874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/mail-findings.js
|
|
22875
22875
|
var summaryOf = /* @__PURE__ */ __name((finding) => {
|
|
22876
22876
|
switch (finding.kind) {
|
|
22877
22877
|
case "task":
|
|
@@ -22950,7 +22950,7 @@ var mailFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
22950
22950
|
};
|
|
22951
22951
|
}, "mailFindingsKind");
|
|
22952
22952
|
|
|
22953
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/meeting-findings.js
|
|
22954
22954
|
var rowOf6 = /* @__PURE__ */ __name((action2, batch) => {
|
|
22955
22955
|
const findings = batch.input.findings;
|
|
22956
22956
|
const projects = [...new Set(findings.map((one2) => "project" in one2 ? one2.project : void 0))];
|
|
@@ -23014,7 +23014,7 @@ var meetingFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
23014
23014
|
};
|
|
23015
23015
|
}, "meetingFindingsKind");
|
|
23016
23016
|
|
|
23017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23017
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/memory.js
|
|
23018
23018
|
var STATUS2 = {
|
|
23019
23019
|
proposed: "proposed",
|
|
23020
23020
|
confirmed: "confirmed",
|
|
@@ -23055,7 +23055,7 @@ var memoryKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23055
23055
|
}, "decide")
|
|
23056
23056
|
}), "memoryKind");
|
|
23057
23057
|
|
|
23058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship.js
|
|
23059
23059
|
var linkRow2 = /* @__PURE__ */ __name((link4) => ({
|
|
23060
23060
|
id: `link:${link4.id}`,
|
|
23061
23061
|
kind: "relationship",
|
|
@@ -23129,7 +23129,7 @@ var relationshipKind = /* @__PURE__ */ __name((store) => {
|
|
|
23129
23129
|
};
|
|
23130
23130
|
}, "relationshipKind");
|
|
23131
23131
|
|
|
23132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship-update.js
|
|
23133
23133
|
var KIND = "relationship_update";
|
|
23134
23134
|
var summaryOf2 = /* @__PURE__ */ __name(({ changes }) => Object.entries(changes).map(([field, value]) => `${field} ${value ?? "cleared"}`).join(", "), "summaryOf");
|
|
23135
23135
|
var rowOf8 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -23179,7 +23179,7 @@ var relationshipUpdateKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23179
23179
|
}, "decide")
|
|
23180
23180
|
}), "relationshipUpdateKind");
|
|
23181
23181
|
|
|
23182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/task-close.js
|
|
23183
23183
|
var rowOf9 = /* @__PURE__ */ __name((task2) => {
|
|
23184
23184
|
const suggestion = task2.closeSuggestion;
|
|
23185
23185
|
if (suggestion === null)
|
|
@@ -23247,7 +23247,7 @@ var taskCloseKind = /* @__PURE__ */ __name((store) => {
|
|
|
23247
23247
|
};
|
|
23248
23248
|
}, "taskCloseKind");
|
|
23249
23249
|
|
|
23250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/proposals/registry.js
|
|
23251
23251
|
var PREFIX = /^([a-z][a-z_]*):/;
|
|
23252
23252
|
var marked = /* @__PURE__ */ __name((kind, row) => kind.ownerOnly ? { ...row, ownerOnly: true } : row, "marked");
|
|
23253
23253
|
var refusalOf = /* @__PURE__ */ __name((id2, error) => {
|
|
@@ -23373,7 +23373,7 @@ var proposalRegistry = /* @__PURE__ */ __name((store) => {
|
|
|
23373
23373
|
return registry;
|
|
23374
23374
|
}, "proposalRegistry");
|
|
23375
23375
|
|
|
23376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/mail/owed.js
|
|
23377
23377
|
var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
23378
23378
|
if (newest === null)
|
|
23379
23379
|
return null;
|
|
@@ -23382,7 +23382,7 @@ var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
|
23382
23382
|
return newest.addressed ? "owed" : null;
|
|
23383
23383
|
}, "mailTurn");
|
|
23384
23384
|
|
|
23385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/agenda-mail.js
|
|
23386
23386
|
var absent = /* @__PURE__ */ __name((error) => {
|
|
23387
23387
|
if (error instanceof CliError && error.code === "not_found")
|
|
23388
23388
|
return void 0;
|
|
@@ -23440,7 +23440,7 @@ var mailActivity = /* @__PURE__ */ __name(async (store, account, since, chats) =
|
|
|
23440
23440
|
};
|
|
23441
23441
|
}, "mailActivity");
|
|
23442
23442
|
|
|
23443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/chat-coverage.js
|
|
23444
23444
|
var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
23445
23445
|
const ids = [...new Set(chatIds)];
|
|
23446
23446
|
if (ids.length === 0)
|
|
@@ -23466,7 +23466,7 @@ var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
|
23466
23466
|
}));
|
|
23467
23467
|
}, "chatCoverage");
|
|
23468
23468
|
|
|
23469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23469
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/agenda.js
|
|
23470
23470
|
var DAY = 864e5;
|
|
23471
23471
|
var AGENDA_DEFAULTS = { unanswered: DAY, waiting: 7 * DAY };
|
|
23472
23472
|
var CLAIMS = ["none", "mine", "others", "any"];
|
|
@@ -23713,7 +23713,7 @@ var agendaItem = /* @__PURE__ */ __name((shown) => {
|
|
|
23713
23713
|
};
|
|
23714
23714
|
}, "agendaItem");
|
|
23715
23715
|
|
|
23716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/excerpt.js
|
|
23717
23717
|
var queryWords = /* @__PURE__ */ __name((query) => query.toLowerCase().split(/\s+/).map((word) => word.replace(/^[\p{L}_]+:/u, "").replace(/~\d+$/u, "").replace(/^[^\p{L}\p{N}]+|[^\p{L}\p{N}]+$/gu, "")).filter((word) => word.length > 2 && !["and", "or", "not"].includes(word)), "queryWords");
|
|
23718
23718
|
var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options = {}) => {
|
|
23719
23719
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -23729,7 +23729,7 @@ var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options = {}) =
|
|
|
23729
23729
|
}, "excerpt");
|
|
23730
23730
|
var withExcerpt = /* @__PURE__ */ __name(({ matchedText, ...hit }, query) => ({ ...hit, excerpt: excerpt(matchedText ?? hit.text, query) }), "withExcerpt");
|
|
23731
23731
|
|
|
23732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/link-scorers/shared.js
|
|
23733
23733
|
var escaped = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
23734
23734
|
var folded = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "folded");
|
|
23735
23735
|
var wholeWords = /* @__PURE__ */ __name((term) => new RegExp(`(?<![\\p{L}\\p{N}\\p{M}_])${escaped(normalizeVocabularyName(term))}(?![\\p{L}\\p{N}\\p{M}_])`, "u"), "wholeWords");
|
|
@@ -23768,7 +23768,7 @@ var identitiesIn = /* @__PURE__ */ __name(async (store, people, provider) => {
|
|
|
23768
23768
|
return found;
|
|
23769
23769
|
}, "identitiesIn");
|
|
23770
23770
|
|
|
23771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/link-scorers/alias-hits.js
|
|
23772
23772
|
var SEARCH_LIMIT = 500;
|
|
23773
23773
|
var aliasWeight = /* @__PURE__ */ __name((hits) => hits >= 10 ? 0.55 : hits >= 3 ? 0.35 : 0, "aliasWeight");
|
|
23774
23774
|
var aliasHits = {
|
|
@@ -23817,7 +23817,7 @@ var aliasHits = {
|
|
|
23817
23817
|
}, "candidates")
|
|
23818
23818
|
};
|
|
23819
23819
|
|
|
23820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-senders.js
|
|
23821
23821
|
var WEIGHT = 0.5;
|
|
23822
23822
|
var LARGE_GROUP_WEIGHT = 0.2;
|
|
23823
23823
|
var LARGE_GROUP = 30;
|
|
@@ -23869,7 +23869,7 @@ var chatSenders = {
|
|
|
23869
23869
|
}, "candidates")
|
|
23870
23870
|
};
|
|
23871
23871
|
|
|
23872
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23872
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-title.js
|
|
23873
23873
|
var WEIGHT2 = 0.7;
|
|
23874
23874
|
var chatTitle = {
|
|
23875
23875
|
id: "chat-title",
|
|
@@ -23908,7 +23908,7 @@ var chatTitle = {
|
|
|
23908
23908
|
}, "candidates")
|
|
23909
23909
|
};
|
|
23910
23910
|
|
|
23911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/link-scorers/email-domain.js
|
|
23912
23912
|
var WEIGHT3 = 0.3;
|
|
23913
23913
|
var CONTACTS = 500;
|
|
23914
23914
|
var MOST_PAIRS = 200;
|
|
@@ -23969,7 +23969,7 @@ var emailDomain = {
|
|
|
23969
23969
|
}, "candidates")
|
|
23970
23970
|
};
|
|
23971
23971
|
|
|
23972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/link-scorers/mail-thread.js
|
|
23973
23973
|
var NAMED = 0.7;
|
|
23974
23974
|
var MEMBER_ONLY = 0.3;
|
|
23975
23975
|
var READ_LIMIT2 = 500;
|
|
@@ -24042,7 +24042,7 @@ var mailThread = {
|
|
|
24042
24042
|
}, "candidates")
|
|
24043
24043
|
};
|
|
24044
24044
|
|
|
24045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-chats.js
|
|
24046
24046
|
var WEIGHT4 = 0.5;
|
|
24047
24047
|
var memberChats = {
|
|
24048
24048
|
id: "member-chats",
|
|
@@ -24082,7 +24082,7 @@ var memberChats = {
|
|
|
24082
24082
|
}, "candidates")
|
|
24083
24083
|
};
|
|
24084
24084
|
|
|
24085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-dialog.js
|
|
24086
24086
|
var WEIGHT5 = 0.6;
|
|
24087
24087
|
var memberDialog = {
|
|
24088
24088
|
id: "member-dialog",
|
|
@@ -24116,7 +24116,7 @@ var memberDialog = {
|
|
|
24116
24116
|
}, "candidates")
|
|
24117
24117
|
};
|
|
24118
24118
|
|
|
24119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-gathering-around.js
|
|
24120
24120
|
var storedMessageNeighbours = /* @__PURE__ */ __name((messages) => ({
|
|
24121
24121
|
async around(ref, window3) {
|
|
24122
24122
|
const at = parseLocator(ref);
|
|
@@ -24212,7 +24212,7 @@ var storedNeighbours = /* @__PURE__ */ __name((store) => {
|
|
|
24212
24212
|
};
|
|
24213
24213
|
}, "storedNeighbours");
|
|
24214
24214
|
|
|
24215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-gathering-request.js
|
|
24216
24216
|
import { createHash as createHash2 } from "node:crypto";
|
|
24217
24217
|
var DAY2 = 864e5;
|
|
24218
24218
|
var MAX_TIME = 864e13;
|
|
@@ -24528,7 +24528,7 @@ var decodeCheckpoint = /* @__PURE__ */ __name((text2, plan) => {
|
|
|
24528
24528
|
return value;
|
|
24529
24529
|
}, "decodeCheckpoint");
|
|
24530
24530
|
|
|
24531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-gathering.js
|
|
24532
24532
|
var terminal = /* @__PURE__ */ new Set(["done", "unavailable", "failed"]);
|
|
24533
24533
|
var PAGE2 = 20;
|
|
24534
24534
|
var PEOPLE = 20;
|
|
@@ -24932,7 +24932,7 @@ var peopleOf = /* @__PURE__ */ __name((items, senderOf) => {
|
|
|
24932
24932
|
return [...byKey.values()].sort((a, b) => b.items - a.items || a.name.localeCompare(b.name));
|
|
24933
24933
|
}, "peopleOf");
|
|
24934
24934
|
|
|
24935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-matching.js
|
|
24936
24936
|
var normalizedText = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "normalizedText");
|
|
24937
24937
|
var termsOf = /* @__PURE__ */ __name((entry) => [
|
|
24938
24938
|
{ name: entry.name, kind: "canonical" },
|
|
@@ -24976,7 +24976,7 @@ var matchVocabularyTerms = /* @__PURE__ */ __name((catalog, texts) => {
|
|
|
24976
24976
|
return result.sort((a, b) => Number(a.entry.id) - Number(b.entry.id));
|
|
24977
24977
|
}, "matchVocabularyTerms");
|
|
24978
24978
|
|
|
24979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-gathering-mentions.js
|
|
24980
24980
|
var KINDS = ["project", "tag", "topic"];
|
|
24981
24981
|
var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering, options = {}) => {
|
|
24982
24982
|
if (typeof vocabulary?.vocabulary !== "function")
|
|
@@ -25031,7 +25031,7 @@ var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering,
|
|
|
25031
25031
|
};
|
|
25032
25032
|
}, "findEvidenceMentions");
|
|
25033
25033
|
|
|
25034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/stored-project-gathering.js
|
|
25035
25035
|
var storedChatCount = /* @__PURE__ */ __name((store) => async (account, chatId, { since, until }) => {
|
|
25036
25036
|
const window3 = { since: new Date(since).toISOString(), until: new Date(until - 1).toISOString() };
|
|
25037
25037
|
const [messages, newest, oldest] = await Promise.all([
|
|
@@ -25337,7 +25337,7 @@ var purposeHintOf = /* @__PURE__ */ __name((linked, rows, of) => {
|
|
|
25337
25337
|
return { chat: top.ref, relationship: link4.relationship, items, of };
|
|
25338
25338
|
}, "purposeHintOf");
|
|
25339
25339
|
|
|
25340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/link-scorers/scan.js
|
|
25341
25341
|
var SCORERS = [chatTitle, aliasHits, memberChats, memberDialog, chatSenders, mailThread];
|
|
25342
25342
|
var PERSON_SCORERS = [emailDomain];
|
|
25343
25343
|
var SCAN_BOT = { bot: "memo-scan", kind: "rule" };
|
|
@@ -25545,18 +25545,18 @@ var referenceOf = /* @__PURE__ */ __name((text2) => {
|
|
|
25545
25545
|
}, "referenceOf");
|
|
25546
25546
|
var rejectedReversed = /* @__PURE__ */ __name(async (store, candidate) => candidate.kind === "related-to" && candidate.to.startsWith("person:") && ((await store.knowledge.relationState(null, { from: candidate.to, to: candidate.from, kind: candidate.kind }))?.rejected ?? false), "rejectedReversed");
|
|
25547
25547
|
|
|
25548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
25549
25549
|
import { setTimeout as sleep3 } from "node:timers/promises";
|
|
25550
25550
|
|
|
25551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
25552
25552
|
import { lstat } from "node:fs/promises";
|
|
25553
25553
|
|
|
25554
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
25555
25555
|
import { createHash as createHash4, randomUUID as randomUUID2 } from "node:crypto";
|
|
25556
25556
|
import { open as open2, rename as rename2, unlink as unlink2 } from "node:fs/promises";
|
|
25557
25557
|
import { join as join2 } from "node:path";
|
|
25558
25558
|
|
|
25559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-metadata.js
|
|
25560
25560
|
import { createHash as createHash3 } from "node:crypto";
|
|
25561
25561
|
var metadataLimit = 16384;
|
|
25562
25562
|
var partialIdentity = /* @__PURE__ */ __name((locator) => JSON.stringify([locator.provider, locator.account, locator.occurrenceId, locator.assetId]), "partialIdentity");
|
|
@@ -25616,7 +25616,7 @@ var readPartialMetadata = /* @__PURE__ */ __name(async (path, locator, maxBytes,
|
|
|
25616
25616
|
}
|
|
25617
25617
|
}, "readPartialMetadata");
|
|
25618
25618
|
|
|
25619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-writer.js
|
|
25620
25620
|
import { randomUUID } from "node:crypto";
|
|
25621
25621
|
import { open, rename, unlink } from "node:fs/promises";
|
|
25622
25622
|
import { join } from "node:path";
|
|
@@ -25708,7 +25708,7 @@ var partialWriter = /* @__PURE__ */ __name(async (input) => {
|
|
|
25708
25708
|
};
|
|
25709
25709
|
}, "partialWriter");
|
|
25710
25710
|
|
|
25711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25711
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
25712
25712
|
var NativeRecordingPartialStore = class {
|
|
25713
25713
|
static {
|
|
25714
25714
|
__name(this, "NativeRecordingPartialStore");
|
|
@@ -25815,12 +25815,12 @@ var NativeRecordingPartialStore = class {
|
|
|
25815
25815
|
}
|
|
25816
25816
|
};
|
|
25817
25817
|
|
|
25818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
25819
25819
|
import { createHash as createHash5 } from "node:crypto";
|
|
25820
25820
|
import { link as link2 } from "node:fs/promises";
|
|
25821
25821
|
import { basename, dirname, join as join4, resolve } from "node:path";
|
|
25822
25822
|
|
|
25823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-files.js
|
|
25824
25824
|
import { unlink as unlink3 } from "node:fs/promises";
|
|
25825
25825
|
var verifiedPublicationFile = /* @__PURE__ */ __name(async (path, expected2, signal, writable = false) => {
|
|
25826
25826
|
signal?.throwIfAborted();
|
|
@@ -25855,7 +25855,7 @@ var commitPublication = /* @__PURE__ */ __name(async (root, partialPath, finalPa
|
|
|
25855
25855
|
signal?.throwIfAborted();
|
|
25856
25856
|
}, "commitPublication");
|
|
25857
25857
|
|
|
25858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-journal.js
|
|
25859
25859
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
25860
25860
|
import { open as open3, rename as rename3, unlink as unlink4 } from "node:fs/promises";
|
|
25861
25861
|
import { join as join3 } from "node:path";
|
|
@@ -25928,7 +25928,7 @@ var writePublicationJournal = /* @__PURE__ */ __name(async (root, path, prefix,
|
|
|
25928
25928
|
}
|
|
25929
25929
|
}, "writePublicationJournal");
|
|
25930
25930
|
|
|
25931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
25932
25932
|
var NativeRecordingPublication = class {
|
|
25933
25933
|
static {
|
|
25934
25934
|
__name(this, "NativeRecordingPublication");
|
|
@@ -26001,7 +26001,7 @@ var NativeRecordingPublication = class {
|
|
|
26001
26001
|
}
|
|
26002
26002
|
};
|
|
26003
26003
|
|
|
26004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/media-archive-manifest.js
|
|
26005
26005
|
import { createHash as createHash6 } from "node:crypto";
|
|
26006
26006
|
import { readdir } from "node:fs/promises";
|
|
26007
26007
|
import { isAbsolute, join as join5, resolve as resolve2 } from "node:path";
|
|
@@ -26088,7 +26088,7 @@ var commitMediaEntry = /* @__PURE__ */ __name((root, one2, beforePublish) => wri
|
|
|
26088
26088
|
beforePublish
|
|
26089
26089
|
}), "commitMediaEntry");
|
|
26090
26090
|
|
|
26091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
26092
26092
|
var validator = '"media-completed-v1"';
|
|
26093
26093
|
var maximumFileBytes = 64 * 1024 * 1024 * 1024;
|
|
26094
26094
|
var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2, beforeWrite, signal, metadata = {}) => {
|
|
@@ -26189,7 +26189,7 @@ var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2
|
|
|
26189
26189
|
return entry;
|
|
26190
26190
|
}, "archiveMediaFile");
|
|
26191
26191
|
|
|
26192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/media-archive-locks.js
|
|
26193
26193
|
import { mkdir, realpath } from "node:fs/promises";
|
|
26194
26194
|
import { join as join6, resolve as resolve3 } from "node:path";
|
|
26195
26195
|
var archiveLocations = /* @__PURE__ */ __name(async (initial, signal) => {
|
|
@@ -26256,7 +26256,7 @@ var withMediaArchiveLocks = /* @__PURE__ */ __name(async (directory2, signal, ru
|
|
|
26256
26256
|
throw new CliError("validation_error", "archive locations changed during locking; run the command again");
|
|
26257
26257
|
}, "withMediaArchiveLocks");
|
|
26258
26258
|
|
|
26259
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26259
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
26260
26260
|
var validateMediaSince = /* @__PURE__ */ __name((value, flag = "--since-time") => {
|
|
26261
26261
|
if (value === void 0)
|
|
26262
26262
|
return void 0;
|
|
@@ -26409,7 +26409,7 @@ var archiveMedia = /* @__PURE__ */ __name(async (ports, options) => {
|
|
|
26409
26409
|
}, { create: true });
|
|
26410
26410
|
}, "archiveMedia");
|
|
26411
26411
|
|
|
26412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/media-archive-move.js
|
|
26413
26413
|
import { realpath as realpath2, unlink as unlink5 } from "node:fs/promises";
|
|
26414
26414
|
import { basename as basename2, dirname as dirname2, join as join7, resolve as resolve4 } from "node:path";
|
|
26415
26415
|
var canonicalDestination = /* @__PURE__ */ __name(async (directory2) => {
|
|
@@ -26562,7 +26562,7 @@ var moveMediaArchive = /* @__PURE__ */ __name(async (options) => {
|
|
|
26562
26562
|
}, { additional: [target2], createAdditional: !options.dryRun });
|
|
26563
26563
|
}, "moveMediaArchive");
|
|
26564
26564
|
|
|
26565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/model-downloads.js
|
|
26566
26566
|
var bytesOf = /* @__PURE__ */ __name((model) => model.files.reduce((sum2, file2) => sum2 + file2.bytes, 0), "bytesOf");
|
|
26567
26567
|
var nativeRuntime = /* @__PURE__ */ __name(async ({ env, progress = /* @__PURE__ */ __name(() => {
|
|
26568
26568
|
}, "progress") }) => {
|
|
@@ -26585,7 +26585,7 @@ var downloadTextModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
26585
26585
|
}
|
|
26586
26586
|
await nativeRuntime({ env, progress });
|
|
26587
26587
|
progress(`${model.id}: loading it once to check it works`);
|
|
26588
|
-
const { openEmbedder: openEmbedder2 } = await import("./embed-
|
|
26588
|
+
const { openEmbedder: openEmbedder2 } = await import("./embed-R6JZ4CDW.js");
|
|
26589
26589
|
const embedder = await openEmbedder2(model, directory2);
|
|
26590
26590
|
try {
|
|
26591
26591
|
const [vector] = await embedder.embed(["check"], "query");
|
|
@@ -26606,7 +26606,7 @@ var downloadRerankModel = /* @__PURE__ */ __name(async (id2, { env, progress = /
|
|
|
26606
26606
|
}
|
|
26607
26607
|
await nativeRuntime({ env, progress });
|
|
26608
26608
|
progress(`${model.id}: loading it once to check it works`);
|
|
26609
|
-
const { openReranker } = await import("./rerank-
|
|
26609
|
+
const { openReranker } = await import("./rerank-6HWHGDFX.js");
|
|
26610
26610
|
const reranker = await openReranker(model, directory2);
|
|
26611
26611
|
try {
|
|
26612
26612
|
await reranker.score("check", ["check"]);
|
|
@@ -26624,7 +26624,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
26624
26624
|
await installFiles(placedImage(model, directory2), { progress });
|
|
26625
26625
|
}
|
|
26626
26626
|
progress(`${model.id}: loading it once to check it works`);
|
|
26627
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
26627
|
+
const { openPictureEmbedder } = await import("./embedder-XUIOKCH6.js");
|
|
26628
26628
|
const embedder = await openPictureEmbedder(model, directory2);
|
|
26629
26629
|
try {
|
|
26630
26630
|
const vector = await embedder.embedQuery("check");
|
|
@@ -26636,7 +26636,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
26636
26636
|
return { model, directory: directory2 };
|
|
26637
26637
|
}, "downloadImageModel");
|
|
26638
26638
|
|
|
26639
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/money-words.js
|
|
26640
26640
|
var MONEY_REQUEST = "money-request";
|
|
26641
26641
|
var MONEY_DONE = "money-done";
|
|
26642
26642
|
var PROMISE = "promise";
|
|
@@ -26670,10 +26670,10 @@ var MONEY_WORDS = [
|
|
|
26670
26670
|
}
|
|
26671
26671
|
];
|
|
26672
26672
|
|
|
26673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/money-words.js
|
|
26674
26674
|
var moneyClassesOf = /* @__PURE__ */ __name((text2) => listsHit(text2, MONEY_WORDS), "moneyClassesOf");
|
|
26675
26675
|
|
|
26676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/status-words.js
|
|
26677
26677
|
var words = /* @__PURE__ */ __name((forms) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${forms.join("|")})(?![\\p{L}\\p{N}])`, "iu"), "words");
|
|
26678
26678
|
var MONEY_DONE_FORMS = words([
|
|
26679
26679
|
"\u043E\u043F\u043B\u0430\u0442\u0438\u043B[\u0430\u0438]?",
|
|
@@ -26713,7 +26713,7 @@ var PROMISE_FORMS = words([
|
|
|
26713
26713
|
"estar\xE1 listo"
|
|
26714
26714
|
]);
|
|
26715
26715
|
|
|
26716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/items.js
|
|
26717
26717
|
var EXCERPT_CHARS = 80;
|
|
26718
26718
|
var excerpt2 = /* @__PURE__ */ __name((text2) => {
|
|
26719
26719
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -26735,7 +26735,7 @@ var whoOf = /* @__PURE__ */ __name((message) => ({
|
|
|
26735
26735
|
var fromOwner = /* @__PURE__ */ __name((message) => message.outgoing === true, "fromOwner");
|
|
26736
26736
|
var day = /* @__PURE__ */ __name((at) => new Date(at).toISOString().slice(0, 10), "day");
|
|
26737
26737
|
|
|
26738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26738
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/amounts.js
|
|
26739
26739
|
var MONEY = DEFAULT_TASK_CATEGORIES.filter((category) => category.name === "money");
|
|
26740
26740
|
var verbOf = /* @__PURE__ */ __name((text2) => {
|
|
26741
26741
|
if (MONEY_DONE_FORMS.test(text2))
|
|
@@ -26815,7 +26815,7 @@ var amounts = {
|
|
|
26815
26815
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state === "open" ? [{ chat: item2.chat, weight: 2, why: "money open" }] : []), "attention")
|
|
26816
26816
|
};
|
|
26817
26817
|
|
|
26818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/children.js
|
|
26819
26819
|
var children = {
|
|
26820
26820
|
id: "children",
|
|
26821
26821
|
version: 1,
|
|
@@ -26844,7 +26844,7 @@ var children = {
|
|
|
26844
26844
|
}, "read")
|
|
26845
26845
|
};
|
|
26846
26846
|
|
|
26847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/coverage.js
|
|
26848
26848
|
var coverage = {
|
|
26849
26849
|
id: "coverage",
|
|
26850
26850
|
version: 1,
|
|
@@ -26873,7 +26873,7 @@ var coverage = {
|
|
|
26873
26873
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state !== "complete" && item2.data.beforeHeld ? [{ chat: item2.chat, weight: 3, why: "held in part" }] : []), "attention")
|
|
26874
26874
|
};
|
|
26875
26875
|
|
|
26876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26876
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/last-message.js
|
|
26877
26877
|
var lastMessage = {
|
|
26878
26878
|
id: "last-message",
|
|
26879
26879
|
version: 1,
|
|
@@ -26895,7 +26895,7 @@ var lastMessage = {
|
|
|
26895
26895
|
}, "read")
|
|
26896
26896
|
};
|
|
26897
26897
|
|
|
26898
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26898
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/payments.js
|
|
26899
26899
|
var holding = /* @__PURE__ */ __name((row) => row.review !== "rejected", "holding");
|
|
26900
26900
|
var item = /* @__PURE__ */ __name((row, at, data) => ({
|
|
26901
26901
|
signal: "payments",
|
|
@@ -26945,7 +26945,7 @@ var payments = {
|
|
|
26945
26945
|
}, "read")
|
|
26946
26946
|
};
|
|
26947
26947
|
|
|
26948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26948
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/promises.js
|
|
26949
26949
|
var PATTERNS_PER_CHAT = 3;
|
|
26950
26950
|
var DAY3 = 864e5;
|
|
26951
26951
|
var KINDS2 = /* @__PURE__ */ new Set(["promise", "request"]);
|
|
@@ -27034,7 +27034,7 @@ var promises = {
|
|
|
27034
27034
|
}, "read")
|
|
27035
27035
|
};
|
|
27036
27036
|
|
|
27037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/questions.js
|
|
27038
27038
|
var PER_SIDE = 5;
|
|
27039
27039
|
var WEEK = 7 * 864e5;
|
|
27040
27040
|
var NOBODY = /* @__PURE__ */ new Set();
|
|
@@ -27065,7 +27065,7 @@ var questions2 = {
|
|
|
27065
27065
|
}, "attention")
|
|
27066
27066
|
};
|
|
27067
27067
|
|
|
27068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/reply-next.js
|
|
27069
27069
|
var targetOf = /* @__PURE__ */ __name((message, chat, owners) => {
|
|
27070
27070
|
const byId2 = /* @__PURE__ */ __name((id2) => chat.messages.find((one2) => one2.id === id2), "byId");
|
|
27071
27071
|
const quoted = message.replyTo ?? (message.replyToId === void 0 ? void 0 : byId2(message.replyToId));
|
|
@@ -27133,7 +27133,7 @@ var replyNext = {
|
|
|
27133
27133
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.next === "owner" ? [{ chat: item2.chat, weight: 2, why: "your move" }] : []), "attention")
|
|
27134
27134
|
};
|
|
27135
27135
|
|
|
27136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/topics.js
|
|
27137
27137
|
var escaped2 = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
27138
27138
|
var wholeWord = /* @__PURE__ */ __name((word) => new RegExp(`(?<![\\p{L}\\p{N}])${escaped2(word)}(?![\\p{L}\\p{N}])`, "u"), "wholeWord");
|
|
27139
27139
|
var matcherOf = /* @__PURE__ */ __name((query) => {
|
|
@@ -27179,7 +27179,7 @@ var topics = {
|
|
|
27179
27179
|
}, "read")
|
|
27180
27180
|
};
|
|
27181
27181
|
|
|
27182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/signals/index.js
|
|
27183
27183
|
var STATUS_SIGNALS = [
|
|
27184
27184
|
lastMessage,
|
|
27185
27185
|
replyNext,
|
|
@@ -27192,7 +27192,7 @@ var STATUS_SIGNALS = [
|
|
|
27192
27192
|
children
|
|
27193
27193
|
];
|
|
27194
27194
|
|
|
27195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/project-status/index.js
|
|
27196
27196
|
var DAY4 = 864e5;
|
|
27197
27197
|
var STATUS_WINDOW = 300;
|
|
27198
27198
|
var STATUS_CHATS = 16;
|
|
@@ -27374,7 +27374,7 @@ var projectStatus = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
27374
27374
|
};
|
|
27375
27375
|
}, "projectStatus");
|
|
27376
27376
|
|
|
27377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/account.js
|
|
27378
27378
|
var accountService = /* @__PURE__ */ __name((deps) => {
|
|
27379
27379
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
27380
27380
|
if (deps.offline)
|
|
@@ -27446,7 +27446,7 @@ var accountService = /* @__PURE__ */ __name((deps) => {
|
|
|
27446
27446
|
};
|
|
27447
27447
|
}, "accountService");
|
|
27448
27448
|
|
|
27449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/send-time.js
|
|
27450
27450
|
var MINUTE = 6e4;
|
|
27451
27451
|
var YEAR = 365 * 24 * 60 * MINUTE;
|
|
27452
27452
|
var DELAY = /^(\d+)(m|h|d)$/;
|
|
@@ -27465,7 +27465,7 @@ var sendTime = /* @__PURE__ */ __name((value, now = Date.now(), flag = "--at-tim
|
|
|
27465
27465
|
return new Date(at - at % MINUTE).toISOString();
|
|
27466
27466
|
}, "sendTime");
|
|
27467
27467
|
|
|
27468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/admin.js
|
|
27469
27469
|
var recordMembership = /* @__PURE__ */ __name(async (deps, operationId, done2, change, fix, write2) => {
|
|
27470
27470
|
try {
|
|
27471
27471
|
const held = await accountStoreIfOpen(deps);
|
|
@@ -27712,7 +27712,7 @@ var linkLimits = /* @__PURE__ */ __name(({ approval, expires, maxUses }) => {
|
|
|
27712
27712
|
return expires === void 0 ? void 0 : sendTime(expires, Date.now(), "--expire-time");
|
|
27713
27713
|
}, "linkLimits");
|
|
27714
27714
|
|
|
27715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/mail-search.js
|
|
27716
27716
|
var THREADS_PAGE = 500;
|
|
27717
27717
|
var threadsOf = /* @__PURE__ */ __name(async (store, key) => {
|
|
27718
27718
|
const account = await store.accounts.storedAccount(key).catch(() => void 0);
|
|
@@ -27791,7 +27791,7 @@ var readMail = /* @__PURE__ */ __name(async (store, locator, { before: before2 =
|
|
|
27791
27791
|
return thread.slice(Math.max(0, at - before2), at + after + 1).map((hit) => hit.id === message ? { ...hit, anchor: true } : hit);
|
|
27792
27792
|
}, "readMail");
|
|
27793
27793
|
|
|
27794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/search-kind.js
|
|
27795
27795
|
var NO_MAIL = "no_mail";
|
|
27796
27796
|
var MAIL = "email";
|
|
27797
27797
|
var listContextOf = /* @__PURE__ */ __name(async (store, account, app, stored) => {
|
|
@@ -27838,7 +27838,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
|
|
|
27838
27838
|
return chosenMail.map(({ provider, account }) => ({ provider, account }));
|
|
27839
27839
|
}, "accountsOfKind");
|
|
27840
27840
|
|
|
27841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/messages-search.js
|
|
27842
27842
|
var MAIL_FIELDS = /* @__PURE__ */ new Set(["to", "cc", "bcc", "subject", "mailbox", "label", "is"]);
|
|
27843
27843
|
var positiveSources = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? node.field === "in" ? [node.value.toLowerCase()] : [] : node.clauses.filter(({ occur }) => occur !== "must_not").flatMap(({ node: node2 }) => positiveSources(node2)), "positiveSources");
|
|
27844
27844
|
var prepareLucene = /* @__PURE__ */ __name(async (store, account, request, messenger) => {
|
|
@@ -28186,7 +28186,7 @@ var statsLucene = /* @__PURE__ */ __name(async (store, account, request, messeng
|
|
|
28186
28186
|
};
|
|
28187
28187
|
}, "statsLucene");
|
|
28188
28188
|
|
|
28189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/rankings-selection.js
|
|
28190
28190
|
var RANKING_SELECTION_BYTES = 64 * 1024;
|
|
28191
28191
|
var object = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0, "object");
|
|
28192
28192
|
function invalid(message = "ranking selection is invalid \u2014 obtain a new drilldown from stats top") {
|
|
@@ -28355,7 +28355,7 @@ var readRankingSelection = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
28355
28355
|
};
|
|
28356
28356
|
}, "readRankingSelection");
|
|
28357
28357
|
|
|
28358
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/search-record.js
|
|
28359
28359
|
var canonical = /* @__PURE__ */ __name((value, nested = false) => Array.isArray(value) ? value.map((one2) => canonical(one2, true)) : value !== null && typeof value === "object" ? Object.fromEntries(Object.entries(value).filter(([, one2]) => one2 !== void 0 && (nested || one2 !== false)).sort(([a], [b]) => a < b ? -1 : a > b ? 1 : 0).map(([key, one2]) => [key, canonical(one2, true)])) : value, "canonical");
|
|
28360
28360
|
var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
28361
28361
|
command,
|
|
@@ -28365,7 +28365,7 @@ var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
|
28365
28365
|
fieldsVersion: FIELD_VERSION
|
|
28366
28366
|
}), "searchRecordOf");
|
|
28367
28367
|
|
|
28368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28368
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/admin-statistics.js
|
|
28369
28369
|
function invalid2(message) {
|
|
28370
28370
|
throw new CliError("validation_error", message);
|
|
28371
28371
|
}
|
|
@@ -28659,7 +28659,7 @@ var adminStatisticsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
28659
28659
|
}, "evidence")
|
|
28660
28660
|
}), "adminStatisticsService");
|
|
28661
28661
|
|
|
28662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/archive-gaps.js
|
|
28663
28663
|
import { createHash as createHash7, randomUUID as randomUUID4 } from "node:crypto";
|
|
28664
28664
|
var GAP_BOUNDS = { maxGaps: 5, limit: 500, timeMs: 3e4 };
|
|
28665
28665
|
var validateRepair = /* @__PURE__ */ __name((messenger, options) => {
|
|
@@ -28796,16 +28796,16 @@ var gapsService = /* @__PURE__ */ __name((deps) => {
|
|
|
28796
28796
|
return { plan, repair };
|
|
28797
28797
|
}, "gapsService");
|
|
28798
28798
|
|
|
28799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
28800
28800
|
import { createHash as createHash9 } from "node:crypto";
|
|
28801
28801
|
import { constants as constants2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
28802
28802
|
import { lstat as lstat4, open as open6, readFile, stat as stat2 } from "node:fs/promises";
|
|
28803
28803
|
|
|
28804
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
28805
28805
|
import { lstat as lstat2, readdir as readdir2, realpath as realpath3 } from "node:fs/promises";
|
|
28806
28806
|
import { basename as basename4, join as join8, relative as relative2, sep as sep2 } from "node:path";
|
|
28807
28807
|
|
|
28808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/upload.js
|
|
28809
28809
|
import { openAsBlob, realpathSync } from "node:fs";
|
|
28810
28810
|
import { open as open4, stat } from "node:fs/promises";
|
|
28811
28811
|
import { basename as basename3, dirname as dirname3, extname, isAbsolute as isAbsolute2, relative, resolve as resolve5, sep } from "node:path";
|
|
@@ -29007,7 +29007,7 @@ var readStickerFile = /* @__PURE__ */ __name(async (path, maxBytes, read2) => {
|
|
|
29007
29007
|
return { name, source };
|
|
29008
29008
|
}, "readStickerFile");
|
|
29009
29009
|
|
|
29010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
29011
29011
|
var MAX_FILES = 1e4;
|
|
29012
29012
|
var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app, env) => {
|
|
29013
29013
|
if (refusedPlace(directory2, app, env))
|
|
@@ -29076,15 +29076,15 @@ var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app,
|
|
|
29076
29076
|
return choices;
|
|
29077
29077
|
}, "directoryPaths");
|
|
29078
29078
|
|
|
29079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
29080
29080
|
import { posix } from "node:path";
|
|
29081
29081
|
|
|
29082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
29083
29083
|
import { setImmediate as tick } from "node:timers/promises";
|
|
29084
29084
|
import { crc32 } from "node:zlib";
|
|
29085
29085
|
var import_xmldom = __toESM(require_lib(), 1);
|
|
29086
29086
|
|
|
29087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
|
|
29088
29088
|
var import_chardet = __toESM(require_lib2(), 1);
|
|
29089
29089
|
var import_iconv_lite = __toESM(require_lib3(), 1);
|
|
29090
29090
|
var SAMPLE = 65536;
|
|
@@ -29186,7 +29186,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes2) => {
|
|
|
29186
29186
|
return result.text;
|
|
29187
29187
|
}, "decodeXml");
|
|
29188
29188
|
|
|
29189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
29190
29190
|
var MAX_PART = 10 * 1024 * 1024;
|
|
29191
29191
|
var MAX_ENTRIES = 1e3;
|
|
29192
29192
|
var decoder = new TextDecoder("utf-8", { fatal: true });
|
|
@@ -29401,7 +29401,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
|
|
|
29401
29401
|
return found;
|
|
29402
29402
|
}, "elements");
|
|
29403
29403
|
|
|
29404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
|
|
29405
29405
|
var columnName = /* @__PURE__ */ __name((column) => {
|
|
29406
29406
|
let name = "";
|
|
29407
29407
|
for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
|
|
@@ -29456,7 +29456,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
|
|
|
29456
29456
|
return { text: parts.join("").trim(), truncated: false };
|
|
29457
29457
|
}, "sheetText");
|
|
29458
29458
|
|
|
29459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
29460
29460
|
var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
29461
29461
|
var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
29462
29462
|
var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
@@ -29856,10 +29856,10 @@ var readDocument = /* @__PURE__ */ __name(async (bytes2, kind, signal) => {
|
|
|
29856
29856
|
}
|
|
29857
29857
|
}, "readDocument");
|
|
29858
29858
|
|
|
29859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
29860
29860
|
import { extname as extname3 } from "node:path";
|
|
29861
29861
|
|
|
29862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/engine.js
|
|
29863
29863
|
import { readFileSync } from "node:fs";
|
|
29864
29864
|
import { dirname as dirname4, extname as extname2, join as join9 } from "node:path";
|
|
29865
29865
|
import { fileURLToPath } from "node:url";
|
|
@@ -29920,7 +29920,7 @@ var derived = /* @__PURE__ */ __name((bytes2, extractor, read2) => {
|
|
|
29920
29920
|
}
|
|
29921
29921
|
}, "derived");
|
|
29922
29922
|
|
|
29923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/image/index.js
|
|
29924
29924
|
var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
|
|
29925
29925
|
var image2 = {
|
|
29926
29926
|
id: "image",
|
|
@@ -29929,7 +29929,7 @@ var image2 = {
|
|
|
29929
29929
|
read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
|
|
29930
29930
|
};
|
|
29931
29931
|
|
|
29932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
|
|
29933
29933
|
var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
|
|
29934
29934
|
var doc = {
|
|
29935
29935
|
id: "doc",
|
|
@@ -29941,7 +29941,7 @@ var doc = {
|
|
|
29941
29941
|
}), "read")
|
|
29942
29942
|
};
|
|
29943
29943
|
|
|
29944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
|
|
29945
29945
|
var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
29946
29946
|
var docx = {
|
|
29947
29947
|
id: "docx",
|
|
@@ -29954,7 +29954,7 @@ var docx = {
|
|
|
29954
29954
|
}), "read")
|
|
29955
29955
|
};
|
|
29956
29956
|
|
|
29957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/markup.js
|
|
29958
29958
|
var import_iconv_lite2 = __toESM(require_lib3(), 1);
|
|
29959
29959
|
var RTF_SKIPPED = /* @__PURE__ */ new Set([
|
|
29960
29960
|
"fonttbl",
|
|
@@ -30130,7 +30130,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
|
|
|
30130
30130
|
}, "htmlText");
|
|
30131
30131
|
var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
|
|
30132
30132
|
|
|
30133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/html/page.js
|
|
30134
30134
|
var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
|
|
30135
30135
|
var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
|
|
30136
30136
|
var jsonLdNodes = /* @__PURE__ */ __name((document) => {
|
|
@@ -30186,7 +30186,7 @@ var markdownSections = /* @__PURE__ */ __name((text2) => {
|
|
|
30186
30186
|
return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text2.length }));
|
|
30187
30187
|
}, "markdownSections");
|
|
30188
30188
|
|
|
30189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/html/index.js
|
|
30190
30190
|
var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
|
|
30191
30191
|
var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
|
|
30192
30192
|
var loaded = /* @__PURE__ */ __name(async (load, name) => {
|
|
@@ -30257,7 +30257,7 @@ var html = {
|
|
|
30257
30257
|
}, "read")
|
|
30258
30258
|
};
|
|
30259
30259
|
|
|
30260
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/office/index.js
|
|
30261
30261
|
var office = {
|
|
30262
30262
|
id: "office",
|
|
30263
30263
|
version: documentExtractor("odt"),
|
|
@@ -30268,7 +30268,7 @@ var office = {
|
|
|
30268
30268
|
}, "read")
|
|
30269
30269
|
};
|
|
30270
30270
|
|
|
30271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
|
|
30272
30272
|
var pdf = {
|
|
30273
30273
|
id: "pdf",
|
|
30274
30274
|
version: "unpdf",
|
|
@@ -30335,7 +30335,7 @@ var pdf = {
|
|
|
30335
30335
|
}), "read")
|
|
30336
30336
|
};
|
|
30337
30337
|
|
|
30338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
|
|
30339
30339
|
var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
|
|
30340
30340
|
var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
|
|
30341
30341
|
var readPlain = /* @__PURE__ */ __name((bytes2) => {
|
|
@@ -30355,7 +30355,7 @@ var plain = {
|
|
|
30355
30355
|
read: /* @__PURE__ */ __name(async (bytes2) => readPlain(bytes2), "read")
|
|
30356
30356
|
};
|
|
30357
30357
|
|
|
30358
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
|
|
30359
30359
|
var rtf = {
|
|
30360
30360
|
id: "rtf",
|
|
30361
30361
|
version: "v1",
|
|
@@ -30363,10 +30363,10 @@ var rtf = {
|
|
|
30363
30363
|
read: /* @__PURE__ */ __name(async (bytes2) => derived(bytes2, "rtf:v1", rtfText), "read")
|
|
30364
30364
|
};
|
|
30365
30365
|
|
|
30366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
30367
30367
|
import { basename as basename5 } from "node:path";
|
|
30368
30368
|
|
|
30369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
|
|
30370
30370
|
var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) => {
|
|
30371
30371
|
const cells = [];
|
|
30372
30372
|
let row = 1, column = 1, start = 0, quoted = false, truncated = false;
|
|
@@ -30404,7 +30404,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) =
|
|
|
30404
30404
|
return { cells, truncated };
|
|
30405
30405
|
}, "delimitedSpans");
|
|
30406
30406
|
|
|
30407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
30408
30408
|
var DELIMITED = {
|
|
30409
30409
|
".csv": ",",
|
|
30410
30410
|
".tsv": " ",
|
|
@@ -30443,7 +30443,7 @@ var sheets = {
|
|
|
30443
30443
|
}, "read")
|
|
30444
30444
|
};
|
|
30445
30445
|
|
|
30446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/readers/registry.js
|
|
30447
30447
|
var BUILT_INS2 = [office, pdf, docx, doc, rtf, html, sheets, plain, image2];
|
|
30448
30448
|
var HEAD_BYTES = 1024;
|
|
30449
30449
|
var readers = [...BUILT_INS2];
|
|
@@ -30453,7 +30453,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes2, hint, context2) =>
|
|
|
30453
30453
|
return reader ? reader.read(bytes2, hint, context2) : { status: "unsupported" };
|
|
30454
30454
|
}, "readWithRegistry");
|
|
30455
30455
|
|
|
30456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
30457
30457
|
var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
|
|
30458
30458
|
var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname3(name ?? path).toLowerCase(), "extensionOf");
|
|
30459
30459
|
var extractText = /* @__PURE__ */ __name(async (bytes2, hint, load, signal, env = process.env) => {
|
|
@@ -31532,7 +31532,7 @@ function imageSize(input) {
|
|
|
31532
31532
|
}
|
|
31533
31533
|
__name(imageSize, "imageSize");
|
|
31534
31534
|
|
|
31535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
|
|
31536
31536
|
var MAX_PAGES = 20;
|
|
31537
31537
|
var MAX_PIXELS = 2e7;
|
|
31538
31538
|
var cancelled2 = /* @__PURE__ */ __name((signal) => {
|
|
@@ -31683,7 +31683,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes2, pipeline2, load, signal) => {
|
|
|
31683
31683
|
}
|
|
31684
31684
|
}, "ocrPdf");
|
|
31685
31685
|
|
|
31686
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/pdf-preview.js
|
|
31687
31687
|
var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = importEngine, env = process.env) => {
|
|
31688
31688
|
const limits = pdfPreviewLimits(env);
|
|
31689
31689
|
const cancelled4 = /* @__PURE__ */ __name(() => {
|
|
@@ -31760,7 +31760,7 @@ var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = impo
|
|
|
31760
31760
|
}
|
|
31761
31761
|
}, "pdfPreview");
|
|
31762
31762
|
|
|
31763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/attachments/transfer.js
|
|
31764
31764
|
import { createHash as createHash8 } from "node:crypto";
|
|
31765
31765
|
import { constants } from "node:fs";
|
|
31766
31766
|
import { lstat as lstat3, open as open5 } from "node:fs/promises";
|
|
@@ -31868,7 +31868,7 @@ var transferMime = /* @__PURE__ */ __name((head, hint, name = null) => {
|
|
|
31868
31868
|
return hint !== null && /^[a-z0-9.+-]+\/[a-z0-9.+-]+$/i.test(hint) ? hint : "application/octet-stream";
|
|
31869
31869
|
}, "transferMime");
|
|
31870
31870
|
|
|
31871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
31872
31872
|
import { createWriteStream, mkdirSync } from "node:fs";
|
|
31873
31873
|
import { link as link3, rm } from "node:fs/promises";
|
|
31874
31874
|
import { join as join10, resolve as resolve6 } from "node:path";
|
|
@@ -31982,7 +31982,7 @@ var save = /* @__PURE__ */ __name(async (file2, directory2, fallbackName, { uniq
|
|
|
31982
31982
|
}
|
|
31983
31983
|
}, "save");
|
|
31984
31984
|
|
|
31985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
31986
31986
|
var ATTACHMENT_QUERY = {
|
|
31987
31987
|
entity: "attachment",
|
|
31988
31988
|
backend: "sql",
|
|
@@ -32405,7 +32405,7 @@ var attachmentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
32405
32405
|
}, "setText")
|
|
32406
32406
|
}), "attachmentsService");
|
|
32407
32407
|
|
|
32408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/chat-documents.js
|
|
32409
32409
|
var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
32410
32410
|
list: /* @__PURE__ */ __name(async (chat, { limit, offset, ref }) => {
|
|
32411
32411
|
const store = await accountStore(deps);
|
|
@@ -32435,7 +32435,7 @@ var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
32435
32435
|
}, "list")
|
|
32436
32436
|
}), "chatDocumentsService");
|
|
32437
32437
|
|
|
32438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/retention.js
|
|
32439
32439
|
var observationDuration = /* @__PURE__ */ __name((text2, flag) => {
|
|
32440
32440
|
const match = /^(\d+(?:\.\d+)?)([smhdw])$/.exec(text2);
|
|
32441
32441
|
const units2 = { s: 1e3, m: 6e4, h: 36e5, d: 864e5, w: 6048e5 };
|
|
@@ -32522,7 +32522,7 @@ var isRetentionSelection = /* @__PURE__ */ __name((selection) => {
|
|
|
32522
32522
|
}
|
|
32523
32523
|
}, "isRetentionSelection");
|
|
32524
32524
|
|
|
32525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/counters.js
|
|
32526
32526
|
var counterFields = /* @__PURE__ */ __name((text2 = "views,reactions,comments") => {
|
|
32527
32527
|
const fields = text2.split(",").map((one2) => one2.trim());
|
|
32528
32528
|
if (!fields.length || fields.some((one2) => !COUNTER_FIELDS.includes(one2)) || new Set(fields).size !== fields.length)
|
|
@@ -32729,7 +32729,7 @@ var countersService = /* @__PURE__ */ __name((deps) => {
|
|
|
32729
32729
|
};
|
|
32730
32730
|
}, "countersService");
|
|
32731
32731
|
|
|
32732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/search-refresh.js
|
|
32733
32733
|
var SYNC_KEY = "messages.sync-first";
|
|
32734
32734
|
var SYNC_BOUNDS = { maxChats: 5, timeMs: 3e4, maxMessages: 500 };
|
|
32735
32735
|
var keyOf2 = /* @__PURE__ */ __name((chat) => JSON.stringify([chat.account.provider, chat.account.account, chat.chatId]), "keyOf");
|
|
@@ -32861,7 +32861,7 @@ var withRefresh = /* @__PURE__ */ __name((found, refreshed) => ({
|
|
|
32861
32861
|
...!refreshed || refreshed.complete ? {} : { coverage: { ...found.coverage, state: "stale" } }
|
|
32862
32862
|
}), "withRefresh");
|
|
32863
32863
|
|
|
32864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/embeddings-search.js
|
|
32865
32865
|
var CANDIDATES = 50;
|
|
32866
32866
|
var WORD_HITS = 200;
|
|
32867
32867
|
var RRF_K = 60;
|
|
@@ -33136,13 +33136,13 @@ var meanOf = /* @__PURE__ */ __name((vectors) => {
|
|
|
33136
33136
|
return mean2.map((value) => value / length);
|
|
33137
33137
|
}, "meanOf");
|
|
33138
33138
|
|
|
33139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/embeddings.js
|
|
33140
33140
|
var embeddingsService = /* @__PURE__ */ __name((deps) => ({
|
|
33141
33141
|
...embeddingsMaintenance(deps),
|
|
33142
33142
|
...embeddingsSearch(deps)
|
|
33143
33143
|
}), "embeddingsService");
|
|
33144
33144
|
|
|
33145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/folders.js
|
|
33146
33146
|
var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
33147
33147
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
33148
33148
|
if (deps.offline)
|
|
@@ -33283,7 +33283,7 @@ var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
|
33283
33283
|
};
|
|
33284
33284
|
}, "foldersService");
|
|
33285
33285
|
|
|
33286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/mentions.js
|
|
33287
33287
|
var REVIEW_COUNT = 500;
|
|
33288
33288
|
var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
33289
33289
|
const located = /* @__PURE__ */ __name(async () => {
|
|
@@ -33362,7 +33362,7 @@ var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
|
33362
33362
|
};
|
|
33363
33363
|
}, "mentionsService");
|
|
33364
33364
|
|
|
33365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
33366
33366
|
var invalid3 = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
33367
33367
|
var validateFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
33368
33368
|
const { text: text2, spans } = formatted2;
|
|
@@ -33422,7 +33422,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
|
33422
33422
|
};
|
|
33423
33423
|
}, "visibleFormattedText");
|
|
33424
33424
|
|
|
33425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/message-link.js
|
|
33426
33426
|
var fileLinks = /* @__PURE__ */ __name((attachments) => hitFiles(attachments).map(({ position, kind, name }) => ({
|
|
33427
33427
|
position,
|
|
33428
33428
|
kind,
|
|
@@ -33471,7 +33471,7 @@ var validatePermalink = /* @__PURE__ */ __name((link4) => {
|
|
|
33471
33471
|
return { url: link4.url, access: link4.access, reason: link4.reason };
|
|
33472
33472
|
}, "validatePermalink");
|
|
33473
33473
|
|
|
33474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/pin-duration.js
|
|
33475
33475
|
var spokenSeconds = /* @__PURE__ */ __name((seconds) => {
|
|
33476
33476
|
if (seconds % 86400 === 0 && seconds > 86400)
|
|
33477
33477
|
return `${seconds / 86400}d`;
|
|
@@ -33503,7 +33503,7 @@ var pinDurationOf = /* @__PURE__ */ __name((value, allowed, flag = "--expire-tim
|
|
|
33503
33503
|
return seconds;
|
|
33504
33504
|
}, "pinDurationOf");
|
|
33505
33505
|
|
|
33506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/send-as.js
|
|
33507
33507
|
var sendAsCheck = /* @__PURE__ */ __name((connection, sendAs) => {
|
|
33508
33508
|
if (sendAs === void 0) {
|
|
33509
33509
|
const saved = connection.savedSender?.bind(connection);
|
|
@@ -33528,7 +33528,7 @@ var typedSendAs = /* @__PURE__ */ __name((typed) => {
|
|
|
33528
33528
|
return sendAs;
|
|
33529
33529
|
}, "typedSendAs");
|
|
33530
33530
|
|
|
33531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/search/total.js
|
|
33532
33532
|
var TOTAL_CAP = 1e4;
|
|
33533
33533
|
var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
33534
33534
|
const least = shown + (hasMore ? 1 : 0);
|
|
@@ -33539,7 +33539,7 @@ var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
|
33539
33539
|
return { value: count4, relation: exact ? "eq" : "gte" };
|
|
33540
33540
|
}, "totalOf");
|
|
33541
33541
|
|
|
33542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
|
|
33543
33543
|
var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
|
|
33544
33544
|
var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
|
|
33545
33545
|
let narrows = false;
|
|
@@ -33568,7 +33568,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
|
|
|
33568
33568
|
return wanted(root).join(" ").trim();
|
|
33569
33569
|
}, "meaningWords");
|
|
33570
33570
|
|
|
33571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
33572
33572
|
var words2 = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
33573
33573
|
var scaffolding = new Set(words2("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
|
|
33574
33574
|
var questionWord = /\b(?:what|which|how|who|where|when|can|could|should)\b|(?:^|\s)(?:сколько|какой|какая|какие|какое|кто|кому|кем|где|когда|как|что|можно|может|могут|ли)(?:\s|$)/iu;
|
|
@@ -33700,7 +33700,7 @@ var questionLookup = /* @__PURE__ */ __name((text2) => {
|
|
|
33700
33700
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
33701
33701
|
}, "questionLookup");
|
|
33702
33702
|
|
|
33703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/messages-combined.js
|
|
33704
33704
|
var COMBINED_DEFAULTS = { candidateDepth: 300, rrfK: 60, rerank: "all", chatCap: 0 };
|
|
33705
33705
|
var tokensOf = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}\p{Co}\p{M}]+/gu) ?? [], "tokensOf");
|
|
33706
33706
|
var searchCombined = /* @__PURE__ */ __name(async (store, account, request, messenger = {}, options = COMBINED_DEFAULTS) => {
|
|
@@ -33893,7 +33893,7 @@ var signals = /* @__PURE__ */ __name((hit, terms, corrections, execution, mode,
|
|
|
33893
33893
|
return mode === "coverage" ? coverage2 * 4 : mode === "proximity" ? proximity : mode === "phrase" ? phrase : coverage2 * 4 + proximity + phrase;
|
|
33894
33894
|
}, "signals");
|
|
33895
33895
|
|
|
33896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/messages-discovery.js
|
|
33897
33897
|
var MEANING_DEPTH = 100;
|
|
33898
33898
|
var RRF_K2 = 60;
|
|
33899
33899
|
var RERANK_DEPTH = 50;
|
|
@@ -34218,7 +34218,7 @@ var mixedWithReranker = /* @__PURE__ */ __name((head, scores) => {
|
|
|
34218
34218
|
})).sort((a, b) => b.mixed - a.mixed).map(({ hit }) => hit);
|
|
34219
34219
|
}, "mixedWithReranker");
|
|
34220
34220
|
|
|
34221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/thread-context.js
|
|
34222
34222
|
var THREAD_BOUNDS = { maxHops: 8, maxMessages: 50, maxBytes: 65536, withinMs: 864e5 };
|
|
34223
34223
|
var bytes = /* @__PURE__ */ __name((items, links) => Buffer.byteLength(JSON.stringify({ items, links }), "utf8"), "bytes");
|
|
34224
34224
|
var threadBounds = /* @__PURE__ */ __name((options = {}) => {
|
|
@@ -34417,7 +34417,7 @@ var readThreadContext = /* @__PURE__ */ __name(async (store, account, chat, mess
|
|
|
34417
34417
|
return result;
|
|
34418
34418
|
}, "readThreadContext");
|
|
34419
34419
|
|
|
34420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/messages-archive-search.js
|
|
34421
34421
|
var SEARCH_FILL_MS = 200;
|
|
34422
34422
|
var statsStore = /* @__PURE__ */ __name(async (store, account, request, messenger = {}) => {
|
|
34423
34423
|
const stop = Date.now() + SEARCH_FILL_MS;
|
|
@@ -34484,12 +34484,12 @@ var accountOf2 = /* @__PURE__ */ __name((hit) => {
|
|
|
34484
34484
|
}, "accountOf");
|
|
34485
34485
|
var keyOf3 = /* @__PURE__ */ __name(({ provider, account }) => `${provider}/${account}`, "keyOf");
|
|
34486
34486
|
|
|
34487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
34488
34488
|
import { createHash as createHash10 } from "node:crypto";
|
|
34489
34489
|
import { readFile as readFile2, stat as stat3 } from "node:fs/promises";
|
|
34490
34490
|
import { setTimeout as sleep4 } from "node:timers/promises";
|
|
34491
34491
|
|
|
34492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34492
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/models.js
|
|
34493
34493
|
var GROUP_SETTINGS = [
|
|
34494
34494
|
"allCanPin",
|
|
34495
34495
|
"onlyAdminsAdd",
|
|
@@ -34503,7 +34503,7 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
|
|
|
34503
34503
|
var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
|
|
34504
34504
|
var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
|
|
34505
34505
|
|
|
34506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
34507
34507
|
var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
|
|
34508
34508
|
var PICTURE_FLOOR = 0.25;
|
|
34509
34509
|
var PAGE4 = 50;
|
|
@@ -34520,7 +34520,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
|
|
|
34520
34520
|
const directory2 = imageModelsDirectory(deps.env);
|
|
34521
34521
|
if (!isImageModelInstalled(model2, directory2))
|
|
34522
34522
|
throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
|
|
34523
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
34523
|
+
const { openPictureEmbedder } = await import("./embedder-XUIOKCH6.js");
|
|
34524
34524
|
return openPictureEmbedder(model2, directory2);
|
|
34525
34525
|
}, "open");
|
|
34526
34526
|
const embedder = /* @__PURE__ */ __name(() => {
|
|
@@ -34717,7 +34717,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
|
|
|
34717
34717
|
}, "search")
|
|
34718
34718
|
}), "withPictures");
|
|
34719
34719
|
|
|
34720
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34720
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/messages-meaning.js
|
|
34721
34721
|
var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, shared, within) => {
|
|
34722
34722
|
const target2 = embeddingTarget(deps, DEFAULT_TEXT_MODEL);
|
|
34723
34723
|
const skipped = /* @__PURE__ */ __name((reason, step) => ({
|
|
@@ -34785,7 +34785,7 @@ var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, sh
|
|
|
34785
34785
|
}
|
|
34786
34786
|
}, "meaningLane");
|
|
34787
34787
|
|
|
34788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/messages-rerank.js
|
|
34789
34789
|
var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
34790
34790
|
const choice = deps.reranker ?? DEFAULT_RERANK_MODEL;
|
|
34791
34791
|
if (choice === "off")
|
|
@@ -34797,9 +34797,9 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
34797
34797
|
return { skipped: { reason: `${model.id} is not downloaded`, step: "models.download", model: model.id } };
|
|
34798
34798
|
try {
|
|
34799
34799
|
const warm = deps.embedders;
|
|
34800
|
-
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-
|
|
34800
|
+
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-373B2EBA.js")).openRerankerProcess(model, directory2, {
|
|
34801
34801
|
threads: defaultThreads()
|
|
34802
|
-
})) : await (await import("./rerank-
|
|
34802
|
+
})) : await (await import("./rerank-6HWHGDFX.js")).openReranker(model, directory2);
|
|
34803
34803
|
return {
|
|
34804
34804
|
model: model.id,
|
|
34805
34805
|
score: /* @__PURE__ */ __name((question, passages) => reranker.score(plainWords(question), passages), "score"),
|
|
@@ -34819,17 +34819,17 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
34819
34819
|
};
|
|
34820
34820
|
}, "rerankLane");
|
|
34821
34821
|
|
|
34822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
|
|
34823
34823
|
var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
|
|
34824
34824
|
const model = imageModel(DEFAULT_IMAGE_MODEL);
|
|
34825
34825
|
const directory2 = imageModelsDirectory(env);
|
|
34826
34826
|
if (!isImageModelInstalled(model, directory2))
|
|
34827
34827
|
throw new CliError("not_found", `the picture model is not downloaded \u2014 ${command === void 0 ? "install it with a WireCat CLI that has `images models download` (tg, max or wa); they share the model folder" : `\`${command} images models download ${model.id}\` fetches it`}`, { reason: "model.not-downloaded", model: model.id });
|
|
34828
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
34828
|
+
const { openPictureEmbedder } = await import("./embedder-XUIOKCH6.js");
|
|
34829
34829
|
return openPictureEmbedder(model, directory2);
|
|
34830
34830
|
}, "openPictureEmbedderFor");
|
|
34831
34831
|
|
|
34832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/document-source.js
|
|
34833
34833
|
var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) => {
|
|
34834
34834
|
const metadata = note2.frontMatter;
|
|
34835
34835
|
const account = accounts.find(({ id: id2 }) => String(id2) === note2.folderId);
|
|
@@ -34844,7 +34844,7 @@ var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) =
|
|
|
34844
34844
|
};
|
|
34845
34845
|
}, "documentSource");
|
|
34846
34846
|
|
|
34847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
|
|
34848
34848
|
var plainQueryWords = /* @__PURE__ */ __name((query) => {
|
|
34849
34849
|
let root;
|
|
34850
34850
|
try {
|
|
@@ -34871,7 +34871,7 @@ var titleTiers = /* @__PURE__ */ __name((hits, words3) => {
|
|
|
34871
34871
|
return [...hits].sort((a, b) => rank(a) - rank(b));
|
|
34872
34872
|
}, "titleTiers");
|
|
34873
34873
|
|
|
34874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/notes-search.js
|
|
34875
34875
|
var storeQuery = /* @__PURE__ */ __name(async (store, text2, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text2, exact), timezone), "storeQuery");
|
|
34876
34876
|
var parsedQuery = /* @__PURE__ */ __name((text2, exact) => validateFields(parseLucene(text2, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
|
|
34877
34877
|
var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
|
|
@@ -35314,7 +35314,7 @@ var searchNotesOf = /* @__PURE__ */ __name(async (store, account, text2, { accou
|
|
|
35314
35314
|
};
|
|
35315
35315
|
}, "searchNotesOf");
|
|
35316
35316
|
|
|
35317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/events-search.js
|
|
35318
35318
|
var MAX_EVENTS_OFFSET = 1e3;
|
|
35319
35319
|
var iso3 = /* @__PURE__ */ __name((at) => at === null ? null : new Date(at).toISOString(), "iso");
|
|
35320
35320
|
var accountIdsOf = /* @__PURE__ */ __name(async (store, accounts) => {
|
|
@@ -35431,7 +35431,7 @@ var searchEvents = /* @__PURE__ */ __name(async (store, query, { limit = 20, off
|
|
|
35431
35431
|
};
|
|
35432
35432
|
}, "searchEvents");
|
|
35433
35433
|
|
|
35434
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/search-all.js
|
|
35435
35435
|
var RESOURCES_SEARCHED = ["messages", "mail", "notes", "events"];
|
|
35436
35436
|
var skippable = /* @__PURE__ */ __name((error) => error instanceof CliError && (error.code === "validation_error" || error.code === "not_found"), "skippable");
|
|
35437
35437
|
var filtersBeside = /* @__PURE__ */ __name((text2) => {
|
|
@@ -35660,7 +35660,7 @@ var oneList = /* @__PURE__ */ __name((lists, cosines) => {
|
|
|
35660
35660
|
return [...place.values()].sort((a, b) => a.rank - b.rank || cosine(b.item.ref) - cosine(a.item.ref)).map(({ item: item2 }) => item2);
|
|
35661
35661
|
}, "oneList");
|
|
35662
35662
|
|
|
35663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/search-all-meetings.js
|
|
35664
35664
|
var RESOURCES_SEARCHED_WITH_MEETINGS = [...RESOURCES_SEARCHED, "meetings"];
|
|
35665
35665
|
var whole2 = /* @__PURE__ */ __name((value, minimum, maximum, label) => {
|
|
35666
35666
|
if (!Number.isSafeInteger(value) || value < minimum || value > maximum)
|
|
@@ -35913,7 +35913,7 @@ var searchAllOfSource = /* @__PURE__ */ __name(async (store, account, source, re
|
|
|
35913
35913
|
return { ...found, skipped: [...skipped, ...empty2, ...unnamed, ...found.skipped] };
|
|
35914
35914
|
}, "searchAllOfSource");
|
|
35915
35915
|
|
|
35916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35916
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/server-search.js
|
|
35917
35917
|
var SERVER_SEARCH_KEY = "messages.server-search";
|
|
35918
35918
|
var SERVER_BOUNDS = { timeMs: 5e3, perCall: 100, maxCalls: 3, textBytes: 262144 };
|
|
35919
35919
|
var DEFAULT_BACKEND = "both";
|
|
@@ -36102,7 +36102,7 @@ var searchServer = /* @__PURE__ */ __name(async (deps, request) => {
|
|
|
36102
36102
|
return { report, sources };
|
|
36103
36103
|
}, "searchServer");
|
|
36104
36104
|
|
|
36105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/messages.js
|
|
36106
36106
|
var DELETE_AT_ONCE = 10;
|
|
36107
36107
|
var filesOf = /* @__PURE__ */ __name(({ attachments }) => {
|
|
36108
36108
|
const files = fileLinks(attachments);
|
|
@@ -36543,7 +36543,7 @@ var checkMediaOptions = /* @__PURE__ */ __name((messenger, asked, attachments) =
|
|
|
36543
36543
|
throw new CliError("validation_error", `${MEDIA_FLAGS[first2]} needs a --photo or --file`);
|
|
36544
36544
|
}, "checkMediaOptions");
|
|
36545
36545
|
|
|
36546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/domain/channel-tags.js
|
|
36547
36547
|
var CHANNEL_TAG_RULES_VERSION = "keywords-v1";
|
|
36548
36548
|
var RULES = {
|
|
36549
36549
|
ai: [/\b(ai|gpt|llm|machine learning|artificial intelligence)\b/iu, /нейросет|искусственн/iu],
|
|
@@ -36558,7 +36558,7 @@ var classifyChannel = /* @__PURE__ */ __name((metadata) => Object.entries(RULES)
|
|
|
36558
36558
|
return fields.length ? [{ tag, score: fields.length / 3, fields }] : [];
|
|
36559
36559
|
}), "classifyChannel");
|
|
36560
36560
|
|
|
36561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/metadata.js
|
|
36562
36562
|
var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
36563
36563
|
const held = /* @__PURE__ */ __name(async (reference, { includeLeft = false } = {}) => {
|
|
36564
36564
|
const store = await deps.store();
|
|
@@ -36644,7 +36644,7 @@ var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
|
36644
36644
|
};
|
|
36645
36645
|
}, "metadataService");
|
|
36646
36646
|
|
|
36647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
36648
36648
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
36649
36649
|
var LINK2 = /https?:\/\/\S+/i;
|
|
36650
36650
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -36832,7 +36832,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
36832
36832
|
}, "nextPoint");
|
|
36833
36833
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
36834
36834
|
|
|
36835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
36836
36836
|
import { existsSync, readFileSync as readFileSync2 } from "node:fs";
|
|
36837
36837
|
import { join as join11 } from "node:path";
|
|
36838
36838
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -36975,7 +36975,7 @@ var assign = /* @__PURE__ */ __name((rules, key, value) => {
|
|
|
36975
36975
|
return { ...rules, [head]: { ...rules[head], [tail]: value } };
|
|
36976
36976
|
}, "assign");
|
|
36977
36977
|
|
|
36978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/moderation/run.js
|
|
36979
36979
|
var FIRST_LOOK_MS = 24 * 36e5;
|
|
36980
36980
|
var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
36981
36981
|
const { chatId, title, rules, point, since, dryRun } = run;
|
|
@@ -37012,7 +37012,7 @@ var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
|
37012
37012
|
return { chatId, rows, notes };
|
|
37013
37013
|
}, "moderateWith");
|
|
37014
37014
|
|
|
37015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/moderation.js
|
|
37016
37016
|
var moderationService = /* @__PURE__ */ __name((deps) => {
|
|
37017
37017
|
const file2 = /* @__PURE__ */ __name(() => new ModerationRules(moderationPathFor(deps.messenger.app, deps.profile ?? "default", deps.env ?? process.env)), "file");
|
|
37018
37018
|
const group = /* @__PURE__ */ __name(async (chat) => {
|
|
@@ -37090,7 +37090,7 @@ var moderatorOf = /* @__PURE__ */ __name((adapter, deps) => ({
|
|
|
37090
37090
|
}, "removePerson")
|
|
37091
37091
|
}), "moderatorOf");
|
|
37092
37092
|
|
|
37093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/private-people.js
|
|
37094
37094
|
var noteItem = /* @__PURE__ */ __name((provider, note2) => ({
|
|
37095
37095
|
id: note2.id,
|
|
37096
37096
|
contact: formatReference({ type: "contact", provider, id: note2.personId }),
|
|
@@ -37134,7 +37134,7 @@ var privatePeopleService = /* @__PURE__ */ __name((deps) => {
|
|
|
37134
37134
|
};
|
|
37135
37135
|
}, "privatePeopleService");
|
|
37136
37136
|
|
|
37137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/rankings.js
|
|
37138
37138
|
var empty = /* @__PURE__ */ __name(() => ({
|
|
37139
37139
|
total: 0,
|
|
37140
37140
|
population: 0,
|
|
@@ -37390,7 +37390,7 @@ var rankingsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
37390
37390
|
}, "evidence")
|
|
37391
37391
|
}), "rankingsService");
|
|
37392
37392
|
|
|
37393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/reply-stats.js
|
|
37394
37394
|
var FIELDS = ["date", "chat", "kind"];
|
|
37395
37395
|
var WAITING_TAIL = 100;
|
|
37396
37396
|
var plainOnly = /* @__PURE__ */ __name((text2, command) => {
|
|
@@ -37517,7 +37517,7 @@ var replyStatsService = /* @__PURE__ */ __name((deps) => {
|
|
|
37517
37517
|
};
|
|
37518
37518
|
}, "replyStatsService");
|
|
37519
37519
|
|
|
37520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/searches.js
|
|
37521
37521
|
var savedSearchItem = /* @__PURE__ */ __name((one2) => ({
|
|
37522
37522
|
id: one2.id,
|
|
37523
37523
|
name: one2.name,
|
|
@@ -37646,7 +37646,7 @@ var searchesService = /* @__PURE__ */ __name((deps) => {
|
|
|
37646
37646
|
};
|
|
37647
37647
|
}, "searchesService");
|
|
37648
37648
|
|
|
37649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/tags.js
|
|
37650
37650
|
var TAGGING_QUERY = {
|
|
37651
37651
|
entity: "tagging",
|
|
37652
37652
|
backend: "sql",
|
|
@@ -37730,7 +37730,7 @@ var tagsService = /* @__PURE__ */ __name((deps) => {
|
|
|
37730
37730
|
};
|
|
37731
37731
|
}, "tagsService");
|
|
37732
37732
|
|
|
37733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/topics.js
|
|
37734
37734
|
var actionOf = /* @__PURE__ */ __name(({ title, closed, pinned, hidden, icon }) => {
|
|
37735
37735
|
const set = [closed, pinned, hidden].filter((one2) => one2 !== void 0).length;
|
|
37736
37736
|
if (title !== void 0 || icon !== void 0 || set !== 1)
|
|
@@ -37929,7 +37929,7 @@ var topicsService = /* @__PURE__ */ __name((deps) => {
|
|
|
37929
37929
|
};
|
|
37930
37930
|
}, "topicsService");
|
|
37931
37931
|
|
|
37932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/evidence.js
|
|
37933
37933
|
import { createHash as createHash11, randomUUID as randomUUID5 } from "node:crypto";
|
|
37934
37934
|
var hash2 = /* @__PURE__ */ __name((value) => createHash11("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
37935
37935
|
var positive = /* @__PURE__ */ __name((value, name, minimum = 1) => {
|
|
@@ -38003,7 +38003,7 @@ var prepareEvidencePacket = /* @__PURE__ */ __name(({ kind, source, page, limits
|
|
|
38003
38003
|
return { ...content, id: randomUUID5(), fingerprint: hash2(content) };
|
|
38004
38004
|
}, "prepareEvidencePacket");
|
|
38005
38005
|
|
|
38006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/evidence-read.js
|
|
38007
38007
|
var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, limit, before: before2 }, messenger = {}) => {
|
|
38008
38008
|
if (!Number.isSafeInteger(limit) || limit < 1 || limit > 100)
|
|
38009
38009
|
throw new CliError("validation_error", "evidence message limit must be an integer from 1 to 100");
|
|
@@ -38023,7 +38023,7 @@ var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, l
|
|
|
38023
38023
|
return { ...packet, nextBeforeId: older && last ? last.id : null };
|
|
38024
38024
|
}, "readEvidencePacket");
|
|
38025
38025
|
|
|
38026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38026
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
38027
38027
|
var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
|
|
38028
38028
|
let before2 = Number.POSITIVE_INFINITY;
|
|
38029
38029
|
for (; ; ) {
|
|
@@ -38085,7 +38085,7 @@ var searchMeetingHits = /* @__PURE__ */ __name(async (store, query, request, opt
|
|
|
38085
38085
|
return { ...result, selection };
|
|
38086
38086
|
}, "searchMeetingHits");
|
|
38087
38087
|
|
|
38088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-project-discovery.js
|
|
38089
38089
|
import { createHash as createHash12 } from "node:crypto";
|
|
38090
38090
|
var scopeKeys = [
|
|
38091
38091
|
"accountId",
|
|
@@ -38220,7 +38220,7 @@ var readMeetingProjectDiscovery = /* @__PURE__ */ __name(async (ports, projectNa
|
|
|
38220
38220
|
};
|
|
38221
38221
|
}, "readMeetingProjectDiscovery");
|
|
38222
38222
|
|
|
38223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38223
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-hit-context.js
|
|
38224
38224
|
import { createHash as createHash13 } from "node:crypto";
|
|
38225
38225
|
var contextCue = /* @__PURE__ */ __name((cue) => ({
|
|
38226
38226
|
ref: cue.reference,
|
|
@@ -38338,7 +38338,7 @@ var readMeetingHitContext = /* @__PURE__ */ __name(async (store, accountId, refe
|
|
|
38338
38338
|
return { ...packet, fingerprint: createHash13("sha256").update(JSON.stringify(packet)).digest("hex") };
|
|
38339
38339
|
}, "readMeetingHitContext");
|
|
38340
38340
|
|
|
38341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38341
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-passage-format.js
|
|
38342
38342
|
var visible = /* @__PURE__ */ __name((text2) => text2.replace(/[\p{Cc}\p{Cf}]/gu, (value) => value === "\n" || value === " " ? value : `\\u{${value.codePointAt(0)?.toString(16)}}`), "visible");
|
|
38343
38343
|
var markdown = /* @__PURE__ */ __name((text2) => visible(text2).replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replace(/[\\`*_[\]#|~]/g, "\\$&"), "markdown");
|
|
38344
38344
|
var timestamp = /* @__PURE__ */ __name((ms) => {
|
|
@@ -38414,7 +38414,7 @@ var readMeetingPassage = /* @__PURE__ */ __name(async (store, accountId, referen
|
|
|
38414
38414
|
return { packet, content };
|
|
38415
38415
|
}, "readMeetingPassage");
|
|
38416
38416
|
|
|
38417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/context/communication-selection.js
|
|
38418
38418
|
var communicationFields = {
|
|
38419
38419
|
sources: pipe(array(strictObject({
|
|
38420
38420
|
id: pipe(string(), regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/)),
|
|
@@ -38446,7 +38446,7 @@ var communicationRequest = /* @__PURE__ */ __name((value, preparationAfter) => {
|
|
|
38446
38446
|
return { ...input, after, before: before2 };
|
|
38447
38447
|
}, "communicationRequest");
|
|
38448
38448
|
|
|
38449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-preparation-validation.js
|
|
38450
38450
|
var MEETING_PREPARATION_LIMITS = {
|
|
38451
38451
|
meetings: { min: 1, max: 20, default: 5 },
|
|
38452
38452
|
cues: { min: 1, max: 100, default: 10 },
|
|
@@ -38532,7 +38532,7 @@ var preparationRequest = /* @__PURE__ */ __name((accountId, externalId, original
|
|
|
38532
38532
|
return { ...input, history };
|
|
38533
38533
|
}, "preparationRequest");
|
|
38534
38534
|
|
|
38535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-communications-preparation.js
|
|
38536
38536
|
var readPreparationCommunications = /* @__PURE__ */ __name(async (plan, signal) => {
|
|
38537
38537
|
const section = {
|
|
38538
38538
|
readUsage: plan.reader.usage(),
|
|
@@ -38637,7 +38637,7 @@ var appendPreparationCommunications = /* @__PURE__ */ __name((result, read2) =>
|
|
|
38637
38637
|
result.knowledge.coverage.otherSources = "see-communications";
|
|
38638
38638
|
}, "appendPreparationCommunications");
|
|
38639
38639
|
|
|
38640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-communications-selection.js
|
|
38641
38641
|
var captureCommunicationSelections = /* @__PURE__ */ __name((port) => {
|
|
38642
38642
|
if (port === void 0)
|
|
38643
38643
|
return void 0;
|
|
@@ -38742,7 +38742,7 @@ var validatePreparationCommunications = /* @__PURE__ */ __name((section, request
|
|
|
38742
38742
|
}
|
|
38743
38743
|
}, "validatePreparationCommunications");
|
|
38744
38744
|
|
|
38745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-knowledge-preparation.js
|
|
38746
38746
|
var invalid5 = /* @__PURE__ */ __name(() => {
|
|
38747
38747
|
throw new CliError("invalid_response", "Preparation knowledge returned an invalid selection");
|
|
38748
38748
|
}, "invalid");
|
|
@@ -38811,7 +38811,7 @@ var appendKnowledgePreparation = /* @__PURE__ */ __name(async (store, result, in
|
|
|
38811
38811
|
}
|
|
38812
38812
|
}, "appendKnowledgePreparation");
|
|
38813
38813
|
|
|
38814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-notes-preparation.js
|
|
38815
38815
|
var invalid6 = /* @__PURE__ */ __name(() => {
|
|
38816
38816
|
throw new CliError("invalid_response", "Preparation notes returned an invalid selection");
|
|
38817
38817
|
}, "invalid");
|
|
@@ -38885,7 +38885,7 @@ var appendNotesPreparation = /* @__PURE__ */ __name(async (store, result, input)
|
|
|
38885
38885
|
}
|
|
38886
38886
|
}, "appendNotesPreparation");
|
|
38887
38887
|
|
|
38888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-project-preparation.js
|
|
38889
38889
|
var PAGE_LIMIT = 4;
|
|
38890
38890
|
var size2 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
38891
38891
|
var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, input) => {
|
|
@@ -38935,7 +38935,7 @@ var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, inpu
|
|
|
38935
38935
|
}
|
|
38936
38936
|
}, "appendProjectPreparation");
|
|
38937
38937
|
|
|
38938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-related-preparation.js
|
|
38939
38939
|
var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, input) => {
|
|
38940
38940
|
if (!result.series || !result.items.length || result.coverage.outputLimited)
|
|
38941
38941
|
return;
|
|
@@ -39007,7 +39007,7 @@ var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, inpu
|
|
|
39007
39007
|
}
|
|
39008
39008
|
}, "appendRelatedPreparation");
|
|
39009
39009
|
|
|
39010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/meeting-preparation.js
|
|
39011
39011
|
var size3 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
39012
39012
|
var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId, ports) => {
|
|
39013
39013
|
const fixed = snapshotMeetingScope(scope);
|
|
@@ -39145,7 +39145,7 @@ var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId,
|
|
|
39145
39145
|
};
|
|
39146
39146
|
}, "createMeetingPreparationService");
|
|
39147
39147
|
|
|
39148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/package-upgrade.js
|
|
39149
39149
|
var upgradePackage = /* @__PURE__ */ __name(async ({ current, command, packageName, check: check2 }, ports) => {
|
|
39150
39150
|
const installer = ports.installer();
|
|
39151
39151
|
const argv = updateCommand(installer, packageName);
|
|
@@ -39210,7 +39210,7 @@ var dayAfter = /* @__PURE__ */ __name((published) => {
|
|
|
39210
39210
|
return Number.isNaN(time) ? null : new Date(time + 24 * 60 * 60 * 1e3).toISOString();
|
|
39211
39211
|
}, "dayAfter");
|
|
39212
39212
|
|
|
39213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/services/index.js
|
|
39214
39214
|
var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
39215
39215
|
const pictures = picturesService(deps);
|
|
39216
39216
|
const base = {
|
|
@@ -39247,7 +39247,7 @@ var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
|
39247
39247
|
return deps.messenger.services ? { ...base, ...deps.messenger.services(base, deps) } : base;
|
|
39248
39248
|
}, "servicesFor");
|
|
39249
39249
|
|
|
39250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
39251
39251
|
import { createHash as createHash14 } from "node:crypto";
|
|
39252
39252
|
import { chmodSync, lstatSync, mkdirSync as mkdirSync3, rmSync } from "node:fs";
|
|
39253
39253
|
import { createConnection, createServer } from "node:net";
|
|
@@ -39395,7 +39395,7 @@ var serve = /* @__PURE__ */ __name(async (socket, request, stdin, signal, run) =
|
|
|
39395
39395
|
}
|
|
39396
39396
|
}, "serve");
|
|
39397
39397
|
|
|
39398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
39399
39399
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
39400
39400
|
close: /* @__PURE__ */ __name(async () => {
|
|
39401
39401
|
}, "close"),
|
|
@@ -39508,7 +39508,6 @@ export {
|
|
|
39508
39508
|
CONVERSATION_QUERY,
|
|
39509
39509
|
conversationItem,
|
|
39510
39510
|
BATCH_SIZE,
|
|
39511
|
-
conversationsService,
|
|
39512
39511
|
REFRESH_BOUNDS,
|
|
39513
39512
|
validateCatchUpBounds,
|
|
39514
39513
|
FETCHING,
|
|
@@ -39578,7 +39577,6 @@ export {
|
|
|
39578
39577
|
saveFiles,
|
|
39579
39578
|
ATTACHMENT_QUERY,
|
|
39580
39579
|
isRetentionSelection,
|
|
39581
|
-
embeddingsService,
|
|
39582
39580
|
REVIEW_DAYS,
|
|
39583
39581
|
UNANSWERED_HOURS,
|
|
39584
39582
|
reviewStart,
|