@wirecat/drive-cli 0.60.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-537I27Z4.js → all-profiles-H4L3Z5UM.js} +14 -14
- package/dist/bundle/{anthropic-X4NWVHDF.js → anthropic-PPGFISVP.js} +9 -9
- package/dist/bundle/{app-server-KSHJKKS7.js → app-server-YXVK2FUZ.js} +52 -52
- package/dist/bundle/{bun-WTBGGCUC.js → bun-DKZAL6ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-T7Y3JFFD.js → bun-sqlite-MTZY36QK.js} +8 -8
- package/dist/bundle/{chunk-VRW6ZDTH.js → chunk-2RJA4BQB.js} +19 -19
- package/dist/bundle/{chunk-VVCZS42A.js → chunk-3252WXOL.js} +1 -1
- package/dist/bundle/{chunk-3TQHIHZI.js → chunk-36CWGEVX.js} +2 -2
- package/dist/bundle/{chunk-AXWXQNTC.js → chunk-3I2D5TK2.js} +10 -10
- package/dist/bundle/{chunk-PDYHEWKG.js → chunk-3SJQNS72.js} +5 -5
- package/dist/bundle/{chunk-PPL5ASW2.js → chunk-3UPIJ7DW.js} +280 -280
- package/dist/bundle/{chunk-PETFPXLU.js → chunk-3WZH3WV3.js} +3 -3
- package/dist/bundle/{chunk-5XHLQZAG.js → chunk-5W56YMQS.js} +25 -25
- package/dist/bundle/{chunk-IXN7Y6JA.js → chunk-5W7D5H2R.js} +1 -1
- package/dist/bundle/{chunk-FZOCQQ66.js → chunk-67HS46KM.js} +12 -12
- package/dist/bundle/{chunk-HFGR33KD.js → chunk-6DN4VPA7.js} +25 -25
- package/dist/bundle/{chunk-HIP43OGZ.js → chunk-6IBM4Z3V.js} +1 -1
- package/dist/bundle/{chunk-V7QMHMR3.js → chunk-6SUGANRJ.js} +6 -6
- package/dist/bundle/{chunk-LQSRVQ3V.js → chunk-6Y2FWJZ4.js} +3 -3
- package/dist/bundle/{chunk-GVRS5AIH.js → chunk-73WSULMI.js} +2 -2
- package/dist/bundle/{chunk-ZPQS7XJA.js → chunk-AM4RIWOZ.js} +4 -4
- package/dist/bundle/{chunk-HCJG7ENG.js → chunk-AWN22PJK.js} +3 -3
- package/dist/bundle/{chunk-YDN2RH5S.js → chunk-BCWUDTYQ.js} +2 -2
- package/dist/bundle/{chunk-GD6TQ6U4.js → chunk-BF6TQMNB.js} +8 -8
- package/dist/bundle/chunk-BQMIDYBA.js +415 -0
- package/dist/bundle/{chunk-JQLIM6BH.js → chunk-BXR7BKM3.js} +1 -1
- package/dist/bundle/{chunk-MVNPE5FZ.js → chunk-CACYL36O.js} +8 -8
- package/dist/bundle/{chunk-246P2DCT.js → chunk-DCBFNBEB.js} +113 -51
- package/dist/bundle/{chunk-TXMTMEHW.js → chunk-DEPMQHXQ.js} +4 -4
- package/dist/bundle/{chunk-O37ESNAP.js → chunk-DXPOVLQC.js} +46 -28
- package/dist/bundle/{chunk-CKGHRWVR.js → chunk-E5EXJ2XS.js} +4 -4
- package/dist/bundle/{chunk-4CBZEAQ7.js → chunk-E6J5YH2N.js} +34 -34
- package/dist/bundle/{chunk-4XZXH2NM.js → chunk-ECEYAQGN.js} +2 -2
- package/dist/bundle/{chunk-XDIEQ2CE.js → chunk-EPCJUL6M.js} +3 -3
- package/dist/bundle/{chunk-EHAI773E.js → chunk-FE5JJXKA.js} +2 -2
- package/dist/bundle/{chunk-DQDKLZAK.js → chunk-HFM653T3.js} +49 -49
- package/dist/bundle/{chunk-UVYVIHEA.js → chunk-HGOYQUT7.js} +1 -1
- package/dist/bundle/{chunk-KEXTTZJM.js → chunk-I26VL4W7.js} +2 -2
- package/dist/bundle/{chunk-LJ77Y3TK.js → chunk-J4HQVHMN.js} +6 -5
- package/dist/bundle/{chunk-YGG7UA3C.js → chunk-J5UDQD5S.js} +5 -5
- package/dist/bundle/{chunk-73TTP6ET.js → chunk-JVBLXSAA.js} +141 -141
- package/dist/bundle/{chunk-N7S2UPF3.js → chunk-K7LS3NGM.js} +55 -55
- package/dist/bundle/{chunk-2AXA5SKP.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-IRZ7OF3F.js → chunk-LARQTWIL.js} +1 -1
- package/dist/bundle/{chunk-QIJWSKZL.js → chunk-N2RLJTIW.js} +4 -4
- package/dist/bundle/{chunk-HQVIK6PM.js → chunk-NIX2MWHZ.js} +242 -362
- package/dist/bundle/{chunk-4VHBDVY2.js → chunk-NZ2EIZLX.js} +14 -10
- package/dist/bundle/{chunk-SZXI4OXX.js → chunk-O5CUFS7T.js} +2 -2
- package/dist/bundle/{chunk-FO4TCH6P.js → chunk-OFFA54TW.js} +2 -2
- package/dist/bundle/{chunk-W62CON5K.js → chunk-OGNOQDWB.js} +4 -4
- package/dist/bundle/{chunk-OYNUBWD2.js → chunk-OLPJRD4S.js} +1 -1
- package/dist/bundle/{chunk-67QXMO2G.js → chunk-PJTX2MOI.js} +26 -26
- package/dist/bundle/{chunk-MXP35VPO.js → chunk-PY7LKNOS.js} +2 -2
- package/dist/bundle/{chunk-FTZNUZO7.js → chunk-Q4XVBKX4.js} +3 -3
- package/dist/bundle/{chunk-5AMRCBMP.js → chunk-QR5VQXQ5.js} +26 -26
- package/dist/bundle/{chunk-S36HRPNS.js → chunk-QSGT4ZH4.js} +1 -1
- package/dist/bundle/{chunk-57QVQGBE.js → chunk-RFRCOAWS.js} +22 -22
- package/dist/bundle/{chunk-DMHGWL5D.js → chunk-S4YK6TTG.js} +13 -13
- package/dist/bundle/{chunk-UVLSWLPZ.js → chunk-TKGAYKXW.js} +16 -16
- package/dist/bundle/{chunk-SBHSNOU4.js → chunk-UKOYQC5O.js} +19 -18
- package/dist/bundle/{chunk-XFXRGQXJ.js → chunk-UO2IUDVK.js} +2 -2
- package/dist/bundle/{chunk-UTFATA4K.js → chunk-VPDAH7PJ.js} +1 -1
- package/dist/bundle/{chunk-TKW4QWCY.js → chunk-VYXVPYA3.js} +12 -6
- package/dist/bundle/{chunk-YYHKVOVK.js → chunk-W767AUNR.js} +4 -4
- package/dist/bundle/{chunk-73MNUSP3.js → chunk-WIU733D2.js} +1 -1
- package/dist/bundle/{chunk-UNJE63JK.js → chunk-WUP2MJDN.js} +2 -2
- package/dist/bundle/{chunk-EBLA7GXY.js → chunk-WZ5XK74U.js} +2 -1
- package/dist/bundle/{chunk-77C5XRH3.js → chunk-X2CXW4HM.js} +7 -7
- package/dist/bundle/{chunk-D6WIWOQC.js → chunk-XGMDWIUP.js} +4 -4
- package/dist/bundle/{chunk-K6XVRA6U.js → chunk-XGNC5OJG.js} +1 -1
- package/dist/bundle/{chunk-ALWTUDZF.js → chunk-XLFJLZJL.js} +4 -4
- package/dist/bundle/{chunk-JGUJJNGZ.js → chunk-XYCCGGKN.js} +242 -242
- package/dist/bundle/{chunk-TVQDMP2F.js → chunk-XZBR2O63.js} +271 -271
- package/dist/bundle/{chunk-OMKUBCNN.js → chunk-YMBFZA3H.js} +8 -8
- package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-6HTKB4WC.js → chunk-YWIU4HOT.js} +1 -1
- package/dist/bundle/{chunk-V2VMBM7O.js → chunk-ZHYRHERD.js} +2 -2
- package/dist/bundle/{chunk-22ATLSNK.js → chunk-ZMNYK3FC.js} +5 -5
- package/dist/bundle/command-contract-T3EO5AYD.js +39 -0
- package/dist/bundle/{decode-35N57AFW.js → decode-62A3HGPW.js} +8 -8
- package/dist/bundle/{dispatch-CWXZW3PL.js → dispatch-IE7PBEQC.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-3P3QZWMU.js → echarts-BGBPRGR5.js} +2 -2
- package/dist/bundle/{embed-Q6Q5IOJQ.js → embed-J3IBVV2V.js} +9 -9
- package/dist/bundle/{embedder-D44JDTAA.js → embedder-QFPMDRT2.js} +12 -12
- package/dist/bundle/entry-YQSYER66.js +22 -0
- package/dist/bundle/{failure-GRMMSDCZ.js → failure-BKOGBMIC.js} +4 -4
- package/dist/bundle/first-run-ZIFPVZAI.js +30 -0
- package/dist/bundle/first-screen-L5U26EY7.js +37 -0
- package/dist/bundle/{google-6ZZDKFBN.js → google-RXM2XEPD.js} +13 -13
- package/dist/bundle/{google-api-E6MOJ4ZD.js → google-api-NC65BZO4.js} +83 -64
- package/dist/bundle/grants-SEWUYYH3.js +105 -0
- package/dist/bundle/{identity-TID7S5NE.js → identity-PI6F2GWA.js} +6 -6
- package/dist/bundle/{instructions-ANJN4HV3.js → instructions-6LPDSKAD.js} +1 -1
- package/dist/bundle/{login-BGMK2ABH.js → login-HTY7GT2S.js} +64 -64
- package/dist/bundle/{mcp-WBHKX5E3.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{node-VOB45ES2.js → node-IB246NCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-TSX6XQY2.js → node-sqlite-G2Y5SFJM.js} +9 -9
- package/dist/bundle/oauth-MWBKBI4T.js +22 -0
- package/dist/bundle/{open-3USWHGNR.js → open-WD4GFSJD.js} +8 -8
- package/dist/bundle/{openai-YZ5VGPIP.js → openai-QVM4PMY7.js} +17 -17
- package/dist/bundle/{process-44JS2W7L.js → process-SWPJGPQC.js} +1 -1
- package/dist/bundle/{program-TZLAFKJV.js → program-WHYFAMXR.js} +117 -98
- package/dist/bundle/prompt-OVYCGZB7.js +17 -0
- package/dist/bundle/{reasons-ZK3U3CIN.js → reasons-Q34DQWB6.js} +5 -5
- package/dist/bundle/{recognize-OFW7HWTM.js → recognize-DM3YWHSE.js} +7 -7
- package/dist/bundle/{remote-YBDRZQZ5.js → remote-KXVWRK7J.js} +10 -10
- package/dist/bundle/{rerank-TQQNS5FJ.js → rerank-TINXM3MY.js} +10 -10
- package/dist/bundle/{serve-OPZXMVLH.js → serve-IY2WL656.js} +12 -12
- package/dist/bundle/server-EMWVVT2C.js +70 -0
- package/dist/bundle/{server-2D6DDIK5.js → server-VPY3OWPC.js} +44 -44
- package/dist/bundle/{services-34WKT3NN.js → services-PXNBOCOC.js} +32 -32
- package/dist/bundle/{sqlite-runtime-WPUMKLUV.js → sqlite-runtime-5ZK2CV7Y.js} +9 -9
- package/dist/bundle/{start-ZXUJZ4JV.js → start-LDVCN3DK.js} +7 -7
- package/dist/bundle/{state-AV2RB3AQ.js → state-3MKTT3VS.js} +9 -9
- package/dist/bundle/{store-3M7N2Q5T.js → store-4VQOT5IJ.js} +18 -18
- package/dist/bundle/{store-YKV4GAMS.js → store-7M4MSUJV.js} +20 -20
- package/dist/bundle/store-maintenance-command-NRATYBWD.js +60 -0
- package/dist/bundle/tokens-XUKLM3SL.js +103 -0
- package/dist/commands/config.js +1 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +10 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +16 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +11 -17
- package/dist/config.js.map +1 -1
- package/dist/download.d.ts +3 -2
- package/dist/download.d.ts.map +1 -1
- package/dist/download.js +21 -9
- package/dist/download.js.map +1 -1
- package/dist/google-api.d.ts +3 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +27 -7
- package/dist/google-api.js.map +1 -1
- package/dist/login.js +1 -1
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +6 -6
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-77YTRBL6.js +0 -249
- package/dist/bundle/command-contract-NUIWUVYB.js +0 -39
- package/dist/bundle/entry-ZHCNI7XO.js +0 -22
- package/dist/bundle/first-run-3DC2SDWM.js +0 -30
- package/dist/bundle/first-screen-YJF4YODC.js +0 -37
- package/dist/bundle/grants-GWXDH5GM.js +0 -105
- package/dist/bundle/oauth-CEOYXW6C.js +0 -22
- package/dist/bundle/prompt-SG7LAOXW.js +0 -17
- package/dist/bundle/server-R6G2O772.js +0 -70
- package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +0 -60
- package/dist/bundle/tokens-F63RXXEF.js +0 -103
- package/dist/oauth-application.d.ts +0 -5
- package/dist/oauth-application.d.ts.map +0 -1
- package/dist/oauth-application.js +0 -9
- package/dist/oauth-application.js.map +0 -1
- /package/dist/bundle/{chunk-LK2E2ELG.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
engineMissing,
|
|
8
8
|
extractText,
|
|
9
9
|
importEngine
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PJTX2MOI.js";
|
|
11
11
|
import {
|
|
12
12
|
acquireLock,
|
|
13
13
|
openOrdinaryFile,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
sameOrdinaryFile,
|
|
17
17
|
syncDirectory,
|
|
18
18
|
writeFileAtomic
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-S4YK6TTG.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_IMAGE_MODEL,
|
|
22
22
|
DEFAULT_RERANK_MODEL,
|
|
@@ -45,23 +45,23 @@ import {
|
|
|
45
45
|
typedCommand,
|
|
46
46
|
vectorModelKey,
|
|
47
47
|
withAttempt
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-6DN4VPA7.js";
|
|
49
49
|
import {
|
|
50
50
|
isCliFailure
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-BCWUDTYQ.js";
|
|
52
52
|
import {
|
|
53
53
|
isNewer,
|
|
54
54
|
updateCommand
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-E5EXJ2XS.js";
|
|
56
56
|
import {
|
|
57
57
|
MAX_MODEL_IMAGE_BYTES
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-FE5JJXKA.js";
|
|
59
59
|
import {
|
|
60
60
|
OPENAI_URL,
|
|
61
61
|
openRemote,
|
|
62
62
|
remoteKey,
|
|
63
63
|
remoteModel
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-3WZH3WV3.js";
|
|
65
65
|
import {
|
|
66
66
|
defaultThreads,
|
|
67
67
|
installNativeRuntime,
|
|
@@ -70,11 +70,11 @@ import {
|
|
|
70
70
|
placedText,
|
|
71
71
|
runEmbedders,
|
|
72
72
|
textModelsDirectory
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-J5UDQD5S.js";
|
|
74
74
|
import {
|
|
75
75
|
installFiles,
|
|
76
76
|
megabytes
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-XLFJLZJL.js";
|
|
78
78
|
import {
|
|
79
79
|
AGENDA_COLUMNS,
|
|
80
80
|
CHAT_COLUMNS,
|
|
@@ -167,12 +167,12 @@ import {
|
|
|
167
167
|
validateAst,
|
|
168
168
|
validateFields,
|
|
169
169
|
withoutField
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-3UPIJ7DW.js";
|
|
171
171
|
import {
|
|
172
172
|
MAX_TEXT_CHARS,
|
|
173
173
|
attachmentMaxBytes,
|
|
174
174
|
pdfPreviewLimits
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-WUP2MJDN.js";
|
|
176
176
|
import {
|
|
177
177
|
MEETING_FINDINGS_KIND,
|
|
178
178
|
TASK_KINDS,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
validateMeetingHitSearch,
|
|
198
198
|
validateMeetingPassage,
|
|
199
199
|
validateMeetingSeriesHistory
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-K7LS3NGM.js";
|
|
201
201
|
import {
|
|
202
202
|
OPERATORS_BY_TYPE,
|
|
203
203
|
dateRange,
|
|
@@ -208,29 +208,29 @@ import {
|
|
|
208
208
|
timezoneOf,
|
|
209
209
|
validateQuery,
|
|
210
210
|
walkQuery
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-NZ2EIZLX.js";
|
|
212
212
|
import {
|
|
213
213
|
DEFAULT_STEMMERS,
|
|
214
214
|
createStemmer,
|
|
215
215
|
fold,
|
|
216
216
|
normalize
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-CACYL36O.js";
|
|
218
218
|
import {
|
|
219
219
|
DEFAULT_TASK_CATEGORIES,
|
|
220
220
|
FALLBACK_CATEGORY
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-X2CXW4HM.js";
|
|
222
222
|
import {
|
|
223
223
|
storePath,
|
|
224
224
|
wirecatDirectory
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-I26VL4W7.js";
|
|
226
226
|
import {
|
|
227
227
|
resolvePaths,
|
|
228
228
|
writeSecurely
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-DCBFNBEB.js";
|
|
230
230
|
import {
|
|
231
231
|
singleLine,
|
|
232
232
|
visibleControls
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-6IBM4Z3V.js";
|
|
234
234
|
import {
|
|
235
235
|
array,
|
|
236
236
|
getDotPath,
|
|
@@ -251,16 +251,16 @@ import {
|
|
|
251
251
|
string,
|
|
252
252
|
transform,
|
|
253
253
|
unknown
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-VYXVPYA3.js";
|
|
255
255
|
import {
|
|
256
256
|
CliError,
|
|
257
257
|
isCliError
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-WZ5XK74U.js";
|
|
259
259
|
import {
|
|
260
260
|
__name
|
|
261
261
|
} from "./chunk-ZVVMGPBJ.js";
|
|
262
262
|
|
|
263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
264
264
|
var TAKES = {
|
|
265
265
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
266
266
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -320,7 +320,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
320
320
|
throw wrongAccount(reference, scope, profiles);
|
|
321
321
|
}, "ensureAccount");
|
|
322
322
|
|
|
323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
323
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
324
324
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
325
325
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
|
|
326
326
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -365,7 +365,7 @@ ${lines}`, { candidates });
|
|
|
365
365
|
}, "ambiguous");
|
|
366
366
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
367
367
|
|
|
368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
368
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/deps.js
|
|
369
369
|
var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
|
|
370
370
|
var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
|
|
371
371
|
var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
|
|
@@ -442,7 +442,7 @@ var storeOnlyDeps = /* @__PURE__ */ __name((store, account2, { app, env }) => {
|
|
|
442
442
|
return { ...storedDeps(messenger, store, account2, guard), ...env === void 0 ? {} : { env } };
|
|
443
443
|
}, "storeOnlyDeps");
|
|
444
444
|
|
|
445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
445
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/botcheck/check.js
|
|
446
446
|
var DAY_MS = 864e5;
|
|
447
447
|
var NEW_DAYS = 30;
|
|
448
448
|
var SAME_TEXT_MIN = 20;
|
|
@@ -519,7 +519,7 @@ var scorePerson = /* @__PURE__ */ __name(({ subject, provider, activity, photos,
|
|
|
519
519
|
};
|
|
520
520
|
}, "scorePerson");
|
|
521
521
|
|
|
522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/botcheck/registries.js
|
|
523
523
|
var REGISTRIES = {
|
|
524
524
|
cas: { title: "Combot Anti-Spam (CAS)", docs: "https://cas.chat/api" },
|
|
525
525
|
lols: { title: "lols.bot", docs: "https://api.lols.bot/lols-bot.json" }
|
|
@@ -604,7 +604,7 @@ var notCovered = /* @__PURE__ */ __name((messenger, now = /* @__PURE__ */ new Da
|
|
|
604
604
|
detail: `lists Telegram accounts only, not ${messenger} ones`
|
|
605
605
|
})), "notCovered");
|
|
606
606
|
|
|
607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/botcheck/service.js
|
|
608
608
|
var ACTIVITY_MESSAGES = 1e3;
|
|
609
609
|
var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
610
610
|
const subjectOf = /* @__PURE__ */ __name(async (reference) => {
|
|
@@ -692,7 +692,7 @@ var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
|
692
692
|
};
|
|
693
693
|
}, "botCheckService");
|
|
694
694
|
|
|
695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mail/owed.js
|
|
696
696
|
var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
697
697
|
if (newest === null)
|
|
698
698
|
return null;
|
|
@@ -701,7 +701,7 @@ var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
|
701
701
|
return newest.addressed ? "owed" : null;
|
|
702
702
|
}, "mailTurn");
|
|
703
703
|
|
|
704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/agenda-mail.js
|
|
705
705
|
var absent = /* @__PURE__ */ __name((error) => {
|
|
706
706
|
if (error instanceof CliError && error.code === "not_found")
|
|
707
707
|
return void 0;
|
|
@@ -759,7 +759,7 @@ var mailActivity = /* @__PURE__ */ __name(async (store, account2, since, chats)
|
|
|
759
759
|
};
|
|
760
760
|
}, "mailActivity");
|
|
761
761
|
|
|
762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/chat-coverage.js
|
|
763
763
|
var chatCoverage = /* @__PURE__ */ __name(async (store, account2, chatIds) => {
|
|
764
764
|
const ids = [...new Set(chatIds)];
|
|
765
765
|
if (ids.length === 0)
|
|
@@ -785,7 +785,7 @@ var chatCoverage = /* @__PURE__ */ __name(async (store, account2, chatIds) => {
|
|
|
785
785
|
}));
|
|
786
786
|
}, "chatCoverage");
|
|
787
787
|
|
|
788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/thread.js
|
|
789
789
|
var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
790
790
|
if (value === void 0)
|
|
791
791
|
return void 0;
|
|
@@ -795,7 +795,7 @@ var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
|
795
795
|
return id2;
|
|
796
796
|
}, "threadIdOf");
|
|
797
797
|
|
|
798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/ports/messenger.js
|
|
799
799
|
var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
|
|
800
800
|
get: /* @__PURE__ */ __name((own, key) => {
|
|
801
801
|
if (key in own)
|
|
@@ -812,15 +812,15 @@ var capability = /* @__PURE__ */ __name((adapter, method, what) => {
|
|
|
812
812
|
return found.bind(adapter);
|
|
813
813
|
}, "capability");
|
|
814
814
|
|
|
815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/ports/traits.js
|
|
816
816
|
var syncsOneChat = /* @__PURE__ */ __name((messenger) => messenger.history !== "store" || messenger.historyOnDemand === true, "syncsOneChat");
|
|
817
817
|
|
|
818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/send-id.js
|
|
819
819
|
import { randomBytes } from "node:crypto";
|
|
820
820
|
var newSendId = /* @__PURE__ */ __name(() => randomBytes(8).readBigInt64BE().toString(), "newSendId");
|
|
821
821
|
var newOperationId = newSendId;
|
|
822
822
|
|
|
823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/questions.js
|
|
824
824
|
var LINKS = /https?:\/\/\S+/g;
|
|
825
825
|
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");
|
|
826
826
|
var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker = "others" }) => {
|
|
@@ -850,7 +850,7 @@ var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker
|
|
|
850
850
|
});
|
|
851
851
|
}, "questions");
|
|
852
852
|
|
|
853
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/chat-stats.js
|
|
854
854
|
var TOP_POSTS = 5;
|
|
855
855
|
var JOINS = /* @__PURE__ */ new Set(["join", "add"]);
|
|
856
856
|
var LEAVES = /* @__PURE__ */ new Set(["leave", "remove"]);
|
|
@@ -967,7 +967,7 @@ var median = /* @__PURE__ */ __name((values) => {
|
|
|
967
967
|
return Math.round(sorted.length % 2 === 0 ? ((sorted[middle - 1] ?? upper) + upper) / 2 : upper);
|
|
968
968
|
}, "median");
|
|
969
969
|
|
|
970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/member-history.js
|
|
971
971
|
var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
972
972
|
const events = [];
|
|
973
973
|
for (const stay of stays) {
|
|
@@ -999,7 +999,7 @@ var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
|
999
999
|
return events.filter(({ at }) => Date.parse(at) >= since).sort((a, b) => Date.parse(a.at) - Date.parse(b.at) || a.id.localeCompare(b.id));
|
|
1000
1000
|
}, "memberEvents");
|
|
1001
1001
|
|
|
1002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/members-audit.js
|
|
1003
1003
|
var AUDIT_PAGE = 200;
|
|
1004
1004
|
var AUDIT_BUDGET = 10;
|
|
1005
1005
|
var AUDIT_PAUSE_MS = 1e3;
|
|
@@ -1079,7 +1079,7 @@ var burstJoins = /* @__PURE__ */ __name((members) => {
|
|
|
1079
1079
|
return found;
|
|
1080
1080
|
}, "burstJoins");
|
|
1081
1081
|
|
|
1082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
|
|
1083
1083
|
var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account2) => {
|
|
1084
1084
|
if (deps.reads !== "store")
|
|
1085
1085
|
return keptChatId(deps.messenger, reference, store, account2);
|
|
@@ -1238,7 +1238,7 @@ var senderAmong = /* @__PURE__ */ __name(async (store, accounts, reference) => {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
}, "senderAmong");
|
|
1240
1240
|
|
|
1241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/chats.js
|
|
1242
1242
|
var EVENTS_DAYS = 7;
|
|
1243
1243
|
var TRACKED_DAYS = 30;
|
|
1244
1244
|
var STATS_PAGE = 1e3;
|
|
@@ -1533,7 +1533,7 @@ var storedMembers = /* @__PURE__ */ __name(async (store, chatId) => {
|
|
|
1533
1533
|
return members.length === 0 ? null : members;
|
|
1534
1534
|
}, "storedMembers");
|
|
1535
1535
|
|
|
1536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/task-categories.js
|
|
1537
1537
|
var names = /* @__PURE__ */ __name((categories) => categories.map(({ name }) => name).join(", "), "names");
|
|
1538
1538
|
var taskCategoryOf = /* @__PURE__ */ __name((categories = DEFAULT_TASK_CATEGORIES, flag = "--category") => (typed) => {
|
|
1539
1539
|
const name = typed.trim().toLowerCase();
|
|
@@ -1590,7 +1590,7 @@ var categorize = /* @__PURE__ */ __name((text2, categories = DEFAULT_TASK_CATEGO
|
|
|
1590
1590
|
return best.name;
|
|
1591
1591
|
}, "categorize");
|
|
1592
1592
|
|
|
1593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1593
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/task-rules.js
|
|
1594
1594
|
var taskAccount = /* @__PURE__ */ __name(({ provider, account: account2 }) => `${provider}:${account2}`, "taskAccount");
|
|
1595
1595
|
var RULES_IN = {
|
|
1596
1596
|
dialog: "all",
|
|
@@ -1796,7 +1796,7 @@ var applyTaskRulesToChats = /* @__PURE__ */ __name(async (store, account2, chatI
|
|
|
1796
1796
|
return passes;
|
|
1797
1797
|
}, "applyTaskRulesToChats");
|
|
1798
1798
|
|
|
1799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/task-tag-filters.js
|
|
1800
1800
|
var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
1801
1801
|
const tags = /* @__PURE__ */ new Map();
|
|
1802
1802
|
for (const node of query ? walkQuery(query.root) : [])
|
|
@@ -1805,7 +1805,7 @@ var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
|
1805
1805
|
return tags;
|
|
1806
1806
|
}, "taskTagFilters");
|
|
1807
1807
|
|
|
1808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/agenda.js
|
|
1809
1809
|
var DAY = 864e5;
|
|
1810
1810
|
var AGENDA_DEFAULTS = { unanswered: DAY, waiting: 7 * DAY };
|
|
1811
1811
|
var CLAIMS = ["none", "mine", "others", "any"];
|
|
@@ -2052,7 +2052,7 @@ var agendaItem = /* @__PURE__ */ __name((shown) => {
|
|
|
2052
2052
|
};
|
|
2053
2053
|
}, "agendaItem");
|
|
2054
2054
|
|
|
2055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/context/evidence-response.js
|
|
2056
2056
|
var contextSourceKey = /* @__PURE__ */ __name((source) => JSON.stringify([source.kind, source.accountId, source.provider, source.account]), "contextSourceKey");
|
|
2057
2057
|
var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
2058
2058
|
const fail3 = /* @__PURE__ */ __name(() => {
|
|
@@ -2116,7 +2116,7 @@ var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
}, "validateContextEvidencePage");
|
|
2118
2118
|
|
|
2119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/context/read-budget.js
|
|
2120
2120
|
var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
2121
2121
|
if (!limits || typeof limits !== "object" || Array.isArray(limits))
|
|
2122
2122
|
throw new CliError("validation_error", "limits needs a context read allowance");
|
|
@@ -2169,7 +2169,7 @@ var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
|
2169
2169
|
};
|
|
2170
2170
|
}, "contextReadBudget");
|
|
2171
2171
|
|
|
2172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/context-evidence.js
|
|
2173
2173
|
var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits) => {
|
|
2174
2174
|
if (!port || typeof port.read !== "function")
|
|
2175
2175
|
throw new CliError("configuration_error", "context evidence reader is unavailable");
|
|
@@ -2213,7 +2213,7 @@ var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits)
|
|
|
2213
2213
|
};
|
|
2214
2214
|
}, "createContextEvidenceReader");
|
|
2215
2215
|
|
|
2216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/excerpt.js
|
|
2217
2217
|
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");
|
|
2218
2218
|
var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options = {}) => {
|
|
2219
2219
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -2229,7 +2229,7 @@ var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options = {}) =
|
|
|
2229
2229
|
}, "excerpt");
|
|
2230
2230
|
var withExcerpt = /* @__PURE__ */ __name(({ matchedText, ...hit }, query) => ({ ...hit, excerpt: excerpt(matchedText ?? hit.text, query) }), "withExcerpt");
|
|
2231
2231
|
|
|
2232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/ingest.js
|
|
2233
2233
|
var emptyReceipt = /* @__PURE__ */ __name((dryRun) => ({
|
|
2234
2234
|
dryRun,
|
|
2235
2235
|
source: null,
|
|
@@ -2304,7 +2304,7 @@ var ingest = /* @__PURE__ */ __name(async (store, envelope, { account: account2,
|
|
|
2304
2304
|
return receipt;
|
|
2305
2305
|
}, "ingest");
|
|
2306
2306
|
|
|
2307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/link-scorers/shared.js
|
|
2308
2308
|
var escaped = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
2309
2309
|
var folded = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "folded");
|
|
2310
2310
|
var wholeWords = /* @__PURE__ */ __name((term) => new RegExp(`(?<![\\p{L}\\p{N}\\p{M}_])${escaped(normalizeVocabularyName(term))}(?![\\p{L}\\p{N}\\p{M}_])`, "u"), "wholeWords");
|
|
@@ -2343,7 +2343,7 @@ var identitiesIn = /* @__PURE__ */ __name(async (store, people, provider) => {
|
|
|
2343
2343
|
return found;
|
|
2344
2344
|
}, "identitiesIn");
|
|
2345
2345
|
|
|
2346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/link-scorers/alias-hits.js
|
|
2347
2347
|
var SEARCH_LIMIT = 500;
|
|
2348
2348
|
var aliasWeight = /* @__PURE__ */ __name((hits) => hits >= 10 ? 0.55 : hits >= 3 ? 0.35 : 0, "aliasWeight");
|
|
2349
2349
|
var aliasHits = {
|
|
@@ -2392,7 +2392,7 @@ var aliasHits = {
|
|
|
2392
2392
|
}, "candidates")
|
|
2393
2393
|
};
|
|
2394
2394
|
|
|
2395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-senders.js
|
|
2396
2396
|
var WEIGHT = 0.5;
|
|
2397
2397
|
var LARGE_GROUP_WEIGHT = 0.2;
|
|
2398
2398
|
var LARGE_GROUP = 30;
|
|
@@ -2444,7 +2444,7 @@ var chatSenders = {
|
|
|
2444
2444
|
}, "candidates")
|
|
2445
2445
|
};
|
|
2446
2446
|
|
|
2447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-title.js
|
|
2448
2448
|
var WEIGHT2 = 0.7;
|
|
2449
2449
|
var chatTitle = {
|
|
2450
2450
|
id: "chat-title",
|
|
@@ -2483,7 +2483,7 @@ var chatTitle = {
|
|
|
2483
2483
|
}, "candidates")
|
|
2484
2484
|
};
|
|
2485
2485
|
|
|
2486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/link-scorers/email-domain.js
|
|
2487
2487
|
var WEIGHT3 = 0.3;
|
|
2488
2488
|
var CONTACTS = 500;
|
|
2489
2489
|
var MOST_PAIRS = 200;
|
|
@@ -2544,7 +2544,7 @@ var emailDomain = {
|
|
|
2544
2544
|
}, "candidates")
|
|
2545
2545
|
};
|
|
2546
2546
|
|
|
2547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/link-scorers/mail-thread.js
|
|
2548
2548
|
var NAMED = 0.7;
|
|
2549
2549
|
var MEMBER_ONLY = 0.3;
|
|
2550
2550
|
var READ_LIMIT2 = 500;
|
|
@@ -2617,7 +2617,7 @@ var mailThread = {
|
|
|
2617
2617
|
}, "candidates")
|
|
2618
2618
|
};
|
|
2619
2619
|
|
|
2620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-chats.js
|
|
2621
2621
|
var WEIGHT4 = 0.5;
|
|
2622
2622
|
var memberChats = {
|
|
2623
2623
|
id: "member-chats",
|
|
@@ -2657,7 +2657,7 @@ var memberChats = {
|
|
|
2657
2657
|
}, "candidates")
|
|
2658
2658
|
};
|
|
2659
2659
|
|
|
2660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-dialog.js
|
|
2661
2661
|
var WEIGHT5 = 0.6;
|
|
2662
2662
|
var memberDialog = {
|
|
2663
2663
|
id: "member-dialog",
|
|
@@ -2691,7 +2691,7 @@ var memberDialog = {
|
|
|
2691
2691
|
}, "candidates")
|
|
2692
2692
|
};
|
|
2693
2693
|
|
|
2694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-purposes.js
|
|
2695
2695
|
var BUILT_IN_PURPOSES = ["work", "sales", "support", "other"];
|
|
2696
2696
|
var DEFAULT_PURPOSES = ["work"];
|
|
2697
2697
|
var LINK_PURPOSE = "work";
|
|
@@ -2721,7 +2721,7 @@ var purposeList = /* @__PURE__ */ __name((value, previous = []) => [
|
|
|
2721
2721
|
...value.split(",").map((one2) => one2.trim()).filter(Boolean)
|
|
2722
2722
|
], "purposeList");
|
|
2723
2723
|
|
|
2724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-gathering-around.js
|
|
2725
2725
|
var storedMessageNeighbours = /* @__PURE__ */ __name((messages) => ({
|
|
2726
2726
|
async around(ref, window2) {
|
|
2727
2727
|
const at = parseLocator(ref);
|
|
@@ -2817,7 +2817,7 @@ var storedNeighbours = /* @__PURE__ */ __name((store) => {
|
|
|
2817
2817
|
};
|
|
2818
2818
|
}, "storedNeighbours");
|
|
2819
2819
|
|
|
2820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-gathering-request.js
|
|
2821
2821
|
import { createHash } from "node:crypto";
|
|
2822
2822
|
var DAY2 = 864e5;
|
|
2823
2823
|
var MAX_TIME = 864e13;
|
|
@@ -3133,7 +3133,7 @@ var decodeCheckpoint = /* @__PURE__ */ __name((text2, plan) => {
|
|
|
3133
3133
|
return value;
|
|
3134
3134
|
}, "decodeCheckpoint");
|
|
3135
3135
|
|
|
3136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-gathering.js
|
|
3137
3137
|
var terminal = /* @__PURE__ */ new Set(["done", "unavailable", "failed"]);
|
|
3138
3138
|
var PAGE = 20;
|
|
3139
3139
|
var PEOPLE = 20;
|
|
@@ -3537,7 +3537,7 @@ var peopleOf = /* @__PURE__ */ __name((items, senderOf) => {
|
|
|
3537
3537
|
return [...byKey.values()].sort((a, b) => b.items - a.items || a.name.localeCompare(b.name));
|
|
3538
3538
|
}, "peopleOf");
|
|
3539
3539
|
|
|
3540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-matching.js
|
|
3541
3541
|
var normalizedText = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "normalizedText");
|
|
3542
3542
|
var termsOf = /* @__PURE__ */ __name((entry) => [
|
|
3543
3543
|
{ name: entry.name, kind: "canonical" },
|
|
@@ -3602,7 +3602,7 @@ var matchProjectCandidates = /* @__PURE__ */ __name((catalog, input) => matchVoc
|
|
|
3602
3602
|
omittedMatches: omitted
|
|
3603
3603
|
})), "matchProjectCandidates");
|
|
3604
3604
|
|
|
3605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-gathering-mentions.js
|
|
3606
3606
|
var KINDS = ["project", "tag", "topic"];
|
|
3607
3607
|
var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering, options = {}) => {
|
|
3608
3608
|
if (typeof vocabulary?.vocabulary !== "function")
|
|
@@ -3657,7 +3657,7 @@ var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering,
|
|
|
3657
3657
|
};
|
|
3658
3658
|
}, "findEvidenceMentions");
|
|
3659
3659
|
|
|
3660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/stored-project-gathering.js
|
|
3661
3661
|
var storedChatCount = /* @__PURE__ */ __name((store) => async (account2, chatId, { since, until }) => {
|
|
3662
3662
|
const window2 = { since: new Date(since).toISOString(), until: new Date(until - 1).toISOString() };
|
|
3663
3663
|
const [messages, newest, oldest] = await Promise.all([
|
|
@@ -3963,7 +3963,7 @@ var purposeHintOf = /* @__PURE__ */ __name((linked, rows, of) => {
|
|
|
3963
3963
|
return { chat: top.ref, relationship: link4.relationship, items, of };
|
|
3964
3964
|
}, "purposeHintOf");
|
|
3965
3965
|
|
|
3966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/link-scorers/scan.js
|
|
3967
3967
|
var SCORERS = [chatTitle, aliasHits, memberChats, memberDialog, chatSenders, mailThread];
|
|
3968
3968
|
var PERSON_SCORERS = [emailDomain];
|
|
3969
3969
|
var SCAN_BOT = { bot: "memo-scan", kind: "rule" };
|
|
@@ -4171,18 +4171,18 @@ var referenceOf = /* @__PURE__ */ __name((text2) => {
|
|
|
4171
4171
|
}, "referenceOf");
|
|
4172
4172
|
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");
|
|
4173
4173
|
|
|
4174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
4175
4175
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
4176
4176
|
|
|
4177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
4178
4178
|
import { lstat } from "node:fs/promises";
|
|
4179
4179
|
|
|
4180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
4181
4181
|
import { createHash as createHash3, randomUUID as randomUUID2 } from "node:crypto";
|
|
4182
4182
|
import { open as open2, rename as rename2, unlink as unlink2 } from "node:fs/promises";
|
|
4183
4183
|
import { join as join2 } from "node:path";
|
|
4184
4184
|
|
|
4185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-metadata.js
|
|
4186
4186
|
import { createHash as createHash2 } from "node:crypto";
|
|
4187
4187
|
var metadataLimit = 16384;
|
|
4188
4188
|
var partialIdentity = /* @__PURE__ */ __name((locator) => JSON.stringify([locator.provider, locator.account, locator.occurrenceId, locator.assetId]), "partialIdentity");
|
|
@@ -4242,7 +4242,7 @@ var readPartialMetadata = /* @__PURE__ */ __name(async (path, locator, maxBytes,
|
|
|
4242
4242
|
}
|
|
4243
4243
|
}, "readPartialMetadata");
|
|
4244
4244
|
|
|
4245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-writer.js
|
|
4246
4246
|
import { randomUUID } from "node:crypto";
|
|
4247
4247
|
import { open, rename, unlink } from "node:fs/promises";
|
|
4248
4248
|
import { join } from "node:path";
|
|
@@ -4334,7 +4334,7 @@ var partialWriter = /* @__PURE__ */ __name(async (input) => {
|
|
|
4334
4334
|
};
|
|
4335
4335
|
}, "partialWriter");
|
|
4336
4336
|
|
|
4337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
4338
4338
|
var NativeRecordingPartialStore = class {
|
|
4339
4339
|
static {
|
|
4340
4340
|
__name(this, "NativeRecordingPartialStore");
|
|
@@ -4441,12 +4441,12 @@ var NativeRecordingPartialStore = class {
|
|
|
4441
4441
|
}
|
|
4442
4442
|
};
|
|
4443
4443
|
|
|
4444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
4445
4445
|
import { createHash as createHash4 } from "node:crypto";
|
|
4446
4446
|
import { link } from "node:fs/promises";
|
|
4447
4447
|
import { basename, dirname, join as join4, resolve } from "node:path";
|
|
4448
4448
|
|
|
4449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-files.js
|
|
4450
4450
|
import { unlink as unlink3 } from "node:fs/promises";
|
|
4451
4451
|
var verifiedPublicationFile = /* @__PURE__ */ __name(async (path, expected2, signal, writable = false) => {
|
|
4452
4452
|
signal?.throwIfAborted();
|
|
@@ -4481,7 +4481,7 @@ var commitPublication = /* @__PURE__ */ __name(async (root, partialPath, finalPa
|
|
|
4481
4481
|
signal?.throwIfAborted();
|
|
4482
4482
|
}, "commitPublication");
|
|
4483
4483
|
|
|
4484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-journal.js
|
|
4485
4485
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
4486
4486
|
import { open as open3, rename as rename3, unlink as unlink4 } from "node:fs/promises";
|
|
4487
4487
|
import { join as join3 } from "node:path";
|
|
@@ -4554,7 +4554,7 @@ var writePublicationJournal = /* @__PURE__ */ __name(async (root, path, prefix,
|
|
|
4554
4554
|
}
|
|
4555
4555
|
}, "writePublicationJournal");
|
|
4556
4556
|
|
|
4557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
4558
4558
|
var NativeRecordingPublication = class {
|
|
4559
4559
|
static {
|
|
4560
4560
|
__name(this, "NativeRecordingPublication");
|
|
@@ -4627,7 +4627,7 @@ var NativeRecordingPublication = class {
|
|
|
4627
4627
|
}
|
|
4628
4628
|
};
|
|
4629
4629
|
|
|
4630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4630
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/media-archive-manifest.js
|
|
4631
4631
|
import { createHash as createHash5 } from "node:crypto";
|
|
4632
4632
|
import { readdir } from "node:fs/promises";
|
|
4633
4633
|
import { isAbsolute, join as join5, resolve as resolve2 } from "node:path";
|
|
@@ -4714,7 +4714,7 @@ var commitMediaEntry = /* @__PURE__ */ __name((root, one2, beforePublish) => wri
|
|
|
4714
4714
|
beforePublish
|
|
4715
4715
|
}), "commitMediaEntry");
|
|
4716
4716
|
|
|
4717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
4718
4718
|
var validator = '"media-completed-v1"';
|
|
4719
4719
|
var maximumFileBytes = 64 * 1024 * 1024 * 1024;
|
|
4720
4720
|
var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2, beforeWrite, signal, metadata = {}) => {
|
|
@@ -4815,7 +4815,7 @@ var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2
|
|
|
4815
4815
|
return entry;
|
|
4816
4816
|
}, "archiveMediaFile");
|
|
4817
4817
|
|
|
4818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/media-archive-locks.js
|
|
4819
4819
|
import { mkdir, realpath } from "node:fs/promises";
|
|
4820
4820
|
import { join as join6, resolve as resolve3 } from "node:path";
|
|
4821
4821
|
var archiveLocations = /* @__PURE__ */ __name(async (initial, signal) => {
|
|
@@ -4882,7 +4882,7 @@ var withMediaArchiveLocks = /* @__PURE__ */ __name(async (directory, signal, run
|
|
|
4882
4882
|
throw new CliError("validation_error", "archive locations changed during locking; run the command again");
|
|
4883
4883
|
}, "withMediaArchiveLocks");
|
|
4884
4884
|
|
|
4885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4885
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
4886
4886
|
var validateMediaSince = /* @__PURE__ */ __name((value, flag = "--since-time") => {
|
|
4887
4887
|
if (value === void 0)
|
|
4888
4888
|
return void 0;
|
|
@@ -5035,7 +5035,7 @@ var archiveMedia = /* @__PURE__ */ __name(async (ports, options) => {
|
|
|
5035
5035
|
}, { create: true });
|
|
5036
5036
|
}, "archiveMedia");
|
|
5037
5037
|
|
|
5038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/media-archive-move.js
|
|
5039
5039
|
import { realpath as realpath2, unlink as unlink5 } from "node:fs/promises";
|
|
5040
5040
|
import { basename as basename2, dirname as dirname2, join as join7, resolve as resolve4 } from "node:path";
|
|
5041
5041
|
var canonicalDestination = /* @__PURE__ */ __name(async (directory) => {
|
|
@@ -5188,7 +5188,7 @@ var moveMediaArchive = /* @__PURE__ */ __name(async (options) => {
|
|
|
5188
5188
|
}, { additional: [target], createAdditional: !options.dryRun });
|
|
5189
5189
|
}, "moveMediaArchive");
|
|
5190
5190
|
|
|
5191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/model-downloads.js
|
|
5192
5192
|
var bytesOf = /* @__PURE__ */ __name((model) => model.files.reduce((sum2, file2) => sum2 + file2.bytes, 0), "bytesOf");
|
|
5193
5193
|
var nativeRuntime = /* @__PURE__ */ __name(async ({ env, progress = /* @__PURE__ */ __name(() => {
|
|
5194
5194
|
}, "progress") }) => {
|
|
@@ -5211,7 +5211,7 @@ var downloadTextModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
5211
5211
|
}
|
|
5212
5212
|
await nativeRuntime({ env, progress });
|
|
5213
5213
|
progress(`${model.id}: loading it once to check it works`);
|
|
5214
|
-
const { openEmbedder: openEmbedder2 } = await import("./embed-
|
|
5214
|
+
const { openEmbedder: openEmbedder2 } = await import("./embed-J3IBVV2V.js");
|
|
5215
5215
|
const embedder = await openEmbedder2(model, directory);
|
|
5216
5216
|
try {
|
|
5217
5217
|
const [vector] = await embedder.embed(["check"], "query");
|
|
@@ -5232,7 +5232,7 @@ var downloadRerankModel = /* @__PURE__ */ __name(async (id2, { env, progress = /
|
|
|
5232
5232
|
}
|
|
5233
5233
|
await nativeRuntime({ env, progress });
|
|
5234
5234
|
progress(`${model.id}: loading it once to check it works`);
|
|
5235
|
-
const { openReranker } = await import("./rerank-
|
|
5235
|
+
const { openReranker } = await import("./rerank-TINXM3MY.js");
|
|
5236
5236
|
const reranker = await openReranker(model, directory);
|
|
5237
5237
|
try {
|
|
5238
5238
|
await reranker.score("check", ["check"]);
|
|
@@ -5250,7 +5250,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
5250
5250
|
await installFiles(placedImage(model, directory), { progress });
|
|
5251
5251
|
}
|
|
5252
5252
|
progress(`${model.id}: loading it once to check it works`);
|
|
5253
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
5253
|
+
const { openPictureEmbedder } = await import("./embedder-QFPMDRT2.js");
|
|
5254
5254
|
const embedder = await openPictureEmbedder(model, directory);
|
|
5255
5255
|
try {
|
|
5256
5256
|
const vector = await embedder.embedQuery("check");
|
|
@@ -5262,7 +5262,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
5262
5262
|
return { model, directory };
|
|
5263
5263
|
}, "downloadImageModel");
|
|
5264
5264
|
|
|
5265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/money-words.js
|
|
5266
5266
|
var MONEY_REQUEST = "money-request";
|
|
5267
5267
|
var MONEY_DONE = "money-done";
|
|
5268
5268
|
var PROMISE = "promise";
|
|
@@ -5296,10 +5296,10 @@ var MONEY_WORDS = [
|
|
|
5296
5296
|
}
|
|
5297
5297
|
];
|
|
5298
5298
|
|
|
5299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/money-words.js
|
|
5300
5300
|
var moneyClassesOf = /* @__PURE__ */ __name((text2) => listsHit(text2, MONEY_WORDS), "moneyClassesOf");
|
|
5301
5301
|
|
|
5302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/status-words.js
|
|
5303
5303
|
var words = /* @__PURE__ */ __name((forms) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${forms.join("|")})(?![\\p{L}\\p{N}])`, "iu"), "words");
|
|
5304
5304
|
var MONEY_DONE_FORMS = words([
|
|
5305
5305
|
"\u043E\u043F\u043B\u0430\u0442\u0438\u043B[\u0430\u0438]?",
|
|
@@ -5339,7 +5339,7 @@ var PROMISE_FORMS = words([
|
|
|
5339
5339
|
"estar\xE1 listo"
|
|
5340
5340
|
]);
|
|
5341
5341
|
|
|
5342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/items.js
|
|
5343
5343
|
var EXCERPT_CHARS = 80;
|
|
5344
5344
|
var excerpt2 = /* @__PURE__ */ __name((text2) => {
|
|
5345
5345
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -5361,7 +5361,7 @@ var whoOf = /* @__PURE__ */ __name((message) => ({
|
|
|
5361
5361
|
var fromOwner = /* @__PURE__ */ __name((message) => message.outgoing === true, "fromOwner");
|
|
5362
5362
|
var day = /* @__PURE__ */ __name((at) => new Date(at).toISOString().slice(0, 10), "day");
|
|
5363
5363
|
|
|
5364
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5364
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/amounts.js
|
|
5365
5365
|
var MONEY = DEFAULT_TASK_CATEGORIES.filter((category) => category.name === "money");
|
|
5366
5366
|
var verbOf = /* @__PURE__ */ __name((text2) => {
|
|
5367
5367
|
if (MONEY_DONE_FORMS.test(text2))
|
|
@@ -5441,7 +5441,7 @@ var amounts = {
|
|
|
5441
5441
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state === "open" ? [{ chat: item2.chat, weight: 2, why: "money open" }] : []), "attention")
|
|
5442
5442
|
};
|
|
5443
5443
|
|
|
5444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/children.js
|
|
5445
5445
|
var children = {
|
|
5446
5446
|
id: "children",
|
|
5447
5447
|
version: 1,
|
|
@@ -5470,7 +5470,7 @@ var children = {
|
|
|
5470
5470
|
}, "read")
|
|
5471
5471
|
};
|
|
5472
5472
|
|
|
5473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/coverage.js
|
|
5474
5474
|
var coverage = {
|
|
5475
5475
|
id: "coverage",
|
|
5476
5476
|
version: 1,
|
|
@@ -5499,7 +5499,7 @@ var coverage = {
|
|
|
5499
5499
|
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")
|
|
5500
5500
|
};
|
|
5501
5501
|
|
|
5502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5502
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/last-message.js
|
|
5503
5503
|
var lastMessage = {
|
|
5504
5504
|
id: "last-message",
|
|
5505
5505
|
version: 1,
|
|
@@ -5521,7 +5521,7 @@ var lastMessage = {
|
|
|
5521
5521
|
}, "read")
|
|
5522
5522
|
};
|
|
5523
5523
|
|
|
5524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/payments.js
|
|
5525
5525
|
var holding = /* @__PURE__ */ __name((row) => row.review !== "rejected", "holding");
|
|
5526
5526
|
var item = /* @__PURE__ */ __name((row, at, data) => ({
|
|
5527
5527
|
signal: "payments",
|
|
@@ -5571,7 +5571,7 @@ var payments = {
|
|
|
5571
5571
|
}, "read")
|
|
5572
5572
|
};
|
|
5573
5573
|
|
|
5574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/promises.js
|
|
5575
5575
|
var PATTERNS_PER_CHAT = 3;
|
|
5576
5576
|
var DAY3 = 864e5;
|
|
5577
5577
|
var KINDS2 = /* @__PURE__ */ new Set(["promise", "request"]);
|
|
@@ -5660,7 +5660,7 @@ var promises = {
|
|
|
5660
5660
|
}, "read")
|
|
5661
5661
|
};
|
|
5662
5662
|
|
|
5663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/questions.js
|
|
5664
5664
|
var PER_SIDE = 5;
|
|
5665
5665
|
var WEEK = 7 * 864e5;
|
|
5666
5666
|
var NOBODY = /* @__PURE__ */ new Set();
|
|
@@ -5691,7 +5691,7 @@ var questions2 = {
|
|
|
5691
5691
|
}, "attention")
|
|
5692
5692
|
};
|
|
5693
5693
|
|
|
5694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/reply-next.js
|
|
5695
5695
|
var targetOf = /* @__PURE__ */ __name((message, chat, owners) => {
|
|
5696
5696
|
const byId2 = /* @__PURE__ */ __name((id2) => chat.messages.find((one2) => one2.id === id2), "byId");
|
|
5697
5697
|
const quoted = message.replyTo ?? (message.replyToId === void 0 ? void 0 : byId2(message.replyToId));
|
|
@@ -5759,7 +5759,7 @@ var replyNext = {
|
|
|
5759
5759
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.next === "owner" ? [{ chat: item2.chat, weight: 2, why: "your move" }] : []), "attention")
|
|
5760
5760
|
};
|
|
5761
5761
|
|
|
5762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/topics.js
|
|
5763
5763
|
var escaped2 = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
5764
5764
|
var wholeWord = /* @__PURE__ */ __name((word) => new RegExp(`(?<![\\p{L}\\p{N}])${escaped2(word)}(?![\\p{L}\\p{N}])`, "u"), "wholeWord");
|
|
5765
5765
|
var matcherOf = /* @__PURE__ */ __name((query) => {
|
|
@@ -5805,7 +5805,7 @@ var topics = {
|
|
|
5805
5805
|
}, "read")
|
|
5806
5806
|
};
|
|
5807
5807
|
|
|
5808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/signals/index.js
|
|
5809
5809
|
var STATUS_SIGNALS = [
|
|
5810
5810
|
lastMessage,
|
|
5811
5811
|
replyNext,
|
|
@@ -5818,7 +5818,7 @@ var STATUS_SIGNALS = [
|
|
|
5818
5818
|
children
|
|
5819
5819
|
];
|
|
5820
5820
|
|
|
5821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/project-status/index.js
|
|
5822
5822
|
var DAY4 = 864e5;
|
|
5823
5823
|
var STATUS_WINDOW = 300;
|
|
5824
5824
|
var STATUS_CHATS = 16;
|
|
@@ -6000,7 +6000,7 @@ var projectStatus = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
6000
6000
|
};
|
|
6001
6001
|
}, "projectStatus");
|
|
6002
6002
|
|
|
6003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6003
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/account.js
|
|
6004
6004
|
var accountService = /* @__PURE__ */ __name((deps) => {
|
|
6005
6005
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
6006
6006
|
if (deps.offline)
|
|
@@ -6072,7 +6072,7 @@ var accountService = /* @__PURE__ */ __name((deps) => {
|
|
|
6072
6072
|
};
|
|
6073
6073
|
}, "accountService");
|
|
6074
6074
|
|
|
6075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/send-time.js
|
|
6076
6076
|
var MINUTE = 6e4;
|
|
6077
6077
|
var YEAR = 365 * 24 * 60 * MINUTE;
|
|
6078
6078
|
var DELAY = /^(\d+)(m|h|d)$/;
|
|
@@ -6091,7 +6091,7 @@ var sendTime = /* @__PURE__ */ __name((value, now = Date.now(), flag = "--at-tim
|
|
|
6091
6091
|
return new Date(at - at % MINUTE).toISOString();
|
|
6092
6092
|
}, "sendTime");
|
|
6093
6093
|
|
|
6094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/admin.js
|
|
6095
6095
|
var recordMembership = /* @__PURE__ */ __name(async (deps, operationId, done2, change, fix, write) => {
|
|
6096
6096
|
try {
|
|
6097
6097
|
const held = await accountStoreIfOpen(deps);
|
|
@@ -6338,7 +6338,7 @@ var linkLimits = /* @__PURE__ */ __name(({ approval, expires, maxUses }) => {
|
|
|
6338
6338
|
return expires === void 0 ? void 0 : sendTime(expires, Date.now(), "--expire-time");
|
|
6339
6339
|
}, "linkLimits");
|
|
6340
6340
|
|
|
6341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6341
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/mail-search.js
|
|
6342
6342
|
var THREADS_PAGE = 500;
|
|
6343
6343
|
var threadsOf = /* @__PURE__ */ __name(async (store, key) => {
|
|
6344
6344
|
const account2 = await store.accounts.storedAccount(key).catch(() => void 0);
|
|
@@ -6417,7 +6417,7 @@ var readMail = /* @__PURE__ */ __name(async (store, locator, { before: before2 =
|
|
|
6417
6417
|
return thread.slice(Math.max(0, at - before2), at + after + 1).map((hit) => hit.id === message ? { ...hit, anchor: true } : hit);
|
|
6418
6418
|
}, "readMail");
|
|
6419
6419
|
|
|
6420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/search-kind.js
|
|
6421
6421
|
var NO_MAIL = "no_mail";
|
|
6422
6422
|
var MAIL = "email";
|
|
6423
6423
|
var listContextOf = /* @__PURE__ */ __name(async (store, account2, app, stored) => {
|
|
@@ -6464,7 +6464,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
|
|
|
6464
6464
|
return chosenMail.map(({ provider, account: account2 }) => ({ provider, account: account2 }));
|
|
6465
6465
|
}, "accountsOfKind");
|
|
6466
6466
|
|
|
6467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/messages-search.js
|
|
6468
6468
|
var MAIL_FIELDS = /* @__PURE__ */ new Set(["to", "cc", "bcc", "subject", "mailbox", "label", "is"]);
|
|
6469
6469
|
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");
|
|
6470
6470
|
var prepareLucene = /* @__PURE__ */ __name(async (store, account2, request, messenger) => {
|
|
@@ -6812,7 +6812,7 @@ var statsLucene = /* @__PURE__ */ __name(async (store, account2, request, messen
|
|
|
6812
6812
|
};
|
|
6813
6813
|
}, "statsLucene");
|
|
6814
6814
|
|
|
6815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/moment.js
|
|
6816
6816
|
var AGO = /^(\d+)(m|h|d)$/;
|
|
6817
6817
|
var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
|
|
6818
6818
|
var DATE = /^\d{4}-\d{2}-\d{2}/;
|
|
@@ -6852,7 +6852,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
|
|
|
6852
6852
|
};
|
|
6853
6853
|
}, "dateWindow");
|
|
6854
6854
|
|
|
6855
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6855
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/rankings-selection.js
|
|
6856
6856
|
var RANKING_SELECTION_BYTES = 64 * 1024;
|
|
6857
6857
|
var object = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0, "object");
|
|
6858
6858
|
function invalid(message = "ranking selection is invalid \u2014 obtain a new drilldown from stats top") {
|
|
@@ -7021,7 +7021,7 @@ var readRankingSelection = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
7021
7021
|
};
|
|
7022
7022
|
}, "readRankingSelection");
|
|
7023
7023
|
|
|
7024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/search-record.js
|
|
7025
7025
|
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");
|
|
7026
7026
|
var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
7027
7027
|
command,
|
|
@@ -7031,7 +7031,7 @@ var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
|
7031
7031
|
fieldsVersion: FIELD_VERSION
|
|
7032
7032
|
}), "searchRecordOf");
|
|
7033
7033
|
|
|
7034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/admin-statistics.js
|
|
7035
7035
|
function invalid2(message) {
|
|
7036
7036
|
throw new CliError("validation_error", message);
|
|
7037
7037
|
}
|
|
@@ -7325,10 +7325,10 @@ var adminStatisticsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
7325
7325
|
}, "evidence")
|
|
7326
7326
|
}), "adminStatisticsService");
|
|
7327
7327
|
|
|
7328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
7329
7329
|
import { setTimeout as sleep3 } from "node:timers/promises";
|
|
7330
7330
|
|
|
7331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/backfill-estimate.js
|
|
7332
7332
|
var REQUEST_MS = 400;
|
|
7333
7333
|
var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, maxPages, pauseMs }) => {
|
|
7334
7334
|
const lowest = ranges[0];
|
|
@@ -7351,13 +7351,13 @@ var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, max
|
|
|
7351
7351
|
};
|
|
7352
7352
|
}, "estimateBackfill");
|
|
7353
7353
|
|
|
7354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/recovery.js
|
|
7355
7355
|
var withRecovery = /* @__PURE__ */ __name((error) => ({
|
|
7356
7356
|
...error,
|
|
7357
7357
|
retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
|
|
7358
7358
|
}), "withRecovery");
|
|
7359
7359
|
|
|
7360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/batch.js
|
|
7361
7361
|
var actionable = /* @__PURE__ */ __name((error) => {
|
|
7362
7362
|
if (isCliFailure(error))
|
|
7363
7363
|
return withRecovery({ code: error.code, message: error.message, ...error.details });
|
|
@@ -7440,7 +7440,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
|
|
|
7440
7440
|
};
|
|
7441
7441
|
}, "mergeBatches");
|
|
7442
7442
|
|
|
7443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/patience.js
|
|
7444
7444
|
import { setTimeout as sleep2 } from "node:timers/promises";
|
|
7445
7445
|
var LONGEST_WAIT_MS = 5 * 60 * 1e3;
|
|
7446
7446
|
var patiently = /* @__PURE__ */ __name(async (request, note, stop) => {
|
|
@@ -7463,7 +7463,7 @@ var patiently = /* @__PURE__ */ __name(async (request, note, stop) => {
|
|
|
7463
7463
|
}
|
|
7464
7464
|
}, "patiently");
|
|
7465
7465
|
|
|
7466
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7466
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/conversations/link.js
|
|
7467
7467
|
var RULES_VERSION = 5;
|
|
7468
7468
|
var LOOK_BACK = 50;
|
|
7469
7469
|
var SAME_SENDER_WITHIN = 10;
|
|
@@ -7553,7 +7553,7 @@ var latest = /* @__PURE__ */ __name((window2, matches) => {
|
|
|
7553
7553
|
var sameThread = /* @__PURE__ */ __name((a, b) => a.threadId === b.threadId, "sameThread");
|
|
7554
7554
|
var link2 = /* @__PURE__ */ __name((message, parentId, source, kind, confidence, method) => ({ messageId: message.id, parentId, source, kind, confidence, method }), "link");
|
|
7555
7555
|
|
|
7556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/images/context/index.js
|
|
7557
7557
|
var CONTEXT_MESSAGES = 3;
|
|
7558
7558
|
var CONTEXT_MINUTES = 10;
|
|
7559
7559
|
var MAX_CHARS = 1200;
|
|
@@ -7577,12 +7577,12 @@ var context = {
|
|
|
7577
7577
|
}, "describe")
|
|
7578
7578
|
};
|
|
7579
7579
|
|
|
7580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7580
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/images/registry.js
|
|
7581
7581
|
var BUILT_INS = [context];
|
|
7582
7582
|
var providers = [...BUILT_INS];
|
|
7583
7583
|
var registeredImageProviders = /* @__PURE__ */ __name(() => providers, "registeredImageProviders");
|
|
7584
7584
|
|
|
7585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/conversations.js
|
|
7586
7586
|
var READ_PAGE = 5e3;
|
|
7587
7587
|
var CHAIN = 50;
|
|
7588
7588
|
var CONVERSATION_QUERY = {
|
|
@@ -7734,7 +7734,7 @@ var sized = /* @__PURE__ */ __name((size4) => {
|
|
|
7734
7734
|
return size4;
|
|
7735
7735
|
}, "sized");
|
|
7736
7736
|
|
|
7737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/embeddings-maintenance.js
|
|
7738
7738
|
var REFRESH_BOUNDS = { maxChats: 20, maxChunks: 2e3 };
|
|
7739
7739
|
var MESSAGE_PAGE = 5e3;
|
|
7740
7740
|
var PER_SESSION = 8;
|
|
@@ -7753,7 +7753,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = DEFAULT_TEXT_MODEL)
|
|
|
7753
7753
|
price: remote.price,
|
|
7754
7754
|
installed: true,
|
|
7755
7755
|
perBatch: PER_REQUEST * concurrency,
|
|
7756
|
-
open: /* @__PURE__ */ __name(async () => (await import("./remote-
|
|
7756
|
+
open: /* @__PURE__ */ __name(async () => (await import("./remote-KXVWRK7J.js")).openRemote(remote, apiKey, { concurrency }), "open")
|
|
7757
7757
|
};
|
|
7758
7758
|
}
|
|
7759
7759
|
const model = textModel(choice);
|
|
@@ -7770,7 +7770,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = DEFAULT_TEXT_MODEL)
|
|
|
7770
7770
|
if (!isTextModelInstalled(model, directory))
|
|
7771
7771
|
throw notDownloaded(model.id);
|
|
7772
7772
|
if (apart) {
|
|
7773
|
-
const { openProcess } = await import("./process-
|
|
7773
|
+
const { openProcess } = await import("./process-SWPJGPQC.js");
|
|
7774
7774
|
return openProcess(model, directory, { threads: threads ?? defaultThreads() });
|
|
7775
7775
|
}
|
|
7776
7776
|
return openEmbedder(model, directory, { threads: threads ?? defaultThreads() });
|
|
@@ -8059,7 +8059,7 @@ var shaped = /* @__PURE__ */ __name(({ chatId, builtAt, algorithmVersion, pendin
|
|
|
8059
8059
|
return { ...one2, state };
|
|
8060
8060
|
}, "shaped");
|
|
8061
8061
|
|
|
8062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/search-catchup.js
|
|
8063
8063
|
var CATCH_UP_BOUNDS = { maxChunks: 500, maxMessages: 1e4, timeMs: 3e4 };
|
|
8064
8064
|
var validateCatchUpBounds = /* @__PURE__ */ __name((options) => {
|
|
8065
8065
|
for (const [key, value, maximum] of [
|
|
@@ -8112,7 +8112,7 @@ var catchUpSearch = /* @__PURE__ */ __name(async (deps, chat, options, signal, c
|
|
|
8112
8112
|
}
|
|
8113
8113
|
}, "catchUpSearch");
|
|
8114
8114
|
|
|
8115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
8116
8116
|
var pushed = /* @__PURE__ */ __name((deps, what) => {
|
|
8117
8117
|
if (deps.reads === "store") {
|
|
8118
8118
|
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`);
|
|
@@ -8478,7 +8478,7 @@ var timeOfKey = /* @__PURE__ */ __name(async (store, account2, chatId, key, byTi
|
|
|
8478
8478
|
return message?.timestamp ?? fallback;
|
|
8479
8479
|
}, "timeOfKey");
|
|
8480
8480
|
|
|
8481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/archive-gaps.js
|
|
8482
8482
|
import { createHash as createHash6, randomUUID as randomUUID4 } from "node:crypto";
|
|
8483
8483
|
var GAP_BOUNDS = { maxGaps: 5, limit: 500, timeMs: 3e4 };
|
|
8484
8484
|
var validateRepair = /* @__PURE__ */ __name((messenger, options) => {
|
|
@@ -8615,16 +8615,16 @@ var gapsService = /* @__PURE__ */ __name((deps) => {
|
|
|
8615
8615
|
return { plan, repair };
|
|
8616
8616
|
}, "gapsService");
|
|
8617
8617
|
|
|
8618
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8618
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
8619
8619
|
import { createHash as createHash8 } from "node:crypto";
|
|
8620
8620
|
import { constants as constants2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
8621
8621
|
import { lstat as lstat4, open as open6, readFile, stat as stat2 } from "node:fs/promises";
|
|
8622
8622
|
|
|
8623
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
8624
8624
|
import { lstat as lstat2, readdir as readdir2, realpath as realpath3 } from "node:fs/promises";
|
|
8625
8625
|
import { basename as basename4, join as join8, relative as relative2, sep as sep2 } from "node:path";
|
|
8626
8626
|
|
|
8627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/upload.js
|
|
8628
8628
|
import { openAsBlob, realpathSync } from "node:fs";
|
|
8629
8629
|
import { open as open4, stat } from "node:fs/promises";
|
|
8630
8630
|
import { basename as basename3, dirname as dirname3, extname, isAbsolute as isAbsolute2, relative, resolve as resolve5, sep } from "node:path";
|
|
@@ -8826,7 +8826,7 @@ var readStickerFile = /* @__PURE__ */ __name(async (path, maxBytes, read) => {
|
|
|
8826
8826
|
return { name, source };
|
|
8827
8827
|
}, "readStickerFile");
|
|
8828
8828
|
|
|
8829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
8830
8830
|
var MAX_FILES = 1e4;
|
|
8831
8831
|
var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory, app, env) => {
|
|
8832
8832
|
if (refusedPlace(directory, app, env))
|
|
@@ -9936,7 +9936,7 @@ function imageSize(input) {
|
|
|
9936
9936
|
}
|
|
9937
9937
|
__name(imageSize, "imageSize");
|
|
9938
9938
|
|
|
9939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
|
|
9940
9940
|
var MAX_PAGES = 20;
|
|
9941
9941
|
var MAX_PIXELS = 2e7;
|
|
9942
9942
|
var cancelled = /* @__PURE__ */ __name((signal) => {
|
|
@@ -10087,7 +10087,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes2, pipeline2, load, signal) => {
|
|
|
10087
10087
|
}
|
|
10088
10088
|
}, "ocrPdf");
|
|
10089
10089
|
|
|
10090
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/attachments/pdf-preview.js
|
|
10091
10091
|
var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = importEngine, env = process.env) => {
|
|
10092
10092
|
const limits = pdfPreviewLimits(env);
|
|
10093
10093
|
const cancelled4 = /* @__PURE__ */ __name(() => {
|
|
@@ -10164,7 +10164,7 @@ var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = impo
|
|
|
10164
10164
|
}
|
|
10165
10165
|
}, "pdfPreview");
|
|
10166
10166
|
|
|
10167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/attachments/transfer.js
|
|
10168
10168
|
import { createHash as createHash7 } from "node:crypto";
|
|
10169
10169
|
import { constants } from "node:fs";
|
|
10170
10170
|
import { lstat as lstat3, open as open5 } from "node:fs/promises";
|
|
@@ -10272,7 +10272,7 @@ var transferMime = /* @__PURE__ */ __name((head, hint, name = null) => {
|
|
|
10272
10272
|
return hint !== null && /^[a-z0-9.+-]+\/[a-z0-9.+-]+$/i.test(hint) ? hint : "application/octet-stream";
|
|
10273
10273
|
}, "transferMime");
|
|
10274
10274
|
|
|
10275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
10276
10276
|
import { createWriteStream, mkdirSync } from "node:fs";
|
|
10277
10277
|
import { link as link3, rm } from "node:fs/promises";
|
|
10278
10278
|
import { join as join9, resolve as resolve6 } from "node:path";
|
|
@@ -10386,7 +10386,7 @@ var save = /* @__PURE__ */ __name(async (file2, directory, fallbackName, { uniqu
|
|
|
10386
10386
|
}
|
|
10387
10387
|
}, "save");
|
|
10388
10388
|
|
|
10389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
10390
10390
|
var ATTACHMENT_QUERY = {
|
|
10391
10391
|
entity: "attachment",
|
|
10392
10392
|
backend: "sql",
|
|
@@ -10809,7 +10809,7 @@ var attachmentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
10809
10809
|
}, "setText")
|
|
10810
10810
|
}), "attachmentsService");
|
|
10811
10811
|
|
|
10812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/chat-documents.js
|
|
10813
10813
|
var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
10814
10814
|
list: /* @__PURE__ */ __name(async (chat, { limit, offset, ref }) => {
|
|
10815
10815
|
const store = await accountStore(deps);
|
|
@@ -10839,7 +10839,7 @@ var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
10839
10839
|
}, "list")
|
|
10840
10840
|
}), "chatDocumentsService");
|
|
10841
10841
|
|
|
10842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/retention.js
|
|
10843
10843
|
var observationDuration = /* @__PURE__ */ __name((text2, flag) => {
|
|
10844
10844
|
const match = /^(\d+(?:\.\d+)?)([smhdw])$/.exec(text2);
|
|
10845
10845
|
const units2 = { s: 1e3, m: 6e4, h: 36e5, d: 864e5, w: 6048e5 };
|
|
@@ -10926,7 +10926,7 @@ var isRetentionSelection = /* @__PURE__ */ __name((selection) => {
|
|
|
10926
10926
|
}
|
|
10927
10927
|
}, "isRetentionSelection");
|
|
10928
10928
|
|
|
10929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/counters.js
|
|
10930
10930
|
var counterFields = /* @__PURE__ */ __name((text2 = "views,reactions,comments") => {
|
|
10931
10931
|
const fields = text2.split(",").map((one2) => one2.trim());
|
|
10932
10932
|
if (!fields.length || fields.some((one2) => !COUNTER_FIELDS.includes(one2)) || new Set(fields).size !== fields.length)
|
|
@@ -11133,7 +11133,7 @@ var countersService = /* @__PURE__ */ __name((deps) => {
|
|
|
11133
11133
|
};
|
|
11134
11134
|
}, "countersService");
|
|
11135
11135
|
|
|
11136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/search-refresh.js
|
|
11137
11137
|
var SYNC_KEY = "messages.sync-first";
|
|
11138
11138
|
var SYNC_BOUNDS = { maxChats: 5, timeMs: 3e4, maxMessages: 500 };
|
|
11139
11139
|
var keyOf2 = /* @__PURE__ */ __name((chat) => JSON.stringify([chat.account.provider, chat.account.account, chat.chatId]), "keyOf");
|
|
@@ -11265,7 +11265,7 @@ var withRefresh = /* @__PURE__ */ __name((found, refreshed) => ({
|
|
|
11265
11265
|
...!refreshed || refreshed.complete ? {} : { coverage: { ...found.coverage, state: "stale" } }
|
|
11266
11266
|
}), "withRefresh");
|
|
11267
11267
|
|
|
11268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/embeddings-search.js
|
|
11269
11269
|
var CANDIDATES = 50;
|
|
11270
11270
|
var WORD_HITS = 200;
|
|
11271
11271
|
var RRF_K = 60;
|
|
@@ -11540,13 +11540,13 @@ var meanOf = /* @__PURE__ */ __name((vectors) => {
|
|
|
11540
11540
|
return mean2.map((value) => value / length);
|
|
11541
11541
|
}, "meanOf");
|
|
11542
11542
|
|
|
11543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/embeddings.js
|
|
11544
11544
|
var embeddingsService = /* @__PURE__ */ __name((deps) => ({
|
|
11545
11545
|
...embeddingsMaintenance(deps),
|
|
11546
11546
|
...embeddingsSearch(deps)
|
|
11547
11547
|
}), "embeddingsService");
|
|
11548
11548
|
|
|
11549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/folders.js
|
|
11550
11550
|
var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
11551
11551
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
11552
11552
|
if (deps.offline)
|
|
@@ -11687,7 +11687,7 @@ var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
|
11687
11687
|
};
|
|
11688
11688
|
}, "foldersService");
|
|
11689
11689
|
|
|
11690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/inbox.js
|
|
11691
11691
|
var INBOX_CHATS = 20;
|
|
11692
11692
|
var REVIEW_DAYS = 3;
|
|
11693
11693
|
var UNANSWERED_HOURS = 24;
|
|
@@ -11895,7 +11895,7 @@ var inboxService = /* @__PURE__ */ __name((deps) => {
|
|
|
11895
11895
|
};
|
|
11896
11896
|
}, "inboxService");
|
|
11897
11897
|
|
|
11898
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11898
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/mentions.js
|
|
11899
11899
|
var REVIEW_COUNT = 500;
|
|
11900
11900
|
var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
11901
11901
|
const located = /* @__PURE__ */ __name(async () => {
|
|
@@ -11974,7 +11974,7 @@ var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
|
11974
11974
|
};
|
|
11975
11975
|
}, "mentionsService");
|
|
11976
11976
|
|
|
11977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
11978
11978
|
var invalid3 = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
11979
11979
|
var validateFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
11980
11980
|
const { text: text2, spans } = formatted2;
|
|
@@ -12034,7 +12034,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
|
12034
12034
|
};
|
|
12035
12035
|
}, "visibleFormattedText");
|
|
12036
12036
|
|
|
12037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/message-link.js
|
|
12038
12038
|
var fileLinks = /* @__PURE__ */ __name((attachments) => hitFiles(attachments).map(({ position, kind, name }) => ({
|
|
12039
12039
|
position,
|
|
12040
12040
|
kind,
|
|
@@ -12083,7 +12083,7 @@ var validatePermalink = /* @__PURE__ */ __name((link4) => {
|
|
|
12083
12083
|
return { url: link4.url, access: link4.access, reason: link4.reason };
|
|
12084
12084
|
}, "validatePermalink");
|
|
12085
12085
|
|
|
12086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/pin-duration.js
|
|
12087
12087
|
var spokenSeconds = /* @__PURE__ */ __name((seconds) => {
|
|
12088
12088
|
if (seconds % 86400 === 0 && seconds > 86400)
|
|
12089
12089
|
return `${seconds / 86400}d`;
|
|
@@ -12115,7 +12115,7 @@ var pinDurationOf = /* @__PURE__ */ __name((value, allowed, flag = "--expire-tim
|
|
|
12115
12115
|
return seconds;
|
|
12116
12116
|
}, "pinDurationOf");
|
|
12117
12117
|
|
|
12118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/send-as.js
|
|
12119
12119
|
var sendAsCheck = /* @__PURE__ */ __name((connection, sendAs) => {
|
|
12120
12120
|
if (sendAs === void 0) {
|
|
12121
12121
|
const saved = connection.savedSender?.bind(connection);
|
|
@@ -12140,7 +12140,7 @@ var typedSendAs = /* @__PURE__ */ __name((typed) => {
|
|
|
12140
12140
|
return sendAs;
|
|
12141
12141
|
}, "typedSendAs");
|
|
12142
12142
|
|
|
12143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/search/total.js
|
|
12144
12144
|
var TOTAL_CAP = 1e4;
|
|
12145
12145
|
var totalOf = /* @__PURE__ */ __name((count2, shown, hasMore, exact = true) => {
|
|
12146
12146
|
const least = shown + (hasMore ? 1 : 0);
|
|
@@ -12151,7 +12151,7 @@ var totalOf = /* @__PURE__ */ __name((count2, shown, hasMore, exact = true) => {
|
|
|
12151
12151
|
return { value: count2, relation: exact ? "eq" : "gte" };
|
|
12152
12152
|
}, "totalOf");
|
|
12153
12153
|
|
|
12154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
|
|
12155
12155
|
var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
|
|
12156
12156
|
var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
|
|
12157
12157
|
let narrows = false;
|
|
@@ -12180,7 +12180,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
|
|
|
12180
12180
|
return wanted(root).join(" ").trim();
|
|
12181
12181
|
}, "meaningWords");
|
|
12182
12182
|
|
|
12183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
12184
12184
|
var words2 = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
12185
12185
|
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"));
|
|
12186
12186
|
var questionWord = /\b(?:what|which|how|who|where|when|can|could|should)\b|(?:^|\s)(?:сколько|какой|какая|какие|какое|кто|кому|кем|где|когда|как|что|можно|может|могут|ли)(?:\s|$)/iu;
|
|
@@ -12313,7 +12313,7 @@ var questionLookup = /* @__PURE__ */ __name((text2) => {
|
|
|
12313
12313
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
12314
12314
|
}, "questionLookup");
|
|
12315
12315
|
|
|
12316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/messages-combined.js
|
|
12317
12317
|
var COMBINED_DEFAULTS = { candidateDepth: 300, rrfK: 60, rerank: "all", chatCap: 0 };
|
|
12318
12318
|
var tokensOf = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}\p{Co}\p{M}]+/gu) ?? [], "tokensOf");
|
|
12319
12319
|
var searchCombined = /* @__PURE__ */ __name(async (store, account2, request, messenger = {}, options = COMBINED_DEFAULTS) => {
|
|
@@ -12506,7 +12506,7 @@ var signals = /* @__PURE__ */ __name((hit, terms, corrections, execution, mode,
|
|
|
12506
12506
|
return mode === "coverage" ? coverage2 * 4 : mode === "proximity" ? proximity : mode === "phrase" ? phrase : coverage2 * 4 + proximity + phrase;
|
|
12507
12507
|
}, "signals");
|
|
12508
12508
|
|
|
12509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/messages-discovery.js
|
|
12510
12510
|
var MEANING_DEPTH = 100;
|
|
12511
12511
|
var RRF_K2 = 60;
|
|
12512
12512
|
var RERANK_DEPTH = 50;
|
|
@@ -12831,7 +12831,7 @@ var mixedWithReranker = /* @__PURE__ */ __name((head, scores) => {
|
|
|
12831
12831
|
})).sort((a, b) => b.mixed - a.mixed).map(({ hit }) => hit);
|
|
12832
12832
|
}, "mixedWithReranker");
|
|
12833
12833
|
|
|
12834
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/thread-context.js
|
|
12835
12835
|
var THREAD_BOUNDS = { maxHops: 8, maxMessages: 50, maxBytes: 65536, withinMs: 864e5 };
|
|
12836
12836
|
var bytes = /* @__PURE__ */ __name((items, links) => Buffer.byteLength(JSON.stringify({ items, links }), "utf8"), "bytes");
|
|
12837
12837
|
var threadBounds = /* @__PURE__ */ __name((options = {}) => {
|
|
@@ -13030,7 +13030,7 @@ var readThreadContext = /* @__PURE__ */ __name(async (store, account2, chat, mes
|
|
|
13030
13030
|
return result;
|
|
13031
13031
|
}, "readThreadContext");
|
|
13032
13032
|
|
|
13033
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/messages-archive-search.js
|
|
13034
13034
|
var SEARCH_FILL_MS = 200;
|
|
13035
13035
|
var statsStore = /* @__PURE__ */ __name(async (store, account2, request, messenger = {}) => {
|
|
13036
13036
|
const stop = Date.now() + SEARCH_FILL_MS;
|
|
@@ -13097,12 +13097,12 @@ var accountOf2 = /* @__PURE__ */ __name((hit) => {
|
|
|
13097
13097
|
}, "accountOf");
|
|
13098
13098
|
var keyOf3 = /* @__PURE__ */ __name(({ provider, account: account2 }) => `${provider}/${account2}`, "keyOf");
|
|
13099
13099
|
|
|
13100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
13101
13101
|
import { createHash as createHash9 } from "node:crypto";
|
|
13102
13102
|
import { readFile as readFile2, stat as stat3 } from "node:fs/promises";
|
|
13103
13103
|
import { setTimeout as sleep4 } from "node:timers/promises";
|
|
13104
13104
|
|
|
13105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/models.js
|
|
13106
13106
|
var GROUP_SETTINGS = [
|
|
13107
13107
|
"allCanPin",
|
|
13108
13108
|
"onlyAdminsAdd",
|
|
@@ -13116,7 +13116,7 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
|
|
|
13116
13116
|
var senderIsMe = /* @__PURE__ */ __name((message, account2) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account2, "senderIsMe");
|
|
13117
13117
|
var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
|
|
13118
13118
|
|
|
13119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
13120
13120
|
var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
|
|
13121
13121
|
var PICTURE_FLOOR = 0.25;
|
|
13122
13122
|
var PAGE4 = 50;
|
|
@@ -13133,7 +13133,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
|
|
|
13133
13133
|
const directory = imageModelsDirectory(deps.env);
|
|
13134
13134
|
if (!isImageModelInstalled(model2, directory))
|
|
13135
13135
|
throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
|
|
13136
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
13136
|
+
const { openPictureEmbedder } = await import("./embedder-QFPMDRT2.js");
|
|
13137
13137
|
return openPictureEmbedder(model2, directory);
|
|
13138
13138
|
}, "open");
|
|
13139
13139
|
const embedder = /* @__PURE__ */ __name(() => {
|
|
@@ -13330,7 +13330,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
|
|
|
13330
13330
|
}, "search")
|
|
13331
13331
|
}), "withPictures");
|
|
13332
13332
|
|
|
13333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/messages-meaning.js
|
|
13334
13334
|
var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, shared, within) => {
|
|
13335
13335
|
const target = embeddingTarget(deps, DEFAULT_TEXT_MODEL);
|
|
13336
13336
|
const skipped = /* @__PURE__ */ __name((reason, step) => ({
|
|
@@ -13398,7 +13398,7 @@ var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, sh
|
|
|
13398
13398
|
}
|
|
13399
13399
|
}, "meaningLane");
|
|
13400
13400
|
|
|
13401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/messages-rerank.js
|
|
13402
13402
|
var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
13403
13403
|
const choice = deps.reranker ?? DEFAULT_RERANK_MODEL;
|
|
13404
13404
|
if (choice === "off")
|
|
@@ -13410,9 +13410,9 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
13410
13410
|
return { skipped: { reason: `${model.id} is not downloaded`, step: "models.download", model: model.id } };
|
|
13411
13411
|
try {
|
|
13412
13412
|
const warm = deps.embedders;
|
|
13413
|
-
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-
|
|
13413
|
+
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-SWPJGPQC.js")).openRerankerProcess(model, directory, {
|
|
13414
13414
|
threads: defaultThreads()
|
|
13415
|
-
})) : await (await import("./rerank-
|
|
13415
|
+
})) : await (await import("./rerank-TINXM3MY.js")).openReranker(model, directory);
|
|
13416
13416
|
return {
|
|
13417
13417
|
model: model.id,
|
|
13418
13418
|
score: /* @__PURE__ */ __name((question, passages) => reranker.score(plainWords(question), passages), "score"),
|
|
@@ -13432,7 +13432,7 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
13432
13432
|
};
|
|
13433
13433
|
}, "rerankLane");
|
|
13434
13434
|
|
|
13435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
|
|
13436
13436
|
import { createHash as createHash10 } from "node:crypto";
|
|
13437
13437
|
var refOf = /* @__PURE__ */ __name((target) => target.ref ?? `document:${target.documentId}`, "refOf");
|
|
13438
13438
|
var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
|
|
@@ -13440,7 +13440,7 @@ var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}
|
|
|
13440
13440
|
const directory = imageModelsDirectory(env);
|
|
13441
13441
|
if (!isImageModelInstalled(model, directory))
|
|
13442
13442
|
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 });
|
|
13443
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
13443
|
+
const { openPictureEmbedder } = await import("./embedder-QFPMDRT2.js");
|
|
13444
13444
|
return openPictureEmbedder(model, directory);
|
|
13445
13445
|
}, "openPictureEmbedderFor");
|
|
13446
13446
|
var savePicture = /* @__PURE__ */ __name(async (store, target, bytes2, options = {}) => {
|
|
@@ -13461,7 +13461,7 @@ var savePicture = /* @__PURE__ */ __name(async (store, target, bytes2, options =
|
|
|
13461
13461
|
}, "savePicture");
|
|
13462
13462
|
var removePicture = /* @__PURE__ */ __name((store, target) => store.notes.removePicture(refOf(target)), "removePicture");
|
|
13463
13463
|
|
|
13464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/document-source.js
|
|
13465
13465
|
var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file2) => {
|
|
13466
13466
|
const metadata = note.frontMatter;
|
|
13467
13467
|
const account2 = accounts.find(({ id: id2 }) => String(id2) === note.folderId);
|
|
@@ -13476,7 +13476,7 @@ var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file2) =>
|
|
|
13476
13476
|
};
|
|
13477
13477
|
}, "documentSource");
|
|
13478
13478
|
|
|
13479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
|
|
13480
13480
|
var plainQueryWords = /* @__PURE__ */ __name((query) => {
|
|
13481
13481
|
let root;
|
|
13482
13482
|
try {
|
|
@@ -13503,7 +13503,7 @@ var titleTiers = /* @__PURE__ */ __name((hits, words3) => {
|
|
|
13503
13503
|
return [...hits].sort((a, b) => rank(a) - rank(b));
|
|
13504
13504
|
}, "titleTiers");
|
|
13505
13505
|
|
|
13506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/notes-search.js
|
|
13507
13507
|
var storeQuery = /* @__PURE__ */ __name(async (store, text2, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text2, exact), timezone), "storeQuery");
|
|
13508
13508
|
var parsedQuery = /* @__PURE__ */ __name((text2, exact) => validateFields(parseLucene(text2, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
|
|
13509
13509
|
var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
|
|
@@ -13947,7 +13947,7 @@ var searchNotesOf = /* @__PURE__ */ __name(async (store, account2, text2, { acco
|
|
|
13947
13947
|
};
|
|
13948
13948
|
}, "searchNotesOf");
|
|
13949
13949
|
|
|
13950
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/events-search.js
|
|
13951
13951
|
var MAX_EVENTS_OFFSET = 1e3;
|
|
13952
13952
|
var iso = /* @__PURE__ */ __name((at) => at === null ? null : new Date(at).toISOString(), "iso");
|
|
13953
13953
|
var accountIdsOf = /* @__PURE__ */ __name(async (store, accounts) => {
|
|
@@ -14064,7 +14064,7 @@ var searchEvents = /* @__PURE__ */ __name(async (store, query, { limit = 20, off
|
|
|
14064
14064
|
};
|
|
14065
14065
|
}, "searchEvents");
|
|
14066
14066
|
|
|
14067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/search-all.js
|
|
14068
14068
|
var RESOURCES_SEARCHED = ["messages", "mail", "notes", "events"];
|
|
14069
14069
|
var skippable = /* @__PURE__ */ __name((error) => error instanceof CliError && (error.code === "validation_error" || error.code === "not_found"), "skippable");
|
|
14070
14070
|
var filtersBeside = /* @__PURE__ */ __name((text2) => {
|
|
@@ -14293,7 +14293,7 @@ var oneList = /* @__PURE__ */ __name((lists, cosines) => {
|
|
|
14293
14293
|
return [...place.values()].sort((a, b) => a.rank - b.rank || cosine(b.item.ref) - cosine(a.item.ref)).map(({ item: item2 }) => item2);
|
|
14294
14294
|
}, "oneList");
|
|
14295
14295
|
|
|
14296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/search-all-meetings.js
|
|
14297
14297
|
var RESOURCES_SEARCHED_WITH_MEETINGS = [...RESOURCES_SEARCHED, "meetings"];
|
|
14298
14298
|
var whole2 = /* @__PURE__ */ __name((value, minimum, maximum, label) => {
|
|
14299
14299
|
if (!Number.isSafeInteger(value) || value < minimum || value > maximum)
|
|
@@ -14546,7 +14546,7 @@ var searchAllOfSource = /* @__PURE__ */ __name(async (store, account2, source, r
|
|
|
14546
14546
|
return { ...found, skipped: [...skipped, ...empty2, ...unnamed, ...found.skipped] };
|
|
14547
14547
|
}, "searchAllOfSource");
|
|
14548
14548
|
|
|
14549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/server-search.js
|
|
14550
14550
|
var SERVER_SEARCH_KEY = "messages.server-search";
|
|
14551
14551
|
var SERVER_BOUNDS = { timeMs: 5e3, perCall: 100, maxCalls: 3, textBytes: 262144 };
|
|
14552
14552
|
var DEFAULT_BACKEND = "both";
|
|
@@ -14735,7 +14735,7 @@ var searchServer = /* @__PURE__ */ __name(async (deps, request) => {
|
|
|
14735
14735
|
return { report, sources };
|
|
14736
14736
|
}, "searchServer");
|
|
14737
14737
|
|
|
14738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14738
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/messages.js
|
|
14739
14739
|
var DELETE_AT_ONCE = 10;
|
|
14740
14740
|
var filesOf = /* @__PURE__ */ __name(({ attachments }) => {
|
|
14741
14741
|
const files = fileLinks(attachments);
|
|
@@ -15176,7 +15176,7 @@ var checkMediaOptions = /* @__PURE__ */ __name((messenger, asked, attachments) =
|
|
|
15176
15176
|
throw new CliError("validation_error", `${MEDIA_FLAGS[first]} needs a --photo or --file`);
|
|
15177
15177
|
}, "checkMediaOptions");
|
|
15178
15178
|
|
|
15179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/channel-tags.js
|
|
15180
15180
|
var CHANNEL_TAG_RULES_VERSION = "keywords-v1";
|
|
15181
15181
|
var RULES = {
|
|
15182
15182
|
ai: [/\b(ai|gpt|llm|machine learning|artificial intelligence)\b/iu, /нейросет|искусственн/iu],
|
|
@@ -15191,7 +15191,7 @@ var classifyChannel = /* @__PURE__ */ __name((metadata) => Object.entries(RULES)
|
|
|
15191
15191
|
return fields.length ? [{ tag, score: fields.length / 3, fields }] : [];
|
|
15192
15192
|
}), "classifyChannel");
|
|
15193
15193
|
|
|
15194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/metadata.js
|
|
15195
15195
|
var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
15196
15196
|
const held = /* @__PURE__ */ __name(async (reference, { includeLeft = false } = {}) => {
|
|
15197
15197
|
const store = await deps.store();
|
|
@@ -15277,7 +15277,7 @@ var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
|
15277
15277
|
};
|
|
15278
15278
|
}, "metadataService");
|
|
15279
15279
|
|
|
15280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
15281
15281
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
15282
15282
|
var LINK2 = /https?:\/\/\S+/i;
|
|
15283
15283
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -15465,7 +15465,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
15465
15465
|
}, "nextPoint");
|
|
15466
15466
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
15467
15467
|
|
|
15468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
15469
15469
|
import { existsSync, readFileSync } from "node:fs";
|
|
15470
15470
|
import { join as join10 } from "node:path";
|
|
15471
15471
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -15608,7 +15608,7 @@ var assign = /* @__PURE__ */ __name((rules, key, value) => {
|
|
|
15608
15608
|
return { ...rules, [head]: { ...rules[head], [tail]: value } };
|
|
15609
15609
|
}, "assign");
|
|
15610
15610
|
|
|
15611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/moderation/run.js
|
|
15612
15612
|
var FIRST_LOOK_MS = 24 * 36e5;
|
|
15613
15613
|
var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
15614
15614
|
const { chatId, title, rules, point, since, dryRun } = run;
|
|
@@ -15645,7 +15645,7 @@ var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
|
15645
15645
|
return { chatId, rows, notes };
|
|
15646
15646
|
}, "moderateWith");
|
|
15647
15647
|
|
|
15648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/moderation.js
|
|
15649
15649
|
var moderationService = /* @__PURE__ */ __name((deps) => {
|
|
15650
15650
|
const file2 = /* @__PURE__ */ __name(() => new ModerationRules(moderationPathFor(deps.messenger.app, deps.profile ?? "default", deps.env ?? process.env)), "file");
|
|
15651
15651
|
const group = /* @__PURE__ */ __name(async (chat) => {
|
|
@@ -15723,7 +15723,7 @@ var moderatorOf = /* @__PURE__ */ __name((adapter, deps) => ({
|
|
|
15723
15723
|
}, "removePerson")
|
|
15724
15724
|
}), "moderatorOf");
|
|
15725
15725
|
|
|
15726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/person-context.js
|
|
15727
15727
|
var CONTEXT_MESSAGES2 = 10;
|
|
15728
15728
|
var CONTEXT_BYTES = 64 * 1024;
|
|
15729
15729
|
var toContext = /* @__PURE__ */ __name((key, message, chatTitle2) => ({
|
|
@@ -15984,10 +15984,10 @@ var personMessages = /* @__PURE__ */ __name(async (store, asked, reference, { ch
|
|
|
15984
15984
|
};
|
|
15985
15985
|
}, "personMessages");
|
|
15986
15986
|
|
|
15987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15987
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
15988
15988
|
import { createHash as createHash11 } from "node:crypto";
|
|
15989
15989
|
|
|
15990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-reference.js
|
|
15991
15991
|
var missing3 = /* @__PURE__ */ __name(() => new CliError("not_found", "the meeting evidence is unavailable for this account"), "missing");
|
|
15992
15992
|
var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId, reference, options = {}) => {
|
|
15993
15993
|
const parsed = parseMeetingReference(reference);
|
|
@@ -16035,7 +16035,7 @@ var resolveMeetingReference = /* @__PURE__ */ __name(async (store, accountId, re
|
|
|
16035
16035
|
};
|
|
16036
16036
|
}, "resolveMeetingReference");
|
|
16037
16037
|
|
|
16038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
16039
16039
|
var hash = /* @__PURE__ */ __name((value) => createHash11("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
16040
16040
|
var checkMeetingCancelled = /* @__PURE__ */ __name((signal) => {
|
|
16041
16041
|
if (signal?.aborted)
|
|
@@ -16234,7 +16234,7 @@ var readMeetingEvidence = /* @__PURE__ */ __name(async (store, accountId, refere
|
|
|
16234
16234
|
return { ...packet, fingerprint: hash(packet) };
|
|
16235
16235
|
}, "readMeetingEvidence");
|
|
16236
16236
|
|
|
16237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/person-meeting-context.js
|
|
16238
16238
|
var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference, options) => {
|
|
16239
16239
|
const { meetings = 10, cues = 5, bytes: bytes2 = 64 * 1024, scanLimit = 1e3, since, signal } = options;
|
|
16240
16240
|
const requestedAccounts = options.accountIds;
|
|
@@ -16333,7 +16333,7 @@ var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference,
|
|
|
16333
16333
|
};
|
|
16334
16334
|
}, "personMeetingContext");
|
|
16335
16335
|
|
|
16336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/person-preparation.js
|
|
16337
16337
|
var PREPARE_BYTES = 96 * 1024;
|
|
16338
16338
|
var MEETINGS = 5;
|
|
16339
16339
|
var CUES = 3;
|
|
@@ -16450,7 +16450,7 @@ var meetingsOf = /* @__PURE__ */ __name(async (store, uid, stored, since, left)
|
|
|
16450
16450
|
}
|
|
16451
16451
|
}, "meetingsOf");
|
|
16452
16452
|
|
|
16453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/person-profile.js
|
|
16454
16454
|
var personProfile = /* @__PURE__ */ __name(async (deps, person, known2) => {
|
|
16455
16455
|
const online = deps.offline ? void 0 : await deps.connection();
|
|
16456
16456
|
const held = await storeIfOpen(deps);
|
|
@@ -16520,7 +16520,7 @@ var quiet = /* @__PURE__ */ __name((facts) => facts.chats.map(({ id: id2, title,
|
|
|
16520
16520
|
complete: false
|
|
16521
16521
|
})), "quiet");
|
|
16522
16522
|
|
|
16523
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/person-timeline.js
|
|
16524
16524
|
var TIMELINE_ITEMS = 50;
|
|
16525
16525
|
var TIMELINE_MAX = 500;
|
|
16526
16526
|
var SCOPES = ["personal", "work"];
|
|
@@ -16575,7 +16575,7 @@ var personTimeline = /* @__PURE__ */ __name(async (store, asked, reference, { sc
|
|
|
16575
16575
|
};
|
|
16576
16576
|
}, "personTimeline");
|
|
16577
16577
|
|
|
16578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/people.js
|
|
16579
16579
|
var peopleService = /* @__PURE__ */ __name((deps) => {
|
|
16580
16580
|
const localCard = /* @__PURE__ */ __name(async (card, includeNotes = false) => {
|
|
16581
16581
|
const held = await storeIfOpen(deps);
|
|
@@ -16802,7 +16802,7 @@ var withoutPhone = /* @__PURE__ */ __name((answer) => {
|
|
|
16802
16802
|
return rest;
|
|
16803
16803
|
}, "withoutPhone");
|
|
16804
16804
|
|
|
16805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/private-people.js
|
|
16806
16806
|
var noteItem = /* @__PURE__ */ __name((provider, note) => ({
|
|
16807
16807
|
id: note.id,
|
|
16808
16808
|
contact: formatReference({ type: "contact", provider, id: note.personId }),
|
|
@@ -16846,7 +16846,7 @@ var privatePeopleService = /* @__PURE__ */ __name((deps) => {
|
|
|
16846
16846
|
};
|
|
16847
16847
|
}, "privatePeopleService");
|
|
16848
16848
|
|
|
16849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/rankings.js
|
|
16850
16850
|
var empty = /* @__PURE__ */ __name(() => ({
|
|
16851
16851
|
total: 0,
|
|
16852
16852
|
population: 0,
|
|
@@ -17102,7 +17102,7 @@ var rankingsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
17102
17102
|
}, "evidence")
|
|
17103
17103
|
}), "rankingsService");
|
|
17104
17104
|
|
|
17105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/reply-stats.js
|
|
17106
17106
|
var FIELDS = ["date", "chat", "kind"];
|
|
17107
17107
|
var WAITING_TAIL = 100;
|
|
17108
17108
|
var plainOnly = /* @__PURE__ */ __name((text2, command) => {
|
|
@@ -17229,7 +17229,7 @@ var replyStatsService = /* @__PURE__ */ __name((deps) => {
|
|
|
17229
17229
|
};
|
|
17230
17230
|
}, "replyStatsService");
|
|
17231
17231
|
|
|
17232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/searches.js
|
|
17233
17233
|
var savedSearchItem = /* @__PURE__ */ __name((one2) => ({
|
|
17234
17234
|
id: one2.id,
|
|
17235
17235
|
name: one2.name,
|
|
@@ -17358,7 +17358,7 @@ var searchesService = /* @__PURE__ */ __name((deps) => {
|
|
|
17358
17358
|
};
|
|
17359
17359
|
}, "searchesService");
|
|
17360
17360
|
|
|
17361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/tags.js
|
|
17362
17362
|
var TAGGING_QUERY = {
|
|
17363
17363
|
entity: "tagging",
|
|
17364
17364
|
backend: "sql",
|
|
@@ -17442,7 +17442,7 @@ var tagsService = /* @__PURE__ */ __name((deps) => {
|
|
|
17442
17442
|
};
|
|
17443
17443
|
}, "tagsService");
|
|
17444
17444
|
|
|
17445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17445
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/task-stats.js
|
|
17446
17446
|
var TASK_STATS_BY = ["chat", "meeting", "project"];
|
|
17447
17447
|
var PERIOD_FIELD = "created";
|
|
17448
17448
|
var refuseNestedPeriod = /* @__PURE__ */ __name((node, top = true) => {
|
|
@@ -17545,7 +17545,7 @@ var meetingNames = /* @__PURE__ */ __name(async (store, groups) => {
|
|
|
17545
17545
|
}));
|
|
17546
17546
|
}, "meetingNames");
|
|
17547
17547
|
|
|
17548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/tasks.js
|
|
17549
17549
|
var TASK_QUERY = {
|
|
17550
17550
|
entity: "task",
|
|
17551
17551
|
backend: "sql",
|
|
@@ -18037,7 +18037,7 @@ var taskView = /* @__PURE__ */ __name(async (store, account2, task2) => {
|
|
|
18037
18037
|
};
|
|
18038
18038
|
}, "taskView");
|
|
18039
18039
|
|
|
18040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/topics.js
|
|
18041
18041
|
var actionOf = /* @__PURE__ */ __name(({ title, closed, pinned, hidden, icon }) => {
|
|
18042
18042
|
const set = [closed, pinned, hidden].filter((one2) => one2 !== void 0).length;
|
|
18043
18043
|
if (title !== void 0 || icon !== void 0 || set !== 1)
|
|
@@ -18236,7 +18236,7 @@ var topicsService = /* @__PURE__ */ __name((deps) => {
|
|
|
18236
18236
|
};
|
|
18237
18237
|
}, "topicsService");
|
|
18238
18238
|
|
|
18239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18239
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/evidence.js
|
|
18240
18240
|
import { createHash as createHash12, randomUUID as randomUUID5 } from "node:crypto";
|
|
18241
18241
|
var hash2 = /* @__PURE__ */ __name((value) => createHash12("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
18242
18242
|
var positive = /* @__PURE__ */ __name((value, name, minimum = 1) => {
|
|
@@ -18310,7 +18310,7 @@ var prepareEvidencePacket = /* @__PURE__ */ __name(({ kind, source, page, limits
|
|
|
18310
18310
|
return { ...content, id: randomUUID5(), fingerprint: hash2(content) };
|
|
18311
18311
|
}, "prepareEvidencePacket");
|
|
18312
18312
|
|
|
18313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/evidence-read.js
|
|
18314
18314
|
var readEvidencePacket = /* @__PURE__ */ __name(async (store, account2, { chat, limit, before: before2 }, messenger = {}) => {
|
|
18315
18315
|
if (!Number.isSafeInteger(limit) || limit < 1 || limit > 100)
|
|
18316
18316
|
throw new CliError("validation_error", "evidence message limit must be an integer from 1 to 100");
|
|
@@ -18330,7 +18330,7 @@ var readEvidencePacket = /* @__PURE__ */ __name(async (store, account2, { chat,
|
|
|
18330
18330
|
return { ...packet, nextBeforeId: older && last ? last.id : null };
|
|
18331
18331
|
}, "readEvidencePacket");
|
|
18332
18332
|
|
|
18333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
18334
18334
|
var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
|
|
18335
18335
|
let before2 = Number.POSITIVE_INFINITY;
|
|
18336
18336
|
for (; ; ) {
|
|
@@ -18392,7 +18392,7 @@ var searchMeetingHits = /* @__PURE__ */ __name(async (store, query, request, opt
|
|
|
18392
18392
|
return { ...result, selection };
|
|
18393
18393
|
}, "searchMeetingHits");
|
|
18394
18394
|
|
|
18395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-links.js
|
|
18396
18396
|
var readMeetingLinks = /* @__PURE__ */ __name(async (store, request) => {
|
|
18397
18397
|
const { maxMessages, url, ...selecting } = request;
|
|
18398
18398
|
const { input, selection } = await resolveMeetingSelection(store, selecting);
|
|
@@ -18431,10 +18431,10 @@ var readMeetingLinks = /* @__PURE__ */ __name(async (store, request) => {
|
|
|
18431
18431
|
};
|
|
18432
18432
|
}, "readMeetingLinks");
|
|
18433
18433
|
|
|
18434
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidates.js
|
|
18435
18435
|
import { createHash as createHash13 } from "node:crypto";
|
|
18436
18436
|
|
|
18437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-validation.js
|
|
18438
18438
|
function invalid5(field, response = false) {
|
|
18439
18439
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid project candidate ${field}`);
|
|
18440
18440
|
}
|
|
@@ -18553,7 +18553,7 @@ var candidateCatalog = /* @__PURE__ */ __name((catalog, limits) => {
|
|
|
18553
18553
|
}
|
|
18554
18554
|
}, "candidateCatalog");
|
|
18555
18555
|
|
|
18556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidates.js
|
|
18557
18557
|
var createMeetingProjectCandidateReader = /* @__PURE__ */ __name((scope, accountId, ports) => {
|
|
18558
18558
|
const fixed = snapshotMeetingScope(scope);
|
|
18559
18559
|
if (!Number.isSafeInteger(accountId) || accountId < 1 || typeof ports?.vocabulary?.vocabulary !== "function")
|
|
@@ -18606,7 +18606,7 @@ var createMeetingProjectCandidateReader = /* @__PURE__ */ __name((scope, account
|
|
|
18606
18606
|
};
|
|
18607
18607
|
}, "createMeetingProjectCandidateReader");
|
|
18608
18608
|
|
|
18609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-project-discovery.js
|
|
18610
18610
|
import { createHash as createHash14 } from "node:crypto";
|
|
18611
18611
|
var scopeKeys = [
|
|
18612
18612
|
"accountId",
|
|
@@ -18741,7 +18741,7 @@ var readMeetingProjectDiscovery = /* @__PURE__ */ __name(async (ports, projectNa
|
|
|
18741
18741
|
};
|
|
18742
18742
|
}, "readMeetingProjectDiscovery");
|
|
18743
18743
|
|
|
18744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-review.js
|
|
18745
18745
|
var readMeetingReview = /* @__PURE__ */ __name(async (store, request) => {
|
|
18746
18746
|
const { limit, ...selecting } = request;
|
|
18747
18747
|
const { input, selection } = await resolveMeetingSelection(store, selecting);
|
|
@@ -18749,7 +18749,7 @@ var readMeetingReview = /* @__PURE__ */ __name(async (store, request) => {
|
|
|
18749
18749
|
return { ...review, selection };
|
|
18750
18750
|
}, "readMeetingReview");
|
|
18751
18751
|
|
|
18752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-searches.js
|
|
18753
18753
|
var KIND = ["meetings-search"];
|
|
18754
18754
|
var meetingSearchesService = /* @__PURE__ */ __name((searches) => {
|
|
18755
18755
|
const found = /* @__PURE__ */ __name(async (reference) => {
|
|
@@ -18779,7 +18779,7 @@ var meetingSearchesService = /* @__PURE__ */ __name((searches) => {
|
|
|
18779
18779
|
};
|
|
18780
18780
|
}, "meetingSearchesService");
|
|
18781
18781
|
|
|
18782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-stats.js
|
|
18783
18783
|
var readMeetingStats = /* @__PURE__ */ __name(async (store, request) => {
|
|
18784
18784
|
const { timeZone, maxRows, ...selecting } = request;
|
|
18785
18785
|
const { input, selection } = await resolveMeetingSelection(store, selecting);
|
|
@@ -18802,7 +18802,7 @@ var readMeetingCounts = /* @__PURE__ */ __name(async (store, request) => {
|
|
|
18802
18802
|
return { ...counts, selection };
|
|
18803
18803
|
}, "readMeetingCounts");
|
|
18804
18804
|
|
|
18805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-hit-context.js
|
|
18806
18806
|
import { createHash as createHash15 } from "node:crypto";
|
|
18807
18807
|
var contextCue = /* @__PURE__ */ __name((cue) => ({
|
|
18808
18808
|
ref: cue.reference,
|
|
@@ -18920,7 +18920,7 @@ var readMeetingHitContext = /* @__PURE__ */ __name(async (store, accountId, refe
|
|
|
18920
18920
|
return { ...packet, fingerprint: createHash15("sha256").update(JSON.stringify(packet)).digest("hex") };
|
|
18921
18921
|
}, "readMeetingHitContext");
|
|
18922
18922
|
|
|
18923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-passage-format.js
|
|
18924
18924
|
var visible = /* @__PURE__ */ __name((text2) => text2.replace(/[\p{Cc}\p{Cf}]/gu, (value) => value === "\n" || value === " " ? value : `\\u{${value.codePointAt(0)?.toString(16)}}`), "visible");
|
|
18925
18925
|
var markdown = /* @__PURE__ */ __name((text2) => visible(text2).replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replace(/[\\`*_[\]#|~]/g, "\\$&"), "markdown");
|
|
18926
18926
|
var timestamp = /* @__PURE__ */ __name((ms) => {
|
|
@@ -18996,7 +18996,7 @@ var readMeetingPassage = /* @__PURE__ */ __name(async (store, accountId, referen
|
|
|
18996
18996
|
return { packet, content };
|
|
18997
18997
|
}, "readMeetingPassage");
|
|
18998
18998
|
|
|
18999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-batch.js
|
|
19000
19000
|
var createMeetingBatchReader = /* @__PURE__ */ __name((store, accountId) => {
|
|
19001
19001
|
if (!Number.isSafeInteger(accountId) || accountId < 1)
|
|
19002
19002
|
throw new CliError("validation_error", "choose a positive meeting account");
|
|
@@ -19010,10 +19010,10 @@ var createMeetingBatchReader = /* @__PURE__ */ __name((store, accountId) => {
|
|
|
19010
19010
|
};
|
|
19011
19011
|
}, "createMeetingBatchReader");
|
|
19012
19012
|
|
|
19013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
19014
19014
|
import { createHash as createHash16 } from "node:crypto";
|
|
19015
19015
|
|
|
19016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
|
|
19017
19017
|
var positive2 = /* @__PURE__ */ __name((value, name, max) => {
|
|
19018
19018
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
19019
19019
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -19165,7 +19165,7 @@ var applyMeetingEmbedding = /* @__PURE__ */ __name(async (store, accountId, embe
|
|
|
19165
19165
|
};
|
|
19166
19166
|
}, "applyMeetingEmbedding");
|
|
19167
19167
|
|
|
19168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
19169
19169
|
var DEPTH = 200;
|
|
19170
19170
|
var cursorOf3 = /* @__PURE__ */ __name((value, key) => {
|
|
19171
19171
|
if (value === void 0)
|
|
@@ -19302,7 +19302,7 @@ var searchMeetingsCombined = /* @__PURE__ */ __name(async (store, embedder, type
|
|
|
19302
19302
|
};
|
|
19303
19303
|
}, "searchMeetingsCombined");
|
|
19304
19304
|
|
|
19305
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19305
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-context.js
|
|
19306
19306
|
var meetingReferences = /* @__PURE__ */ __name((values) => values.map((value) => formatMeetingReference(parseMeetingReference(value))), "meetingReferences");
|
|
19307
19307
|
var checkCancelled = /* @__PURE__ */ __name((signal) => {
|
|
19308
19308
|
if (!signal?.aborted)
|
|
@@ -19407,7 +19407,7 @@ var createMeetingContextService = /* @__PURE__ */ __name(async (store, input, op
|
|
|
19407
19407
|
};
|
|
19408
19408
|
}, "createMeetingContextService");
|
|
19409
19409
|
|
|
19410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
|
|
19411
19411
|
var integer2 = /* @__PURE__ */ __name((value, name, max) => {
|
|
19412
19412
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
19413
19413
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -19634,7 +19634,7 @@ var openMeetingEmbedder = /* @__PURE__ */ __name(async (choice, options = {}) =>
|
|
|
19634
19634
|
};
|
|
19635
19635
|
}, "openMeetingEmbedder");
|
|
19636
19636
|
|
|
19637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/context/communication-selection.js
|
|
19638
19638
|
var communicationFields = {
|
|
19639
19639
|
sources: pipe(array(strictObject({
|
|
19640
19640
|
id: pipe(string(), regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/)),
|
|
@@ -19666,7 +19666,7 @@ var communicationRequest = /* @__PURE__ */ __name((value, preparationAfter) => {
|
|
|
19666
19666
|
return { ...input, after, before: before2 };
|
|
19667
19667
|
}, "communicationRequest");
|
|
19668
19668
|
|
|
19669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-preparation-validation.js
|
|
19670
19670
|
var MEETING_PREPARATION_LIMITS = {
|
|
19671
19671
|
meetings: { min: 1, max: 20, default: 5 },
|
|
19672
19672
|
cues: { min: 1, max: 100, default: 10 },
|
|
@@ -19752,7 +19752,7 @@ var preparationRequest = /* @__PURE__ */ __name((accountId, externalId, original
|
|
|
19752
19752
|
return { ...input, history };
|
|
19753
19753
|
}, "preparationRequest");
|
|
19754
19754
|
|
|
19755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-communications-preparation.js
|
|
19756
19756
|
var readPreparationCommunications = /* @__PURE__ */ __name(async (plan, signal) => {
|
|
19757
19757
|
const section = {
|
|
19758
19758
|
readUsage: plan.reader.usage(),
|
|
@@ -19857,7 +19857,7 @@ var appendPreparationCommunications = /* @__PURE__ */ __name((result, read) => {
|
|
|
19857
19857
|
result.knowledge.coverage.otherSources = "see-communications";
|
|
19858
19858
|
}, "appendPreparationCommunications");
|
|
19859
19859
|
|
|
19860
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-communications-selection.js
|
|
19861
19861
|
var captureCommunicationSelections = /* @__PURE__ */ __name((port) => {
|
|
19862
19862
|
if (port === void 0)
|
|
19863
19863
|
return void 0;
|
|
@@ -19962,7 +19962,7 @@ var validatePreparationCommunications = /* @__PURE__ */ __name((section, request
|
|
|
19962
19962
|
}
|
|
19963
19963
|
}, "validatePreparationCommunications");
|
|
19964
19964
|
|
|
19965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-knowledge-preparation.js
|
|
19966
19966
|
var invalid6 = /* @__PURE__ */ __name(() => {
|
|
19967
19967
|
throw new CliError("invalid_response", "Preparation knowledge returned an invalid selection");
|
|
19968
19968
|
}, "invalid");
|
|
@@ -20031,7 +20031,7 @@ var appendKnowledgePreparation = /* @__PURE__ */ __name(async (store, result, in
|
|
|
20031
20031
|
}
|
|
20032
20032
|
}, "appendKnowledgePreparation");
|
|
20033
20033
|
|
|
20034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-notes-preparation.js
|
|
20035
20035
|
var invalid7 = /* @__PURE__ */ __name(() => {
|
|
20036
20036
|
throw new CliError("invalid_response", "Preparation notes returned an invalid selection");
|
|
20037
20037
|
}, "invalid");
|
|
@@ -20105,7 +20105,7 @@ var appendNotesPreparation = /* @__PURE__ */ __name(async (store, result, input)
|
|
|
20105
20105
|
}
|
|
20106
20106
|
}, "appendNotesPreparation");
|
|
20107
20107
|
|
|
20108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-project-preparation.js
|
|
20109
20109
|
var PAGE_LIMIT = 4;
|
|
20110
20110
|
var size2 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
20111
20111
|
var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, input) => {
|
|
@@ -20155,7 +20155,7 @@ var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, inpu
|
|
|
20155
20155
|
}
|
|
20156
20156
|
}, "appendProjectPreparation");
|
|
20157
20157
|
|
|
20158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-related-preparation.js
|
|
20159
20159
|
var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, input) => {
|
|
20160
20160
|
if (!result.series || !result.items.length || result.coverage.outputLimited)
|
|
20161
20161
|
return;
|
|
@@ -20227,7 +20227,7 @@ var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, inpu
|
|
|
20227
20227
|
}
|
|
20228
20228
|
}, "appendRelatedPreparation");
|
|
20229
20229
|
|
|
20230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-preparation.js
|
|
20231
20231
|
var size3 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
20232
20232
|
var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId, ports) => {
|
|
20233
20233
|
const fixed = snapshotMeetingScope(scope);
|
|
@@ -20365,7 +20365,7 @@ var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId,
|
|
|
20365
20365
|
};
|
|
20366
20366
|
}, "createMeetingPreparationService");
|
|
20367
20367
|
|
|
20368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20368
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-task-proposal.js
|
|
20369
20369
|
import { createHash as createHash17 } from "node:crypto";
|
|
20370
20370
|
var proposeMeetingTask = /* @__PURE__ */ __name(async (store, accountId, reference, kind) => {
|
|
20371
20371
|
if (!TASK_KINDS.includes(kind))
|
|
@@ -20385,7 +20385,7 @@ var proposeMeetingTask = /* @__PURE__ */ __name(async (store, accountId, referen
|
|
|
20385
20385
|
};
|
|
20386
20386
|
}, "proposeMeetingTask");
|
|
20387
20387
|
|
|
20388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/meeting-tasks.js
|
|
20389
20389
|
var accountSnapshot = /* @__PURE__ */ __name((key) => {
|
|
20390
20390
|
const { provider, account: account2, scope } = key;
|
|
20391
20391
|
if (!provider.trim() || provider.includes(":") || !account2.trim())
|
|
@@ -20448,7 +20448,7 @@ var readMeetingTask = /* @__PURE__ */ __name(async (store, account2, id2) => {
|
|
|
20448
20448
|
}
|
|
20449
20449
|
}, "readMeetingTask");
|
|
20450
20450
|
|
|
20451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/package-upgrade.js
|
|
20452
20452
|
var upgradePackage = /* @__PURE__ */ __name(async ({ current, command, packageName, check }, ports) => {
|
|
20453
20453
|
const installer = ports.installer();
|
|
20454
20454
|
const argv = updateCommand(installer, packageName);
|
|
@@ -20513,7 +20513,7 @@ var dayAfter = /* @__PURE__ */ __name((published) => {
|
|
|
20513
20513
|
return Number.isNaN(time) ? null : new Date(time + 24 * 60 * 60 * 1e3).toISOString();
|
|
20514
20514
|
}, "dayAfter");
|
|
20515
20515
|
|
|
20516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposal-tasks.js
|
|
20517
20517
|
var proposalSource = /* @__PURE__ */ __name((id2) => `proposed-action:${id2}`, "proposalSource");
|
|
20518
20518
|
var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
20519
20519
|
const proposal = await store.proposedActions.get(id2);
|
|
@@ -20536,7 +20536,7 @@ var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
|
20536
20536
|
return { proposal: await store.proposedActions.approve(proposal.id, by, { task: task2.id }), task: task2 };
|
|
20537
20537
|
}, "approveAsTask");
|
|
20538
20538
|
|
|
20539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/ids.js
|
|
20540
20540
|
var MAX_IDS = 500;
|
|
20541
20541
|
var refuse = /* @__PURE__ */ __name((message) => {
|
|
20542
20542
|
throw new CliError("validation_error", message, { reason: "proposal.ids" });
|
|
@@ -20578,7 +20578,7 @@ var parseProposalIds = /* @__PURE__ */ __name((text2) => {
|
|
|
20578
20578
|
return ids;
|
|
20579
20579
|
}, "parseProposalIds");
|
|
20580
20580
|
|
|
20581
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/shared.js
|
|
20582
20582
|
var proposerOfAuthor = /* @__PURE__ */ __name((author) => {
|
|
20583
20583
|
if (author.type === "person")
|
|
20584
20584
|
return { type: "person", id: author.id };
|
|
@@ -20620,7 +20620,7 @@ var storedStatus = /* @__PURE__ */ __name((filter) => {
|
|
|
20620
20620
|
return status === "proposed" || status === "rejected" ? status : void 0;
|
|
20621
20621
|
}, "storedStatus");
|
|
20622
20622
|
|
|
20623
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/findings.js
|
|
20624
20624
|
var FACT_SUMMARIES = {
|
|
20625
20625
|
fact: /* @__PURE__ */ __name((finding) => finding.statement, "fact"),
|
|
20626
20626
|
task: /* @__PURE__ */ __name((finding) => finding.title, "task"),
|
|
@@ -20692,7 +20692,7 @@ var findingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
20692
20692
|
};
|
|
20693
20693
|
}, "findingsKind");
|
|
20694
20694
|
|
|
20695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/action.js
|
|
20696
20696
|
var rowOf2 = /* @__PURE__ */ __name((action2) => ({
|
|
20697
20697
|
id: action2.id,
|
|
20698
20698
|
kind: "action",
|
|
@@ -20732,7 +20732,7 @@ var actionKind = /* @__PURE__ */ __name((store, claimed) => ({
|
|
|
20732
20732
|
}, "decide")
|
|
20733
20733
|
}), "actionKind");
|
|
20734
20734
|
|
|
20735
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/fact.js
|
|
20736
20736
|
var STATUS = {
|
|
20737
20737
|
proposed: "proposed",
|
|
20738
20738
|
accepted: "confirmed",
|
|
@@ -20775,7 +20775,7 @@ var factKind = /* @__PURE__ */ __name((store) => ({
|
|
|
20775
20775
|
}, "decide")
|
|
20776
20776
|
}), "factKind");
|
|
20777
20777
|
|
|
20778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/finance.js
|
|
20779
20779
|
var rowOf4 = /* @__PURE__ */ __name((kind, entry) => ({
|
|
20780
20780
|
id: entry.ref,
|
|
20781
20781
|
kind,
|
|
@@ -20810,7 +20810,7 @@ var financeKind = /* @__PURE__ */ __name((store, kind) => ({
|
|
|
20810
20810
|
var invoiceKind = /* @__PURE__ */ __name((store) => financeKind(store, "invoice"), "invoiceKind");
|
|
20811
20811
|
var paymentKind = /* @__PURE__ */ __name((store) => financeKind(store, "payment"), "paymentKind");
|
|
20812
20812
|
|
|
20813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/key-document.js
|
|
20814
20814
|
var linkRow = /* @__PURE__ */ __name((link4) => ({
|
|
20815
20815
|
id: `key:${link4.id}`,
|
|
20816
20816
|
kind: "key_document",
|
|
@@ -20878,7 +20878,7 @@ var keyDocumentKind = /* @__PURE__ */ __name((store) => {
|
|
|
20878
20878
|
};
|
|
20879
20879
|
}, "keyDocumentKind");
|
|
20880
20880
|
|
|
20881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/mail-findings.js
|
|
20882
20882
|
var summaryOf = /* @__PURE__ */ __name((finding) => {
|
|
20883
20883
|
switch (finding.kind) {
|
|
20884
20884
|
case "task":
|
|
@@ -20957,7 +20957,7 @@ var mailFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
20957
20957
|
};
|
|
20958
20958
|
}, "mailFindingsKind");
|
|
20959
20959
|
|
|
20960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/meeting-findings.js
|
|
20961
20961
|
var rowOf6 = /* @__PURE__ */ __name((action2, batch) => {
|
|
20962
20962
|
const findings = batch.input.findings;
|
|
20963
20963
|
const projects = [...new Set(findings.map((one2) => "project" in one2 ? one2.project : void 0))];
|
|
@@ -21021,7 +21021,7 @@ var meetingFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
21021
21021
|
};
|
|
21022
21022
|
}, "meetingFindingsKind");
|
|
21023
21023
|
|
|
21024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/memory.js
|
|
21025
21025
|
var STATUS2 = {
|
|
21026
21026
|
proposed: "proposed",
|
|
21027
21027
|
confirmed: "confirmed",
|
|
@@ -21062,7 +21062,7 @@ var memoryKind = /* @__PURE__ */ __name((store) => ({
|
|
|
21062
21062
|
}, "decide")
|
|
21063
21063
|
}), "memoryKind");
|
|
21064
21064
|
|
|
21065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship.js
|
|
21066
21066
|
var linkRow2 = /* @__PURE__ */ __name((link4) => ({
|
|
21067
21067
|
id: `link:${link4.id}`,
|
|
21068
21068
|
kind: "relationship",
|
|
@@ -21136,7 +21136,7 @@ var relationshipKind = /* @__PURE__ */ __name((store) => {
|
|
|
21136
21136
|
};
|
|
21137
21137
|
}, "relationshipKind");
|
|
21138
21138
|
|
|
21139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship-update.js
|
|
21140
21140
|
var KIND2 = "relationship_update";
|
|
21141
21141
|
var summaryOf2 = /* @__PURE__ */ __name(({ changes }) => Object.entries(changes).map(([field, value]) => `${field} ${value ?? "cleared"}`).join(", "), "summaryOf");
|
|
21142
21142
|
var rowOf8 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -21186,7 +21186,7 @@ var relationshipUpdateKind = /* @__PURE__ */ __name((store) => ({
|
|
|
21186
21186
|
}, "decide")
|
|
21187
21187
|
}), "relationshipUpdateKind");
|
|
21188
21188
|
|
|
21189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/task-close.js
|
|
21190
21190
|
var rowOf9 = /* @__PURE__ */ __name((task2) => {
|
|
21191
21191
|
const suggestion = task2.closeSuggestion;
|
|
21192
21192
|
if (suggestion === null)
|
|
@@ -21254,7 +21254,7 @@ var taskCloseKind = /* @__PURE__ */ __name((store) => {
|
|
|
21254
21254
|
};
|
|
21255
21255
|
}, "taskCloseKind");
|
|
21256
21256
|
|
|
21257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/proposals/registry.js
|
|
21258
21258
|
var PREFIX = /^([a-z][a-z_]*):/;
|
|
21259
21259
|
var marked = /* @__PURE__ */ __name((kind, row) => kind.ownerOnly ? { ...row, ownerOnly: true } : row, "marked");
|
|
21260
21260
|
var refusalOf = /* @__PURE__ */ __name((id2, error) => {
|
|
@@ -21380,7 +21380,7 @@ var proposalRegistry = /* @__PURE__ */ __name((store) => {
|
|
|
21380
21380
|
return registry;
|
|
21381
21381
|
}, "proposalRegistry");
|
|
21382
21382
|
|
|
21383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/stored-meeting-project-candidate-validation.js
|
|
21384
21384
|
var storedCandidateRequest = /* @__PURE__ */ __name((reference, accountId, options) => {
|
|
21385
21385
|
const invalid8 = /* @__PURE__ */ __name((field) => {
|
|
21386
21386
|
throw new CliError("validation_error", `invalid stored project candidate ${field}`);
|
|
@@ -21422,7 +21422,7 @@ var storedCandidateRequest = /* @__PURE__ */ __name((reference, accountId, optio
|
|
|
21422
21422
|
return { reference, limits, after, afterTranscriptId, signal };
|
|
21423
21423
|
}, "storedCandidateRequest");
|
|
21424
21424
|
|
|
21425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/stored-meeting-project-candidates.js
|
|
21426
21426
|
var createStoredMeetingProjectCandidateReader = /* @__PURE__ */ __name((scope, accountId, ports) => {
|
|
21427
21427
|
const fixed = snapshotMeetingScope(scope);
|
|
21428
21428
|
const store = ports?.meetings;
|
|
@@ -21514,7 +21514,7 @@ var createStoredMeetingProjectCandidateReader = /* @__PURE__ */ __name((scope, a
|
|
|
21514
21514
|
};
|
|
21515
21515
|
}, "createStoredMeetingProjectCandidateReader");
|
|
21516
21516
|
|
|
21517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/index.js
|
|
21518
21518
|
var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
21519
21519
|
const pictures = picturesService(deps);
|
|
21520
21520
|
const base = {
|