@wirecat/cli-memo 0.131.75 → 0.131.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actions.d.ts +1 -0
- package/dist/actions/actions.d.ts.map +1 -1
- package/dist/actions/actions.js +3 -3
- package/dist/actions/actions.js.map +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +3 -1
- package/dist/actions/command.js.map +1 -1
- package/dist/agents/command.d.ts.map +1 -1
- package/dist/agents/command.js +3 -2
- package/dist/agents/command.js.map +1 -1
- package/dist/agents/log.d.ts +1 -1
- package/dist/agents/log.d.ts.map +1 -1
- package/dist/agents/log.js +5 -4
- package/dist/agents/log.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-LUGN5BHP.js → all-profiles-4UWCPMRQ.js} +10 -8
- package/dist/bundle/{anthropic-W7JXDZPL.js → anthropic-HECHQVOK.js} +7 -5
- package/dist/bundle/{app-server-TRRARE66.js → app-server-GQEQWFYQ.js} +42 -40
- package/dist/bundle/auto-3O7JD27U.js +91 -0
- package/dist/bundle/{bun-S3JZIN4S.js → bun-IWGIAD7H.js} +2 -2
- package/dist/bundle/{bun-sqlite-X3WQN3CV.js → bun-sqlite-VJFM4TVN.js} +7 -5
- package/dist/bundle/{chunk-KDBAY5JZ.js → chunk-2DLCQ4AK.js} +1 -1
- package/dist/bundle/{chunk-W46O6RJ5.js → chunk-2IQWMWMC.js} +42 -130
- package/dist/bundle/{chunk-4O2MYFYC.js → chunk-3EPBPSP6.js} +1 -1
- package/dist/bundle/{chunk-KEBL3PY4.js → chunk-3QBRLN6T.js} +2 -2
- package/dist/bundle/{chunk-V7BDQIZS.js → chunk-3URQNBDV.js} +2 -2
- package/dist/bundle/{chunk-UU3OAPGO.js → chunk-4EFQOTNQ.js} +7 -7
- package/dist/bundle/{chunk-RZS24U4N.js → chunk-4VO2RJAE.js} +12 -10
- package/dist/bundle/{chunk-WKLF7CAM.js → chunk-5APYWW46.js} +34 -32
- package/dist/bundle/{chunk-VYCLOFPC.js → chunk-6A37YXAL.js} +6 -184
- package/dist/bundle/{chunk-346PWQJF.js → chunk-6RN34ZWU.js} +6 -6
- package/dist/bundle/{chunk-WZHCQ4VZ.js → chunk-6VISMU6R.js} +8 -8
- package/dist/bundle/{chunk-ZP2XI5DR.js → chunk-76T57Y3Q.js} +6 -6
- package/dist/bundle/{chunk-FGMFJUHR.js → chunk-7YALAAL4.js} +734 -374
- package/dist/bundle/{chunk-KA5MDFLU.js → chunk-A3QZXQI3.js} +1 -1
- package/dist/bundle/{chunk-4XI7S3PO.js → chunk-A54EZ6DV.js} +15 -15
- package/dist/bundle/{chunk-5RLCKP5E.js → chunk-AH6V2UJZ.js} +22 -18
- package/dist/bundle/{chunk-2EZFUIL4.js → chunk-BA6GHX5B.js} +27 -27
- package/dist/bundle/{chunk-E74VWHZ2.js → chunk-BFEXVALS.js} +1 -1
- package/dist/bundle/{chunk-XPSXVUZG.js → chunk-BNOSAHVH.js} +3 -3
- package/dist/bundle/{chunk-ZXW5FPH2.js → chunk-C3HS26N5.js} +1 -1
- package/dist/bundle/{chunk-VFKCZJFT.js → chunk-CFZZUGUD.js} +22 -22
- package/dist/bundle/{chunk-KYJBGCTC.js → chunk-CPKS7JKX.js} +2 -2
- package/dist/bundle/{chunk-7Y4HUYI3.js → chunk-D7KQYLAN.js} +8 -8
- package/dist/bundle/{chunk-LX3OSTBD.js → chunk-DE5BNDIA.js} +4 -4
- package/dist/bundle/{chunk-SJD4KTK2.js → chunk-DJYMK7EI.js} +4 -4
- package/dist/bundle/{chunk-EWRHTZD3.js → chunk-DNPE4LOZ.js} +11 -11
- package/dist/bundle/chunk-EXFRC4OT.js +106 -0
- package/dist/bundle/{chunk-XMHWGHID.js → chunk-EY46RMMS.js} +183 -158
- package/dist/bundle/{chunk-UIAGASGP.js → chunk-HFZHXP4U.js} +6 -6
- package/dist/bundle/{chunk-QYJJBE56.js → chunk-HKDUGTWQ.js} +3 -3
- package/dist/bundle/{chunk-VB4OLJHK.js → chunk-HWIKY7KF.js} +3 -3
- package/dist/bundle/{chunk-2QND7VJS.js → chunk-INXIJXU2.js} +7 -7
- package/dist/bundle/{chunk-OWUEEVF6.js → chunk-IYINNZQE.js} +13 -12
- package/dist/bundle/{chunk-YLYZNPAZ.js → chunk-JKLJM7EG.js} +2 -2
- package/dist/bundle/{chunk-6VMIMAZ2.js → chunk-JSGRDE5Q.js} +302 -298
- package/dist/bundle/{chunk-G45BLLDR.js → chunk-JTLPFUIQ.js} +4 -4
- package/dist/bundle/{chunk-4QGUBKN5.js → chunk-KTBPBMNR.js} +6 -6
- package/dist/bundle/{chunk-ZTZLAGZA.js → chunk-KYW7RWGE.js} +3 -3
- package/dist/bundle/{chunk-6I4DOBSD.js → chunk-LHVNZ25W.js} +13 -13
- package/dist/bundle/{chunk-SIQDO5DN.js → chunk-LO74ISD6.js} +4 -4
- package/dist/bundle/{chunk-XQ3RZU3J.js → chunk-M4MM4QUM.js} +1 -1
- package/dist/bundle/{chunk-6AOPUQTC.js → chunk-MRUE3BWX.js} +1 -1
- package/dist/bundle/{chunk-QKWM4VK4.js → chunk-MZHH5XMX.js} +2 -2
- package/dist/bundle/{chunk-SCYHDYLI.js → chunk-NGWUFB4K.js} +1 -1
- package/dist/bundle/{chunk-NR633L2N.js → chunk-OAWNQZ3V.js} +4 -4
- package/dist/bundle/{chunk-SIOPF2UG.js → chunk-OB3OPV55.js} +6 -6
- package/dist/bundle/{chunk-E2PSOSTN.js → chunk-OQSIFLZS.js} +2 -2
- package/dist/bundle/{chunk-4KDORB7C.js → chunk-PPARTGFE.js} +10 -10
- package/dist/bundle/{chunk-YB4KGUXY.js → chunk-QNJ6O6J4.js} +3 -3
- package/dist/bundle/{chunk-GFVSZY4J.js → chunk-S5T4SO7I.js} +8 -2
- package/dist/bundle/{chunk-YDTGYYOR.js → chunk-SHO3T3F2.js} +4 -4
- package/dist/bundle/{chunk-6FTZ53TT.js → chunk-TFXKS2WG.js} +1 -1
- package/dist/bundle/{chunk-5CTOWPOL.js → chunk-TIHQFMH2.js} +12 -10
- package/dist/bundle/{chunk-XQHOMQNZ.js → chunk-TXXKLYJQ.js} +4 -4
- package/dist/bundle/{chunk-ZISVFVQU.js → chunk-UD5JUJES.js} +365 -364
- package/dist/bundle/{chunk-KUFOM3SB.js → chunk-UDRKGCDS.js} +2 -2
- package/dist/bundle/chunk-UIS44ZMF.js +185 -0
- package/dist/bundle/{chunk-AOHT5FNX.js → chunk-VIY77EDM.js} +48 -48
- package/dist/bundle/{chunk-MPZBV5RL.js → chunk-VMTTWF2M.js} +8 -8
- package/dist/bundle/{chunk-IQIM4UC7.js → chunk-W36BMC6F.js} +5 -5
- package/dist/bundle/{chunk-JINEHQ2T.js → chunk-WZZ426CJ.js} +99 -84
- package/dist/bundle/chunk-X2SA73EE.js +200 -0
- package/dist/bundle/{chunk-BDVM5652.js → chunk-XLZPP5MB.js} +1 -1
- package/dist/bundle/{chunk-LPGE6ACC.js → chunk-YABNPKKQ.js} +2 -2
- package/dist/bundle/{chunk-ZL63GL3Y.js → chunk-YZ4J67GU.js} +3 -3
- package/dist/bundle/{chunk-C6MWOBEL.js → chunk-ZPB3VTS7.js} +22 -12
- package/dist/bundle/{chunk-W64FO6DD.js → chunk-ZPPMGXER.js} +400 -37
- package/dist/bundle/command-contract-SEDOYJIJ.js +34 -0
- package/dist/bundle/{command-server-entry-XVUPTSSH.js → command-server-entry-TQBKNSM3.js} +71 -53
- package/dist/bundle/{decode-METZOSMG.js → decode-VFRSEIBD.js} +7 -5
- package/dist/bundle/{dispatch-PHB2Y6ZL.js → dispatch-N73TJNYM.js} +3 -3
- package/dist/bundle/{echarts-EBSP4VCK.js → echarts-DP2GC2C6.js} +2 -2
- package/dist/bundle/{embed-GVVU7N7W.js → embed-BIINGRNY.js} +8 -6
- package/dist/bundle/{embedder-6BZOYAXV.js → embedder-2AUO2PHQ.js} +11 -9
- package/dist/bundle/entry-APUFP74B.js +23 -0
- package/dist/bundle/entry-LGJ2Y7AS.js +78 -0
- package/dist/bundle/failure-5QSMH2CD.js +71 -0
- package/dist/bundle/{failure-OBT7CUVW.js → failure-IPHFR3KW.js} +3 -2
- package/dist/bundle/{first-run-HQ4GA4EF.js → first-run-7UMKRQL7.js} +11 -9
- package/dist/bundle/first-screen-H5CQSLIX.js +32 -0
- package/dist/bundle/{instructions-VDKK3Y5Z.js → instructions-WDKCHEG6.js} +1 -1
- package/dist/bundle/mcp-3HKOGYHL.js +92 -0
- package/dist/bundle/memo.js +9 -56
- package/dist/bundle/{node-HWGZYNUX.js → node-QBL3F2VF.js} +2 -2
- package/dist/bundle/{node-sqlite-PSYENWGS.js → node-sqlite-WFKC73E5.js} +8 -6
- package/dist/bundle/{oauth-TQGMUJK2.js → oauth-4PT7N4SE.js} +9 -7
- package/dist/bundle/{open-KDDJDKCE.js → open-I7XENSGI.js} +7 -5
- package/dist/bundle/openai-DUSBTUFI.js +26 -0
- package/dist/bundle/{process-APNTXJJE.js → process-TVXEHAK6.js} +1 -1
- package/dist/bundle/{program-OGDARQTX.js → program-3X4EPBEW.js} +587 -234
- package/dist/bundle/{prompt-BMBZCLGF.js → prompt-QRYXTON7.js} +7 -5
- package/dist/bundle/{recognize-3SEY2MAR.js → recognize-ZLDPIN36.js} +6 -4
- package/dist/bundle/{remote-ODH54UXO.js → remote-3GRP5YE3.js} +9 -7
- package/dist/bundle/{rerank-JQHBNTUK.js → rerank-6B2FI6LN.js} +9 -7
- package/dist/bundle/serve-ZP3TEANT.js +24 -0
- package/dist/bundle/{server-ADPO4V4B.js → server-3SJJNNSX.js} +63 -59
- package/dist/bundle/server-72VZYABL.js +50 -0
- package/dist/bundle/server-UY47EXPQ.js +64 -0
- package/dist/bundle/{state-M3VGXSV4.js → state-JDH2X2CY.js} +8 -6
- package/dist/bundle/{store-GSZAXU3A.js → store-FDNYGJUF.js} +14 -12
- package/dist/bundle/store-maintenance-command-5LFS45JM.js +49 -0
- package/dist/bundle/update-257J2SPM.js +74 -0
- package/dist/digest/backfill.d.ts.map +1 -1
- package/dist/digest/backfill.js +2 -1
- package/dist/digest/backfill.js.map +1 -1
- package/dist/digest/digest-commands.d.ts.map +1 -1
- package/dist/digest/digest-commands.js +2 -1
- package/dist/digest/digest-commands.js.map +1 -1
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +2 -1
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +13 -1
- package/dist/examples.js.map +1 -1
- package/dist/exit-code.d.ts +7 -0
- package/dist/exit-code.d.ts.map +1 -0
- package/dist/exit-code.js +19 -0
- package/dist/exit-code.js.map +1 -0
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +3 -2
- package/dist/facts/command.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -1
- package/dist/facts/fact.d.ts.map +1 -1
- package/dist/facts/fact.js +3 -3
- package/dist/facts/fact.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +1 -0
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +3 -2
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/memory.d.ts +1 -1
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +2 -2
- package/dist/memories/memory.js.map +1 -1
- package/dist/page.d.ts +14 -5
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +11 -5
- package/dist/page.js.map +1 -1
- package/dist/program.d.ts +3 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +7 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/records/import.d.ts.map +1 -1
- package/dist/records/import.js +60 -5
- package/dist/records/import.js.map +1 -1
- package/dist/records/input.d.ts +6 -2
- package/dist/records/input.d.ts.map +1 -1
- package/dist/records/input.js +87 -3
- package/dist/records/input.js.map +1 -1
- package/dist/run/entry.d.ts +7 -0
- package/dist/run/entry.d.ts.map +1 -0
- package/dist/run/entry.js +62 -0
- package/dist/run/entry.js.map +1 -0
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +2 -1
- package/dist/run/import.js.map +1 -1
- package/dist/sources/command.d.ts.map +1 -1
- package/dist/sources/command.js +55 -4
- package/dist/sources/command.js.map +1 -1
- package/dist/sources/read.d.ts +29 -2
- package/dist/sources/read.d.ts.map +1 -1
- package/dist/sources/read.js +67 -5
- package/dist/sources/read.js.map +1 -1
- package/dist/sources/readers/ai-model.d.ts +4 -0
- package/dist/sources/readers/ai-model.d.ts.map +1 -0
- package/dist/sources/readers/ai-model.js +74 -0
- package/dist/sources/readers/ai-model.js.map +1 -0
- package/dist/sources/readers/index.d.ts +1 -0
- package/dist/sources/readers/index.d.ts.map +1 -1
- package/dist/sources/readers/index.js +3 -1
- package/dist/sources/readers/index.js.map +1 -1
- package/dist/sources/readers/keys.js +1 -1
- package/dist/sources/readers/keys.js.map +1 -1
- package/dist/sources/readers/types.d.ts +5 -2
- package/dist/sources/readers/types.d.ts.map +1 -1
- package/dist/sources/readers/types.js +1 -1
- package/dist/sources/readers/types.js.map +1 -1
- package/dist/sources/suggest-command.d.ts.map +1 -1
- package/dist/sources/suggest-command.js +16 -5
- package/dist/sources/suggest-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-AQAKW55Z.js +0 -89
- package/dist/bundle/chunk-XPCTY6XV.js +0 -116
- package/dist/bundle/command-contract-QQG343ZQ.js +0 -32
- package/dist/bundle/entry-TBOYUMWB.js +0 -21
- package/dist/bundle/failure-EKMEAYZH.js +0 -69
- package/dist/bundle/first-screen-6T65PQ37.js +0 -30
- package/dist/bundle/mcp-DEY765VA.js +0 -90
- package/dist/bundle/openai-QPGCUM4T.js +0 -24
- package/dist/bundle/serve-C22ZONSM.js +0 -22
- package/dist/bundle/server-3UX245DY.js +0 -62
- package/dist/bundle/server-6G5XF3V5.js +0 -48
- package/dist/bundle/store-maintenance-command-QMTALGSQ.js +0 -47
- package/dist/bundle/update-HDJ23IV5.js +0 -72
- /package/dist/bundle/{chunk-IXSUVHW6.js → chunk-6AALVDEA.js} +0 -0
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
sameOrdinaryFile,
|
|
9
9
|
syncDirectory,
|
|
10
10
|
writeFileAtomic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LHVNZ25W.js";
|
|
12
12
|
import {
|
|
13
13
|
remoteKey
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KYW7RWGE.js";
|
|
15
15
|
import {
|
|
16
16
|
isNewer,
|
|
17
17
|
updateCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3QBRLN6T.js";
|
|
19
19
|
import {
|
|
20
20
|
AGENDA_COLUMNS,
|
|
21
21
|
BUSINESS_FIND_MAX,
|
|
@@ -114,13 +114,13 @@ import {
|
|
|
114
114
|
validateFields,
|
|
115
115
|
waitingPointer,
|
|
116
116
|
withoutField
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-UD5JUJES.js";
|
|
118
118
|
import {
|
|
119
119
|
DEFAULT_STEMMERS,
|
|
120
120
|
createStemmer,
|
|
121
121
|
fold,
|
|
122
122
|
normalize
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-VMTTWF2M.js";
|
|
124
124
|
import {
|
|
125
125
|
MAX_MODEL_IMAGE_BYTES,
|
|
126
126
|
checkedOptions,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
range,
|
|
129
129
|
systemFor,
|
|
130
130
|
validateImages
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-DJYMK7EI.js";
|
|
132
132
|
import {
|
|
133
133
|
Unzip,
|
|
134
134
|
UnzipInflate,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
placedText,
|
|
140
140
|
runEmbedders,
|
|
141
141
|
textModelsDirectory
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-OB3OPV55.js";
|
|
143
143
|
import {
|
|
144
144
|
CEILING_KEY,
|
|
145
145
|
Command,
|
|
@@ -189,13 +189,13 @@ import {
|
|
|
189
189
|
textModels,
|
|
190
190
|
vectorModelKey,
|
|
191
191
|
writeTextModelsSection
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-EY46RMMS.js";
|
|
193
193
|
import {
|
|
194
194
|
MESSENGER_CHANGE_REFUSAL,
|
|
195
195
|
envName,
|
|
196
196
|
readOnlyLockOf,
|
|
197
197
|
readOnlyRefusal
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-UDRKGCDS.js";
|
|
199
199
|
import {
|
|
200
200
|
CATEGORIES,
|
|
201
201
|
DEAL_KINDS,
|
|
@@ -293,27 +293,27 @@ import {
|
|
|
293
293
|
walkQuery,
|
|
294
294
|
withAttempt,
|
|
295
295
|
zonedMoment
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-WZZ426CJ.js";
|
|
297
297
|
import {
|
|
298
298
|
damagedFile,
|
|
299
299
|
isCliFailure,
|
|
300
300
|
sqliteCode
|
|
301
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-HWIKY7KF.js";
|
|
302
302
|
import {
|
|
303
303
|
DEFAULT_TASK_CATEGORIES,
|
|
304
304
|
FALLBACK_CATEGORY,
|
|
305
305
|
readSharedSection,
|
|
306
306
|
sharedConfigPath,
|
|
307
307
|
writeSharedSection
|
|
308
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-KTBPBMNR.js";
|
|
309
309
|
import {
|
|
310
310
|
installFiles,
|
|
311
311
|
megabytes
|
|
312
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-LO74ISD6.js";
|
|
313
313
|
import {
|
|
314
314
|
storePath,
|
|
315
315
|
wirecatDirectory
|
|
316
|
-
} from "./chunk-
|
|
316
|
+
} from "./chunk-YABNPKKQ.js";
|
|
317
317
|
import {
|
|
318
318
|
Credentials,
|
|
319
319
|
logRecordOf,
|
|
@@ -321,7 +321,7 @@ import {
|
|
|
321
321
|
realSleep,
|
|
322
322
|
resolvePaths,
|
|
323
323
|
writeSecurely
|
|
324
|
-
} from "./chunk-
|
|
324
|
+
} from "./chunk-2IQWMWMC.js";
|
|
325
325
|
import {
|
|
326
326
|
array,
|
|
327
327
|
boolean,
|
|
@@ -349,7 +349,7 @@ import {
|
|
|
349
349
|
trim,
|
|
350
350
|
union,
|
|
351
351
|
unknown
|
|
352
|
-
} from "./chunk-
|
|
352
|
+
} from "./chunk-6A37YXAL.js";
|
|
353
353
|
import {
|
|
354
354
|
importFrom,
|
|
355
355
|
resolveFrom
|
|
@@ -359,7 +359,7 @@ import {
|
|
|
359
359
|
isCliError,
|
|
360
360
|
singleLine,
|
|
361
361
|
visibleControls
|
|
362
|
-
} from "./chunk-
|
|
362
|
+
} from "./chunk-BA6GHX5B.js";
|
|
363
363
|
import {
|
|
364
364
|
__commonJS,
|
|
365
365
|
__name,
|
|
@@ -16975,7 +16975,7 @@ var require_lib3 = __commonJS({
|
|
|
16975
16975
|
}
|
|
16976
16976
|
});
|
|
16977
16977
|
|
|
16978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/conversations/link.js
|
|
16979
16979
|
var RULES_VERSION = 5;
|
|
16980
16980
|
var LOOK_BACK = 50;
|
|
16981
16981
|
var SAME_SENDER_WITHIN = 10;
|
|
@@ -17065,10 +17065,10 @@ var latest = /* @__PURE__ */ __name((window3, matches) => {
|
|
|
17065
17065
|
var sameThread = /* @__PURE__ */ __name((a, b) => a.threadId === b.threadId, "sameThread");
|
|
17066
17066
|
var link = /* @__PURE__ */ __name((message, parentId, source, kind, confidence, method) => ({ messageId: message.id, parentId, source, kind, confidence, method }), "link");
|
|
17067
17067
|
|
|
17068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/ports/traits.js
|
|
17069
17069
|
var syncsOneChat = /* @__PURE__ */ __name((messenger) => messenger.history !== "store" || messenger.historyOnDemand === true, "syncsOneChat");
|
|
17070
17070
|
|
|
17071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
17072
17072
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
17073
17073
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
17074
17074
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -17171,7 +17171,7 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
|
|
|
17171
17171
|
};
|
|
17172
17172
|
}, "storeDamageReport");
|
|
17173
17173
|
|
|
17174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
17175
17175
|
import { existsSync, statSync } from "node:fs";
|
|
17176
17176
|
var JSON_COLUMNS = {
|
|
17177
17177
|
accounts: ["settings"],
|
|
@@ -17313,10 +17313,10 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
17313
17313
|
}
|
|
17314
17314
|
}, "storeHealth");
|
|
17315
17315
|
|
|
17316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
17317
17317
|
var MAX_BYTES = 16 * 1024 * 1024;
|
|
17318
17318
|
|
|
17319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
17320
17320
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options2) => {
|
|
17321
17321
|
if (!options2 || typeof options2 !== "object" || Array.isArray(options2))
|
|
17322
17322
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -17342,7 +17342,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options2) =
|
|
|
17342
17342
|
});
|
|
17343
17343
|
}, "previewProjectAnnotationSnapshot");
|
|
17344
17344
|
|
|
17345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
17346
17346
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options2) => {
|
|
17347
17347
|
if (!options2 || typeof options2 !== "object" || Array.isArray(options2))
|
|
17348
17348
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -17363,7 +17363,7 @@ var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options2) => {
|
|
|
17363
17363
|
}
|
|
17364
17364
|
}, "snapshotProjectAnnotations");
|
|
17365
17365
|
|
|
17366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/search/groups.js
|
|
17367
17367
|
var ALL = "all";
|
|
17368
17368
|
var OWNER_NOTES = { provider: "notes", account: INTERNAL_NOTES };
|
|
17369
17369
|
var NOT_GROUP_NAMES = /* @__PURE__ */ new Set([ALL, "bots"]);
|
|
@@ -17497,7 +17497,7 @@ var scopeToGroup = /* @__PURE__ */ __name((run, request, context2) => {
|
|
|
17497
17497
|
return scoped;
|
|
17498
17498
|
}, "scopeToGroup");
|
|
17499
17499
|
|
|
17500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/search-kind.js
|
|
17501
17501
|
var NO_MAIL = "no_mail";
|
|
17502
17502
|
var MAIL = "email";
|
|
17503
17503
|
var groupLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -17571,10 +17571,10 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
|
|
|
17571
17571
|
return chosenMail.map(({ provider, account }) => ({ provider, account }));
|
|
17572
17572
|
}, "accountsOfKind");
|
|
17573
17573
|
|
|
17574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
17575
17575
|
import { randomUUID } from "node:crypto";
|
|
17576
17576
|
|
|
17577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
17578
17578
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
17579
17579
|
import { dirname, join } from "node:path";
|
|
17580
17580
|
var MOST_DEADLINES = 50;
|
|
@@ -17658,11 +17658,11 @@ var FloodMemory = class {
|
|
|
17658
17658
|
}
|
|
17659
17659
|
};
|
|
17660
17660
|
|
|
17661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
17662
17662
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
17663
17663
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
17664
17664
|
|
|
17665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
17666
17666
|
import { closeSync, mkdirSync as mkdirSync2, openSync, statSync as statSync2, unlinkSync } from "node:fs";
|
|
17667
17667
|
import { dirname as dirname2 } from "node:path";
|
|
17668
17668
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -17729,7 +17729,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
17729
17729
|
}
|
|
17730
17730
|
}, "lockTime");
|
|
17731
17731
|
|
|
17732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
17733
17733
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
17734
17734
|
var SendJournal = class {
|
|
17735
17735
|
static {
|
|
@@ -17806,7 +17806,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
17806
17806
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
17807
17807
|
}, "withSendId");
|
|
17808
17808
|
|
|
17809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
17810
17810
|
import { existsSync as existsSync2, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
17811
17811
|
import { join as join3 } from "node:path";
|
|
17812
17812
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -17918,7 +17918,7 @@ var RecipientList = class {
|
|
|
17918
17918
|
}
|
|
17919
17919
|
};
|
|
17920
17920
|
|
|
17921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
17922
17922
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
17923
17923
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
17924
17924
|
"attachments.extract",
|
|
@@ -18111,7 +18111,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
18111
18111
|
}), "guardFor");
|
|
18112
18112
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
18113
18113
|
|
|
18114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/deps.js
|
|
18115
18115
|
var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
|
|
18116
18116
|
var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
|
|
18117
18117
|
var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
|
|
@@ -18186,7 +18186,7 @@ var storeOnlyDeps = /* @__PURE__ */ __name((store, account, { app, env }) => {
|
|
|
18186
18186
|
return { ...storedDeps(messenger, store, account, guard), ...env === void 0 ? {} : { env } };
|
|
18187
18187
|
}, "storeOnlyDeps");
|
|
18188
18188
|
|
|
18189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/botcheck/check.js
|
|
18190
18190
|
var DAY_MS = 864e5;
|
|
18191
18191
|
var NEW_DAYS = 30;
|
|
18192
18192
|
var SAME_TEXT_MIN = 20;
|
|
@@ -18263,7 +18263,7 @@ var scorePerson = /* @__PURE__ */ __name(({ subject, provider, activity, photos,
|
|
|
18263
18263
|
};
|
|
18264
18264
|
}, "scorePerson");
|
|
18265
18265
|
|
|
18266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/http/time-limit.js
|
|
18267
18267
|
var timeLimit = /* @__PURE__ */ __name((ms) => {
|
|
18268
18268
|
const controller = new AbortController();
|
|
18269
18269
|
const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
|
|
@@ -18279,7 +18279,7 @@ var withTimeLimit = /* @__PURE__ */ __name(async (ms, run) => {
|
|
|
18279
18279
|
}
|
|
18280
18280
|
}, "withTimeLimit");
|
|
18281
18281
|
|
|
18282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/botcheck/registries.js
|
|
18283
18283
|
var REGISTRIES = {
|
|
18284
18284
|
cas: { title: "Combot Anti-Spam (CAS)", docs: "https://cas.chat/api" },
|
|
18285
18285
|
lols: { title: "lols.bot", docs: "https://api.lols.bot/lols-bot.json" }
|
|
@@ -18366,7 +18366,7 @@ var notCovered = /* @__PURE__ */ __name((messenger, now = /* @__PURE__ */ new Da
|
|
|
18366
18366
|
detail: `lists Telegram accounts only, not ${messenger} ones`
|
|
18367
18367
|
})), "notCovered");
|
|
18368
18368
|
|
|
18369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/botcheck/service.js
|
|
18370
18370
|
var ACTIVITY_MESSAGES = 1e3;
|
|
18371
18371
|
var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
18372
18372
|
const subjectOf = /* @__PURE__ */ __name(async (reference) => {
|
|
@@ -18454,7 +18454,7 @@ var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
|
18454
18454
|
};
|
|
18455
18455
|
}, "botCheckService");
|
|
18456
18456
|
|
|
18457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18457
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mail/owed.js
|
|
18458
18458
|
var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
18459
18459
|
if (newest === null)
|
|
18460
18460
|
return null;
|
|
@@ -18463,7 +18463,7 @@ var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
|
18463
18463
|
return newest.addressed ? "owed" : null;
|
|
18464
18464
|
}, "mailTurn");
|
|
18465
18465
|
|
|
18466
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18466
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/agenda-mail.js
|
|
18467
18467
|
var absent = /* @__PURE__ */ __name((error) => {
|
|
18468
18468
|
if (error instanceof CliError && error.code === "not_found")
|
|
18469
18469
|
return void 0;
|
|
@@ -18521,7 +18521,7 @@ var mailActivity = /* @__PURE__ */ __name(async (store, account, since, chats) =
|
|
|
18521
18521
|
};
|
|
18522
18522
|
}, "mailActivity");
|
|
18523
18523
|
|
|
18524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/chat-coverage.js
|
|
18525
18525
|
var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
18526
18526
|
const ids = [...new Set(chatIds)];
|
|
18527
18527
|
if (ids.length === 0)
|
|
@@ -18547,7 +18547,7 @@ var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
|
18547
18547
|
}));
|
|
18548
18548
|
}, "chatCoverage");
|
|
18549
18549
|
|
|
18550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/thread.js
|
|
18551
18551
|
var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
18552
18552
|
if (value === void 0)
|
|
18553
18553
|
return void 0;
|
|
@@ -18557,7 +18557,7 @@ var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
|
18557
18557
|
return id2;
|
|
18558
18558
|
}, "threadIdOf");
|
|
18559
18559
|
|
|
18560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/ports/messenger.js
|
|
18561
18561
|
var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
|
|
18562
18562
|
get: /* @__PURE__ */ __name((own, key) => {
|
|
18563
18563
|
if (key in own)
|
|
@@ -18574,12 +18574,12 @@ var capability = /* @__PURE__ */ __name((adapter, method, what) => {
|
|
|
18574
18574
|
return found.bind(adapter);
|
|
18575
18575
|
}, "capability");
|
|
18576
18576
|
|
|
18577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/send-id.js
|
|
18578
18578
|
import { randomBytes } from "node:crypto";
|
|
18579
18579
|
var newSendId = /* @__PURE__ */ __name(() => randomBytes(8).readBigInt64BE().toString(), "newSendId");
|
|
18580
18580
|
var newOperationId = newSendId;
|
|
18581
18581
|
|
|
18582
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18582
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/questions.js
|
|
18583
18583
|
var LINKS = /https?:\/\/\S+/g;
|
|
18584
18584
|
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");
|
|
18585
18585
|
var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker = "others" }) => {
|
|
@@ -18609,7 +18609,7 @@ var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker
|
|
|
18609
18609
|
});
|
|
18610
18610
|
}, "questions");
|
|
18611
18611
|
|
|
18612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/chat-stats.js
|
|
18613
18613
|
var TOP_POSTS = 5;
|
|
18614
18614
|
var JOINS = /* @__PURE__ */ new Set(["join", "add"]);
|
|
18615
18615
|
var LEAVES = /* @__PURE__ */ new Set(["leave", "remove"]);
|
|
@@ -18726,7 +18726,7 @@ var median = /* @__PURE__ */ __name((values) => {
|
|
|
18726
18726
|
return Math.round(sorted.length % 2 === 0 ? ((sorted[middle - 1] ?? upper) + upper) / 2 : upper);
|
|
18727
18727
|
}, "median");
|
|
18728
18728
|
|
|
18729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18729
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/member-history.js
|
|
18730
18730
|
var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
18731
18731
|
const events = [];
|
|
18732
18732
|
for (const stay of stays) {
|
|
@@ -18758,7 +18758,7 @@ var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
|
18758
18758
|
return events.filter(({ at }) => Date.parse(at) >= since).sort((a, b) => Date.parse(a.at) - Date.parse(b.at) || a.id.localeCompare(b.id));
|
|
18759
18759
|
}, "memberEvents");
|
|
18760
18760
|
|
|
18761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/members-audit.js
|
|
18762
18762
|
var AUDIT_PAGE = 200;
|
|
18763
18763
|
var AUDIT_BUDGET = 10;
|
|
18764
18764
|
var AUDIT_PAUSE_MS = 1e3;
|
|
@@ -18838,7 +18838,7 @@ var burstJoins = /* @__PURE__ */ __name((members) => {
|
|
|
18838
18838
|
return found;
|
|
18839
18839
|
}, "burstJoins");
|
|
18840
18840
|
|
|
18841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
|
|
18842
18842
|
var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
|
|
18843
18843
|
if (deps.reads !== "store")
|
|
18844
18844
|
return keptChatId(deps.messenger, reference, store, account);
|
|
@@ -18997,7 +18997,7 @@ var senderAmong = /* @__PURE__ */ __name(async (store, accounts, reference) => {
|
|
|
18997
18997
|
}
|
|
18998
18998
|
}, "senderAmong");
|
|
18999
18999
|
|
|
19000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/chats.js
|
|
19001
19001
|
var EVENTS_DAYS = 7;
|
|
19002
19002
|
var TRACKED_DAYS = 30;
|
|
19003
19003
|
var STATS_PAGE = 1e3;
|
|
@@ -19292,7 +19292,7 @@ var storedMembers = /* @__PURE__ */ __name(async (store, chatId) => {
|
|
|
19292
19292
|
return members.length === 0 ? null : members;
|
|
19293
19293
|
}, "storedMembers");
|
|
19294
19294
|
|
|
19295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/task-categories.js
|
|
19296
19296
|
var names = /* @__PURE__ */ __name((categories) => categories.map(({ name }) => name).join(", "), "names");
|
|
19297
19297
|
var taskCategoryOf = /* @__PURE__ */ __name((categories = DEFAULT_TASK_CATEGORIES, flag = "--category") => (typed) => {
|
|
19298
19298
|
const name = typed.trim().toLowerCase();
|
|
@@ -19349,7 +19349,7 @@ var categorize = /* @__PURE__ */ __name((text2, categories = DEFAULT_TASK_CATEGO
|
|
|
19349
19349
|
return best.name;
|
|
19350
19350
|
}, "categorize");
|
|
19351
19351
|
|
|
19352
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19352
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/task-rules.js
|
|
19353
19353
|
var taskAccount = /* @__PURE__ */ __name(({ provider, account }) => `${provider}:${account}`, "taskAccount");
|
|
19354
19354
|
var RULES_IN = {
|
|
19355
19355
|
dialog: "all",
|
|
@@ -19555,7 +19555,7 @@ var applyTaskRulesToChats = /* @__PURE__ */ __name(async (store, account, chatId
|
|
|
19555
19555
|
return passes;
|
|
19556
19556
|
}, "applyTaskRulesToChats");
|
|
19557
19557
|
|
|
19558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/task-tag-filters.js
|
|
19559
19559
|
var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
19560
19560
|
const tags = /* @__PURE__ */ new Map();
|
|
19561
19561
|
for (const node of query ? walkQuery(query.root) : [])
|
|
@@ -19564,7 +19564,7 @@ var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
|
19564
19564
|
return tags;
|
|
19565
19565
|
}, "taskTagFilters");
|
|
19566
19566
|
|
|
19567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/agenda.js
|
|
19568
19568
|
var DAY = 864e5;
|
|
19569
19569
|
var AGENDA_DEFAULTS = { unanswered: DAY, waiting: 7 * DAY };
|
|
19570
19570
|
var CLAIMS = ["none", "mine", "others", "any"];
|
|
@@ -19811,7 +19811,7 @@ var agendaItem = /* @__PURE__ */ __name((shown) => {
|
|
|
19811
19811
|
};
|
|
19812
19812
|
}, "agendaItem");
|
|
19813
19813
|
|
|
19814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/context/evidence-response.js
|
|
19815
19815
|
var contextSourceKey = /* @__PURE__ */ __name((source) => JSON.stringify([source.kind, source.accountId, source.provider, source.account]), "contextSourceKey");
|
|
19816
19816
|
var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
19817
19817
|
const fail5 = /* @__PURE__ */ __name(() => {
|
|
@@ -19875,7 +19875,7 @@ var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
|
19875
19875
|
}
|
|
19876
19876
|
}, "validateContextEvidencePage");
|
|
19877
19877
|
|
|
19878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19878
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/context/read-budget.js
|
|
19879
19879
|
var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
19880
19880
|
if (!limits || typeof limits !== "object" || Array.isArray(limits))
|
|
19881
19881
|
throw new CliError("validation_error", "limits needs a context read allowance");
|
|
@@ -19928,7 +19928,7 @@ var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
|
19928
19928
|
};
|
|
19929
19929
|
}, "contextReadBudget");
|
|
19930
19930
|
|
|
19931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/context-evidence.js
|
|
19932
19932
|
var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits) => {
|
|
19933
19933
|
if (!port || typeof port.read !== "function")
|
|
19934
19934
|
throw new CliError("configuration_error", "context evidence reader is unavailable");
|
|
@@ -19972,7 +19972,7 @@ var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits)
|
|
|
19972
19972
|
};
|
|
19973
19973
|
}, "createContextEvidenceReader");
|
|
19974
19974
|
|
|
19975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/excerpt.js
|
|
19976
19976
|
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");
|
|
19977
19977
|
var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options2 = {}) => {
|
|
19978
19978
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -19988,10 +19988,10 @@ var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options2 = {})
|
|
|
19988
19988
|
}, "excerpt");
|
|
19989
19989
|
var withExcerpt = /* @__PURE__ */ __name(({ matchedText, ...hit }, query) => ({ ...hit, excerpt: excerpt(matchedText ?? hit.text, query) }), "withExcerpt");
|
|
19990
19990
|
|
|
19991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19991
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/ingest.js
|
|
19992
19992
|
import { createInterface } from "node:readline";
|
|
19993
19993
|
|
|
19994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19994
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/vcard.js
|
|
19995
19995
|
import { createHash } from "node:crypto";
|
|
19996
19996
|
var MAX_ID = 512;
|
|
19997
19997
|
var AS_WORD = new RegExp(`^${WORD_BODY}$`);
|
|
@@ -20222,7 +20222,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text2, { provider, account, batchI
|
|
|
20222
20222
|
};
|
|
20223
20223
|
}, "envelopeOfVcard");
|
|
20224
20224
|
|
|
20225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/ingest.js
|
|
20226
20226
|
var emptyReceipt = /* @__PURE__ */ __name((dryRun, errors) => ({
|
|
20227
20227
|
dryRun,
|
|
20228
20228
|
source: null,
|
|
@@ -20322,7 +20322,7 @@ var ingestVcard = /* @__PURE__ */ __name(async (store, text2, { provider, batchI
|
|
|
20322
20322
|
return { ...await ingest(store, envelope, options2), vcard: issues };
|
|
20323
20323
|
}, "ingestVcard");
|
|
20324
20324
|
|
|
20325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/link-scorers/shared.js
|
|
20326
20326
|
var escaped = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
20327
20327
|
var folded = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "folded");
|
|
20328
20328
|
var wholeWords = /* @__PURE__ */ __name((term) => new RegExp(`(?<![\\p{L}\\p{N}\\p{M}_])${escaped(normalizeVocabularyName(term))}(?![\\p{L}\\p{N}\\p{M}_])`, "u"), "wholeWords");
|
|
@@ -20366,7 +20366,7 @@ var identitiesIn = /* @__PURE__ */ __name(async (store, people, provider) => {
|
|
|
20366
20366
|
var remembered = /* @__PURE__ */ __name((input, key, read2) => input.remember ? input.remember(key, read2) : read2(), "remembered");
|
|
20367
20367
|
var chatsWithOf = /* @__PURE__ */ __name((input, key, id2) => remembered(input, `chats-with\0${key.provider}\0${key.account}\0${id2}`, () => input.store.chats.chatsWith(key, id2)), "chatsWithOf");
|
|
20368
20368
|
|
|
20369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/link-scorers/alias-hits.js
|
|
20370
20370
|
var SEARCH_LIMIT = 500;
|
|
20371
20371
|
var aliasWeight = /* @__PURE__ */ __name((hits) => hits >= 10 ? 0.55 : hits >= 3 ? 0.35 : 0, "aliasWeight");
|
|
20372
20372
|
var aliasHits = {
|
|
@@ -20415,7 +20415,7 @@ var aliasHits = {
|
|
|
20415
20415
|
}, "candidates")
|
|
20416
20416
|
};
|
|
20417
20417
|
|
|
20418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-senders.js
|
|
20419
20419
|
var WEIGHT = 0.5;
|
|
20420
20420
|
var LARGE_GROUP_WEIGHT = 0.2;
|
|
20421
20421
|
var LARGE_GROUP = 30;
|
|
@@ -20487,7 +20487,7 @@ var sendersOf2 = /* @__PURE__ */ __name(async (input, chat, reference, key) => {
|
|
|
20487
20487
|
return found;
|
|
20488
20488
|
}, "sendersOf");
|
|
20489
20489
|
|
|
20490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-title.js
|
|
20491
20491
|
var WEIGHT2 = 0.7;
|
|
20492
20492
|
var chatTitle = {
|
|
20493
20493
|
id: "chat-title",
|
|
@@ -20526,7 +20526,7 @@ var chatTitle = {
|
|
|
20526
20526
|
}, "candidates")
|
|
20527
20527
|
};
|
|
20528
20528
|
|
|
20529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/link-scorers/email-domain.js
|
|
20530
20530
|
var WEIGHT3 = 0.3;
|
|
20531
20531
|
var CONTACTS = 500;
|
|
20532
20532
|
var MOST_PAIRS = 200;
|
|
@@ -20587,7 +20587,7 @@ var emailDomain = {
|
|
|
20587
20587
|
}, "candidates")
|
|
20588
20588
|
};
|
|
20589
20589
|
|
|
20590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/link-scorers/mail-thread.js
|
|
20591
20591
|
var NAMED = 0.7;
|
|
20592
20592
|
var MEMBER_ONLY = 0.3;
|
|
20593
20593
|
var READ_LIMIT2 = 500;
|
|
@@ -20661,7 +20661,7 @@ var mailThread = {
|
|
|
20661
20661
|
}, "candidates")
|
|
20662
20662
|
};
|
|
20663
20663
|
|
|
20664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-chats.js
|
|
20665
20665
|
var WEIGHT4 = 0.5;
|
|
20666
20666
|
var memberChats = {
|
|
20667
20667
|
id: "member-chats",
|
|
@@ -20703,7 +20703,7 @@ var memberChats = {
|
|
|
20703
20703
|
}, "candidates")
|
|
20704
20704
|
};
|
|
20705
20705
|
|
|
20706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-dialog.js
|
|
20707
20707
|
var WEIGHT5 = 0.6;
|
|
20708
20708
|
var memberDialog = {
|
|
20709
20709
|
id: "member-dialog",
|
|
@@ -20736,7 +20736,7 @@ var memberDialog = {
|
|
|
20736
20736
|
}, "candidates")
|
|
20737
20737
|
};
|
|
20738
20738
|
|
|
20739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-purposes.js
|
|
20740
20740
|
var BUILT_IN_PURPOSES = ["work", "sales", "support", "other"];
|
|
20741
20741
|
var DEFAULT_PURPOSES = ["work"];
|
|
20742
20742
|
var LINK_PURPOSE = "work";
|
|
@@ -20766,7 +20766,7 @@ var purposeList = /* @__PURE__ */ __name((value, previous = []) => [
|
|
|
20766
20766
|
...value.split(",").map((one2) => one2.trim()).filter(Boolean)
|
|
20767
20767
|
], "purposeList");
|
|
20768
20768
|
|
|
20769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-gathering-around.js
|
|
20770
20770
|
var storedMessageNeighbours = /* @__PURE__ */ __name((messages) => ({
|
|
20771
20771
|
async around(ref, window3) {
|
|
20772
20772
|
const at = parseLocator(ref);
|
|
@@ -20862,7 +20862,7 @@ var storedNeighbours = /* @__PURE__ */ __name((store) => {
|
|
|
20862
20862
|
};
|
|
20863
20863
|
}, "storedNeighbours");
|
|
20864
20864
|
|
|
20865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-gathering-request.js
|
|
20866
20866
|
import { createHash as createHash2 } from "node:crypto";
|
|
20867
20867
|
var DAY2 = 864e5;
|
|
20868
20868
|
var MAX_TIME = 864e13;
|
|
@@ -21178,7 +21178,7 @@ var decodeCheckpoint = /* @__PURE__ */ __name((text2, plan) => {
|
|
|
21178
21178
|
return value;
|
|
21179
21179
|
}, "decodeCheckpoint");
|
|
21180
21180
|
|
|
21181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-gathering.js
|
|
21182
21182
|
var terminal = /* @__PURE__ */ new Set(["done", "unavailable", "failed"]);
|
|
21183
21183
|
var PAGE = 20;
|
|
21184
21184
|
var PEOPLE = 20;
|
|
@@ -21582,7 +21582,7 @@ var peopleOf = /* @__PURE__ */ __name((items, senderOf) => {
|
|
|
21582
21582
|
return [...byKey.values()].sort((a, b) => b.items - a.items || a.name.localeCompare(b.name));
|
|
21583
21583
|
}, "peopleOf");
|
|
21584
21584
|
|
|
21585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-matching.js
|
|
21586
21586
|
var normalizedText = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "normalizedText");
|
|
21587
21587
|
var termsOf = /* @__PURE__ */ __name((entry) => [
|
|
21588
21588
|
{ name: entry.name, kind: "canonical" },
|
|
@@ -21626,7 +21626,7 @@ var matchVocabularyTerms = /* @__PURE__ */ __name((catalog, texts) => {
|
|
|
21626
21626
|
return result.sort((a, b) => Number(a.entry.id) - Number(b.entry.id));
|
|
21627
21627
|
}, "matchVocabularyTerms");
|
|
21628
21628
|
|
|
21629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-gathering-mentions.js
|
|
21630
21630
|
var KINDS = ["project", "tag", "topic"];
|
|
21631
21631
|
var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering, options2 = {}) => {
|
|
21632
21632
|
if (typeof vocabulary?.vocabulary !== "function")
|
|
@@ -21681,7 +21681,7 @@ var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering,
|
|
|
21681
21681
|
};
|
|
21682
21682
|
}, "findEvidenceMentions");
|
|
21683
21683
|
|
|
21684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/stored-project-gathering.js
|
|
21685
21685
|
var storedChatCount = /* @__PURE__ */ __name((store) => async (account, chatId, { since, until }) => {
|
|
21686
21686
|
const window3 = { since: new Date(since).toISOString(), until: new Date(until - 1).toISOString() };
|
|
21687
21687
|
const [messages, newest, oldest] = await Promise.all([
|
|
@@ -21987,7 +21987,7 @@ var purposeHintOf = /* @__PURE__ */ __name((linked, rows, of) => {
|
|
|
21987
21987
|
return { chat: top.ref, relationship: link4.relationship, items, of };
|
|
21988
21988
|
}, "purposeHintOf");
|
|
21989
21989
|
|
|
21990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/link-scorers/scan.js
|
|
21991
21991
|
var SCORERS = [chatTitle, aliasHits, memberChats, memberDialog, chatSenders, mailThread];
|
|
21992
21992
|
var PERSON_SCORERS = [emailDomain];
|
|
21993
21993
|
var SCAN_BOT = { bot: "memo-scan", kind: "rule" };
|
|
@@ -22243,18 +22243,18 @@ var referenceOf = /* @__PURE__ */ __name((text2) => {
|
|
|
22243
22243
|
}, "referenceOf");
|
|
22244
22244
|
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");
|
|
22245
22245
|
|
|
22246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22246
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
22247
22247
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
22248
22248
|
|
|
22249
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
22250
22250
|
import { lstat } from "node:fs/promises";
|
|
22251
22251
|
|
|
22252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
22253
22253
|
import { createHash as createHash4, randomUUID as randomUUID3 } from "node:crypto";
|
|
22254
22254
|
import { open as open2, rename as rename2, unlink as unlink2 } from "node:fs/promises";
|
|
22255
22255
|
import { join as join5 } from "node:path";
|
|
22256
22256
|
|
|
22257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-metadata.js
|
|
22258
22258
|
import { createHash as createHash3 } from "node:crypto";
|
|
22259
22259
|
var metadataLimit = 16384;
|
|
22260
22260
|
var partialIdentity = /* @__PURE__ */ __name((locator) => JSON.stringify([locator.provider, locator.account, locator.occurrenceId, locator.assetId]), "partialIdentity");
|
|
@@ -22314,7 +22314,7 @@ var readPartialMetadata = /* @__PURE__ */ __name(async (path, locator, maxBytes,
|
|
|
22314
22314
|
}
|
|
22315
22315
|
}, "readPartialMetadata");
|
|
22316
22316
|
|
|
22317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-writer.js
|
|
22318
22318
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
22319
22319
|
import { open, rename, unlink } from "node:fs/promises";
|
|
22320
22320
|
import { join as join4 } from "node:path";
|
|
@@ -22406,7 +22406,7 @@ var partialWriter = /* @__PURE__ */ __name(async (input) => {
|
|
|
22406
22406
|
};
|
|
22407
22407
|
}, "partialWriter");
|
|
22408
22408
|
|
|
22409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
22410
22410
|
var NativeRecordingPartialStore = class {
|
|
22411
22411
|
static {
|
|
22412
22412
|
__name(this, "NativeRecordingPartialStore");
|
|
@@ -22513,12 +22513,12 @@ var NativeRecordingPartialStore = class {
|
|
|
22513
22513
|
}
|
|
22514
22514
|
};
|
|
22515
22515
|
|
|
22516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
22517
22517
|
import { createHash as createHash5 } from "node:crypto";
|
|
22518
22518
|
import { link as link2 } from "node:fs/promises";
|
|
22519
22519
|
import { basename, dirname as dirname4, join as join7, resolve } from "node:path";
|
|
22520
22520
|
|
|
22521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-files.js
|
|
22522
22522
|
import { unlink as unlink3 } from "node:fs/promises";
|
|
22523
22523
|
var verifiedPublicationFile = /* @__PURE__ */ __name(async (path, expected2, signal, writable = false) => {
|
|
22524
22524
|
signal?.throwIfAborted();
|
|
@@ -22553,7 +22553,7 @@ var commitPublication = /* @__PURE__ */ __name(async (root, partialPath, finalPa
|
|
|
22553
22553
|
signal?.throwIfAborted();
|
|
22554
22554
|
}, "commitPublication");
|
|
22555
22555
|
|
|
22556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-journal.js
|
|
22557
22557
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
22558
22558
|
import { open as open3, rename as rename3, unlink as unlink4 } from "node:fs/promises";
|
|
22559
22559
|
import { join as join6 } from "node:path";
|
|
@@ -22626,7 +22626,7 @@ var writePublicationJournal = /* @__PURE__ */ __name(async (root, path, prefix,
|
|
|
22626
22626
|
}
|
|
22627
22627
|
}, "writePublicationJournal");
|
|
22628
22628
|
|
|
22629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
22630
22630
|
var NativeRecordingPublication = class {
|
|
22631
22631
|
static {
|
|
22632
22632
|
__name(this, "NativeRecordingPublication");
|
|
@@ -22699,7 +22699,7 @@ var NativeRecordingPublication = class {
|
|
|
22699
22699
|
}
|
|
22700
22700
|
};
|
|
22701
22701
|
|
|
22702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/media-archive-manifest.js
|
|
22703
22703
|
import { createHash as createHash6 } from "node:crypto";
|
|
22704
22704
|
import { readdir } from "node:fs/promises";
|
|
22705
22705
|
import { isAbsolute, join as join8, resolve as resolve2 } from "node:path";
|
|
@@ -22786,7 +22786,7 @@ var commitMediaEntry = /* @__PURE__ */ __name((root, one2, beforePublish) => wri
|
|
|
22786
22786
|
beforePublish
|
|
22787
22787
|
}), "commitMediaEntry");
|
|
22788
22788
|
|
|
22789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
22790
22790
|
var validator = '"media-completed-v1"';
|
|
22791
22791
|
var maximumFileBytes = 64 * 1024 * 1024 * 1024;
|
|
22792
22792
|
var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2, beforeWrite, signal, metadata = {}) => {
|
|
@@ -22887,7 +22887,7 @@ var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2
|
|
|
22887
22887
|
return entry;
|
|
22888
22888
|
}, "archiveMediaFile");
|
|
22889
22889
|
|
|
22890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/media-archive-locks.js
|
|
22891
22891
|
import { mkdir, realpath } from "node:fs/promises";
|
|
22892
22892
|
import { join as join9, resolve as resolve3 } from "node:path";
|
|
22893
22893
|
var archiveLocations = /* @__PURE__ */ __name(async (initial, signal) => {
|
|
@@ -22954,7 +22954,7 @@ var withMediaArchiveLocks = /* @__PURE__ */ __name(async (directory2, signal, ru
|
|
|
22954
22954
|
throw new CliError("validation_error", "archive locations changed during locking; run the command again");
|
|
22955
22955
|
}, "withMediaArchiveLocks");
|
|
22956
22956
|
|
|
22957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
22958
22958
|
var validateMediaSince = /* @__PURE__ */ __name((value, flag = "--since-time") => {
|
|
22959
22959
|
if (value === void 0)
|
|
22960
22960
|
return void 0;
|
|
@@ -23107,7 +23107,7 @@ var archiveMedia = /* @__PURE__ */ __name(async (ports, options2) => {
|
|
|
23107
23107
|
}, { create: true });
|
|
23108
23108
|
}, "archiveMedia");
|
|
23109
23109
|
|
|
23110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/media-archive-move.js
|
|
23111
23111
|
import { realpath as realpath2, unlink as unlink5 } from "node:fs/promises";
|
|
23112
23112
|
import { basename as basename2, dirname as dirname5, join as join10, resolve as resolve4 } from "node:path";
|
|
23113
23113
|
var canonicalDestination = /* @__PURE__ */ __name(async (directory2) => {
|
|
@@ -23260,7 +23260,7 @@ var moveMediaArchive = /* @__PURE__ */ __name(async (options2) => {
|
|
|
23260
23260
|
}, { additional: [target2], createAdditional: !options2.dryRun });
|
|
23261
23261
|
}, "moveMediaArchive");
|
|
23262
23262
|
|
|
23263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/model-downloads.js
|
|
23264
23264
|
import { writeFileSync as writeFileSync2 } from "node:fs";
|
|
23265
23265
|
import { join as join11 } from "node:path";
|
|
23266
23266
|
var bytesOf2 = /* @__PURE__ */ __name((model) => model.files.reduce((sum2, file2) => sum2 + file2.bytes, 0), "bytesOf");
|
|
@@ -23285,7 +23285,7 @@ var downloadTextModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
23285
23285
|
`);
|
|
23286
23286
|
await nativeRuntime({ env, progress });
|
|
23287
23287
|
progress(`${model.id}: loading it once to check it works`);
|
|
23288
|
-
const { openEmbedder: openEmbedder2 } = await import("./embed-
|
|
23288
|
+
const { openEmbedder: openEmbedder2 } = await import("./embed-BIINGRNY.js");
|
|
23289
23289
|
const embedder = await openEmbedder2(model, directory2);
|
|
23290
23290
|
try {
|
|
23291
23291
|
const [vector] = await embedder.embed(["check"], "query");
|
|
@@ -23306,7 +23306,7 @@ var downloadRerankModel = /* @__PURE__ */ __name(async (id2, { env, progress = /
|
|
|
23306
23306
|
}
|
|
23307
23307
|
await nativeRuntime({ env, progress });
|
|
23308
23308
|
progress(`${model.id}: loading it once to check it works`);
|
|
23309
|
-
const { openReranker } = await import("./rerank-
|
|
23309
|
+
const { openReranker } = await import("./rerank-6B2FI6LN.js");
|
|
23310
23310
|
const reranker = await openReranker(model, directory2);
|
|
23311
23311
|
try {
|
|
23312
23312
|
await reranker.score("check", ["check"]);
|
|
@@ -23324,7 +23324,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
23324
23324
|
await installFiles(placedImage(model, directory2), { progress, ...bytes2 ? { bytes: bytes2 } : {} });
|
|
23325
23325
|
}
|
|
23326
23326
|
progress(`${model.id}: loading it once to check it works`);
|
|
23327
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
23327
|
+
const { openPictureEmbedder } = await import("./embedder-2AUO2PHQ.js");
|
|
23328
23328
|
const embedder = await openPictureEmbedder(model, directory2);
|
|
23329
23329
|
try {
|
|
23330
23330
|
const vector = await embedder.embedQuery("check");
|
|
@@ -23336,7 +23336,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
23336
23336
|
return { model, directory: directory2 };
|
|
23337
23337
|
}, "downloadImageModel");
|
|
23338
23338
|
|
|
23339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/money-words.js
|
|
23340
23340
|
var MONEY_REQUEST = "money-request";
|
|
23341
23341
|
var MONEY_DONE = "money-done";
|
|
23342
23342
|
var PROMISE = "promise";
|
|
@@ -23370,10 +23370,10 @@ var MONEY_WORDS = [
|
|
|
23370
23370
|
}
|
|
23371
23371
|
];
|
|
23372
23372
|
|
|
23373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/money-words.js
|
|
23374
23374
|
var moneyClassesOf = /* @__PURE__ */ __name((text2) => listsHit(text2, MONEY_WORDS), "moneyClassesOf");
|
|
23375
23375
|
|
|
23376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/status-words.js
|
|
23377
23377
|
var words = /* @__PURE__ */ __name((forms) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${forms.join("|")})(?![\\p{L}\\p{N}])`, "iu"), "words");
|
|
23378
23378
|
var MONEY_DONE_FORMS = words([
|
|
23379
23379
|
"\u043E\u043F\u043B\u0430\u0442\u0438\u043B[\u0430\u0438]?",
|
|
@@ -23413,7 +23413,7 @@ var PROMISE_FORMS = words([
|
|
|
23413
23413
|
"estar\xE1 listo"
|
|
23414
23414
|
]);
|
|
23415
23415
|
|
|
23416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/items.js
|
|
23417
23417
|
var EXCERPT_CHARS = 80;
|
|
23418
23418
|
var excerpt2 = /* @__PURE__ */ __name((text2) => {
|
|
23419
23419
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -23435,7 +23435,7 @@ var whoOf = /* @__PURE__ */ __name((message) => ({
|
|
|
23435
23435
|
var fromOwner = /* @__PURE__ */ __name((message) => message.outgoing === true, "fromOwner");
|
|
23436
23436
|
var day = /* @__PURE__ */ __name((at) => new Date(at).toISOString().slice(0, 10), "day");
|
|
23437
23437
|
|
|
23438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/signals/amounts.js
|
|
23439
23439
|
var MONEY = DEFAULT_TASK_CATEGORIES.filter((category) => category.name === "money");
|
|
23440
23440
|
var verbOf = /* @__PURE__ */ __name((text2) => {
|
|
23441
23441
|
if (MONEY_DONE_FORMS.test(text2))
|
|
@@ -23516,7 +23516,7 @@ var amounts = {
|
|
|
23516
23516
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state === "asked" ? [{ chat: item2.chat, weight: 2, why: "money asked" }] : []), "attention")
|
|
23517
23517
|
};
|
|
23518
23518
|
|
|
23519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/signals/children.js
|
|
23520
23520
|
var children = {
|
|
23521
23521
|
id: "children",
|
|
23522
23522
|
version: 1,
|
|
@@ -23545,7 +23545,7 @@ var children = {
|
|
|
23545
23545
|
}, "read")
|
|
23546
23546
|
};
|
|
23547
23547
|
|
|
23548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/signals/coverage.js
|
|
23549
23549
|
var coverage = {
|
|
23550
23550
|
id: "coverage",
|
|
23551
23551
|
version: 1,
|
|
@@ -23574,7 +23574,7 @@ var coverage = {
|
|
|
23574
23574
|
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")
|
|
23575
23575
|
};
|
|
23576
23576
|
|
|
23577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/signals/payments.js
|
|
23578
23578
|
var holding2 = /* @__PURE__ */ __name((row) => row.review !== "rejected", "holding");
|
|
23579
23579
|
var item = /* @__PURE__ */ __name((row, at, data) => ({
|
|
23580
23580
|
signal: "payments",
|
|
@@ -23624,7 +23624,7 @@ var payments = {
|
|
|
23624
23624
|
}, "read")
|
|
23625
23625
|
};
|
|
23626
23626
|
|
|
23627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/signals/promises.js
|
|
23628
23628
|
var PATTERNS_PER_CHAT = 3;
|
|
23629
23629
|
var DAY3 = 864e5;
|
|
23630
23630
|
var KINDS2 = /* @__PURE__ */ new Set(["promise", "request"]);
|
|
@@ -23713,7 +23713,7 @@ var promises = {
|
|
|
23713
23713
|
}, "read")
|
|
23714
23714
|
};
|
|
23715
23715
|
|
|
23716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/signals/questions.js
|
|
23717
23717
|
var PER_SIDE = 5;
|
|
23718
23718
|
var WEEK = 7 * 864e5;
|
|
23719
23719
|
var NOBODY = /* @__PURE__ */ new Set();
|
|
@@ -23744,7 +23744,7 @@ var questions2 = {
|
|
|
23744
23744
|
}, "attention")
|
|
23745
23745
|
};
|
|
23746
23746
|
|
|
23747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/signals/reply-next.js
|
|
23748
23748
|
var targetOf = /* @__PURE__ */ __name((message, chat, owners) => {
|
|
23749
23749
|
const byId2 = /* @__PURE__ */ __name((id2) => chat.messages.find((one2) => one2.id === id2), "byId");
|
|
23750
23750
|
const quoted = message.replyTo ?? (message.replyToId === void 0 ? void 0 : byId2(message.replyToId));
|
|
@@ -23812,7 +23812,7 @@ var replyNext = {
|
|
|
23812
23812
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.next === "owner" ? [{ chat: item2.chat, weight: 2, why: "your move" }] : []), "attention")
|
|
23813
23813
|
};
|
|
23814
23814
|
|
|
23815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/signals/topics.js
|
|
23816
23816
|
var escaped2 = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
23817
23817
|
var wholeWord = /* @__PURE__ */ __name((word) => new RegExp(`(?<![\\p{L}\\p{N}])${escaped2(word)}(?![\\p{L}\\p{N}])`, "u"), "wholeWord");
|
|
23818
23818
|
var matcherOf = /* @__PURE__ */ __name((query) => {
|
|
@@ -23858,7 +23858,7 @@ var topics = {
|
|
|
23858
23858
|
}, "read")
|
|
23859
23859
|
};
|
|
23860
23860
|
|
|
23861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/signals/index.js
|
|
23862
23862
|
var STATUS_SIGNALS = [
|
|
23863
23863
|
replyNext,
|
|
23864
23864
|
questions2,
|
|
@@ -23870,7 +23870,7 @@ var STATUS_SIGNALS = [
|
|
|
23870
23870
|
children
|
|
23871
23871
|
];
|
|
23872
23872
|
|
|
23873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23873
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/project-status/index.js
|
|
23874
23874
|
var DAY4 = 864e5;
|
|
23875
23875
|
var STATUS_WINDOW = 300;
|
|
23876
23876
|
var STATUS_CHATS = 16;
|
|
@@ -24059,7 +24059,7 @@ var projectStatus = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
24059
24059
|
};
|
|
24060
24060
|
}, "projectStatus");
|
|
24061
24061
|
|
|
24062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/account.js
|
|
24063
24063
|
var accountService = /* @__PURE__ */ __name((deps) => {
|
|
24064
24064
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
24065
24065
|
if (deps.offline)
|
|
@@ -24131,7 +24131,7 @@ var accountService = /* @__PURE__ */ __name((deps) => {
|
|
|
24131
24131
|
};
|
|
24132
24132
|
}, "accountService");
|
|
24133
24133
|
|
|
24134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/send-time.js
|
|
24135
24135
|
var MINUTE = 6e4;
|
|
24136
24136
|
var YEAR = 365 * 24 * 60 * MINUTE;
|
|
24137
24137
|
var DELAY = /^(\d+)(m|h|d)$/;
|
|
@@ -24150,7 +24150,7 @@ var sendTime = /* @__PURE__ */ __name((value, now = Date.now(), flag = "--at-tim
|
|
|
24150
24150
|
return new Date(at - at % MINUTE).toISOString();
|
|
24151
24151
|
}, "sendTime");
|
|
24152
24152
|
|
|
24153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/admin.js
|
|
24154
24154
|
var recordMembership = /* @__PURE__ */ __name(async (deps, operationId, done2, change, fix, write2) => {
|
|
24155
24155
|
try {
|
|
24156
24156
|
const held = await accountStoreIfOpen(deps);
|
|
@@ -24397,7 +24397,7 @@ var linkLimits = /* @__PURE__ */ __name(({ approval, expires, maxUses }) => {
|
|
|
24397
24397
|
return expires === void 0 ? void 0 : sendTime(expires, Date.now(), "--expire-time");
|
|
24398
24398
|
}, "linkLimits");
|
|
24399
24399
|
|
|
24400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/mail-search.js
|
|
24401
24401
|
var THREADS_PAGE = 500;
|
|
24402
24402
|
var threadsOf = /* @__PURE__ */ __name(async (store, key) => {
|
|
24403
24403
|
const account = await store.accounts.storedAccount(key).catch(() => void 0);
|
|
@@ -24476,7 +24476,7 @@ var readMail = /* @__PURE__ */ __name(async (store, locator, { before: before2 =
|
|
|
24476
24476
|
return thread.slice(Math.max(0, at - before2), at + after + 1).map((hit) => hit.id === message ? { ...hit, anchor: true } : hit);
|
|
24477
24477
|
}, "readMail");
|
|
24478
24478
|
|
|
24479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/messages-search.js
|
|
24480
24480
|
var MAIL_FIELDS = /* @__PURE__ */ new Set(["to", "cc", "bcc", "subject", "mailbox", "label", "is"]);
|
|
24481
24481
|
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");
|
|
24482
24482
|
var prepareLucene = /* @__PURE__ */ __name(async (store, account, request, messenger) => {
|
|
@@ -24825,7 +24825,7 @@ var statsLucene = /* @__PURE__ */ __name(async (store, account, request, messeng
|
|
|
24825
24825
|
};
|
|
24826
24826
|
}, "statsLucene");
|
|
24827
24827
|
|
|
24828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/moment.js
|
|
24829
24829
|
var AGO = /^(\d+)(m|h|d)$/;
|
|
24830
24830
|
var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
|
|
24831
24831
|
var DATE = /^\d{4}-\d{2}-\d{2}/;
|
|
@@ -24865,7 +24865,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
|
|
|
24865
24865
|
};
|
|
24866
24866
|
}, "dateWindow");
|
|
24867
24867
|
|
|
24868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/rankings-selection.js
|
|
24869
24869
|
var RANKING_SELECTION_BYTES = 64 * 1024;
|
|
24870
24870
|
var object2 = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0, "object");
|
|
24871
24871
|
function invalid(message = "ranking selection is invalid \u2014 obtain a new drilldown from stats top") {
|
|
@@ -25034,7 +25034,7 @@ var readRankingSelection = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
25034
25034
|
};
|
|
25035
25035
|
}, "readRankingSelection");
|
|
25036
25036
|
|
|
25037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/search-record.js
|
|
25038
25038
|
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");
|
|
25039
25039
|
var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
25040
25040
|
command,
|
|
@@ -25044,7 +25044,7 @@ var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
|
25044
25044
|
fieldsVersion: FIELD_VERSION
|
|
25045
25045
|
}), "searchRecordOf");
|
|
25046
25046
|
|
|
25047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/admin-statistics.js
|
|
25048
25048
|
function invalid2(message) {
|
|
25049
25049
|
throw new CliError("validation_error", message);
|
|
25050
25050
|
}
|
|
@@ -25338,10 +25338,10 @@ var adminStatisticsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
25338
25338
|
}, "evidence")
|
|
25339
25339
|
}), "adminStatisticsService");
|
|
25340
25340
|
|
|
25341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25341
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
25342
25342
|
import { setTimeout as sleep3 } from "node:timers/promises";
|
|
25343
25343
|
|
|
25344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/backfill-estimate.js
|
|
25345
25345
|
var REQUEST_MS = 400;
|
|
25346
25346
|
var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, maxPages, pauseMs }) => {
|
|
25347
25347
|
const lowest = ranges[0];
|
|
@@ -25364,13 +25364,13 @@ var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, max
|
|
|
25364
25364
|
};
|
|
25365
25365
|
}, "estimateBackfill");
|
|
25366
25366
|
|
|
25367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/recovery.js
|
|
25368
25368
|
var withRecovery = /* @__PURE__ */ __name((error) => ({
|
|
25369
25369
|
...error,
|
|
25370
25370
|
retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
|
|
25371
25371
|
}), "withRecovery");
|
|
25372
25372
|
|
|
25373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/batch.js
|
|
25374
25374
|
var actionable = /* @__PURE__ */ __name((error) => {
|
|
25375
25375
|
if (isCliFailure(error))
|
|
25376
25376
|
return withRecovery({ code: error.code, message: error.message, ...error.details });
|
|
@@ -25453,7 +25453,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
|
|
|
25453
25453
|
};
|
|
25454
25454
|
}, "mergeBatches");
|
|
25455
25455
|
|
|
25456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/patience.js
|
|
25457
25457
|
import { setTimeout as sleep2 } from "node:timers/promises";
|
|
25458
25458
|
var LONGEST_WAIT_MS = 5 * 60 * 1e3;
|
|
25459
25459
|
var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
@@ -25476,7 +25476,7 @@ var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
|
25476
25476
|
}
|
|
25477
25477
|
}, "patiently");
|
|
25478
25478
|
|
|
25479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/images/context/index.js
|
|
25480
25480
|
var CONTEXT_MESSAGES = 3;
|
|
25481
25481
|
var CONTEXT_MINUTES = 10;
|
|
25482
25482
|
var MAX_CHARS = 1200;
|
|
@@ -25500,12 +25500,12 @@ var context = {
|
|
|
25500
25500
|
}, "describe")
|
|
25501
25501
|
};
|
|
25502
25502
|
|
|
25503
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/images/registry.js
|
|
25504
25504
|
var BUILT_INS = [context];
|
|
25505
25505
|
var providers = [...BUILT_INS];
|
|
25506
25506
|
var registeredImageProviders = /* @__PURE__ */ __name(() => providers, "registeredImageProviders");
|
|
25507
25507
|
|
|
25508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/conversations.js
|
|
25509
25509
|
var READ_PAGE = 5e3;
|
|
25510
25510
|
var CHAIN = 50;
|
|
25511
25511
|
var CONVERSATION_QUERY = {
|
|
@@ -25657,7 +25657,7 @@ var sized = /* @__PURE__ */ __name((size4) => {
|
|
|
25657
25657
|
return size4;
|
|
25658
25658
|
}, "sized");
|
|
25659
25659
|
|
|
25660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/embeddings-maintenance.js
|
|
25661
25661
|
var REFRESH_BOUNDS = { maxChats: 20, maxChunks: 2e3 };
|
|
25662
25662
|
var MESSAGE_PAGE = 5e3;
|
|
25663
25663
|
var PER_SESSION = 8;
|
|
@@ -25676,7 +25676,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = chosenTextModel(dep
|
|
|
25676
25676
|
price: remote.price,
|
|
25677
25677
|
installed: true,
|
|
25678
25678
|
perBatch: PER_REQUEST * concurrency,
|
|
25679
|
-
open: /* @__PURE__ */ __name(async () => (await import("./remote-
|
|
25679
|
+
open: /* @__PURE__ */ __name(async () => (await import("./remote-3GRP5YE3.js")).openRemote(remote, apiKey, { concurrency }), "open")
|
|
25680
25680
|
};
|
|
25681
25681
|
}
|
|
25682
25682
|
const model = textModel(choice, deps.env);
|
|
@@ -25693,7 +25693,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = chosenTextModel(dep
|
|
|
25693
25693
|
if (!isTextModelInstalled(model, directory2))
|
|
25694
25694
|
throw notDownloaded(model.id);
|
|
25695
25695
|
if (apart) {
|
|
25696
|
-
const { openProcess } = await import("./process-
|
|
25696
|
+
const { openProcess } = await import("./process-TVXEHAK6.js");
|
|
25697
25697
|
return openProcess(model, directory2, { threads: threads ?? defaultThreads() });
|
|
25698
25698
|
}
|
|
25699
25699
|
return openEmbedder(model, directory2, { threads: threads ?? defaultThreads() });
|
|
@@ -25982,7 +25982,7 @@ var shaped = /* @__PURE__ */ __name(({ chatId, builtAt, algorithmVersion, pendin
|
|
|
25982
25982
|
return { ...one2, state };
|
|
25983
25983
|
}, "shaped");
|
|
25984
25984
|
|
|
25985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/search-catchup.js
|
|
25986
25986
|
var CATCH_UP_BOUNDS = { maxChunks: 500, maxMessages: 1e4, timeMs: 3e4 };
|
|
25987
25987
|
var validateCatchUpBounds = /* @__PURE__ */ __name((options2) => {
|
|
25988
25988
|
for (const [key, value, maximum] of [
|
|
@@ -26035,7 +26035,7 @@ var catchUpSearch = /* @__PURE__ */ __name(async (deps, chat, options2, signal,
|
|
|
26035
26035
|
}
|
|
26036
26036
|
}, "catchUpSearch");
|
|
26037
26037
|
|
|
26038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
26039
26039
|
var pushed = /* @__PURE__ */ __name((deps, what) => {
|
|
26040
26040
|
if (deps.reads === "store") {
|
|
26041
26041
|
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`);
|
|
@@ -26416,7 +26416,7 @@ var timeOfKey = /* @__PURE__ */ __name(async (store, account, chatId, key, byTim
|
|
|
26416
26416
|
return message?.timestamp ?? fallback;
|
|
26417
26417
|
}, "timeOfKey");
|
|
26418
26418
|
|
|
26419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/archive-gaps.js
|
|
26420
26420
|
import { createHash as createHash7, randomUUID as randomUUID5 } from "node:crypto";
|
|
26421
26421
|
var GAP_BOUNDS = { maxGaps: 5, limit: 500, timeMs: 3e4 };
|
|
26422
26422
|
var validateRepair = /* @__PURE__ */ __name((messenger, options2) => {
|
|
@@ -26553,16 +26553,16 @@ var gapsService = /* @__PURE__ */ __name((deps) => {
|
|
|
26553
26553
|
return { plan, repair };
|
|
26554
26554
|
}, "gapsService");
|
|
26555
26555
|
|
|
26556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
26557
26557
|
import { createHash as createHash9 } from "node:crypto";
|
|
26558
26558
|
import { constants as constants2, mkdirSync as mkdirSync5 } from "node:fs";
|
|
26559
26559
|
import { lstat as lstat4, open as open6, readFile, stat as stat2 } from "node:fs/promises";
|
|
26560
26560
|
|
|
26561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
26562
26562
|
import { lstat as lstat2, readdir as readdir2, realpath as realpath3 } from "node:fs/promises";
|
|
26563
26563
|
import { basename as basename4, join as join12, relative as relative2, sep as sep2 } from "node:path";
|
|
26564
26564
|
|
|
26565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/upload.js
|
|
26566
26566
|
import { openAsBlob, realpathSync } from "node:fs";
|
|
26567
26567
|
import { open as open4, stat } from "node:fs/promises";
|
|
26568
26568
|
import { basename as basename3, dirname as dirname6, extname, isAbsolute as isAbsolute2, relative, resolve as resolve5, sep } from "node:path";
|
|
@@ -26764,7 +26764,7 @@ var readStickerFile = /* @__PURE__ */ __name(async (path, maxBytes, read2) => {
|
|
|
26764
26764
|
return { name, source };
|
|
26765
26765
|
}, "readStickerFile");
|
|
26766
26766
|
|
|
26767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
26768
26768
|
var MAX_FILES = 1e4;
|
|
26769
26769
|
var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app, env) => {
|
|
26770
26770
|
if (refusedPlace(directory2, app, env))
|
|
@@ -26833,15 +26833,15 @@ var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app,
|
|
|
26833
26833
|
return choices;
|
|
26834
26834
|
}, "directoryPaths");
|
|
26835
26835
|
|
|
26836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
26837
26837
|
import { posix } from "node:path";
|
|
26838
26838
|
|
|
26839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
26840
26840
|
import { setImmediate as tick } from "node:timers/promises";
|
|
26841
26841
|
import { crc32 } from "node:zlib";
|
|
26842
26842
|
var import_xmldom = __toESM(require_lib(), 1);
|
|
26843
26843
|
|
|
26844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
|
|
26845
26845
|
var import_chardet = __toESM(require_lib2(), 1);
|
|
26846
26846
|
var import_iconv_lite = __toESM(require_lib3(), 1);
|
|
26847
26847
|
var SAMPLE = 65536;
|
|
@@ -26943,7 +26943,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes2) => {
|
|
|
26943
26943
|
return result.text;
|
|
26944
26944
|
}, "decodeXml");
|
|
26945
26945
|
|
|
26946
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26946
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
26947
26947
|
var MAX_PART = 10 * 1024 * 1024;
|
|
26948
26948
|
var MAX_ENTRIES = 1e3;
|
|
26949
26949
|
var decoder = new TextDecoder("utf-8", { fatal: true });
|
|
@@ -27158,7 +27158,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
|
|
|
27158
27158
|
return found;
|
|
27159
27159
|
}, "elements");
|
|
27160
27160
|
|
|
27161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
|
|
27162
27162
|
var columnName = /* @__PURE__ */ __name((column) => {
|
|
27163
27163
|
let name = "";
|
|
27164
27164
|
for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
|
|
@@ -27213,7 +27213,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
|
|
|
27213
27213
|
return { text: parts.join("").trim(), truncated: false };
|
|
27214
27214
|
}, "sheetText");
|
|
27215
27215
|
|
|
27216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
27217
27217
|
var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
27218
27218
|
var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
27219
27219
|
var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
@@ -27613,10 +27613,10 @@ var readDocument = /* @__PURE__ */ __name(async (bytes2, kind, signal) => {
|
|
|
27613
27613
|
}
|
|
27614
27614
|
}, "readDocument");
|
|
27615
27615
|
|
|
27616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27616
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
27617
27617
|
import { extname as extname3 } from "node:path";
|
|
27618
27618
|
|
|
27619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/engine.js
|
|
27620
27620
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
27621
27621
|
import { dirname as dirname7, extname as extname2, join as join13 } from "node:path";
|
|
27622
27622
|
import { fileURLToPath } from "node:url";
|
|
@@ -27677,7 +27677,7 @@ var derived = /* @__PURE__ */ __name((bytes2, extractor, read2) => {
|
|
|
27677
27677
|
}
|
|
27678
27678
|
}, "derived");
|
|
27679
27679
|
|
|
27680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/image/index.js
|
|
27681
27681
|
var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
|
|
27682
27682
|
var image2 = {
|
|
27683
27683
|
id: "image",
|
|
@@ -27686,7 +27686,7 @@ var image2 = {
|
|
|
27686
27686
|
read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
|
|
27687
27687
|
};
|
|
27688
27688
|
|
|
27689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
|
|
27690
27690
|
var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
|
|
27691
27691
|
var doc = {
|
|
27692
27692
|
id: "doc",
|
|
@@ -27698,7 +27698,7 @@ var doc = {
|
|
|
27698
27698
|
}), "read")
|
|
27699
27699
|
};
|
|
27700
27700
|
|
|
27701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
|
|
27702
27702
|
var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
27703
27703
|
var docx = {
|
|
27704
27704
|
id: "docx",
|
|
@@ -27711,7 +27711,7 @@ var docx = {
|
|
|
27711
27711
|
}), "read")
|
|
27712
27712
|
};
|
|
27713
27713
|
|
|
27714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/markup.js
|
|
27715
27715
|
var import_iconv_lite2 = __toESM(require_lib3(), 1);
|
|
27716
27716
|
var RTF_SKIPPED = /* @__PURE__ */ new Set([
|
|
27717
27717
|
"fonttbl",
|
|
@@ -27887,7 +27887,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
|
|
|
27887
27887
|
}, "htmlText");
|
|
27888
27888
|
var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
|
|
27889
27889
|
|
|
27890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/html/page.js
|
|
27891
27891
|
var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
|
|
27892
27892
|
var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
|
|
27893
27893
|
var jsonLdNodes = /* @__PURE__ */ __name((document) => {
|
|
@@ -27943,7 +27943,7 @@ var markdownSections = /* @__PURE__ */ __name((text2) => {
|
|
|
27943
27943
|
return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text2.length }));
|
|
27944
27944
|
}, "markdownSections");
|
|
27945
27945
|
|
|
27946
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27946
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/html/index.js
|
|
27947
27947
|
var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
|
|
27948
27948
|
var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
|
|
27949
27949
|
var loaded = /* @__PURE__ */ __name(async (load, name) => {
|
|
@@ -28014,7 +28014,7 @@ var html = {
|
|
|
28014
28014
|
}, "read")
|
|
28015
28015
|
};
|
|
28016
28016
|
|
|
28017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28017
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/office/index.js
|
|
28018
28018
|
var office = {
|
|
28019
28019
|
id: "office",
|
|
28020
28020
|
version: documentExtractor("odt"),
|
|
@@ -28025,7 +28025,7 @@ var office = {
|
|
|
28025
28025
|
}, "read")
|
|
28026
28026
|
};
|
|
28027
28027
|
|
|
28028
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28028
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
|
|
28029
28029
|
var pdf = {
|
|
28030
28030
|
id: "pdf",
|
|
28031
28031
|
version: "unpdf",
|
|
@@ -28092,7 +28092,7 @@ var pdf = {
|
|
|
28092
28092
|
}), "read")
|
|
28093
28093
|
};
|
|
28094
28094
|
|
|
28095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28095
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
|
|
28096
28096
|
var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
|
|
28097
28097
|
var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
|
|
28098
28098
|
var readPlain = /* @__PURE__ */ __name((bytes2) => {
|
|
@@ -28112,7 +28112,7 @@ var plain = {
|
|
|
28112
28112
|
read: /* @__PURE__ */ __name(async (bytes2) => readPlain(bytes2), "read")
|
|
28113
28113
|
};
|
|
28114
28114
|
|
|
28115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
|
|
28116
28116
|
var rtf = {
|
|
28117
28117
|
id: "rtf",
|
|
28118
28118
|
version: "v1",
|
|
@@ -28120,10 +28120,10 @@ var rtf = {
|
|
|
28120
28120
|
read: /* @__PURE__ */ __name(async (bytes2) => derived(bytes2, "rtf:v1", rtfText), "read")
|
|
28121
28121
|
};
|
|
28122
28122
|
|
|
28123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
28124
28124
|
import { basename as basename5 } from "node:path";
|
|
28125
28125
|
|
|
28126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
|
|
28127
28127
|
var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) => {
|
|
28128
28128
|
const cells = [];
|
|
28129
28129
|
let row = 1, column = 1, start = 0, quoted = false, truncated = false;
|
|
@@ -28161,7 +28161,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) =
|
|
|
28161
28161
|
return { cells, truncated };
|
|
28162
28162
|
}, "delimitedSpans");
|
|
28163
28163
|
|
|
28164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
28165
28165
|
var DELIMITED = {
|
|
28166
28166
|
".csv": ",",
|
|
28167
28167
|
".tsv": " ",
|
|
@@ -28200,7 +28200,7 @@ var sheets = {
|
|
|
28200
28200
|
}, "read")
|
|
28201
28201
|
};
|
|
28202
28202
|
|
|
28203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/readers/registry.js
|
|
28204
28204
|
var BUILT_INS2 = [office, pdf, docx, doc, rtf, html, sheets, plain, image2];
|
|
28205
28205
|
var HEAD_BYTES = 1024;
|
|
28206
28206
|
var readers = [...BUILT_INS2];
|
|
@@ -28210,7 +28210,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes2, hint, context2) =>
|
|
|
28210
28210
|
return reader ? reader.read(bytes2, hint, context2) : { status: "unsupported" };
|
|
28211
28211
|
}, "readWithRegistry");
|
|
28212
28212
|
|
|
28213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
28214
28214
|
var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
|
|
28215
28215
|
var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname3(name ?? path).toLowerCase(), "extensionOf");
|
|
28216
28216
|
var extractText = /* @__PURE__ */ __name(async (bytes2, hint, load, signal, env = process.env) => {
|
|
@@ -29289,7 +29289,7 @@ function imageSize(input) {
|
|
|
29289
29289
|
}
|
|
29290
29290
|
__name(imageSize, "imageSize");
|
|
29291
29291
|
|
|
29292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
|
|
29293
29293
|
var MAX_PAGES = 20;
|
|
29294
29294
|
var MAX_PIXELS = 2e7;
|
|
29295
29295
|
var cancelled2 = /* @__PURE__ */ __name((signal) => {
|
|
@@ -29440,7 +29440,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes2, pipeline2, load, signal) => {
|
|
|
29440
29440
|
}
|
|
29441
29441
|
}, "ocrPdf");
|
|
29442
29442
|
|
|
29443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/pdf-preview.js
|
|
29444
29444
|
var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = importEngine, env = process.env) => {
|
|
29445
29445
|
const limits = pdfPreviewLimits(env);
|
|
29446
29446
|
const cancelled3 = /* @__PURE__ */ __name(() => {
|
|
@@ -29517,7 +29517,7 @@ var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = impo
|
|
|
29517
29517
|
}
|
|
29518
29518
|
}, "pdfPreview");
|
|
29519
29519
|
|
|
29520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/attachments/transfer.js
|
|
29521
29521
|
import { createHash as createHash8 } from "node:crypto";
|
|
29522
29522
|
import { constants } from "node:fs";
|
|
29523
29523
|
import { lstat as lstat3, open as open5 } from "node:fs/promises";
|
|
@@ -29625,7 +29625,7 @@ var transferMime = /* @__PURE__ */ __name((head, hint, name = null) => {
|
|
|
29625
29625
|
return hint !== null && /^[a-z0-9.+-]+\/[a-z0-9.+-]+$/i.test(hint) ? hint : "application/octet-stream";
|
|
29626
29626
|
}, "transferMime");
|
|
29627
29627
|
|
|
29628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
29629
29629
|
import { createWriteStream, mkdirSync as mkdirSync4 } from "node:fs";
|
|
29630
29630
|
import { link as link3, rm } from "node:fs/promises";
|
|
29631
29631
|
import { join as join14, resolve as resolve6 } from "node:path";
|
|
@@ -29739,7 +29739,7 @@ var save = /* @__PURE__ */ __name(async (file2, directory2, fallbackName, { uniq
|
|
|
29739
29739
|
}
|
|
29740
29740
|
}, "save");
|
|
29741
29741
|
|
|
29742
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
29743
29743
|
var ATTACHMENT_QUERY = {
|
|
29744
29744
|
entity: "attachment",
|
|
29745
29745
|
backend: "sql",
|
|
@@ -30162,7 +30162,7 @@ var attachmentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
30162
30162
|
}, "setText")
|
|
30163
30163
|
}), "attachmentsService");
|
|
30164
30164
|
|
|
30165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/chat-documents.js
|
|
30166
30166
|
var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
30167
30167
|
list: /* @__PURE__ */ __name(async (chat, { limit, offset, ref }) => {
|
|
30168
30168
|
const store = await accountStore(deps);
|
|
@@ -30192,7 +30192,7 @@ var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
30192
30192
|
}, "list")
|
|
30193
30193
|
}), "chatDocumentsService");
|
|
30194
30194
|
|
|
30195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/retention.js
|
|
30196
30196
|
var observationDuration = /* @__PURE__ */ __name((text2, flag) => {
|
|
30197
30197
|
const match = /^(\d+(?:\.\d+)?)([smhdw])$/.exec(text2);
|
|
30198
30198
|
const units2 = { s: 1e3, m: 6e4, h: 36e5, d: 864e5, w: 6048e5 };
|
|
@@ -30279,7 +30279,7 @@ var isRetentionSelection = /* @__PURE__ */ __name((selection) => {
|
|
|
30279
30279
|
}
|
|
30280
30280
|
}, "isRetentionSelection");
|
|
30281
30281
|
|
|
30282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/counters.js
|
|
30283
30283
|
var counterFields = /* @__PURE__ */ __name((text2 = "views,reactions,comments") => {
|
|
30284
30284
|
const fields = text2.split(",").map((one2) => one2.trim());
|
|
30285
30285
|
if (!fields.length || fields.some((one2) => !COUNTER_FIELDS.includes(one2)) || new Set(fields).size !== fields.length)
|
|
@@ -30486,7 +30486,7 @@ var countersService = /* @__PURE__ */ __name((deps) => {
|
|
|
30486
30486
|
};
|
|
30487
30487
|
}, "countersService");
|
|
30488
30488
|
|
|
30489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/search-refresh.js
|
|
30490
30490
|
var SYNC_KEY = "messages.sync-first";
|
|
30491
30491
|
var SYNC_BOUNDS = { maxChats: 5, timeMs: 3e4, maxMessages: 500 };
|
|
30492
30492
|
var keyOf3 = /* @__PURE__ */ __name((chat) => JSON.stringify([chat.account.provider, chat.account.account, chat.chatId]), "keyOf");
|
|
@@ -30618,7 +30618,7 @@ var withRefresh = /* @__PURE__ */ __name((found, refreshed) => ({
|
|
|
30618
30618
|
...!refreshed || refreshed.complete ? {} : { coverage: { ...found.coverage, state: "stale" } }
|
|
30619
30619
|
}), "withRefresh");
|
|
30620
30620
|
|
|
30621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/embeddings-search.js
|
|
30622
30622
|
var CANDIDATES = 50;
|
|
30623
30623
|
var WORD_HITS = 200;
|
|
30624
30624
|
var RRF_K = 60;
|
|
@@ -30893,13 +30893,13 @@ var meanOf = /* @__PURE__ */ __name((vectors) => {
|
|
|
30893
30893
|
return mean2.map((value) => value / length);
|
|
30894
30894
|
}, "meanOf");
|
|
30895
30895
|
|
|
30896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/embeddings.js
|
|
30897
30897
|
var embeddingsService = /* @__PURE__ */ __name((deps) => ({
|
|
30898
30898
|
...embeddingsMaintenance(deps),
|
|
30899
30899
|
...embeddingsSearch(deps)
|
|
30900
30900
|
}), "embeddingsService");
|
|
30901
30901
|
|
|
30902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/folders.js
|
|
30903
30903
|
var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
30904
30904
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
30905
30905
|
if (deps.offline)
|
|
@@ -31040,7 +31040,7 @@ var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
|
31040
31040
|
};
|
|
31041
31041
|
}, "foldersService");
|
|
31042
31042
|
|
|
31043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/inbox.js
|
|
31044
31044
|
var INBOX_CHATS = 20;
|
|
31045
31045
|
var REVIEW_DAYS = 3;
|
|
31046
31046
|
var UNANSWERED_HOURS = 24;
|
|
@@ -31248,7 +31248,7 @@ var inboxService = /* @__PURE__ */ __name((deps) => {
|
|
|
31248
31248
|
};
|
|
31249
31249
|
}, "inboxService");
|
|
31250
31250
|
|
|
31251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/mentions.js
|
|
31252
31252
|
var REVIEW_COUNT = 500;
|
|
31253
31253
|
var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
31254
31254
|
const located = /* @__PURE__ */ __name(async () => {
|
|
@@ -31327,7 +31327,7 @@ var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
|
31327
31327
|
};
|
|
31328
31328
|
}, "mentionsService");
|
|
31329
31329
|
|
|
31330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
31331
31331
|
var invalid3 = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
31332
31332
|
var validateFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
31333
31333
|
const { text: text2, spans } = formatted2;
|
|
@@ -31387,7 +31387,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
|
31387
31387
|
};
|
|
31388
31388
|
}, "visibleFormattedText");
|
|
31389
31389
|
|
|
31390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/message-link.js
|
|
31391
31391
|
var fileLinks = /* @__PURE__ */ __name((attachments) => hitFiles(attachments).map(({ position, kind, name }) => ({
|
|
31392
31392
|
position,
|
|
31393
31393
|
kind,
|
|
@@ -31436,7 +31436,7 @@ var validatePermalink = /* @__PURE__ */ __name((link4) => {
|
|
|
31436
31436
|
return { url: link4.url, access: link4.access, reason: link4.reason };
|
|
31437
31437
|
}, "validatePermalink");
|
|
31438
31438
|
|
|
31439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/pin-duration.js
|
|
31440
31440
|
var spokenSeconds = /* @__PURE__ */ __name((seconds) => {
|
|
31441
31441
|
if (seconds % 86400 === 0 && seconds > 86400)
|
|
31442
31442
|
return `${seconds / 86400}d`;
|
|
@@ -31468,7 +31468,7 @@ var pinDurationOf = /* @__PURE__ */ __name((value, allowed, flag = "--expire-tim
|
|
|
31468
31468
|
return seconds;
|
|
31469
31469
|
}, "pinDurationOf");
|
|
31470
31470
|
|
|
31471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/send-as.js
|
|
31472
31472
|
var sendAsCheck = /* @__PURE__ */ __name((connection, sendAs) => {
|
|
31473
31473
|
if (sendAs === void 0) {
|
|
31474
31474
|
const saved = connection.savedSender?.bind(connection);
|
|
@@ -31493,7 +31493,7 @@ var typedSendAs = /* @__PURE__ */ __name((typed) => {
|
|
|
31493
31493
|
return sendAs;
|
|
31494
31494
|
}, "typedSendAs");
|
|
31495
31495
|
|
|
31496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/search/total.js
|
|
31497
31497
|
var TOTAL_CAP = 1e4;
|
|
31498
31498
|
var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
31499
31499
|
const least = shown + (hasMore ? 1 : 0);
|
|
@@ -31504,7 +31504,7 @@ var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
|
31504
31504
|
return { value: count4, relation: exact ? "eq" : "gte" };
|
|
31505
31505
|
}, "totalOf");
|
|
31506
31506
|
|
|
31507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
|
|
31508
31508
|
var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
|
|
31509
31509
|
var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
|
|
31510
31510
|
let narrows = false;
|
|
@@ -31533,7 +31533,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
|
|
|
31533
31533
|
return wanted(root).join(" ").trim();
|
|
31534
31534
|
}, "meaningWords");
|
|
31535
31535
|
|
|
31536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
31537
31537
|
var words2 = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
31538
31538
|
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"));
|
|
31539
31539
|
var questionWord = /\b(?:what|which|how|who|where|when|can|could|should)\b|(?:^|\s)(?:сколько|какой|какая|какие|какое|кто|кому|кем|где|когда|как|что|можно|может|могут|ли)(?:\s|$)/iu;
|
|
@@ -31666,7 +31666,7 @@ var questionLookup = /* @__PURE__ */ __name((text2) => {
|
|
|
31666
31666
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
31667
31667
|
}, "questionLookup");
|
|
31668
31668
|
|
|
31669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/messages-combined.js
|
|
31670
31670
|
var COMBINED_DEFAULTS = { candidateDepth: 300, rrfK: 60, rerank: "all", chatCap: 0 };
|
|
31671
31671
|
var tokensOf = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}\p{Co}\p{M}]+/gu) ?? [], "tokensOf");
|
|
31672
31672
|
var searchCombined = /* @__PURE__ */ __name(async (store, account, request, messenger = {}, options2 = COMBINED_DEFAULTS) => {
|
|
@@ -31860,7 +31860,7 @@ var signals = /* @__PURE__ */ __name((hit, terms, corrections, execution, mode,
|
|
|
31860
31860
|
return mode === "coverage" ? coverage2 * 4 : mode === "proximity" ? proximity : mode === "phrase" ? phrase2 : coverage2 * 4 + proximity + phrase2;
|
|
31861
31861
|
}, "signals");
|
|
31862
31862
|
|
|
31863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/messages-discovery.js
|
|
31864
31864
|
var MEANING_DEPTH = 100;
|
|
31865
31865
|
var RRF_K2 = 60;
|
|
31866
31866
|
var RERANK_DEPTH = 50;
|
|
@@ -32186,7 +32186,7 @@ var mixedWithReranker = /* @__PURE__ */ __name((head, scores) => {
|
|
|
32186
32186
|
})).sort((a, b) => b.mixed - a.mixed).map(({ hit }) => hit);
|
|
32187
32187
|
}, "mixedWithReranker");
|
|
32188
32188
|
|
|
32189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/thread-context.js
|
|
32190
32190
|
var THREAD_BOUNDS = { maxHops: 8, maxMessages: 50, maxBytes: 65536, withinMs: 864e5 };
|
|
32191
32191
|
var bytes = /* @__PURE__ */ __name((items, links) => Buffer.byteLength(JSON.stringify({ items, links }), "utf8"), "bytes");
|
|
32192
32192
|
var threadBounds = /* @__PURE__ */ __name((options2 = {}) => {
|
|
@@ -32385,7 +32385,7 @@ var readThreadContext = /* @__PURE__ */ __name(async (store, account, chat, mess
|
|
|
32385
32385
|
return result;
|
|
32386
32386
|
}, "readThreadContext");
|
|
32387
32387
|
|
|
32388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/messages-archive-search.js
|
|
32389
32389
|
var SEARCH_FILL_MS = 200;
|
|
32390
32390
|
var statsStore = /* @__PURE__ */ __name(async (store, account, request, messenger = {}) => {
|
|
32391
32391
|
const stop = Date.now() + SEARCH_FILL_MS;
|
|
@@ -32454,7 +32454,7 @@ var accountOf2 = /* @__PURE__ */ __name((hit) => {
|
|
|
32454
32454
|
}, "accountOf");
|
|
32455
32455
|
var keyOf4 = /* @__PURE__ */ __name(({ provider, account }) => `${provider}/${account}`, "keyOf");
|
|
32456
32456
|
|
|
32457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32457
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meaning-model.js
|
|
32458
32458
|
var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
|
|
32459
32459
|
const chosen = chosenTextModel(env);
|
|
32460
32460
|
if (chosen.from === "chosen" || chosen.id !== DEFAULT_TEXT_MODEL)
|
|
@@ -32469,12 +32469,12 @@ var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
|
|
|
32469
32469
|
return (counts.get(before2) ?? 0) > (counts.get(now) ?? 0) ? previous.id : current.id;
|
|
32470
32470
|
}, "meaningModel");
|
|
32471
32471
|
|
|
32472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
32473
32473
|
import { createHash as createHash10 } from "node:crypto";
|
|
32474
32474
|
import { readFile as readFile2, stat as stat3 } from "node:fs/promises";
|
|
32475
32475
|
import { setTimeout as sleep4 } from "node:timers/promises";
|
|
32476
32476
|
|
|
32477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/models.js
|
|
32478
32478
|
var GROUP_SETTINGS = [
|
|
32479
32479
|
"allCanPin",
|
|
32480
32480
|
"onlyAdminsAdd",
|
|
@@ -32488,7 +32488,7 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
|
|
|
32488
32488
|
var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
|
|
32489
32489
|
var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
|
|
32490
32490
|
|
|
32491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
32492
32492
|
var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
|
|
32493
32493
|
var PICTURE_FLOOR = 0.25;
|
|
32494
32494
|
var PAGE4 = 50;
|
|
@@ -32505,7 +32505,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
|
|
|
32505
32505
|
const directory2 = imageModelsDirectory(deps.env);
|
|
32506
32506
|
if (!isImageModelInstalled(model2, directory2))
|
|
32507
32507
|
throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
|
|
32508
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
32508
|
+
const { openPictureEmbedder } = await import("./embedder-2AUO2PHQ.js");
|
|
32509
32509
|
return openPictureEmbedder(model2, directory2);
|
|
32510
32510
|
}, "open");
|
|
32511
32511
|
const embedder = /* @__PURE__ */ __name(() => {
|
|
@@ -32702,7 +32702,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
|
|
|
32702
32702
|
}, "search")
|
|
32703
32703
|
}), "withPictures");
|
|
32704
32704
|
|
|
32705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/messages-meaning.js
|
|
32706
32706
|
var meaningText = /* @__PURE__ */ __name((question) => {
|
|
32707
32707
|
try {
|
|
32708
32708
|
const text2 = questionLookup(question) === void 0 ? question : questionText(question);
|
|
@@ -32781,7 +32781,7 @@ var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, sh
|
|
|
32781
32781
|
}
|
|
32782
32782
|
}, "meaningLane");
|
|
32783
32783
|
|
|
32784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/messages-rerank.js
|
|
32785
32785
|
var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
32786
32786
|
const choice = deps.reranker ?? DEFAULT_RERANK_MODEL;
|
|
32787
32787
|
if (choice === "off")
|
|
@@ -32793,9 +32793,9 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
32793
32793
|
return { skipped: { reason: `${model.id} is not downloaded`, step: "models.download", model: model.id } };
|
|
32794
32794
|
try {
|
|
32795
32795
|
const warm = deps.embedders;
|
|
32796
|
-
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-
|
|
32796
|
+
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-TVXEHAK6.js")).openRerankerProcess(model, directory2, {
|
|
32797
32797
|
threads: defaultThreads()
|
|
32798
|
-
})) : await (await import("./rerank-
|
|
32798
|
+
})) : await (await import("./rerank-6B2FI6LN.js")).openReranker(model, directory2);
|
|
32799
32799
|
return {
|
|
32800
32800
|
model: model.id,
|
|
32801
32801
|
score: /* @__PURE__ */ __name((question, passages) => reranker.score(plainWords(question), passages), "score"),
|
|
@@ -32815,7 +32815,7 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
32815
32815
|
};
|
|
32816
32816
|
}, "rerankLane");
|
|
32817
32817
|
|
|
32818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/search/question-period.js
|
|
32819
32819
|
var DAY5 = 864e5;
|
|
32820
32820
|
var SPAN = { start: 0, end: 0 };
|
|
32821
32821
|
var phrase = /* @__PURE__ */ __name((source) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${source})(?![\\p{L}\\p{N}])`, "giu"), "phrase");
|
|
@@ -32940,17 +32940,17 @@ var questionPeriod = /* @__PURE__ */ __name((text2, now, zone) => {
|
|
|
32940
32940
|
};
|
|
32941
32941
|
}, "questionPeriod");
|
|
32942
32942
|
|
|
32943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
|
|
32944
32944
|
var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
|
|
32945
32945
|
const model = imageModel(DEFAULT_IMAGE_MODEL);
|
|
32946
32946
|
const directory2 = imageModelsDirectory(env);
|
|
32947
32947
|
if (!isImageModelInstalled(model, directory2))
|
|
32948
32948
|
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 });
|
|
32949
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
32949
|
+
const { openPictureEmbedder } = await import("./embedder-2AUO2PHQ.js");
|
|
32950
32950
|
return openPictureEmbedder(model, directory2);
|
|
32951
32951
|
}, "openPictureEmbedderFor");
|
|
32952
32952
|
|
|
32953
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/document-source.js
|
|
32954
32954
|
var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) => {
|
|
32955
32955
|
const metadata = note2.frontMatter;
|
|
32956
32956
|
const account = accounts.find(({ id: id2 }) => String(id2) === note2.folderId);
|
|
@@ -32965,7 +32965,7 @@ var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) =
|
|
|
32965
32965
|
};
|
|
32966
32966
|
}, "documentSource");
|
|
32967
32967
|
|
|
32968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
|
|
32969
32969
|
var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
|
|
32970
32970
|
const host = new URL(baseUrl).host;
|
|
32971
32971
|
return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
|
|
@@ -32998,7 +32998,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
|
|
|
32998
32998
|
};
|
|
32999
32999
|
}, "embeddingKeys");
|
|
33000
33000
|
|
|
33001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/models/openai.js
|
|
33002
33002
|
var options = strictObject({
|
|
33003
33003
|
temperature: range(0, 2),
|
|
33004
33004
|
top_p: range(0, 1),
|
|
@@ -33052,7 +33052,7 @@ var openai = {
|
|
|
33052
33052
|
}), "complete")
|
|
33053
33053
|
};
|
|
33054
33054
|
|
|
33055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/models/index.js
|
|
33056
33056
|
var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
33057
33057
|
complete: /* @__PURE__ */ __name(async (request) => {
|
|
33058
33058
|
if (deps.signal?.aborted)
|
|
@@ -33067,7 +33067,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
33067
33067
|
if (!adapter && target2.provider === "openai")
|
|
33068
33068
|
adapter = openai;
|
|
33069
33069
|
if (!adapter && target2.provider === "anthropic")
|
|
33070
|
-
adapter = (await import("./anthropic-
|
|
33070
|
+
adapter = (await import("./anthropic-HECHQVOK.js")).anthropic;
|
|
33071
33071
|
if (!adapter)
|
|
33072
33072
|
throw new CliError("validation_error", `no model adapter for ${target2.provider}`);
|
|
33073
33073
|
if (request.images !== void 0 && adapter.images !== true)
|
|
@@ -33085,6 +33085,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
33085
33085
|
let limited = false;
|
|
33086
33086
|
let unreachable = false;
|
|
33087
33087
|
let refused = false;
|
|
33088
|
+
let status;
|
|
33088
33089
|
const cancellable = /* @__PURE__ */ __name(async (input, init) => {
|
|
33089
33090
|
const signal = init?.signal ?? (input instanceof Request ? input.signal : void 0);
|
|
33090
33091
|
let response;
|
|
@@ -33097,6 +33098,8 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
33097
33098
|
unreachable = true;
|
|
33098
33099
|
throw error;
|
|
33099
33100
|
}
|
|
33101
|
+
if (!response.ok)
|
|
33102
|
+
status = response.status;
|
|
33100
33103
|
if (response.status === 429)
|
|
33101
33104
|
limited = true;
|
|
33102
33105
|
if (response.status === 401 || response.status === 403)
|
|
@@ -33114,12 +33117,12 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
33114
33117
|
if (limited)
|
|
33115
33118
|
throw new CliError("rate_limited", `${request.purpose} provider rate limit reached; no result was stored`);
|
|
33116
33119
|
const reason = refused ? "model.key-rejected" : unreachable && !deps.signal?.aborted ? "model.unreachable" : void 0;
|
|
33117
|
-
throw new CliError("invalid_response", `${request.purpose} provider failed or returned an incomplete response; no result was stored`, reason === void 0 ? void 0 : { reason });
|
|
33120
|
+
throw new CliError("invalid_response", `${request.purpose} provider failed or returned an incomplete response; no result was stored`, reason === void 0 && status === void 0 ? void 0 : { ...reason === void 0 ? {} : { reason }, ...status === void 0 ? {} : { status } });
|
|
33118
33121
|
}
|
|
33119
33122
|
}, "complete")
|
|
33120
33123
|
}), "modelGateway");
|
|
33121
33124
|
|
|
33122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/enrichment-setting.js
|
|
33123
33126
|
var SECTION = "enrichment";
|
|
33124
33127
|
var ENRICHMENT_PROVIDERS = ["openai", "anthropic"];
|
|
33125
33128
|
var DEFAULT_BASE_URLS = {
|
|
@@ -33194,7 +33197,7 @@ var costOf = /* @__PURE__ */ __name((usage, setting) => {
|
|
|
33194
33197
|
return price ? Math.round((usage.input * price.input + usage.output * price.output) * 1e6) / 1e6 : null;
|
|
33195
33198
|
}, "costOf");
|
|
33196
33199
|
|
|
33197
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/enrichment.js
|
|
33198
33201
|
var ENRICH_PER_RUN = 600;
|
|
33199
33202
|
var BATCH = 20;
|
|
33200
33203
|
var CONCURRENCY = 4;
|
|
@@ -33441,7 +33444,7 @@ var enrichmentState = /* @__PURE__ */ __name(async (store, env, estimateFor, key
|
|
|
33441
33444
|
};
|
|
33442
33445
|
}, "enrichmentState");
|
|
33443
33446
|
|
|
33444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
|
|
33445
33448
|
var plainQueryWords = /* @__PURE__ */ __name((query) => {
|
|
33446
33449
|
let root;
|
|
33447
33450
|
try {
|
|
@@ -33468,7 +33471,7 @@ var titleTiers = /* @__PURE__ */ __name((hits, words4) => {
|
|
|
33468
33471
|
return [...hits].sort((a, b) => rank(a) - rank(b));
|
|
33469
33472
|
}, "titleTiers");
|
|
33470
33473
|
|
|
33471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/notes-search.js
|
|
33472
33475
|
var storeQuery = /* @__PURE__ */ __name(async (store, text2, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text2, exact), timezone), "storeQuery");
|
|
33473
33476
|
var parsedQuery = /* @__PURE__ */ __name((text2, exact) => validateFields(parseLucene(text2, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
|
|
33474
33477
|
var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
|
|
@@ -33951,7 +33954,7 @@ var searchNotesOf = /* @__PURE__ */ __name(async (store, account, text2, { accou
|
|
|
33951
33954
|
};
|
|
33952
33955
|
}, "searchNotesOf");
|
|
33953
33956
|
|
|
33954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/events-search.js
|
|
33955
33958
|
var MAX_EVENTS_OFFSET = 1e3;
|
|
33956
33959
|
var iso = /* @__PURE__ */ __name((at) => at === null ? null : new Date(at).toISOString(), "iso");
|
|
33957
33960
|
var accountIdsOf = /* @__PURE__ */ __name(async (store, accounts) => {
|
|
@@ -34069,7 +34072,7 @@ var searchEvents = /* @__PURE__ */ __name(async (store, query, { limit = 20, off
|
|
|
34069
34072
|
};
|
|
34070
34073
|
}, "searchEvents");
|
|
34071
34074
|
|
|
34072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/search-all-business.js
|
|
34073
34076
|
var OWN_BUSINESS = { provider: "business", account: INTERNAL_NOTES };
|
|
34074
34077
|
var BUSINESS_WORDS_ONLY = "invoices, payments, orders, contracts, subscriptions, products and wallets are found by the words of their numbers and names only";
|
|
34075
34078
|
var placeOf = /* @__PURE__ */ __name(({ source, imported }) => source ?? (imported === void 0 ? OWN_BUSINESS : { provider: imported, account: "" }), "placeOf");
|
|
@@ -34100,7 +34103,7 @@ var searchBusiness = /* @__PURE__ */ __name(async (store, { words: words4, anyWo
|
|
|
34100
34103
|
};
|
|
34101
34104
|
}, "searchBusiness");
|
|
34102
34105
|
|
|
34103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
34104
34107
|
var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
|
|
34105
34108
|
let before2 = Number.POSITIVE_INFINITY;
|
|
34106
34109
|
for (; ; ) {
|
|
@@ -34162,7 +34165,7 @@ var searchMeetingHits = /* @__PURE__ */ __name(async (store, query, request, opt
|
|
|
34162
34165
|
return { ...result, selection };
|
|
34163
34166
|
}, "searchMeetingHits");
|
|
34164
34167
|
|
|
34165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/search-all-meetings.js
|
|
34166
34169
|
var MOST_HITS_PER_MEETING = 3;
|
|
34167
34170
|
var PAGE_ROWS = 200;
|
|
34168
34171
|
var MOST_PAGES = 25;
|
|
@@ -34390,7 +34393,7 @@ var titleItem = /* @__PURE__ */ __name((account, meeting, query) => ({
|
|
|
34390
34393
|
foundBy: ["title"]
|
|
34391
34394
|
}), "titleItem");
|
|
34392
34395
|
|
|
34393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/search-harder.js
|
|
34394
34397
|
var SECTION2 = "search_harder";
|
|
34395
34398
|
var HARDER_MODELS = {
|
|
34396
34399
|
anthropic: "claude-haiku-5-5",
|
|
@@ -34611,7 +34614,7 @@ var reorderHarder = /* @__PURE__ */ __name(async (question, hits, { laterPage, a
|
|
|
34611
34614
|
};
|
|
34612
34615
|
}, "reorderHarder");
|
|
34613
34616
|
|
|
34614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/search-all.js
|
|
34615
34618
|
var RESOURCES_SEARCHED = ["messages", "mail", "notes", "events", "crm", "business", "meetings"];
|
|
34616
34619
|
var refusal = /* @__PURE__ */ __name((error, text2) => {
|
|
34617
34620
|
const { reason, span } = error.details ?? {};
|
|
@@ -34985,7 +34988,7 @@ var insidePeriodFirst = /* @__PURE__ */ __name((ordered, period) => {
|
|
|
34985
34988
|
return ordered.map((item2, rank) => ({ item: item2, score: 1 - rank / PERIOD_DEPTH + (inside2(item2) ? PERIOD_BOOST : 0) })).sort((a, b) => b.score - a.score).map(({ item: item2 }) => item2);
|
|
34986
34989
|
}, "insidePeriodFirst");
|
|
34987
34990
|
|
|
34988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34991
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/server-search.js
|
|
34989
34992
|
var SERVER_SEARCH_KEY = "messages.server-search";
|
|
34990
34993
|
var SERVER_BOUNDS = { timeMs: 5e3, perCall: 100, maxCalls: 3, textBytes: 262144 };
|
|
34991
34994
|
var DEFAULT_BACKEND = "both";
|
|
@@ -35174,7 +35177,7 @@ var searchServer = /* @__PURE__ */ __name(async (deps, request) => {
|
|
|
35174
35177
|
return { report, sources };
|
|
35175
35178
|
}, "searchServer");
|
|
35176
35179
|
|
|
35177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/messages.js
|
|
35178
35181
|
var DELETE_AT_ONCE = 10;
|
|
35179
35182
|
var filesOf = /* @__PURE__ */ __name(({ attachments }) => {
|
|
35180
35183
|
const files = fileLinks(attachments);
|
|
@@ -35614,7 +35617,7 @@ var checkMediaOptions = /* @__PURE__ */ __name((messenger, asked, attachments) =
|
|
|
35614
35617
|
throw new CliError("validation_error", `${MEDIA_FLAGS[first2]} needs a --photo or --file`);
|
|
35615
35618
|
}, "checkMediaOptions");
|
|
35616
35619
|
|
|
35617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/channel-tags.js
|
|
35618
35621
|
var CHANNEL_TAG_RULES_VERSION = "keywords-v1";
|
|
35619
35622
|
var RULES2 = {
|
|
35620
35623
|
ai: [/\b(ai|gpt|llm|machine learning|artificial intelligence)\b/iu, /нейросет|искусственн/iu],
|
|
@@ -35629,7 +35632,7 @@ var classifyChannel = /* @__PURE__ */ __name((metadata) => Object.entries(RULES2
|
|
|
35629
35632
|
return fields.length ? [{ tag, score: fields.length / 3, fields }] : [];
|
|
35630
35633
|
}), "classifyChannel");
|
|
35631
35634
|
|
|
35632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/metadata.js
|
|
35633
35636
|
var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
35634
35637
|
const held = /* @__PURE__ */ __name(async (reference, { includeLeft = false } = {}) => {
|
|
35635
35638
|
const store = await deps.store();
|
|
@@ -35715,7 +35718,7 @@ var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
|
35715
35718
|
};
|
|
35716
35719
|
}, "metadataService");
|
|
35717
35720
|
|
|
35718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
35719
35722
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
35720
35723
|
var LINK2 = /https?:\/\/\S+/i;
|
|
35721
35724
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -35903,7 +35906,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
35903
35906
|
}, "nextPoint");
|
|
35904
35907
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
35905
35908
|
|
|
35906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
35907
35910
|
import { existsSync as existsSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
35908
35911
|
import { join as join15 } from "node:path";
|
|
35909
35912
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -36046,7 +36049,7 @@ var assign = /* @__PURE__ */ __name((rules, key, value) => {
|
|
|
36046
36049
|
return { ...rules, [head]: { ...rules[head], [tail]: value } };
|
|
36047
36050
|
}, "assign");
|
|
36048
36051
|
|
|
36049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36052
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/moderation/run.js
|
|
36050
36053
|
var FIRST_LOOK_MS = 24 * 36e5;
|
|
36051
36054
|
var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
36052
36055
|
const { chatId, title, rules, point, since, dryRun } = run;
|
|
@@ -36083,7 +36086,7 @@ var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
|
36083
36086
|
return { chatId, rows, notes };
|
|
36084
36087
|
}, "moderateWith");
|
|
36085
36088
|
|
|
36086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/moderation.js
|
|
36087
36090
|
var moderationService = /* @__PURE__ */ __name((deps) => {
|
|
36088
36091
|
const file2 = /* @__PURE__ */ __name(() => new ModerationRules(moderationPathFor(deps.messenger.app, deps.profile ?? "default", deps.env ?? process.env)), "file");
|
|
36089
36092
|
const group = /* @__PURE__ */ __name(async (chat) => {
|
|
@@ -36161,7 +36164,7 @@ var moderatorOf = /* @__PURE__ */ __name((adapter, deps) => ({
|
|
|
36161
36164
|
}, "removePerson")
|
|
36162
36165
|
}), "moderatorOf");
|
|
36163
36166
|
|
|
36164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/person-context.js
|
|
36165
36168
|
var CONTEXT_MESSAGES2 = 10;
|
|
36166
36169
|
var CONTEXT_BYTES = 64 * 1024;
|
|
36167
36170
|
var toContext = /* @__PURE__ */ __name((key, message, chatTitle2) => ({
|
|
@@ -36460,10 +36463,10 @@ var personMessages = /* @__PURE__ */ __name(async (store, asked, reference, { ch
|
|
|
36460
36463
|
};
|
|
36461
36464
|
}, "personMessages");
|
|
36462
36465
|
|
|
36463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36466
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
36464
36467
|
import { createHash as createHash11 } from "node:crypto";
|
|
36465
36468
|
|
|
36466
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36469
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-reference.js
|
|
36467
36470
|
var missing3 = /* @__PURE__ */ __name(() => new CliError("not_found", "the meeting evidence is unavailable for this account"), "missing");
|
|
36468
36471
|
var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId, reference, options2 = {}) => {
|
|
36469
36472
|
const parsed = parseMeetingReference(reference);
|
|
@@ -36481,7 +36484,7 @@ var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId,
|
|
|
36481
36484
|
return { parsed, meeting };
|
|
36482
36485
|
}, "authorizedMeetingMetadata");
|
|
36483
36486
|
|
|
36484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
36485
36488
|
var hash = /* @__PURE__ */ __name((value) => createHash11("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
36486
36489
|
var checkMeetingCancelled = /* @__PURE__ */ __name((signal) => {
|
|
36487
36490
|
if (signal?.aborted)
|
|
@@ -36680,7 +36683,7 @@ var readMeetingEvidence = /* @__PURE__ */ __name(async (store, accountId, refere
|
|
|
36680
36683
|
return { ...packet, fingerprint: hash(packet) };
|
|
36681
36684
|
}, "readMeetingEvidence");
|
|
36682
36685
|
|
|
36683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/person-meeting-context.js
|
|
36684
36687
|
var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference, options2) => {
|
|
36685
36688
|
const { meetings = 10, cues = 5, bytes: bytes2 = 64 * 1024, scanLimit = 1e3, since, signal } = options2;
|
|
36686
36689
|
const requestedAccounts = options2.accountIds;
|
|
@@ -36779,7 +36782,7 @@ var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference,
|
|
|
36779
36782
|
};
|
|
36780
36783
|
}, "personMeetingContext");
|
|
36781
36784
|
|
|
36782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/person-preparation.js
|
|
36783
36786
|
var PREPARE_BYTES = 96 * 1024;
|
|
36784
36787
|
var MEETINGS = 5;
|
|
36785
36788
|
var CUES = 3;
|
|
@@ -36902,7 +36905,7 @@ var meetingsOf = /* @__PURE__ */ __name(async (store, uid, stored, since, left)
|
|
|
36902
36905
|
}
|
|
36903
36906
|
}, "meetingsOf");
|
|
36904
36907
|
|
|
36905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/person-profile.js
|
|
36906
36909
|
var personProfile = /* @__PURE__ */ __name(async (deps, person, known2) => {
|
|
36907
36910
|
const online = deps.offline ? void 0 : await deps.connection();
|
|
36908
36911
|
const held = await storeIfOpen(deps);
|
|
@@ -36972,7 +36975,7 @@ var quiet = /* @__PURE__ */ __name((facts) => facts.chats.map(({ id: id2, title,
|
|
|
36972
36975
|
complete: false
|
|
36973
36976
|
})), "quiet");
|
|
36974
36977
|
|
|
36975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/person-timeline.js
|
|
36976
36979
|
var TIMELINE_ITEMS = 50;
|
|
36977
36980
|
var TIMELINE_MAX = 500;
|
|
36978
36981
|
var SCOPES2 = ["personal", "work"];
|
|
@@ -37034,7 +37037,7 @@ var personTimeline = /* @__PURE__ */ __name(async (store, asked, reference, { sc
|
|
|
37034
37037
|
};
|
|
37035
37038
|
}, "personTimeline");
|
|
37036
37039
|
|
|
37037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/people.js
|
|
37038
37041
|
var peopleService = /* @__PURE__ */ __name((deps) => {
|
|
37039
37042
|
const localCard = /* @__PURE__ */ __name(async (card, includeNotes = false) => {
|
|
37040
37043
|
const held = await storeIfOpen(deps);
|
|
@@ -37288,7 +37291,7 @@ var withoutPhone = /* @__PURE__ */ __name((answer) => {
|
|
|
37288
37291
|
return rest;
|
|
37289
37292
|
}, "withoutPhone");
|
|
37290
37293
|
|
|
37291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/private-people.js
|
|
37292
37295
|
var noteItem = /* @__PURE__ */ __name((provider, note2) => ({
|
|
37293
37296
|
id: note2.id,
|
|
37294
37297
|
contact: formatReference({ type: "contact", provider, id: note2.personId }),
|
|
@@ -37332,7 +37335,7 @@ var privatePeopleService = /* @__PURE__ */ __name((deps) => {
|
|
|
37332
37335
|
};
|
|
37333
37336
|
}, "privatePeopleService");
|
|
37334
37337
|
|
|
37335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/rankings.js
|
|
37336
37339
|
var empty = /* @__PURE__ */ __name(() => ({
|
|
37337
37340
|
total: 0,
|
|
37338
37341
|
population: 0,
|
|
@@ -37588,7 +37591,7 @@ var rankingsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
37588
37591
|
}, "evidence")
|
|
37589
37592
|
}), "rankingsService");
|
|
37590
37593
|
|
|
37591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/reply-stats.js
|
|
37592
37595
|
var FIELDS = ["date", "chat", "kind"];
|
|
37593
37596
|
var WAITING_TAIL = 100;
|
|
37594
37597
|
var plainOnly = /* @__PURE__ */ __name((text2, command) => {
|
|
@@ -37715,7 +37718,7 @@ var replyStatsService = /* @__PURE__ */ __name((deps) => {
|
|
|
37715
37718
|
};
|
|
37716
37719
|
}, "replyStatsService");
|
|
37717
37720
|
|
|
37718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/searches.js
|
|
37719
37722
|
var savedSearchItem = /* @__PURE__ */ __name((one2) => ({
|
|
37720
37723
|
id: one2.id,
|
|
37721
37724
|
name: one2.name,
|
|
@@ -37844,7 +37847,7 @@ var searchesService = /* @__PURE__ */ __name((deps) => {
|
|
|
37844
37847
|
};
|
|
37845
37848
|
}, "searchesService");
|
|
37846
37849
|
|
|
37847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/tags.js
|
|
37848
37851
|
var TAGGING_QUERY = {
|
|
37849
37852
|
entity: "tagging",
|
|
37850
37853
|
backend: "sql",
|
|
@@ -37928,7 +37931,7 @@ var tagsService = /* @__PURE__ */ __name((deps) => {
|
|
|
37928
37931
|
};
|
|
37929
37932
|
}, "tagsService");
|
|
37930
37933
|
|
|
37931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/task-stats.js
|
|
37932
37935
|
var TASK_STATS_BY = ["chat", "meeting", "project"];
|
|
37933
37936
|
var PERIOD_FIELD = "created";
|
|
37934
37937
|
var refuseNestedPeriod = /* @__PURE__ */ __name((node, top = true) => {
|
|
@@ -38031,7 +38034,7 @@ var meetingNames = /* @__PURE__ */ __name(async (store, groups) => {
|
|
|
38031
38034
|
}));
|
|
38032
38035
|
}, "meetingNames");
|
|
38033
38036
|
|
|
38034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/tasks.js
|
|
38035
38038
|
var TASK_QUERY = {
|
|
38036
38039
|
entity: "task",
|
|
38037
38040
|
backend: "sql",
|
|
@@ -38523,7 +38526,7 @@ var taskView = /* @__PURE__ */ __name(async (store, account, task2) => {
|
|
|
38523
38526
|
};
|
|
38524
38527
|
}, "taskView");
|
|
38525
38528
|
|
|
38526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/topics.js
|
|
38527
38530
|
var actionOf = /* @__PURE__ */ __name(({ title, closed, pinned, hidden, icon }) => {
|
|
38528
38531
|
const set = [closed, pinned, hidden].filter((one2) => one2 !== void 0).length;
|
|
38529
38532
|
if (title !== void 0 || icon !== void 0 || set !== 1)
|
|
@@ -38722,7 +38725,7 @@ var topicsService = /* @__PURE__ */ __name((deps) => {
|
|
|
38722
38725
|
};
|
|
38723
38726
|
}, "topicsService");
|
|
38724
38727
|
|
|
38725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/crm/sync.js
|
|
38726
38729
|
var CLOCK_MARGIN = 60 * 6e4;
|
|
38727
38730
|
var GAPS = "crm:gaps";
|
|
38728
38731
|
var crmGapsOf = /* @__PURE__ */ __name(async (store, account) => {
|
|
@@ -38734,7 +38737,7 @@ var crmGapsOf = /* @__PURE__ */ __name(async (store, account) => {
|
|
|
38734
38737
|
}
|
|
38735
38738
|
}, "crmGapsOf");
|
|
38736
38739
|
|
|
38737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/crm/writer.js
|
|
38738
38741
|
var CRM_ASSIGN_OTHERS_KEY = "crm.assign-others";
|
|
38739
38742
|
var CRM_WRITE_DEFAULTS = {
|
|
38740
38743
|
"deals.delete": "ask",
|
|
@@ -38742,7 +38745,7 @@ var CRM_WRITE_DEFAULTS = {
|
|
|
38742
38745
|
[CRM_ASSIGN_OTHERS_KEY]: "deny"
|
|
38743
38746
|
};
|
|
38744
38747
|
|
|
38745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/business-context.js
|
|
38746
38749
|
var SECTION_LIMIT = 20;
|
|
38747
38750
|
var STORE_PAGE = 500;
|
|
38748
38751
|
var sectionOf = /* @__PURE__ */ __name((all, limit, next, { more = false, total = all.length, newest = false } = {}) => {
|
|
@@ -38866,7 +38869,7 @@ var coverageFor = /* @__PURE__ */ __name(async (store, base, scope) => {
|
|
|
38866
38869
|
}, "coverageFor");
|
|
38867
38870
|
var newestFirst2 = /* @__PURE__ */ __name((a, b) => (b.at ?? "").localeCompare(a.at ?? "") || a.ref.localeCompare(b.ref), "newestFirst");
|
|
38868
38871
|
|
|
38869
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38872
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/communications.js
|
|
38870
38873
|
var MAIL_ROWS = 500;
|
|
38871
38874
|
var EVENT_ROWS2 = 1e3;
|
|
38872
38875
|
var calendarsOf = /* @__PURE__ */ __name(async (store, stored) => {
|
|
@@ -38992,7 +38995,7 @@ var communicationsOf = /* @__PURE__ */ __name(async (store, asked, scope, { sinc
|
|
|
38992
38995
|
};
|
|
38993
38996
|
}, "communicationsOf");
|
|
38994
38997
|
|
|
38995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/money-context.js
|
|
38996
38999
|
var invoiceLine = /* @__PURE__ */ __name((invoice, linkedBy) => ({
|
|
38997
39000
|
ref: invoice.ref,
|
|
38998
39001
|
title: invoice.title,
|
|
@@ -39064,7 +39067,7 @@ var moneyOf = /* @__PURE__ */ __name((rows, limit, next, complete) => {
|
|
|
39064
39067
|
};
|
|
39065
39068
|
}, "moneyOf");
|
|
39066
39069
|
|
|
39067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/organization-context.js
|
|
39068
39071
|
var dealLine = /* @__PURE__ */ __name((deal) => ({
|
|
39069
39072
|
ref: deal.ref,
|
|
39070
39073
|
kind: deal.kind,
|
|
@@ -39204,7 +39207,7 @@ var organizationContext = /* @__PURE__ */ __name(async (store, reference, { acco
|
|
|
39204
39207
|
};
|
|
39205
39208
|
}, "organizationContext");
|
|
39206
39209
|
|
|
39207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/deal-context.js
|
|
39208
39211
|
var DAY6 = 864e5;
|
|
39209
39212
|
var dealContext = /* @__PURE__ */ __name(async (store, reference, { accounts, limit = SECTION_LIMIT, now = Date.now(), deniedKinds = [] } = {}) => {
|
|
39210
39213
|
const scope = scopeOf4(accounts, deniedKinds);
|
|
@@ -39313,7 +39316,7 @@ var dealBrief = /* @__PURE__ */ __name((context2) => ({
|
|
|
39313
39316
|
notRead: context2.coverage.notRead
|
|
39314
39317
|
}), "dealBrief");
|
|
39315
39318
|
|
|
39316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/evidence.js
|
|
39317
39320
|
import { createHash as createHash12, randomUUID as randomUUID6 } from "node:crypto";
|
|
39318
39321
|
var hash2 = /* @__PURE__ */ __name((value) => createHash12("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
39319
39322
|
var positive2 = /* @__PURE__ */ __name((value, name, minimum = 1) => {
|
|
@@ -39387,7 +39390,7 @@ var prepareEvidencePacket = /* @__PURE__ */ __name(({ kind, source, page, limits
|
|
|
39387
39390
|
return { ...content, id: randomUUID6(), fingerprint: hash2(content) };
|
|
39388
39391
|
}, "prepareEvidencePacket");
|
|
39389
39392
|
|
|
39390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/evidence-read.js
|
|
39391
39394
|
var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, limit, before: before2 }, messenger = {}) => {
|
|
39392
39395
|
if (!Number.isSafeInteger(limit) || limit < 1 || limit > 100)
|
|
39393
39396
|
throw new CliError("validation_error", "evidence message limit must be an integer from 1 to 100");
|
|
@@ -39407,7 +39410,7 @@ var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, l
|
|
|
39407
39410
|
return { ...packet, nextBeforeId: older && last ? last.id : null };
|
|
39408
39411
|
}, "readEvidencePacket");
|
|
39409
39412
|
|
|
39410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-project-discovery.js
|
|
39411
39414
|
import { createHash as createHash13 } from "node:crypto";
|
|
39412
39415
|
var scopeKeys = [
|
|
39413
39416
|
"accountId",
|
|
@@ -39542,7 +39545,7 @@ var readMeetingProjectDiscovery = /* @__PURE__ */ __name(async (ports, projectNa
|
|
|
39542
39545
|
};
|
|
39543
39546
|
}, "readMeetingProjectDiscovery");
|
|
39544
39547
|
|
|
39545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/person-business.js
|
|
39546
39549
|
var personBusiness = /* @__PURE__ */ __name(async (store, uid, { limit = SECTION_LIMIT, scope = scopeOf4(void 0) } = {}) => {
|
|
39547
39550
|
const ref = `person:${uid}`;
|
|
39548
39551
|
const { edges, full } = await edgesOf(store, ref, scope);
|
|
@@ -39600,7 +39603,7 @@ var canonicalPersonContext = /* @__PURE__ */ __name(async (store, reference, { a
|
|
|
39600
39603
|
};
|
|
39601
39604
|
}, "canonicalPersonContext");
|
|
39602
39605
|
|
|
39603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/text-model-choice.js
|
|
39604
39607
|
import { createHash as createHash14 } from "node:crypto";
|
|
39605
39608
|
import { existsSync as existsSync4 } from "node:fs";
|
|
39606
39609
|
var useTextModel = /* @__PURE__ */ __name(async (id2, { env, command }) => {
|
|
@@ -39731,7 +39734,7 @@ var addCustomTextModel = /* @__PURE__ */ __name(async (id2, payload, { env, fetc
|
|
|
39731
39734
|
return { ...checked2.output, custom: true };
|
|
39732
39735
|
}, "addCustomTextModel");
|
|
39733
39736
|
|
|
39734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/account-groups.js
|
|
39735
39738
|
var fail4 = /* @__PURE__ */ __name((code, message) => {
|
|
39736
39739
|
throw new CliError(code, message);
|
|
39737
39740
|
}, "fail");
|
|
@@ -39808,7 +39811,7 @@ var moveGroupMember = /* @__PURE__ */ __name(async (at, move) => {
|
|
|
39808
39811
|
return listAccountGroups(at);
|
|
39809
39812
|
}, "moveGroupMember");
|
|
39810
39813
|
|
|
39811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/group-guard.js
|
|
39812
39815
|
var refOf = /* @__PURE__ */ __name((item2) => typeof item2 === "string" ? item2 : typeof item2 === "object" && item2 !== null && "ref" in item2 ? item2.ref : void 0, "refOf");
|
|
39813
39816
|
var groupGuardOf = /* @__PURE__ */ __name(async (store, app, env) => {
|
|
39814
39817
|
const group = groupLockOf(app, env);
|
|
@@ -39919,7 +39922,7 @@ var lockedRegistry = /* @__PURE__ */ __name((registry, guard) => {
|
|
|
39919
39922
|
};
|
|
39920
39923
|
}, "lockedRegistry");
|
|
39921
39924
|
|
|
39922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-hit-context.js
|
|
39923
39926
|
import { createHash as createHash15 } from "node:crypto";
|
|
39924
39927
|
var contextCue = /* @__PURE__ */ __name((cue) => ({
|
|
39925
39928
|
ref: cue.reference,
|
|
@@ -40037,7 +40040,7 @@ var readMeetingHitContext = /* @__PURE__ */ __name(async (store, accountId, refe
|
|
|
40037
40040
|
return { ...packet, fingerprint: createHash15("sha256").update(JSON.stringify(packet)).digest("hex") };
|
|
40038
40041
|
}, "readMeetingHitContext");
|
|
40039
40042
|
|
|
40040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-passage-format.js
|
|
40041
40044
|
var visible = /* @__PURE__ */ __name((text2) => text2.replace(/[\p{Cc}\p{Cf}]/gu, (value) => value === "\n" || value === " " ? value : `\\u{${value.codePointAt(0)?.toString(16)}}`), "visible");
|
|
40042
40045
|
var markdown = /* @__PURE__ */ __name((text2) => visible(text2).replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replace(/[\\`*_[\]#|~]/g, "\\$&"), "markdown");
|
|
40043
40046
|
var timestamp = /* @__PURE__ */ __name((ms) => {
|
|
@@ -40113,7 +40116,7 @@ var readMeetingPassage = /* @__PURE__ */ __name(async (store, accountId, referen
|
|
|
40113
40116
|
return { packet, content };
|
|
40114
40117
|
}, "readMeetingPassage");
|
|
40115
40118
|
|
|
40116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/context/communication-selection.js
|
|
40117
40120
|
var communicationFields = {
|
|
40118
40121
|
sources: pipe(array(strictObject({
|
|
40119
40122
|
id: pipe(string(), regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/)),
|
|
@@ -40145,7 +40148,7 @@ var communicationRequest = /* @__PURE__ */ __name((value, preparationAfter) => {
|
|
|
40145
40148
|
return { ...input, after, before: before2 };
|
|
40146
40149
|
}, "communicationRequest");
|
|
40147
40150
|
|
|
40148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40151
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-preparation-validation.js
|
|
40149
40152
|
var MEETING_PREPARATION_LIMITS = {
|
|
40150
40153
|
meetings: { min: 1, max: 20, default: 5 },
|
|
40151
40154
|
cues: { min: 1, max: 100, default: 10 },
|
|
@@ -40231,7 +40234,7 @@ var preparationRequest = /* @__PURE__ */ __name((accountId, externalId, original
|
|
|
40231
40234
|
return { ...input, history };
|
|
40232
40235
|
}, "preparationRequest");
|
|
40233
40236
|
|
|
40234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-communications-preparation.js
|
|
40235
40238
|
var readPreparationCommunications = /* @__PURE__ */ __name(async (plan, signal) => {
|
|
40236
40239
|
const section = {
|
|
40237
40240
|
readUsage: plan.reader.usage(),
|
|
@@ -40336,7 +40339,7 @@ var appendPreparationCommunications = /* @__PURE__ */ __name((result, read2) =>
|
|
|
40336
40339
|
result.knowledge.coverage.otherSources = "see-communications";
|
|
40337
40340
|
}, "appendPreparationCommunications");
|
|
40338
40341
|
|
|
40339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-communications-selection.js
|
|
40340
40343
|
var captureCommunicationSelections = /* @__PURE__ */ __name((port) => {
|
|
40341
40344
|
if (port === void 0)
|
|
40342
40345
|
return void 0;
|
|
@@ -40441,7 +40444,7 @@ var validatePreparationCommunications = /* @__PURE__ */ __name((section, request
|
|
|
40441
40444
|
}
|
|
40442
40445
|
}, "validatePreparationCommunications");
|
|
40443
40446
|
|
|
40444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-knowledge-preparation.js
|
|
40445
40448
|
var invalid6 = /* @__PURE__ */ __name(() => {
|
|
40446
40449
|
throw new CliError("invalid_response", "Preparation knowledge returned an invalid selection");
|
|
40447
40450
|
}, "invalid");
|
|
@@ -40510,7 +40513,7 @@ var appendKnowledgePreparation = /* @__PURE__ */ __name(async (store, result, in
|
|
|
40510
40513
|
}
|
|
40511
40514
|
}, "appendKnowledgePreparation");
|
|
40512
40515
|
|
|
40513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-notes-preparation.js
|
|
40514
40517
|
var invalid7 = /* @__PURE__ */ __name(() => {
|
|
40515
40518
|
throw new CliError("invalid_response", "Preparation notes returned an invalid selection");
|
|
40516
40519
|
}, "invalid");
|
|
@@ -40584,7 +40587,7 @@ var appendNotesPreparation = /* @__PURE__ */ __name(async (store, result, input)
|
|
|
40584
40587
|
}
|
|
40585
40588
|
}, "appendNotesPreparation");
|
|
40586
40589
|
|
|
40587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-project-preparation.js
|
|
40588
40591
|
var PAGE_LIMIT = 4;
|
|
40589
40592
|
var size2 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
40590
40593
|
var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, input) => {
|
|
@@ -40634,7 +40637,7 @@ var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, inpu
|
|
|
40634
40637
|
}
|
|
40635
40638
|
}, "appendProjectPreparation");
|
|
40636
40639
|
|
|
40637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-related-preparation.js
|
|
40638
40641
|
var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, input) => {
|
|
40639
40642
|
if (!result.series || !result.items.length || result.coverage.outputLimited)
|
|
40640
40643
|
return;
|
|
@@ -40706,7 +40709,7 @@ var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, inpu
|
|
|
40706
40709
|
}
|
|
40707
40710
|
}, "appendRelatedPreparation");
|
|
40708
40711
|
|
|
40709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40712
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/meeting-preparation.js
|
|
40710
40713
|
var size3 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
40711
40714
|
var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId, ports) => {
|
|
40712
40715
|
const fixed = snapshotMeetingScope(scope);
|
|
@@ -40844,7 +40847,7 @@ var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId,
|
|
|
40844
40847
|
};
|
|
40845
40848
|
}, "createMeetingPreparationService");
|
|
40846
40849
|
|
|
40847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/package-upgrade.js
|
|
40848
40851
|
var upgradePackage = /* @__PURE__ */ __name(async ({ current, command, packageName, check: check2 }, ports) => {
|
|
40849
40852
|
const installer = ports.installer();
|
|
40850
40853
|
const argv = updateCommand(installer, packageName);
|
|
@@ -40909,7 +40912,7 @@ var dayAfter = /* @__PURE__ */ __name((published) => {
|
|
|
40909
40912
|
return Number.isNaN(time) ? null : new Date(time + 24 * 60 * 60 * 1e3).toISOString();
|
|
40910
40913
|
}, "dayAfter");
|
|
40911
40914
|
|
|
40912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40915
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposal-tasks.js
|
|
40913
40916
|
var proposalSource = /* @__PURE__ */ __name((id2) => `proposed-action:${id2}`, "proposalSource");
|
|
40914
40917
|
var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
40915
40918
|
const proposal = await store.proposedActions.get(id2);
|
|
@@ -40932,7 +40935,7 @@ var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
|
40932
40935
|
return { proposal: await store.proposedActions.approve(proposal.id, by, { task: task2.id }), task: task2 };
|
|
40933
40936
|
}, "approveAsTask");
|
|
40934
40937
|
|
|
40935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/ids.js
|
|
40936
40939
|
var MAX_IDS = 500;
|
|
40937
40940
|
var refuse = /* @__PURE__ */ __name((message) => {
|
|
40938
40941
|
throw new CliError("validation_error", message, { reason: "proposal.ids" });
|
|
@@ -40974,7 +40977,7 @@ var parseProposalIds = /* @__PURE__ */ __name((text2) => {
|
|
|
40974
40977
|
return ids;
|
|
40975
40978
|
}, "parseProposalIds");
|
|
40976
40979
|
|
|
40977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/shared.js
|
|
40978
40981
|
var proposerOfAuthor = /* @__PURE__ */ __name((author) => {
|
|
40979
40982
|
if (author.type === "person")
|
|
40980
40983
|
return { type: "person", id: author.id };
|
|
@@ -41046,7 +41049,7 @@ var reviewedKind = /* @__PURE__ */ __name((spec) => ({
|
|
|
41046
41049
|
}, "decide")
|
|
41047
41050
|
}), "reviewedKind");
|
|
41048
41051
|
|
|
41049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41052
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/findings.js
|
|
41050
41053
|
var FACT_SUMMARIES = {
|
|
41051
41054
|
fact: /* @__PURE__ */ __name((finding) => finding.statement, "fact"),
|
|
41052
41055
|
task: /* @__PURE__ */ __name((finding) => finding.title, "task"),
|
|
@@ -41118,7 +41121,7 @@ var findingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
41118
41121
|
};
|
|
41119
41122
|
}, "findingsKind");
|
|
41120
41123
|
|
|
41121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/organization.js
|
|
41122
41125
|
var ORGANIZATION_ADD_KIND = "organization_add";
|
|
41123
41126
|
var ORGANIZATION_RENAME_KIND = "organization_rename";
|
|
41124
41127
|
var rowOf2 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -41174,7 +41177,7 @@ var organizationKind = /* @__PURE__ */ __name((store) => ({
|
|
|
41174
41177
|
}, "decide")
|
|
41175
41178
|
}), "organizationKind");
|
|
41176
41179
|
|
|
41177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/action.js
|
|
41178
41181
|
var rowOf3 = /* @__PURE__ */ __name((action2) => ({
|
|
41179
41182
|
id: action2.id,
|
|
41180
41183
|
kind: "action",
|
|
@@ -41214,7 +41217,7 @@ var actionKind = /* @__PURE__ */ __name((store, claimed) => ({
|
|
|
41214
41217
|
}, "decide")
|
|
41215
41218
|
}), "actionKind");
|
|
41216
41219
|
|
|
41217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/contracts.js
|
|
41218
41221
|
var contractKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
41219
41222
|
type: "contract",
|
|
41220
41223
|
list: /* @__PURE__ */ __name((options2) => store.contracts.list(options2), "list"),
|
|
@@ -41223,7 +41226,7 @@ var contractKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
41223
41226
|
decide: /* @__PURE__ */ __name(async (id2, confirm, { by, reason }) => (confirm ? await store.contracts.confirm(id2, by, reason) : await store.contracts.reject(id2, by, reason)).ref, "decide")
|
|
41224
41227
|
}), "contractKind");
|
|
41225
41228
|
|
|
41226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/fact.js
|
|
41227
41230
|
var STATUS = {
|
|
41228
41231
|
proposed: "proposed",
|
|
41229
41232
|
accepted: "confirmed",
|
|
@@ -41266,7 +41269,7 @@ var factKind = /* @__PURE__ */ __name((store) => ({
|
|
|
41266
41269
|
}, "decide")
|
|
41267
41270
|
}), "factKind");
|
|
41268
41271
|
|
|
41269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/finance.js
|
|
41270
41273
|
var invoiceKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
41271
41274
|
type: "invoice",
|
|
41272
41275
|
list: /* @__PURE__ */ __name((options2) => store.finance.invoices(options2), "list"),
|
|
@@ -41282,7 +41285,7 @@ var paymentKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
41282
41285
|
decide: /* @__PURE__ */ __name(async (id2, confirm, { by, reason }) => (confirm ? await store.finance.confirm(id2, by, reason) : await store.finance.reject(id2, by, reason)).ref, "decide")
|
|
41283
41286
|
}), "paymentKind");
|
|
41284
41287
|
|
|
41285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/identity-link.js
|
|
41286
41289
|
var rowOf5 = /* @__PURE__ */ __name((action2) => {
|
|
41287
41290
|
const payload = action2.payload;
|
|
41288
41291
|
const [from, to] = payload.persons;
|
|
@@ -41329,7 +41332,7 @@ var identityLinkKind = /* @__PURE__ */ __name((store) => ({
|
|
|
41329
41332
|
}, "decide")
|
|
41330
41333
|
}), "identityLinkKind");
|
|
41331
41334
|
|
|
41332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/key-document.js
|
|
41333
41336
|
var linkRow = /* @__PURE__ */ __name((link4) => ({
|
|
41334
41337
|
id: `key:${link4.id}`,
|
|
41335
41338
|
kind: "key_document",
|
|
@@ -41397,7 +41400,7 @@ var keyDocumentKind = /* @__PURE__ */ __name((store) => {
|
|
|
41397
41400
|
};
|
|
41398
41401
|
}, "keyDocumentKind");
|
|
41399
41402
|
|
|
41400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/mail-findings.js
|
|
41401
41404
|
var words3 = /* @__PURE__ */ __name((...parts) => parts.filter(Boolean).join(" "), "words");
|
|
41402
41405
|
var summaryOf = /* @__PURE__ */ __name((finding) => {
|
|
41403
41406
|
switch (finding.kind) {
|
|
@@ -41485,7 +41488,7 @@ var mailFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
41485
41488
|
};
|
|
41486
41489
|
}, "mailFindingsKind");
|
|
41487
41490
|
|
|
41488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/meeting-findings.js
|
|
41489
41492
|
var rowOf7 = /* @__PURE__ */ __name((action2, batch) => {
|
|
41490
41493
|
const findings = batch.input.findings;
|
|
41491
41494
|
const projects = [...new Set(findings.map((one2) => "project" in one2 ? one2.project : void 0))];
|
|
@@ -41549,7 +41552,7 @@ var meetingFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
41549
41552
|
};
|
|
41550
41553
|
}, "meetingFindingsKind");
|
|
41551
41554
|
|
|
41552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/memory.js
|
|
41553
41556
|
var STATUS2 = {
|
|
41554
41557
|
proposed: "proposed",
|
|
41555
41558
|
confirmed: "confirmed",
|
|
@@ -41590,7 +41593,7 @@ var memoryKind = /* @__PURE__ */ __name((store) => ({
|
|
|
41590
41593
|
}, "decide")
|
|
41591
41594
|
}), "memoryKind");
|
|
41592
41595
|
|
|
41593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/orders.js
|
|
41594
41597
|
var orderKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
41595
41598
|
type: "order",
|
|
41596
41599
|
list: /* @__PURE__ */ __name((options2) => store.orders.list(options2), "list"),
|
|
@@ -41599,7 +41602,7 @@ var orderKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
41599
41602
|
decide: /* @__PURE__ */ __name(async (id2, confirm, { by, reason }) => (confirm ? await store.orders.confirm(id2, by, reason) : await store.orders.reject(id2, by, reason)).ref, "decide")
|
|
41600
41603
|
}), "orderKind");
|
|
41601
41604
|
|
|
41602
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship.js
|
|
41603
41606
|
var linkRow2 = /* @__PURE__ */ __name((link4) => ({
|
|
41604
41607
|
id: `link:${link4.id}`,
|
|
41605
41608
|
kind: "relationship",
|
|
@@ -41674,7 +41677,7 @@ var relationshipKind = /* @__PURE__ */ __name((store) => {
|
|
|
41674
41677
|
};
|
|
41675
41678
|
}, "relationshipKind");
|
|
41676
41679
|
|
|
41677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship-update.js
|
|
41678
41681
|
var KIND = "relationship_update";
|
|
41679
41682
|
var summaryOf2 = /* @__PURE__ */ __name(({ changes }) => Object.entries(changes).map(([field, value]) => `${field} ${value ?? "cleared"}`).join(", "), "summaryOf");
|
|
41680
41683
|
var rowOf9 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -41724,7 +41727,7 @@ var relationshipUpdateKind = /* @__PURE__ */ __name((store) => ({
|
|
|
41724
41727
|
}, "decide")
|
|
41725
41728
|
}), "relationshipUpdateKind");
|
|
41726
41729
|
|
|
41727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/source-review.js
|
|
41728
41731
|
var rowOf10 = /* @__PURE__ */ __name((action2) => {
|
|
41729
41732
|
const payload = action2.payload;
|
|
41730
41733
|
const sources = payload.sources.flatMap((source) => source.ref ?? []);
|
|
@@ -41767,7 +41770,7 @@ var sourceReviewKind = /* @__PURE__ */ __name((store) => ({
|
|
|
41767
41770
|
}, "decide")
|
|
41768
41771
|
}), "sourceReviewKind");
|
|
41769
41772
|
|
|
41770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/subscriptions.js
|
|
41771
41774
|
var subscriptionKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
41772
41775
|
type: "subscription",
|
|
41773
41776
|
list: /* @__PURE__ */ __name((options2) => store.subscriptions.list(options2), "list"),
|
|
@@ -41786,7 +41789,7 @@ var subscriptionPriceKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
41786
41789
|
}, "decide")
|
|
41787
41790
|
}), "subscriptionPriceKind");
|
|
41788
41791
|
|
|
41789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41792
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/task-close.js
|
|
41790
41793
|
var rowOf11 = /* @__PURE__ */ __name((task2) => {
|
|
41791
41794
|
const suggestion = task2.closeSuggestion;
|
|
41792
41795
|
if (suggestion === null)
|
|
@@ -41854,7 +41857,7 @@ var taskCloseKind = /* @__PURE__ */ __name((store) => {
|
|
|
41854
41857
|
};
|
|
41855
41858
|
}, "taskCloseKind");
|
|
41856
41859
|
|
|
41857
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/transactions.js
|
|
41858
41861
|
var transactionKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
41859
41862
|
type: "transaction",
|
|
41860
41863
|
list: /* @__PURE__ */ __name((options2) => store.transactions.list(options2), "list"),
|
|
@@ -41863,7 +41866,7 @@ var transactionKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
41863
41866
|
decide: /* @__PURE__ */ __name(async (id2, confirm, { by, reason }) => (confirm ? await store.transactions.confirm(id2, by, reason) : await store.transactions.reject(id2, by, reason)).ref, "decide")
|
|
41864
41867
|
}), "transactionKind");
|
|
41865
41868
|
|
|
41866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41869
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/proposals/registry.js
|
|
41867
41870
|
var PREFIX = /^([a-z][a-z_]*):/;
|
|
41868
41871
|
var marked = /* @__PURE__ */ __name((kind, row) => kind.ownerOnly ? { ...row, ownerOnly: true } : row, "marked");
|
|
41869
41872
|
var refusalOf = /* @__PURE__ */ __name((id2, error) => {
|
|
@@ -41997,7 +42000,7 @@ var proposalRegistry = /* @__PURE__ */ __name((store) => {
|
|
|
41997
42000
|
return registry;
|
|
41998
42001
|
}, "proposalRegistry");
|
|
41999
42002
|
|
|
42000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42003
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/index.js
|
|
42001
42004
|
var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
42002
42005
|
const pictures = picturesService(deps);
|
|
42003
42006
|
const base = {
|
|
@@ -42034,7 +42037,7 @@ var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
|
42034
42037
|
return deps.messenger.services ? { ...base, ...deps.messenger.services(base, deps) } : base;
|
|
42035
42038
|
}, "servicesFor");
|
|
42036
42039
|
|
|
42037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
42038
42041
|
var COMMAND_NEEDS = {
|
|
42039
42042
|
"account update": ["updateProfile", "change the profile"],
|
|
42040
42043
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -42084,7 +42087,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
42084
42087
|
return group;
|
|
42085
42088
|
}, "hideNever");
|
|
42086
42089
|
|
|
42087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
42088
42091
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
42089
42092
|
command.allowUnknownOption();
|
|
42090
42093
|
const parse2 = command.parseOptions.bind(command);
|
|
@@ -42104,7 +42107,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
42104
42107
|
return command;
|
|
42105
42108
|
}, "queryWordsAfterOptions");
|
|
42106
42109
|
|
|
42107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
42108
42111
|
var count3 = /* @__PURE__ */ __name((value) => {
|
|
42109
42112
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
42110
42113
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -42146,7 +42149,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
42146
42149
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
42147
42150
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
42148
42151
|
|
|
42149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
42150
42153
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
42151
42154
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
42152
42155
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -42169,7 +42172,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
42169
42172
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
42170
42173
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
42171
42174
|
|
|
42172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42175
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
42173
42176
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
42174
42177
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
42175
42178
|
const zone = timezoneOf();
|
|
@@ -42255,7 +42258,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
42255
42258
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
42256
42259
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
42257
42260
|
|
|
42258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
42259
42262
|
var integer4 = /* @__PURE__ */ __name((text2) => {
|
|
42260
42263
|
if (!/^[1-9]\d*$/.test(text2) || !Number.isSafeInteger(Number(text2)))
|
|
42261
42264
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -42399,7 +42402,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
42399
42402
|
}, "addMeetingCommandsDefinition");
|
|
42400
42403
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
42401
42404
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
42403
42406
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
42404
42407
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
42405
42408
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -42532,7 +42535,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
42532
42535
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
42533
42536
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
42534
42537
|
|
|
42535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
42536
42539
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
42537
42540
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
42538
42541
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -42541,7 +42544,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
42541
42544
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
42542
42545
|
var window2 = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
42543
42546
|
|
|
42544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
42545
42548
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
42546
42549
|
var chatRef2 = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
42547
42550
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -42803,7 +42806,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
42803
42806
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
42804
42807
|
}), "sessionAnswer");
|
|
42805
42808
|
|
|
42806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
42807
42810
|
import { createHash as createHash16 } from "node:crypto";
|
|
42808
42811
|
import { chmodSync, lstatSync, mkdirSync as mkdirSync6, rmSync as rmSync2 } from "node:fs";
|
|
42809
42812
|
import { createConnection, createServer } from "node:net";
|
|
@@ -42951,7 +42954,7 @@ var serve = /* @__PURE__ */ __name(async (socket, request, stdin, signal, run) =
|
|
|
42951
42954
|
}
|
|
42952
42955
|
}, "serve");
|
|
42953
42956
|
|
|
42954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
42955
42958
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
42956
42959
|
close: /* @__PURE__ */ __name(async () => {
|
|
42957
42960
|
}, "close"),
|
|
@@ -43144,6 +43147,7 @@ export {
|
|
|
43144
43147
|
engineHint,
|
|
43145
43148
|
engineStates,
|
|
43146
43149
|
imageSize,
|
|
43150
|
+
ocrImage,
|
|
43147
43151
|
refreshedFiles,
|
|
43148
43152
|
downloadMessage,
|
|
43149
43153
|
saveFiles,
|