@wirecat/cli-memo 0.131.59 → 0.131.60
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/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-LHATPBN3.js → all-profiles-NUBT2FJI.js} +5 -5
- package/dist/bundle/{anthropic-ZCFY7X3V.js → anthropic-QNTKWSQT.js} +3 -3
- package/dist/bundle/{app-server-LMNKI46N.js → app-server-6TXXVCSE.js} +35 -35
- package/dist/bundle/auto-4VLWHDG7.js +86 -0
- package/dist/bundle/{bun-Z5XDW2UR.js → bun-3NYKD7YB.js} +2 -2
- package/dist/bundle/{bun-sqlite-GC55XSRP.js → bun-sqlite-IIJSZ5I2.js} +2 -2
- package/dist/bundle/{chunk-ZELDY6H4.js → chunk-25N2ZCXV.js} +2 -2
- package/dist/bundle/{chunk-7H45WVOV.js → chunk-3M237SBK.js} +5 -5
- package/dist/bundle/{chunk-SK3GNZFF.js → chunk-4II6DM7L.js} +10 -10
- package/dist/bundle/{chunk-GKRSFUAN.js → chunk-4RSPI6OR.js} +1 -1
- package/dist/bundle/{chunk-KG6HO3XP.js → chunk-4VAKZH56.js} +2 -2
- package/dist/bundle/{chunk-3L6SQL6I.js → chunk-636FK3A6.js} +1 -1
- package/dist/bundle/{chunk-CQ7NDIKS.js → chunk-67CIUJO6.js} +1 -1
- package/dist/bundle/{chunk-7FAFZQYC.js → chunk-67L6BQOD.js} +4 -4
- package/dist/bundle/{chunk-5QRRSPCL.js → chunk-6NYZ32K5.js} +2 -2
- package/dist/bundle/{chunk-MF3B3UAK.js → chunk-AEATD5XH.js} +21 -21
- package/dist/bundle/{chunk-BIKOHAZH.js → chunk-B6R7O3U5.js} +1 -1
- package/dist/bundle/{chunk-7FY7DHFV.js → chunk-BYIKFYRY.js} +2 -2
- package/dist/bundle/{chunk-XGR7ND66.js → chunk-BZZRBJ2C.js} +28 -28
- package/dist/bundle/{chunk-SJAX32ZF.js → chunk-CZPAYIQR.js} +1 -1
- package/dist/bundle/{chunk-ENVEZQ2F.js → chunk-CZUMANL4.js} +4 -4
- package/dist/bundle/{chunk-ABLNLLM6.js → chunk-DZKTPOTJ.js} +31 -31
- package/dist/bundle/{chunk-PPZCQ6DC.js → chunk-EMU7UIUA.js} +2 -2
- package/dist/bundle/{chunk-CBNN7VP2.js → chunk-FH56EHWA.js} +6 -6
- package/dist/bundle/{chunk-BFDN7ZRX.js → chunk-FXXXBLZD.js} +5 -5
- package/dist/bundle/{chunk-MTIAWKHJ.js → chunk-G6P5NWIZ.js} +1 -1
- package/dist/bundle/{chunk-7IMLRFCG.js → chunk-GGGIUXKD.js} +3 -3
- package/dist/bundle/{chunk-UTCOTLJP.js → chunk-GLPSPFTP.js} +4 -4
- package/dist/bundle/{chunk-IKMCUKAE.js → chunk-HF2W6622.js} +4 -4
- package/dist/bundle/{chunk-M4C4PD6O.js → chunk-IJKXX7LB.js} +1 -1
- package/dist/bundle/{chunk-ROYHEBF4.js → chunk-KMA63WO5.js} +4 -4
- package/dist/bundle/{chunk-NQBV7NNO.js → chunk-KOBVPWMU.js} +49 -49
- package/dist/bundle/{chunk-JCHC5EEV.js → chunk-L3G5UY2P.js} +4 -4
- package/dist/bundle/{chunk-W6HT56DV.js → chunk-LXQ56N66.js} +8 -8
- package/dist/bundle/{chunk-FHTIB66O.js → chunk-LZFQZOAL.js} +256 -256
- package/dist/bundle/{chunk-775KV34P.js → chunk-LZQ7QENQ.js} +62 -62
- package/dist/bundle/{chunk-M36WYT62.js → chunk-MCPHBBJL.js} +1 -1
- package/dist/bundle/{chunk-TWHA3OB2.js → chunk-MV6M3VR3.js} +9 -9
- package/dist/bundle/{chunk-HBY2VTP6.js → chunk-MYVP4IFW.js} +3 -3
- package/dist/bundle/{chunk-EXIFPE4R.js → chunk-ND2PQA4X.js} +2 -2
- package/dist/bundle/{chunk-FYG52VXO.js → chunk-NMWIWQ7J.js} +1 -1
- package/dist/bundle/{chunk-N57QFHPJ.js → chunk-NSEX4YST.js} +7 -7
- package/dist/bundle/{chunk-PQEJBESM.js → chunk-NX4XCS64.js} +21 -21
- package/dist/bundle/{chunk-MIJKJNIA.js → chunk-NXV3USUU.js} +3 -3
- package/dist/bundle/{chunk-UQWLLRYP.js → chunk-O55ELCFO.js} +1 -1
- package/dist/bundle/{chunk-YA7YYH3E.js → chunk-PMGGNQHL.js} +1 -1
- package/dist/bundle/{chunk-3HX5I5KX.js → chunk-PNIAEDGJ.js} +332 -332
- package/dist/bundle/{chunk-A6HTI2EV.js → chunk-RC2NAT7T.js} +12 -12
- package/dist/bundle/{chunk-4JBR277T.js → chunk-RU34XFKL.js} +1 -1
- package/dist/bundle/{chunk-HPMEODWD.js → chunk-S2VXXF4H.js} +2 -2
- package/dist/bundle/{chunk-SB44NDKV.js → chunk-S56CC44R.js} +7 -7
- package/dist/bundle/{chunk-AQ44SSA2.js → chunk-SSKSRETJ.js} +9 -9
- package/dist/bundle/{chunk-LWVCZPQF.js → chunk-SU2EPGGH.js} +12 -12
- package/dist/bundle/{chunk-WJ3VJYM4.js → chunk-SYJMQIIJ.js} +2 -2
- package/dist/bundle/{chunk-2ALNQ3ZG.js → chunk-TLZEAHCB.js} +5 -5
- package/dist/bundle/{chunk-V5E55COY.js → chunk-VGLDBSGN.js} +5 -5
- package/dist/bundle/{chunk-WFF7X6LI.js → chunk-VUJANY4X.js} +6 -6
- package/dist/bundle/{chunk-OD5IBWOB.js → chunk-WUOQ7CQU.js} +4 -4
- package/dist/bundle/{chunk-UTLAFKFU.js → chunk-XBSLZQY4.js} +272 -270
- package/dist/bundle/{chunk-IRFXP5R5.js → chunk-XW4NE2NW.js} +1 -1
- package/dist/bundle/{chunk-PPJXTU54.js → chunk-XXZ3WQSW.js} +150 -150
- package/dist/bundle/{chunk-YO4PT3MD.js → chunk-YXBMP74S.js} +1 -1
- package/dist/bundle/{chunk-Z2R4SK5Q.js → chunk-Z3SASH3J.js} +1 -1
- package/dist/bundle/{command-contract-XKSGEPXG.js → command-contract-KE77NBYG.js} +11 -11
- package/dist/bundle/{decode-6PPIALX2.js → decode-AD352TI2.js} +2 -2
- package/dist/bundle/{echarts-XQ7T6SKK.js → echarts-VCQEG6RB.js} +2 -2
- package/dist/bundle/{embed-W56IWO4I.js → embed-A2YCI5TM.js} +3 -3
- package/dist/bundle/{embedder-IWJHHYLE.js → embedder-G35OKUR5.js} +6 -6
- package/dist/bundle/{entry-OZSQA6IT.js → entry-3Y2C4AAL.js} +4 -4
- package/dist/bundle/failure-GHNN2IIX.js +66 -0
- package/dist/bundle/{first-run-LT5QD4MA.js → first-run-RDQFQ5MD.js} +5 -5
- package/dist/bundle/{first-screen-IMWQP24U.js → first-screen-XWHL4AEK.js} +12 -12
- package/dist/bundle/{instructions-DHUIJMK4.js → instructions-VWX5TPRM.js} +1 -1
- package/dist/bundle/{mcp-3X7LMJSZ.js → mcp-JHDRZPSO.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-BSK32EM3.js → node-OCRAUHTJ.js} +2 -2
- package/dist/bundle/{node-sqlite-SYF7X36U.js → node-sqlite-UIZIEENG.js} +3 -3
- package/dist/bundle/{oauth-ZEWUPRPD.js → oauth-WZOYRQA4.js} +4 -4
- package/dist/bundle/{open-4EKQE47K.js → open-ITE5EG22.js} +2 -2
- package/dist/bundle/{openai-UGNJPON6.js → openai-S4TD7H5G.js} +7 -7
- package/dist/bundle/{process-KQ5PLFEX.js → process-Z7OS65OQ.js} +1 -1
- package/dist/bundle/{program-WSVJK4LB.js → program-PYCRRMXK.js} +55 -55
- package/dist/bundle/{prompt-KA6BE6HG.js → prompt-NW2KOEQS.js} +2 -2
- package/dist/bundle/{recognize-ZM75USNS.js → recognize-65IM7MS4.js} +1 -1
- package/dist/bundle/{remote-I5MIVEGH.js → remote-4EOO533Z.js} +4 -4
- package/dist/bundle/{rerank-46KI3363.js → rerank-LKRFHRN6.js} +4 -4
- package/dist/bundle/{serve-QE4CSBAB.js → serve-SIB2TBOF.js} +6 -6
- package/dist/bundle/server-DO3J7CR5.js +48 -0
- package/dist/bundle/{server-EFNICTJC.js → server-JZAL3SRH.js} +50 -50
- package/dist/bundle/server-NQLMHLMU.js +61 -0
- package/dist/bundle/{state-2W2BFTG7.js → state-245GTWCO.js} +3 -3
- package/dist/bundle/{store-M4Q4BIDW.js → store-2QSJI77T.js} +9 -9
- package/dist/bundle/store-maintenance-command-F7FSHWHW.js +48 -0
- package/dist/bundle/update-NENHRNFS.js +69 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-MWAOY7KC.js +0 -86
- package/dist/bundle/failure-2V4YXERK.js +0 -66
- package/dist/bundle/server-J3VKU7NQ.js +0 -48
- package/dist/bundle/server-MLOQ4RS7.js +0 -61
- package/dist/bundle/store-maintenance-command-KYCDTJQ2.js +0 -48
- package/dist/bundle/update-JEYA6GXL.js +0 -69
- /package/dist/bundle/{chunk-DZ2GIEEY.js → chunk-GK2FRFM6.js} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
sameOrdinaryFile,
|
|
9
9
|
syncDirectory,
|
|
10
10
|
writeFileAtomic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RC2NAT7T.js";
|
|
12
12
|
import {
|
|
13
13
|
Command,
|
|
14
14
|
CustomTextModelShape,
|
|
@@ -53,14 +53,14 @@ import {
|
|
|
53
53
|
vectorModelKey,
|
|
54
54
|
withAttempt,
|
|
55
55
|
writeTextModelsSection
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-XXZ3WQSW.js";
|
|
57
57
|
import {
|
|
58
58
|
isNewer,
|
|
59
59
|
updateCommand
|
|
60
60
|
} from "./chunk-ASWLM74P.js";
|
|
61
61
|
import {
|
|
62
62
|
readOnlyLockOf
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-PMGGNQHL.js";
|
|
64
64
|
import {
|
|
65
65
|
AGENDA_COLUMNS,
|
|
66
66
|
BUSINESS_FIND_MAX,
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
validateFields,
|
|
173
173
|
waitingPointer,
|
|
174
174
|
withoutField
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-PNIAEDGJ.js";
|
|
176
176
|
import {
|
|
177
177
|
EVENT_QUERY,
|
|
178
178
|
MEETING_FIELD_NAMES,
|
|
@@ -228,28 +228,28 @@ import {
|
|
|
228
228
|
validateQuery,
|
|
229
229
|
walkQuery,
|
|
230
230
|
zonedMoment
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-LZQ7QENQ.js";
|
|
232
232
|
import {
|
|
233
233
|
damagedFile,
|
|
234
234
|
isCliFailure,
|
|
235
235
|
sqliteCode
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-4VAKZH56.js";
|
|
237
237
|
import {
|
|
238
238
|
DEFAULT_STEMMERS,
|
|
239
239
|
createStemmer,
|
|
240
240
|
fold,
|
|
241
241
|
normalize
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-S56CC44R.js";
|
|
243
243
|
import {
|
|
244
244
|
DEFAULT_TASK_CATEGORIES,
|
|
245
245
|
FALLBACK_CATEGORY
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-KMA63WO5.js";
|
|
247
247
|
import {
|
|
248
248
|
MAX_MODEL_IMAGE_BYTES
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-MCPHBBJL.js";
|
|
250
250
|
import {
|
|
251
251
|
remoteKey
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-BYIKFYRY.js";
|
|
253
253
|
import {
|
|
254
254
|
Unzip,
|
|
255
255
|
UnzipInflate,
|
|
@@ -260,15 +260,15 @@ import {
|
|
|
260
260
|
placedText,
|
|
261
261
|
runEmbedders,
|
|
262
262
|
textModelsDirectory
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-TLZEAHCB.js";
|
|
264
264
|
import {
|
|
265
265
|
installFiles,
|
|
266
266
|
megabytes
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-MYVP4IFW.js";
|
|
268
268
|
import {
|
|
269
269
|
storePath,
|
|
270
270
|
wirecatDirectory
|
|
271
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-4RSPI6OR.js";
|
|
272
272
|
import {
|
|
273
273
|
resolvePaths,
|
|
274
274
|
writeSecurely
|
|
@@ -16922,7 +16922,7 @@ var require_lib3 = __commonJS({
|
|
|
16922
16922
|
}
|
|
16923
16923
|
});
|
|
16924
16924
|
|
|
16925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/conversations/link.js
|
|
16926
16926
|
var RULES_VERSION = 5;
|
|
16927
16927
|
var LOOK_BACK = 50;
|
|
16928
16928
|
var SAME_SENDER_WITHIN = 10;
|
|
@@ -17012,10 +17012,10 @@ var latest = /* @__PURE__ */ __name((window3, matches) => {
|
|
|
17012
17012
|
var sameThread = /* @__PURE__ */ __name((a, b) => a.threadId === b.threadId, "sameThread");
|
|
17013
17013
|
var link = /* @__PURE__ */ __name((message, parentId, source, kind, confidence, method) => ({ messageId: message.id, parentId, source, kind, confidence, method }), "link");
|
|
17014
17014
|
|
|
17015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/ports/traits.js
|
|
17016
17016
|
var syncsOneChat = /* @__PURE__ */ __name((messenger) => messenger.history !== "store" || messenger.historyOnDemand === true, "syncsOneChat");
|
|
17017
17017
|
|
|
17018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
17019
17019
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
17020
17020
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
17021
17021
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -17062,7 +17062,7 @@ var explainDamage = /* @__PURE__ */ __name((health, command, mark = null) => {
|
|
|
17062
17062
|
};
|
|
17063
17063
|
}, "explainDamage");
|
|
17064
17064
|
|
|
17065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
17066
17066
|
import { existsSync, statSync } from "node:fs";
|
|
17067
17067
|
var JSON_COLUMNS = {
|
|
17068
17068
|
accounts: ["settings"],
|
|
@@ -17204,10 +17204,10 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
17204
17204
|
}
|
|
17205
17205
|
}, "storeHealth");
|
|
17206
17206
|
|
|
17207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
17208
17208
|
var MAX_BYTES = 16 * 1024 * 1024;
|
|
17209
17209
|
|
|
17210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
17211
17211
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
17212
17212
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
17213
17213
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -17233,7 +17233,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
17233
17233
|
});
|
|
17234
17234
|
}, "previewProjectAnnotationSnapshot");
|
|
17235
17235
|
|
|
17236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
17237
17237
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
17238
17238
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
17239
17239
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -17254,7 +17254,7 @@ var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
|
17254
17254
|
}
|
|
17255
17255
|
}, "snapshotProjectAnnotations");
|
|
17256
17256
|
|
|
17257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
17258
17258
|
var COMMAND_NEEDS = {
|
|
17259
17259
|
"account update": ["updateProfile", "change the profile"],
|
|
17260
17260
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -17304,7 +17304,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
17304
17304
|
return group;
|
|
17305
17305
|
}, "hideNever");
|
|
17306
17306
|
|
|
17307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/members-audit.js
|
|
17308
17308
|
var AUDIT_PAGE = 200;
|
|
17309
17309
|
var AUDIT_BUDGET = 10;
|
|
17310
17310
|
var AUDIT_PAUSE_MS = 1e3;
|
|
@@ -17384,7 +17384,7 @@ var burstJoins = /* @__PURE__ */ __name((members) => {
|
|
|
17384
17384
|
return found;
|
|
17385
17385
|
}, "burstJoins");
|
|
17386
17386
|
|
|
17387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
17388
17388
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
17389
17389
|
command.allowUnknownOption();
|
|
17390
17390
|
const parse = command.parseOptions.bind(command);
|
|
@@ -17404,7 +17404,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
17404
17404
|
return command;
|
|
17405
17405
|
}, "queryWordsAfterOptions");
|
|
17406
17406
|
|
|
17407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
17408
17408
|
var count = /* @__PURE__ */ __name((value) => {
|
|
17409
17409
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
17410
17410
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -17446,7 +17446,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
17446
17446
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
17447
17447
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
17448
17448
|
|
|
17449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
17450
17450
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
17451
17451
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
17452
17452
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -17469,7 +17469,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
17469
17469
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
17470
17470
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
17471
17471
|
|
|
17472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
17473
17473
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
17474
17474
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
17475
17475
|
const zone = timezoneOf();
|
|
@@ -17555,7 +17555,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
17555
17555
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
17556
17556
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
17557
17557
|
|
|
17558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
17559
17559
|
var integer4 = /* @__PURE__ */ __name((text2) => {
|
|
17560
17560
|
if (!/^[1-9]\d*$/.test(text2) || !Number.isSafeInteger(Number(text2)))
|
|
17561
17561
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -17699,7 +17699,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
17699
17699
|
}, "addMeetingCommandsDefinition");
|
|
17700
17700
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
17701
17701
|
|
|
17702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
17703
17703
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
17704
17704
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
17705
17705
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -17832,7 +17832,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
17832
17832
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
17833
17833
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
17834
17834
|
|
|
17835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
17836
17836
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
17837
17837
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
17838
17838
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -17841,7 +17841,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
17841
17841
|
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");
|
|
17842
17842
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
17843
17843
|
|
|
17844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
17845
17845
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
17846
17846
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
17847
17847
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -18103,7 +18103,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
18103
18103
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
18104
18104
|
}), "sessionAnswer");
|
|
18105
18105
|
|
|
18106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/ports/messenger.js
|
|
18107
18107
|
var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
|
|
18108
18108
|
get: /* @__PURE__ */ __name((own, key) => {
|
|
18109
18109
|
if (key in own)
|
|
@@ -18120,12 +18120,12 @@ var capability = /* @__PURE__ */ __name((adapter, method, what) => {
|
|
|
18120
18120
|
return found.bind(adapter);
|
|
18121
18121
|
}, "capability");
|
|
18122
18122
|
|
|
18123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/send-id.js
|
|
18124
18124
|
import { randomBytes } from "node:crypto";
|
|
18125
18125
|
var newSendId = /* @__PURE__ */ __name(() => randomBytes(8).readBigInt64BE().toString(), "newSendId");
|
|
18126
18126
|
var newOperationId = newSendId;
|
|
18127
18127
|
|
|
18128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/deps.js
|
|
18129
18129
|
var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
|
|
18130
18130
|
var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
|
|
18131
18131
|
var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
|
|
@@ -18200,7 +18200,7 @@ var storeOnlyDeps = /* @__PURE__ */ __name((store, account, { app, env }) => {
|
|
|
18200
18200
|
return { ...storedDeps(messenger, store, account, guard), ...env === void 0 ? {} : { env } };
|
|
18201
18201
|
}, "storeOnlyDeps");
|
|
18202
18202
|
|
|
18203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/patience.js
|
|
18204
18204
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
18205
18205
|
var LONGEST_WAIT_MS = 5 * 60 * 1e3;
|
|
18206
18206
|
var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
@@ -18223,10 +18223,10 @@ var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
|
18223
18223
|
}
|
|
18224
18224
|
}, "patiently");
|
|
18225
18225
|
|
|
18226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
18227
18227
|
import { setTimeout as sleep2 } from "node:timers/promises";
|
|
18228
18228
|
|
|
18229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/backfill-estimate.js
|
|
18230
18230
|
var REQUEST_MS = 400;
|
|
18231
18231
|
var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, maxPages, pauseMs }) => {
|
|
18232
18232
|
const lowest = ranges[0];
|
|
@@ -18249,13 +18249,13 @@ var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, max
|
|
|
18249
18249
|
};
|
|
18250
18250
|
}, "estimateBackfill");
|
|
18251
18251
|
|
|
18252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/recovery.js
|
|
18253
18253
|
var withRecovery = /* @__PURE__ */ __name((error) => ({
|
|
18254
18254
|
...error,
|
|
18255
18255
|
retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
|
|
18256
18256
|
}), "withRecovery");
|
|
18257
18257
|
|
|
18258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/batch.js
|
|
18259
18259
|
var actionable = /* @__PURE__ */ __name((error) => {
|
|
18260
18260
|
if (isCliFailure(error))
|
|
18261
18261
|
return withRecovery({ code: error.code, message: error.message, ...error.details });
|
|
@@ -18338,7 +18338,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
|
|
|
18338
18338
|
};
|
|
18339
18339
|
}, "mergeBatches");
|
|
18340
18340
|
|
|
18341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18341
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
18342
18342
|
var TAKES = {
|
|
18343
18343
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
18344
18344
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -18398,7 +18398,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
18398
18398
|
throw wrongAccount(reference, scope, profiles);
|
|
18399
18399
|
}, "ensureAccount");
|
|
18400
18400
|
|
|
18401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
18402
18402
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
18403
18403
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
|
|
18404
18404
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -18443,7 +18443,7 @@ ${lines3}`, { candidates });
|
|
|
18443
18443
|
}, "ambiguous");
|
|
18444
18444
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
18445
18445
|
|
|
18446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
|
|
18447
18447
|
var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
|
|
18448
18448
|
if (deps.reads !== "store")
|
|
18449
18449
|
return keptChatId(deps.messenger, reference, store, account);
|
|
@@ -18602,7 +18602,7 @@ var senderAmong = /* @__PURE__ */ __name(async (store, accounts, reference) => {
|
|
|
18602
18602
|
}
|
|
18603
18603
|
}, "senderAmong");
|
|
18604
18604
|
|
|
18605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/images/context/index.js
|
|
18606
18606
|
var CONTEXT_MESSAGES = 3;
|
|
18607
18607
|
var CONTEXT_MINUTES = 10;
|
|
18608
18608
|
var MAX_CHARS = 1200;
|
|
@@ -18626,12 +18626,12 @@ var context = {
|
|
|
18626
18626
|
}, "describe")
|
|
18627
18627
|
};
|
|
18628
18628
|
|
|
18629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/images/registry.js
|
|
18630
18630
|
var BUILT_INS = [context];
|
|
18631
18631
|
var providers = [...BUILT_INS];
|
|
18632
18632
|
var registeredImageProviders = /* @__PURE__ */ __name(() => providers, "registeredImageProviders");
|
|
18633
18633
|
|
|
18634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/conversations.js
|
|
18635
18635
|
var READ_PAGE = 5e3;
|
|
18636
18636
|
var CHAIN = 50;
|
|
18637
18637
|
var CONVERSATION_QUERY = {
|
|
@@ -18783,7 +18783,7 @@ var sized = /* @__PURE__ */ __name((size4) => {
|
|
|
18783
18783
|
return size4;
|
|
18784
18784
|
}, "sized");
|
|
18785
18785
|
|
|
18786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/embeddings-maintenance.js
|
|
18787
18787
|
var REFRESH_BOUNDS = { maxChats: 20, maxChunks: 2e3 };
|
|
18788
18788
|
var MESSAGE_PAGE = 5e3;
|
|
18789
18789
|
var PER_SESSION = 8;
|
|
@@ -18802,7 +18802,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = chosenTextModel(dep
|
|
|
18802
18802
|
price: remote.price,
|
|
18803
18803
|
installed: true,
|
|
18804
18804
|
perBatch: PER_REQUEST * concurrency,
|
|
18805
|
-
open: /* @__PURE__ */ __name(async () => (await import("./remote-
|
|
18805
|
+
open: /* @__PURE__ */ __name(async () => (await import("./remote-4EOO533Z.js")).openRemote(remote, apiKey, { concurrency }), "open")
|
|
18806
18806
|
};
|
|
18807
18807
|
}
|
|
18808
18808
|
const model = textModel(choice, deps.env);
|
|
@@ -18819,7 +18819,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = chosenTextModel(dep
|
|
|
18819
18819
|
if (!isTextModelInstalled(model, directory2))
|
|
18820
18820
|
throw notDownloaded(model.id);
|
|
18821
18821
|
if (apart) {
|
|
18822
|
-
const { openProcess } = await import("./process-
|
|
18822
|
+
const { openProcess } = await import("./process-Z7OS65OQ.js");
|
|
18823
18823
|
return openProcess(model, directory2, { threads: threads ?? defaultThreads() });
|
|
18824
18824
|
}
|
|
18825
18825
|
return openEmbedder(model, directory2, { threads: threads ?? defaultThreads() });
|
|
@@ -19108,7 +19108,7 @@ var shaped = /* @__PURE__ */ __name(({ chatId, builtAt, algorithmVersion, pendin
|
|
|
19108
19108
|
return { ...one2, state };
|
|
19109
19109
|
}, "shaped");
|
|
19110
19110
|
|
|
19111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/search-catchup.js
|
|
19112
19112
|
var CATCH_UP_BOUNDS = { maxChunks: 500, maxMessages: 1e4, timeMs: 3e4 };
|
|
19113
19113
|
var validateCatchUpBounds = /* @__PURE__ */ __name((options) => {
|
|
19114
19114
|
for (const [key, value, maximum] of [
|
|
@@ -19161,7 +19161,7 @@ var catchUpSearch = /* @__PURE__ */ __name(async (deps, chat, options, signal, c
|
|
|
19161
19161
|
}
|
|
19162
19162
|
}, "catchUpSearch");
|
|
19163
19163
|
|
|
19164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
19165
19165
|
var pushed = /* @__PURE__ */ __name((deps, what) => {
|
|
19166
19166
|
if (deps.reads === "store") {
|
|
19167
19167
|
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`);
|
|
@@ -19527,7 +19527,7 @@ var timeOfKey = /* @__PURE__ */ __name(async (store, account, chatId, key, byTim
|
|
|
19527
19527
|
return message?.timestamp ?? fallback;
|
|
19528
19528
|
}, "timeOfKey");
|
|
19529
19529
|
|
|
19530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/questions.js
|
|
19531
19531
|
var LINKS = /https?:\/\/\S+/g;
|
|
19532
19532
|
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");
|
|
19533
19533
|
var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker = "others" }) => {
|
|
@@ -19557,7 +19557,7 @@ var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker
|
|
|
19557
19557
|
});
|
|
19558
19558
|
}, "questions");
|
|
19559
19559
|
|
|
19560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/task-categories.js
|
|
19561
19561
|
var names = /* @__PURE__ */ __name((categories) => categories.map(({ name }) => name).join(", "), "names");
|
|
19562
19562
|
var taskCategoryOf = /* @__PURE__ */ __name((categories = DEFAULT_TASK_CATEGORIES, flag = "--category") => (typed) => {
|
|
19563
19563
|
const name = typed.trim().toLowerCase();
|
|
@@ -19614,7 +19614,7 @@ var categorize = /* @__PURE__ */ __name((text2, categories = DEFAULT_TASK_CATEGO
|
|
|
19614
19614
|
return best.name;
|
|
19615
19615
|
}, "categorize");
|
|
19616
19616
|
|
|
19617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/task-rules.js
|
|
19618
19618
|
var taskAccount = /* @__PURE__ */ __name(({ provider, account }) => `${provider}:${account}`, "taskAccount");
|
|
19619
19619
|
var RULES_IN = {
|
|
19620
19620
|
dialog: "all",
|
|
@@ -19820,7 +19820,7 @@ var applyTaskRulesToChats = /* @__PURE__ */ __name(async (store, account, chatId
|
|
|
19820
19820
|
return passes;
|
|
19821
19821
|
}, "applyTaskRulesToChats");
|
|
19822
19822
|
|
|
19823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/context/evidence-response.js
|
|
19824
19824
|
var contextSourceKey = /* @__PURE__ */ __name((source) => JSON.stringify([source.kind, source.accountId, source.provider, source.account]), "contextSourceKey");
|
|
19825
19825
|
var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
19826
19826
|
const fail3 = /* @__PURE__ */ __name(() => {
|
|
@@ -19884,7 +19884,7 @@ var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
|
19884
19884
|
}
|
|
19885
19885
|
}, "validateContextEvidencePage");
|
|
19886
19886
|
|
|
19887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/context/read-budget.js
|
|
19888
19888
|
var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
19889
19889
|
if (!limits || typeof limits !== "object" || Array.isArray(limits))
|
|
19890
19890
|
throw new CliError("validation_error", "limits needs a context read allowance");
|
|
@@ -19937,7 +19937,7 @@ var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
|
19937
19937
|
};
|
|
19938
19938
|
}, "contextReadBudget");
|
|
19939
19939
|
|
|
19940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/context-evidence.js
|
|
19941
19941
|
var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits) => {
|
|
19942
19942
|
if (!port || typeof port.read !== "function")
|
|
19943
19943
|
throw new CliError("configuration_error", "context evidence reader is unavailable");
|
|
@@ -19981,11 +19981,11 @@ var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits)
|
|
|
19981
19981
|
};
|
|
19982
19982
|
}, "createContextEvidenceReader");
|
|
19983
19983
|
|
|
19984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/vcard.js
|
|
19985
19985
|
var AS_WORD = new RegExp(`^${WORD_BODY}$`);
|
|
19986
19986
|
var encoder = new TextEncoder();
|
|
19987
19987
|
|
|
19988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/ingest.js
|
|
19989
19989
|
var emptyReceipt = /* @__PURE__ */ __name((dryRun, errors) => ({
|
|
19990
19990
|
dryRun,
|
|
19991
19991
|
source: null,
|
|
@@ -20045,7 +20045,7 @@ var ingest = /* @__PURE__ */ __name(async (store, envelope, { account, dryRun =
|
|
|
20045
20045
|
return receiptOf(dryRun, source, await store.records.run(source, items, { dryRun, chunk, options, onIssue }));
|
|
20046
20046
|
}, "ingest");
|
|
20047
20047
|
|
|
20048
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-purposes.js
|
|
20049
20049
|
var BUILT_IN_PURPOSES = ["work", "sales", "support", "other"];
|
|
20050
20050
|
var DEFAULT_PURPOSES = ["work"];
|
|
20051
20051
|
var LINK_PURPOSE = "work";
|
|
@@ -20075,7 +20075,7 @@ var purposeList = /* @__PURE__ */ __name((value, previous = []) => [
|
|
|
20075
20075
|
...value.split(",").map((one2) => one2.trim()).filter(Boolean)
|
|
20076
20076
|
], "purposeList");
|
|
20077
20077
|
|
|
20078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/moment.js
|
|
20079
20079
|
var AGO = /^(\d+)(m|h|d)$/;
|
|
20080
20080
|
var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
|
|
20081
20081
|
var DATE = /^\d{4}-\d{2}-\d{2}/;
|
|
@@ -20115,7 +20115,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
|
|
|
20115
20115
|
};
|
|
20116
20116
|
}, "dateWindow");
|
|
20117
20117
|
|
|
20118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/botcheck/check.js
|
|
20119
20119
|
var DAY_MS = 864e5;
|
|
20120
20120
|
var NEW_DAYS = 30;
|
|
20121
20121
|
var SAME_TEXT_MIN = 20;
|
|
@@ -20192,7 +20192,7 @@ var scorePerson = /* @__PURE__ */ __name(({ subject, provider, activity, photos,
|
|
|
20192
20192
|
};
|
|
20193
20193
|
}, "scorePerson");
|
|
20194
20194
|
|
|
20195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/http/time-limit.js
|
|
20196
20196
|
var timeLimit = /* @__PURE__ */ __name((ms) => {
|
|
20197
20197
|
const controller = new AbortController();
|
|
20198
20198
|
const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
|
|
@@ -20208,7 +20208,7 @@ var withTimeLimit = /* @__PURE__ */ __name(async (ms, run) => {
|
|
|
20208
20208
|
}
|
|
20209
20209
|
}, "withTimeLimit");
|
|
20210
20210
|
|
|
20211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/botcheck/registries.js
|
|
20212
20212
|
var REGISTRIES = {
|
|
20213
20213
|
cas: { title: "Combot Anti-Spam (CAS)", docs: "https://cas.chat/api" },
|
|
20214
20214
|
lols: { title: "lols.bot", docs: "https://api.lols.bot/lols-bot.json" }
|
|
@@ -20295,7 +20295,7 @@ var notCovered = /* @__PURE__ */ __name((messenger, now = /* @__PURE__ */ new Da
|
|
|
20295
20295
|
detail: `lists Telegram accounts only, not ${messenger} ones`
|
|
20296
20296
|
})), "notCovered");
|
|
20297
20297
|
|
|
20298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/botcheck/service.js
|
|
20299
20299
|
var ACTIVITY_MESSAGES = 1e3;
|
|
20300
20300
|
var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
20301
20301
|
const subjectOf = /* @__PURE__ */ __name(async (reference) => {
|
|
@@ -20383,7 +20383,7 @@ var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
|
20383
20383
|
};
|
|
20384
20384
|
}, "botCheckService");
|
|
20385
20385
|
|
|
20386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/thread.js
|
|
20387
20387
|
var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
20388
20388
|
if (value === void 0)
|
|
20389
20389
|
return void 0;
|
|
@@ -20393,7 +20393,7 @@ var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
|
20393
20393
|
return id2;
|
|
20394
20394
|
}, "threadIdOf");
|
|
20395
20395
|
|
|
20396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/chat-stats.js
|
|
20397
20397
|
var TOP_POSTS = 5;
|
|
20398
20398
|
var JOINS = /* @__PURE__ */ new Set(["join", "add"]);
|
|
20399
20399
|
var LEAVES = /* @__PURE__ */ new Set(["leave", "remove"]);
|
|
@@ -20510,7 +20510,7 @@ var median = /* @__PURE__ */ __name((values) => {
|
|
|
20510
20510
|
return Math.round(sorted.length % 2 === 0 ? ((sorted[middle - 1] ?? upper) + upper) / 2 : upper);
|
|
20511
20511
|
}, "median");
|
|
20512
20512
|
|
|
20513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/member-history.js
|
|
20514
20514
|
var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
20515
20515
|
const events = [];
|
|
20516
20516
|
for (const stay of stays) {
|
|
@@ -20542,7 +20542,7 @@ var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
|
20542
20542
|
return events.filter(({ at }) => Date.parse(at) >= since).sort((a, b) => Date.parse(a.at) - Date.parse(b.at) || a.id.localeCompare(b.id));
|
|
20543
20543
|
}, "memberEvents");
|
|
20544
20544
|
|
|
20545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/chats.js
|
|
20546
20546
|
var EVENTS_DAYS = 7;
|
|
20547
20547
|
var TRACKED_DAYS = 30;
|
|
20548
20548
|
var STATS_PAGE = 1e3;
|
|
@@ -20837,7 +20837,7 @@ var storedMembers = /* @__PURE__ */ __name(async (store, chatId) => {
|
|
|
20837
20837
|
return members.length === 0 ? null : members;
|
|
20838
20838
|
}, "storedMembers");
|
|
20839
20839
|
|
|
20840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/inbox.js
|
|
20841
20841
|
var INBOX_CHATS = 20;
|
|
20842
20842
|
var REVIEW_DAYS = 3;
|
|
20843
20843
|
var UNANSWERED_HOURS = 24;
|
|
@@ -21045,7 +21045,7 @@ var inboxService = /* @__PURE__ */ __name((deps) => {
|
|
|
21045
21045
|
};
|
|
21046
21046
|
}, "inboxService");
|
|
21047
21047
|
|
|
21048
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/person-context.js
|
|
21049
21049
|
var CONTEXT_MESSAGES2 = 10;
|
|
21050
21050
|
var CONTEXT_BYTES = 64 * 1024;
|
|
21051
21051
|
var toContext = /* @__PURE__ */ __name((key, message, chatTitle2) => ({
|
|
@@ -21334,10 +21334,10 @@ var personMessages = /* @__PURE__ */ __name(async (store, asked, reference, { ch
|
|
|
21334
21334
|
};
|
|
21335
21335
|
}, "personMessages");
|
|
21336
21336
|
|
|
21337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
21338
21338
|
import { createHash } from "node:crypto";
|
|
21339
21339
|
|
|
21340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-reference.js
|
|
21341
21341
|
var missing2 = /* @__PURE__ */ __name(() => new CliError("not_found", "the meeting evidence is unavailable for this account"), "missing");
|
|
21342
21342
|
var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId, reference, options = {}) => {
|
|
21343
21343
|
const parsed = parseMeetingReference(reference);
|
|
@@ -21355,7 +21355,7 @@ var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId,
|
|
|
21355
21355
|
return { parsed, meeting };
|
|
21356
21356
|
}, "authorizedMeetingMetadata");
|
|
21357
21357
|
|
|
21358
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
21359
21359
|
var hash = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
21360
21360
|
var checkMeetingCancelled = /* @__PURE__ */ __name((signal) => {
|
|
21361
21361
|
if (signal?.aborted)
|
|
@@ -21554,7 +21554,7 @@ var readMeetingEvidence = /* @__PURE__ */ __name(async (store, accountId, refere
|
|
|
21554
21554
|
return { ...packet, fingerprint: hash(packet) };
|
|
21555
21555
|
}, "readMeetingEvidence");
|
|
21556
21556
|
|
|
21557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/person-meeting-context.js
|
|
21558
21558
|
var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference, options) => {
|
|
21559
21559
|
const { meetings = 10, cues = 5, bytes: bytes2 = 64 * 1024, scanLimit = 1e3, since, signal } = options;
|
|
21560
21560
|
const requestedAccounts = options.accountIds;
|
|
@@ -21653,7 +21653,7 @@ var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference,
|
|
|
21653
21653
|
};
|
|
21654
21654
|
}, "personMeetingContext");
|
|
21655
21655
|
|
|
21656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/person-preparation.js
|
|
21657
21657
|
var PREPARE_BYTES = 96 * 1024;
|
|
21658
21658
|
var MEETINGS = 5;
|
|
21659
21659
|
var CUES = 3;
|
|
@@ -21769,7 +21769,7 @@ var meetingsOf = /* @__PURE__ */ __name(async (store, uid, stored, since, left)
|
|
|
21769
21769
|
}
|
|
21770
21770
|
}, "meetingsOf");
|
|
21771
21771
|
|
|
21772
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21772
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/person-profile.js
|
|
21773
21773
|
var personProfile = /* @__PURE__ */ __name(async (deps, person, known2) => {
|
|
21774
21774
|
const online = deps.offline ? void 0 : await deps.connection();
|
|
21775
21775
|
const held = await storeIfOpen(deps);
|
|
@@ -21839,7 +21839,7 @@ var quiet = /* @__PURE__ */ __name((facts) => facts.chats.map(({ id: id2, title,
|
|
|
21839
21839
|
complete: false
|
|
21840
21840
|
})), "quiet");
|
|
21841
21841
|
|
|
21842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/person-timeline.js
|
|
21843
21843
|
var TIMELINE_ITEMS = 50;
|
|
21844
21844
|
var TIMELINE_MAX = 500;
|
|
21845
21845
|
var SCOPES2 = ["personal", "work"];
|
|
@@ -21894,7 +21894,7 @@ var personTimeline = /* @__PURE__ */ __name(async (store, asked, reference, { sc
|
|
|
21894
21894
|
};
|
|
21895
21895
|
}, "personTimeline");
|
|
21896
21896
|
|
|
21897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/people.js
|
|
21898
21898
|
var peopleService = /* @__PURE__ */ __name((deps) => {
|
|
21899
21899
|
const localCard = /* @__PURE__ */ __name(async (card, includeNotes = false) => {
|
|
21900
21900
|
const held = await storeIfOpen(deps);
|
|
@@ -22121,7 +22121,7 @@ var withoutPhone = /* @__PURE__ */ __name((answer) => {
|
|
|
22121
22121
|
return rest;
|
|
22122
22122
|
}, "withoutPhone");
|
|
22123
22123
|
|
|
22124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/task-stats.js
|
|
22125
22125
|
var TASK_STATS_BY = ["chat", "meeting", "project"];
|
|
22126
22126
|
var PERIOD_FIELD = "created";
|
|
22127
22127
|
var refuseNestedPeriod = /* @__PURE__ */ __name((node, top = true) => {
|
|
@@ -22224,7 +22224,7 @@ var meetingNames = /* @__PURE__ */ __name(async (store, groups) => {
|
|
|
22224
22224
|
}));
|
|
22225
22225
|
}, "meetingNames");
|
|
22226
22226
|
|
|
22227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/task-tag-filters.js
|
|
22228
22228
|
var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
22229
22229
|
const tags = /* @__PURE__ */ new Map();
|
|
22230
22230
|
for (const node of query ? walkQuery(query.root) : [])
|
|
@@ -22233,7 +22233,7 @@ var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
|
22233
22233
|
return tags;
|
|
22234
22234
|
}, "taskTagFilters");
|
|
22235
22235
|
|
|
22236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/tasks.js
|
|
22237
22237
|
var TASK_QUERY = {
|
|
22238
22238
|
entity: "task",
|
|
22239
22239
|
backend: "sql",
|
|
@@ -22725,7 +22725,7 @@ var taskView = /* @__PURE__ */ __name(async (store, account, task2) => {
|
|
|
22725
22725
|
};
|
|
22726
22726
|
}, "taskView");
|
|
22727
22727
|
|
|
22728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposal-tasks.js
|
|
22729
22729
|
var proposalSource = /* @__PURE__ */ __name((id2) => `proposed-action:${id2}`, "proposalSource");
|
|
22730
22730
|
var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
22731
22731
|
const proposal = await store.proposedActions.get(id2);
|
|
@@ -22748,7 +22748,7 @@ var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
|
22748
22748
|
return { proposal: await store.proposedActions.approve(proposal.id, by, { task: task2.id }), task: task2 };
|
|
22749
22749
|
}, "approveAsTask");
|
|
22750
22750
|
|
|
22751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/ids.js
|
|
22752
22752
|
var MAX_IDS = 500;
|
|
22753
22753
|
var refuse = /* @__PURE__ */ __name((message) => {
|
|
22754
22754
|
throw new CliError("validation_error", message, { reason: "proposal.ids" });
|
|
@@ -22790,7 +22790,7 @@ var parseProposalIds = /* @__PURE__ */ __name((text2) => {
|
|
|
22790
22790
|
return ids;
|
|
22791
22791
|
}, "parseProposalIds");
|
|
22792
22792
|
|
|
22793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/shared.js
|
|
22794
22794
|
var proposerOfAuthor = /* @__PURE__ */ __name((author) => {
|
|
22795
22795
|
if (author.type === "person")
|
|
22796
22796
|
return { type: "person", id: author.id };
|
|
@@ -22862,7 +22862,7 @@ var reviewedKind = /* @__PURE__ */ __name((spec) => ({
|
|
|
22862
22862
|
}, "decide")
|
|
22863
22863
|
}), "reviewedKind");
|
|
22864
22864
|
|
|
22865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/action.js
|
|
22866
22866
|
var rowOf = /* @__PURE__ */ __name((action2) => ({
|
|
22867
22867
|
id: action2.id,
|
|
22868
22868
|
kind: "action",
|
|
@@ -22902,7 +22902,7 @@ var actionKind = /* @__PURE__ */ __name((store, claimed) => ({
|
|
|
22902
22902
|
}, "decide")
|
|
22903
22903
|
}), "actionKind");
|
|
22904
22904
|
|
|
22905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/contracts.js
|
|
22906
22906
|
var contractKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
22907
22907
|
type: "contract",
|
|
22908
22908
|
list: /* @__PURE__ */ __name((options) => store.contracts.list(options), "list"),
|
|
@@ -22911,7 +22911,7 @@ var contractKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
22911
22911
|
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")
|
|
22912
22912
|
}), "contractKind");
|
|
22913
22913
|
|
|
22914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/fact.js
|
|
22915
22915
|
var STATUS = {
|
|
22916
22916
|
proposed: "proposed",
|
|
22917
22917
|
accepted: "confirmed",
|
|
@@ -22954,7 +22954,7 @@ var factKind = /* @__PURE__ */ __name((store) => ({
|
|
|
22954
22954
|
}, "decide")
|
|
22955
22955
|
}), "factKind");
|
|
22956
22956
|
|
|
22957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/finance.js
|
|
22958
22958
|
var invoiceKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
22959
22959
|
type: "invoice",
|
|
22960
22960
|
list: /* @__PURE__ */ __name((options) => store.finance.invoices(options), "list"),
|
|
@@ -22970,7 +22970,7 @@ var paymentKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
22970
22970
|
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")
|
|
22971
22971
|
}), "paymentKind");
|
|
22972
22972
|
|
|
22973
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22973
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/findings.js
|
|
22974
22974
|
var FACT_SUMMARIES = {
|
|
22975
22975
|
fact: /* @__PURE__ */ __name((finding) => finding.statement, "fact"),
|
|
22976
22976
|
task: /* @__PURE__ */ __name((finding) => finding.title, "task"),
|
|
@@ -23042,7 +23042,7 @@ var findingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
23042
23042
|
};
|
|
23043
23043
|
}, "findingsKind");
|
|
23044
23044
|
|
|
23045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/key-document.js
|
|
23046
23046
|
var linkRow = /* @__PURE__ */ __name((link4) => ({
|
|
23047
23047
|
id: `key:${link4.id}`,
|
|
23048
23048
|
kind: "key_document",
|
|
@@ -23110,7 +23110,7 @@ var keyDocumentKind = /* @__PURE__ */ __name((store) => {
|
|
|
23110
23110
|
};
|
|
23111
23111
|
}, "keyDocumentKind");
|
|
23112
23112
|
|
|
23113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/mail-findings.js
|
|
23114
23114
|
var words = /* @__PURE__ */ __name((...parts) => parts.filter(Boolean).join(" "), "words");
|
|
23115
23115
|
var summaryOf = /* @__PURE__ */ __name((finding) => {
|
|
23116
23116
|
switch (finding.kind) {
|
|
@@ -23198,7 +23198,7 @@ var mailFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
23198
23198
|
};
|
|
23199
23199
|
}, "mailFindingsKind");
|
|
23200
23200
|
|
|
23201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/meeting-findings.js
|
|
23202
23202
|
var rowOf5 = /* @__PURE__ */ __name((action2, batch) => {
|
|
23203
23203
|
const findings = batch.input.findings;
|
|
23204
23204
|
const projects = [...new Set(findings.map((one2) => "project" in one2 ? one2.project : void 0))];
|
|
@@ -23262,7 +23262,7 @@ var meetingFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
23262
23262
|
};
|
|
23263
23263
|
}, "meetingFindingsKind");
|
|
23264
23264
|
|
|
23265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/memory.js
|
|
23266
23266
|
var STATUS2 = {
|
|
23267
23267
|
proposed: "proposed",
|
|
23268
23268
|
confirmed: "confirmed",
|
|
@@ -23303,7 +23303,7 @@ var memoryKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23303
23303
|
}, "decide")
|
|
23304
23304
|
}), "memoryKind");
|
|
23305
23305
|
|
|
23306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/orders.js
|
|
23307
23307
|
var orderKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
23308
23308
|
type: "order",
|
|
23309
23309
|
list: /* @__PURE__ */ __name((options) => store.orders.list(options), "list"),
|
|
@@ -23312,7 +23312,7 @@ var orderKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
23312
23312
|
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")
|
|
23313
23313
|
}), "orderKind");
|
|
23314
23314
|
|
|
23315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/organization.js
|
|
23316
23316
|
var ORGANIZATION_ADD_KIND = "organization_add";
|
|
23317
23317
|
var ORGANIZATION_RENAME_KIND = "organization_rename";
|
|
23318
23318
|
var rowOf7 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -23368,7 +23368,7 @@ var organizationKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23368
23368
|
}, "decide")
|
|
23369
23369
|
}), "organizationKind");
|
|
23370
23370
|
|
|
23371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship.js
|
|
23372
23372
|
var linkRow2 = /* @__PURE__ */ __name((link4) => ({
|
|
23373
23373
|
id: `link:${link4.id}`,
|
|
23374
23374
|
kind: "relationship",
|
|
@@ -23443,7 +23443,7 @@ var relationshipKind = /* @__PURE__ */ __name((store) => {
|
|
|
23443
23443
|
};
|
|
23444
23444
|
}, "relationshipKind");
|
|
23445
23445
|
|
|
23446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship-update.js
|
|
23447
23447
|
var KIND = "relationship_update";
|
|
23448
23448
|
var summaryOf2 = /* @__PURE__ */ __name(({ changes }) => Object.entries(changes).map(([field, value]) => `${field} ${value ?? "cleared"}`).join(", "), "summaryOf");
|
|
23449
23449
|
var rowOf8 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -23493,7 +23493,7 @@ var relationshipUpdateKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23493
23493
|
}, "decide")
|
|
23494
23494
|
}), "relationshipUpdateKind");
|
|
23495
23495
|
|
|
23496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/source-review.js
|
|
23497
23497
|
var rowOf9 = /* @__PURE__ */ __name((action2) => {
|
|
23498
23498
|
const payload = action2.payload;
|
|
23499
23499
|
const sources = payload.sources.flatMap((source) => source.ref ?? []);
|
|
@@ -23536,7 +23536,7 @@ var sourceReviewKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23536
23536
|
}, "decide")
|
|
23537
23537
|
}), "sourceReviewKind");
|
|
23538
23538
|
|
|
23539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/subscriptions.js
|
|
23540
23540
|
var subscriptionKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
23541
23541
|
type: "subscription",
|
|
23542
23542
|
list: /* @__PURE__ */ __name((options) => store.subscriptions.list(options), "list"),
|
|
@@ -23555,7 +23555,7 @@ var subscriptionPriceKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
23555
23555
|
}, "decide")
|
|
23556
23556
|
}), "subscriptionPriceKind");
|
|
23557
23557
|
|
|
23558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/task-close.js
|
|
23559
23559
|
var rowOf10 = /* @__PURE__ */ __name((task2) => {
|
|
23560
23560
|
const suggestion = task2.closeSuggestion;
|
|
23561
23561
|
if (suggestion === null)
|
|
@@ -23623,7 +23623,7 @@ var taskCloseKind = /* @__PURE__ */ __name((store) => {
|
|
|
23623
23623
|
};
|
|
23624
23624
|
}, "taskCloseKind");
|
|
23625
23625
|
|
|
23626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/transactions.js
|
|
23627
23627
|
var transactionKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
23628
23628
|
type: "transaction",
|
|
23629
23629
|
list: /* @__PURE__ */ __name((options) => store.transactions.list(options), "list"),
|
|
@@ -23632,7 +23632,7 @@ var transactionKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
23632
23632
|
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")
|
|
23633
23633
|
}), "transactionKind");
|
|
23634
23634
|
|
|
23635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/proposals/registry.js
|
|
23636
23636
|
var PREFIX = /^([a-z][a-z_]*):/;
|
|
23637
23637
|
var marked = /* @__PURE__ */ __name((kind, row) => kind.ownerOnly ? { ...row, ownerOnly: true } : row, "marked");
|
|
23638
23638
|
var refusalOf = /* @__PURE__ */ __name((id2, error) => {
|
|
@@ -23765,7 +23765,7 @@ var proposalRegistry = /* @__PURE__ */ __name((store) => {
|
|
|
23765
23765
|
return registry;
|
|
23766
23766
|
}, "proposalRegistry");
|
|
23767
23767
|
|
|
23768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/mail/owed.js
|
|
23769
23769
|
var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
23770
23770
|
if (newest === null)
|
|
23771
23771
|
return null;
|
|
@@ -23774,7 +23774,7 @@ var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
|
23774
23774
|
return newest.addressed ? "owed" : null;
|
|
23775
23775
|
}, "mailTurn");
|
|
23776
23776
|
|
|
23777
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23777
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/agenda-mail.js
|
|
23778
23778
|
var absent = /* @__PURE__ */ __name((error) => {
|
|
23779
23779
|
if (error instanceof CliError && error.code === "not_found")
|
|
23780
23780
|
return void 0;
|
|
@@ -23832,7 +23832,7 @@ var mailActivity = /* @__PURE__ */ __name(async (store, account, since, chats) =
|
|
|
23832
23832
|
};
|
|
23833
23833
|
}, "mailActivity");
|
|
23834
23834
|
|
|
23835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/chat-coverage.js
|
|
23836
23836
|
var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
23837
23837
|
const ids = [...new Set(chatIds)];
|
|
23838
23838
|
if (ids.length === 0)
|
|
@@ -23858,7 +23858,7 @@ var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
|
23858
23858
|
}));
|
|
23859
23859
|
}, "chatCoverage");
|
|
23860
23860
|
|
|
23861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/agenda.js
|
|
23862
23862
|
var DAY = 864e5;
|
|
23863
23863
|
var AGENDA_DEFAULTS = { unanswered: DAY, waiting: 7 * DAY };
|
|
23864
23864
|
var CLAIMS = ["none", "mine", "others", "any"];
|
|
@@ -24105,7 +24105,7 @@ var agendaItem = /* @__PURE__ */ __name((shown) => {
|
|
|
24105
24105
|
};
|
|
24106
24106
|
}, "agendaItem");
|
|
24107
24107
|
|
|
24108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/excerpt.js
|
|
24109
24109
|
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");
|
|
24110
24110
|
var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options = {}) => {
|
|
24111
24111
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -24121,7 +24121,7 @@ var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options = {}) =
|
|
|
24121
24121
|
}, "excerpt");
|
|
24122
24122
|
var withExcerpt = /* @__PURE__ */ __name(({ matchedText, ...hit }, query) => ({ ...hit, excerpt: excerpt(matchedText ?? hit.text, query) }), "withExcerpt");
|
|
24123
24123
|
|
|
24124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/link-scorers/shared.js
|
|
24125
24125
|
var escaped = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
24126
24126
|
var folded = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "folded");
|
|
24127
24127
|
var wholeWords = /* @__PURE__ */ __name((term) => new RegExp(`(?<![\\p{L}\\p{N}\\p{M}_])${escaped(normalizeVocabularyName(term))}(?![\\p{L}\\p{N}\\p{M}_])`, "u"), "wholeWords");
|
|
@@ -24163,7 +24163,7 @@ var identitiesIn = /* @__PURE__ */ __name(async (store, people, provider) => {
|
|
|
24163
24163
|
return found;
|
|
24164
24164
|
}, "identitiesIn");
|
|
24165
24165
|
|
|
24166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/link-scorers/alias-hits.js
|
|
24167
24167
|
var SEARCH_LIMIT = 500;
|
|
24168
24168
|
var aliasWeight = /* @__PURE__ */ __name((hits) => hits >= 10 ? 0.55 : hits >= 3 ? 0.35 : 0, "aliasWeight");
|
|
24169
24169
|
var aliasHits = {
|
|
@@ -24212,7 +24212,7 @@ var aliasHits = {
|
|
|
24212
24212
|
}, "candidates")
|
|
24213
24213
|
};
|
|
24214
24214
|
|
|
24215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-senders.js
|
|
24216
24216
|
var WEIGHT = 0.5;
|
|
24217
24217
|
var LARGE_GROUP_WEIGHT = 0.2;
|
|
24218
24218
|
var LARGE_GROUP = 30;
|
|
@@ -24274,7 +24274,7 @@ var chatSenders = {
|
|
|
24274
24274
|
}, "candidates")
|
|
24275
24275
|
};
|
|
24276
24276
|
|
|
24277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-title.js
|
|
24278
24278
|
var WEIGHT2 = 0.7;
|
|
24279
24279
|
var chatTitle = {
|
|
24280
24280
|
id: "chat-title",
|
|
@@ -24313,7 +24313,7 @@ var chatTitle = {
|
|
|
24313
24313
|
}, "candidates")
|
|
24314
24314
|
};
|
|
24315
24315
|
|
|
24316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/link-scorers/email-domain.js
|
|
24317
24317
|
var WEIGHT3 = 0.3;
|
|
24318
24318
|
var CONTACTS = 500;
|
|
24319
24319
|
var MOST_PAIRS = 200;
|
|
@@ -24374,7 +24374,7 @@ var emailDomain = {
|
|
|
24374
24374
|
}, "candidates")
|
|
24375
24375
|
};
|
|
24376
24376
|
|
|
24377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/link-scorers/mail-thread.js
|
|
24378
24378
|
var NAMED = 0.7;
|
|
24379
24379
|
var MEMBER_ONLY = 0.3;
|
|
24380
24380
|
var READ_LIMIT2 = 500;
|
|
@@ -24448,7 +24448,7 @@ var mailThread = {
|
|
|
24448
24448
|
}, "candidates")
|
|
24449
24449
|
};
|
|
24450
24450
|
|
|
24451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-chats.js
|
|
24452
24452
|
var WEIGHT4 = 0.5;
|
|
24453
24453
|
var memberChats = {
|
|
24454
24454
|
id: "member-chats",
|
|
@@ -24489,7 +24489,7 @@ var memberChats = {
|
|
|
24489
24489
|
}, "candidates")
|
|
24490
24490
|
};
|
|
24491
24491
|
|
|
24492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24492
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-dialog.js
|
|
24493
24493
|
var WEIGHT5 = 0.6;
|
|
24494
24494
|
var memberDialog = {
|
|
24495
24495
|
id: "member-dialog",
|
|
@@ -24524,7 +24524,7 @@ var memberDialog = {
|
|
|
24524
24524
|
}, "candidates")
|
|
24525
24525
|
};
|
|
24526
24526
|
|
|
24527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-gathering-around.js
|
|
24528
24528
|
var storedMessageNeighbours = /* @__PURE__ */ __name((messages) => ({
|
|
24529
24529
|
async around(ref, window3) {
|
|
24530
24530
|
const at = parseLocator(ref);
|
|
@@ -24620,7 +24620,7 @@ var storedNeighbours = /* @__PURE__ */ __name((store) => {
|
|
|
24620
24620
|
};
|
|
24621
24621
|
}, "storedNeighbours");
|
|
24622
24622
|
|
|
24623
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-gathering-request.js
|
|
24624
24624
|
import { createHash as createHash2 } from "node:crypto";
|
|
24625
24625
|
var DAY2 = 864e5;
|
|
24626
24626
|
var MAX_TIME = 864e13;
|
|
@@ -24936,7 +24936,7 @@ var decodeCheckpoint = /* @__PURE__ */ __name((text2, plan) => {
|
|
|
24936
24936
|
return value;
|
|
24937
24937
|
}, "decodeCheckpoint");
|
|
24938
24938
|
|
|
24939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-gathering.js
|
|
24940
24940
|
var terminal = /* @__PURE__ */ new Set(["done", "unavailable", "failed"]);
|
|
24941
24941
|
var PAGE2 = 20;
|
|
24942
24942
|
var PEOPLE = 20;
|
|
@@ -25340,7 +25340,7 @@ var peopleOf = /* @__PURE__ */ __name((items, senderOf) => {
|
|
|
25340
25340
|
return [...byKey.values()].sort((a, b) => b.items - a.items || a.name.localeCompare(b.name));
|
|
25341
25341
|
}, "peopleOf");
|
|
25342
25342
|
|
|
25343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-matching.js
|
|
25344
25344
|
var normalizedText = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "normalizedText");
|
|
25345
25345
|
var termsOf = /* @__PURE__ */ __name((entry) => [
|
|
25346
25346
|
{ name: entry.name, kind: "canonical" },
|
|
@@ -25384,7 +25384,7 @@ var matchVocabularyTerms = /* @__PURE__ */ __name((catalog, texts) => {
|
|
|
25384
25384
|
return result.sort((a, b) => Number(a.entry.id) - Number(b.entry.id));
|
|
25385
25385
|
}, "matchVocabularyTerms");
|
|
25386
25386
|
|
|
25387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-gathering-mentions.js
|
|
25388
25388
|
var KINDS = ["project", "tag", "topic"];
|
|
25389
25389
|
var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering, options = {}) => {
|
|
25390
25390
|
if (typeof vocabulary?.vocabulary !== "function")
|
|
@@ -25439,7 +25439,7 @@ var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering,
|
|
|
25439
25439
|
};
|
|
25440
25440
|
}, "findEvidenceMentions");
|
|
25441
25441
|
|
|
25442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/stored-project-gathering.js
|
|
25443
25443
|
var storedChatCount = /* @__PURE__ */ __name((store) => async (account, chatId, { since, until }) => {
|
|
25444
25444
|
const window3 = { since: new Date(since).toISOString(), until: new Date(until - 1).toISOString() };
|
|
25445
25445
|
const [messages, newest, oldest] = await Promise.all([
|
|
@@ -25745,7 +25745,7 @@ var purposeHintOf = /* @__PURE__ */ __name((linked, rows, of) => {
|
|
|
25745
25745
|
return { chat: top.ref, relationship: link4.relationship, items, of };
|
|
25746
25746
|
}, "purposeHintOf");
|
|
25747
25747
|
|
|
25748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/link-scorers/scan.js
|
|
25749
25749
|
var SCORERS = [chatTitle, aliasHits, memberChats, memberDialog, chatSenders, mailThread];
|
|
25750
25750
|
var PERSON_SCORERS = [emailDomain];
|
|
25751
25751
|
var SCAN_BOT = { bot: "memo-scan", kind: "rule" };
|
|
@@ -25993,18 +25993,18 @@ var referenceOf = /* @__PURE__ */ __name((text2) => {
|
|
|
25993
25993
|
}, "referenceOf");
|
|
25994
25994
|
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");
|
|
25995
25995
|
|
|
25996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
25997
25997
|
import { setTimeout as sleep3 } from "node:timers/promises";
|
|
25998
25998
|
|
|
25999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
26000
26000
|
import { lstat } from "node:fs/promises";
|
|
26001
26001
|
|
|
26002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
26003
26003
|
import { createHash as createHash4, randomUUID as randomUUID2 } from "node:crypto";
|
|
26004
26004
|
import { open as open2, rename as rename2, unlink as unlink2 } from "node:fs/promises";
|
|
26005
26005
|
import { join as join2 } from "node:path";
|
|
26006
26006
|
|
|
26007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-metadata.js
|
|
26008
26008
|
import { createHash as createHash3 } from "node:crypto";
|
|
26009
26009
|
var metadataLimit = 16384;
|
|
26010
26010
|
var partialIdentity = /* @__PURE__ */ __name((locator) => JSON.stringify([locator.provider, locator.account, locator.occurrenceId, locator.assetId]), "partialIdentity");
|
|
@@ -26064,7 +26064,7 @@ var readPartialMetadata = /* @__PURE__ */ __name(async (path, locator, maxBytes,
|
|
|
26064
26064
|
}
|
|
26065
26065
|
}, "readPartialMetadata");
|
|
26066
26066
|
|
|
26067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-writer.js
|
|
26068
26068
|
import { randomUUID } from "node:crypto";
|
|
26069
26069
|
import { open, rename, unlink } from "node:fs/promises";
|
|
26070
26070
|
import { join } from "node:path";
|
|
@@ -26156,7 +26156,7 @@ var partialWriter = /* @__PURE__ */ __name(async (input) => {
|
|
|
26156
26156
|
};
|
|
26157
26157
|
}, "partialWriter");
|
|
26158
26158
|
|
|
26159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
26160
26160
|
var NativeRecordingPartialStore = class {
|
|
26161
26161
|
static {
|
|
26162
26162
|
__name(this, "NativeRecordingPartialStore");
|
|
@@ -26263,12 +26263,12 @@ var NativeRecordingPartialStore = class {
|
|
|
26263
26263
|
}
|
|
26264
26264
|
};
|
|
26265
26265
|
|
|
26266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
26267
26267
|
import { createHash as createHash5 } from "node:crypto";
|
|
26268
26268
|
import { link as link2 } from "node:fs/promises";
|
|
26269
26269
|
import { basename, dirname, join as join4, resolve } from "node:path";
|
|
26270
26270
|
|
|
26271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-files.js
|
|
26272
26272
|
import { unlink as unlink3 } from "node:fs/promises";
|
|
26273
26273
|
var verifiedPublicationFile = /* @__PURE__ */ __name(async (path, expected2, signal, writable = false) => {
|
|
26274
26274
|
signal?.throwIfAborted();
|
|
@@ -26303,7 +26303,7 @@ var commitPublication = /* @__PURE__ */ __name(async (root, partialPath, finalPa
|
|
|
26303
26303
|
signal?.throwIfAborted();
|
|
26304
26304
|
}, "commitPublication");
|
|
26305
26305
|
|
|
26306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-journal.js
|
|
26307
26307
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
26308
26308
|
import { open as open3, rename as rename3, unlink as unlink4 } from "node:fs/promises";
|
|
26309
26309
|
import { join as join3 } from "node:path";
|
|
@@ -26376,7 +26376,7 @@ var writePublicationJournal = /* @__PURE__ */ __name(async (root, path, prefix,
|
|
|
26376
26376
|
}
|
|
26377
26377
|
}, "writePublicationJournal");
|
|
26378
26378
|
|
|
26379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
26380
26380
|
var NativeRecordingPublication = class {
|
|
26381
26381
|
static {
|
|
26382
26382
|
__name(this, "NativeRecordingPublication");
|
|
@@ -26449,7 +26449,7 @@ var NativeRecordingPublication = class {
|
|
|
26449
26449
|
}
|
|
26450
26450
|
};
|
|
26451
26451
|
|
|
26452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26452
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/media-archive-manifest.js
|
|
26453
26453
|
import { createHash as createHash6 } from "node:crypto";
|
|
26454
26454
|
import { readdir } from "node:fs/promises";
|
|
26455
26455
|
import { isAbsolute, join as join5, resolve as resolve2 } from "node:path";
|
|
@@ -26536,7 +26536,7 @@ var commitMediaEntry = /* @__PURE__ */ __name((root, one2, beforePublish) => wri
|
|
|
26536
26536
|
beforePublish
|
|
26537
26537
|
}), "commitMediaEntry");
|
|
26538
26538
|
|
|
26539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
26540
26540
|
var validator = '"media-completed-v1"';
|
|
26541
26541
|
var maximumFileBytes = 64 * 1024 * 1024 * 1024;
|
|
26542
26542
|
var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2, beforeWrite, signal, metadata = {}) => {
|
|
@@ -26637,7 +26637,7 @@ var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2
|
|
|
26637
26637
|
return entry;
|
|
26638
26638
|
}, "archiveMediaFile");
|
|
26639
26639
|
|
|
26640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/media-archive-locks.js
|
|
26641
26641
|
import { mkdir, realpath } from "node:fs/promises";
|
|
26642
26642
|
import { join as join6, resolve as resolve3 } from "node:path";
|
|
26643
26643
|
var archiveLocations = /* @__PURE__ */ __name(async (initial, signal) => {
|
|
@@ -26704,7 +26704,7 @@ var withMediaArchiveLocks = /* @__PURE__ */ __name(async (directory2, signal, ru
|
|
|
26704
26704
|
throw new CliError("validation_error", "archive locations changed during locking; run the command again");
|
|
26705
26705
|
}, "withMediaArchiveLocks");
|
|
26706
26706
|
|
|
26707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
26708
26708
|
var validateMediaSince = /* @__PURE__ */ __name((value, flag = "--since-time") => {
|
|
26709
26709
|
if (value === void 0)
|
|
26710
26710
|
return void 0;
|
|
@@ -26857,7 +26857,7 @@ var archiveMedia = /* @__PURE__ */ __name(async (ports, options) => {
|
|
|
26857
26857
|
}, { create: true });
|
|
26858
26858
|
}, "archiveMedia");
|
|
26859
26859
|
|
|
26860
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/media-archive-move.js
|
|
26861
26861
|
import { realpath as realpath2, unlink as unlink5 } from "node:fs/promises";
|
|
26862
26862
|
import { basename as basename2, dirname as dirname2, join as join7, resolve as resolve4 } from "node:path";
|
|
26863
26863
|
var canonicalDestination = /* @__PURE__ */ __name(async (directory2) => {
|
|
@@ -27010,7 +27010,7 @@ var moveMediaArchive = /* @__PURE__ */ __name(async (options) => {
|
|
|
27010
27010
|
}, { additional: [target2], createAdditional: !options.dryRun });
|
|
27011
27011
|
}, "moveMediaArchive");
|
|
27012
27012
|
|
|
27013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/model-downloads.js
|
|
27014
27014
|
var bytesOf2 = /* @__PURE__ */ __name((model) => model.files.reduce((sum2, file2) => sum2 + file2.bytes, 0), "bytesOf");
|
|
27015
27015
|
var nativeRuntime = /* @__PURE__ */ __name(async ({ env, progress = /* @__PURE__ */ __name(() => {
|
|
27016
27016
|
}, "progress") }) => {
|
|
@@ -27033,7 +27033,7 @@ var downloadTextModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
27033
27033
|
}
|
|
27034
27034
|
await nativeRuntime({ env, progress });
|
|
27035
27035
|
progress(`${model.id}: loading it once to check it works`);
|
|
27036
|
-
const { openEmbedder: openEmbedder2 } = await import("./embed-
|
|
27036
|
+
const { openEmbedder: openEmbedder2 } = await import("./embed-A2YCI5TM.js");
|
|
27037
27037
|
const embedder = await openEmbedder2(model, directory2);
|
|
27038
27038
|
try {
|
|
27039
27039
|
const [vector] = await embedder.embed(["check"], "query");
|
|
@@ -27054,7 +27054,7 @@ var downloadRerankModel = /* @__PURE__ */ __name(async (id2, { env, progress = /
|
|
|
27054
27054
|
}
|
|
27055
27055
|
await nativeRuntime({ env, progress });
|
|
27056
27056
|
progress(`${model.id}: loading it once to check it works`);
|
|
27057
|
-
const { openReranker } = await import("./rerank-
|
|
27057
|
+
const { openReranker } = await import("./rerank-LKRFHRN6.js");
|
|
27058
27058
|
const reranker = await openReranker(model, directory2);
|
|
27059
27059
|
try {
|
|
27060
27060
|
await reranker.score("check", ["check"]);
|
|
@@ -27072,7 +27072,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
27072
27072
|
await installFiles(placedImage(model, directory2), { progress, ...bytes2 ? { bytes: bytes2 } : {} });
|
|
27073
27073
|
}
|
|
27074
27074
|
progress(`${model.id}: loading it once to check it works`);
|
|
27075
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
27075
|
+
const { openPictureEmbedder } = await import("./embedder-G35OKUR5.js");
|
|
27076
27076
|
const embedder = await openPictureEmbedder(model, directory2);
|
|
27077
27077
|
try {
|
|
27078
27078
|
const vector = await embedder.embedQuery("check");
|
|
@@ -27084,7 +27084,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
27084
27084
|
return { model, directory: directory2 };
|
|
27085
27085
|
}, "downloadImageModel");
|
|
27086
27086
|
|
|
27087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/money-words.js
|
|
27088
27088
|
var MONEY_REQUEST = "money-request";
|
|
27089
27089
|
var MONEY_DONE = "money-done";
|
|
27090
27090
|
var PROMISE = "promise";
|
|
@@ -27118,10 +27118,10 @@ var MONEY_WORDS = [
|
|
|
27118
27118
|
}
|
|
27119
27119
|
];
|
|
27120
27120
|
|
|
27121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/money-words.js
|
|
27122
27122
|
var moneyClassesOf = /* @__PURE__ */ __name((text2) => listsHit(text2, MONEY_WORDS), "moneyClassesOf");
|
|
27123
27123
|
|
|
27124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/status-words.js
|
|
27125
27125
|
var words2 = /* @__PURE__ */ __name((forms) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${forms.join("|")})(?![\\p{L}\\p{N}])`, "iu"), "words");
|
|
27126
27126
|
var MONEY_DONE_FORMS = words2([
|
|
27127
27127
|
"\u043E\u043F\u043B\u0430\u0442\u0438\u043B[\u0430\u0438]?",
|
|
@@ -27161,7 +27161,7 @@ var PROMISE_FORMS = words2([
|
|
|
27161
27161
|
"estar\xE1 listo"
|
|
27162
27162
|
]);
|
|
27163
27163
|
|
|
27164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/items.js
|
|
27165
27165
|
var EXCERPT_CHARS = 80;
|
|
27166
27166
|
var excerpt2 = /* @__PURE__ */ __name((text2) => {
|
|
27167
27167
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -27183,7 +27183,7 @@ var whoOf = /* @__PURE__ */ __name((message) => ({
|
|
|
27183
27183
|
var fromOwner = /* @__PURE__ */ __name((message) => message.outgoing === true, "fromOwner");
|
|
27184
27184
|
var day = /* @__PURE__ */ __name((at) => new Date(at).toISOString().slice(0, 10), "day");
|
|
27185
27185
|
|
|
27186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/signals/amounts.js
|
|
27187
27187
|
var MONEY = DEFAULT_TASK_CATEGORIES.filter((category) => category.name === "money");
|
|
27188
27188
|
var verbOf = /* @__PURE__ */ __name((text2) => {
|
|
27189
27189
|
if (MONEY_DONE_FORMS.test(text2))
|
|
@@ -27264,7 +27264,7 @@ var amounts = {
|
|
|
27264
27264
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state === "asked" ? [{ chat: item2.chat, weight: 2, why: "money asked" }] : []), "attention")
|
|
27265
27265
|
};
|
|
27266
27266
|
|
|
27267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/signals/children.js
|
|
27268
27268
|
var children = {
|
|
27269
27269
|
id: "children",
|
|
27270
27270
|
version: 1,
|
|
@@ -27293,7 +27293,7 @@ var children = {
|
|
|
27293
27293
|
}, "read")
|
|
27294
27294
|
};
|
|
27295
27295
|
|
|
27296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/signals/coverage.js
|
|
27297
27297
|
var coverage = {
|
|
27298
27298
|
id: "coverage",
|
|
27299
27299
|
version: 1,
|
|
@@ -27322,7 +27322,7 @@ var coverage = {
|
|
|
27322
27322
|
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")
|
|
27323
27323
|
};
|
|
27324
27324
|
|
|
27325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/signals/payments.js
|
|
27326
27326
|
var holding = /* @__PURE__ */ __name((row) => row.review !== "rejected", "holding");
|
|
27327
27327
|
var item = /* @__PURE__ */ __name((row, at, data) => ({
|
|
27328
27328
|
signal: "payments",
|
|
@@ -27372,7 +27372,7 @@ var payments = {
|
|
|
27372
27372
|
}, "read")
|
|
27373
27373
|
};
|
|
27374
27374
|
|
|
27375
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/signals/promises.js
|
|
27376
27376
|
var PATTERNS_PER_CHAT = 3;
|
|
27377
27377
|
var DAY3 = 864e5;
|
|
27378
27378
|
var KINDS2 = /* @__PURE__ */ new Set(["promise", "request"]);
|
|
@@ -27461,7 +27461,7 @@ var promises = {
|
|
|
27461
27461
|
}, "read")
|
|
27462
27462
|
};
|
|
27463
27463
|
|
|
27464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/signals/questions.js
|
|
27465
27465
|
var PER_SIDE = 5;
|
|
27466
27466
|
var WEEK = 7 * 864e5;
|
|
27467
27467
|
var NOBODY = /* @__PURE__ */ new Set();
|
|
@@ -27492,7 +27492,7 @@ var questions2 = {
|
|
|
27492
27492
|
}, "attention")
|
|
27493
27493
|
};
|
|
27494
27494
|
|
|
27495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/signals/reply-next.js
|
|
27496
27496
|
var targetOf = /* @__PURE__ */ __name((message, chat, owners) => {
|
|
27497
27497
|
const byId2 = /* @__PURE__ */ __name((id2) => chat.messages.find((one2) => one2.id === id2), "byId");
|
|
27498
27498
|
const quoted = message.replyTo ?? (message.replyToId === void 0 ? void 0 : byId2(message.replyToId));
|
|
@@ -27560,7 +27560,7 @@ var replyNext = {
|
|
|
27560
27560
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.next === "owner" ? [{ chat: item2.chat, weight: 2, why: "your move" }] : []), "attention")
|
|
27561
27561
|
};
|
|
27562
27562
|
|
|
27563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/signals/topics.js
|
|
27564
27564
|
var escaped2 = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
27565
27565
|
var wholeWord = /* @__PURE__ */ __name((word) => new RegExp(`(?<![\\p{L}\\p{N}])${escaped2(word)}(?![\\p{L}\\p{N}])`, "u"), "wholeWord");
|
|
27566
27566
|
var matcherOf = /* @__PURE__ */ __name((query) => {
|
|
@@ -27606,7 +27606,7 @@ var topics = {
|
|
|
27606
27606
|
}, "read")
|
|
27607
27607
|
};
|
|
27608
27608
|
|
|
27609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/signals/index.js
|
|
27610
27610
|
var STATUS_SIGNALS = [
|
|
27611
27611
|
replyNext,
|
|
27612
27612
|
questions2,
|
|
@@ -27618,7 +27618,7 @@ var STATUS_SIGNALS = [
|
|
|
27618
27618
|
children
|
|
27619
27619
|
];
|
|
27620
27620
|
|
|
27621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/project-status/index.js
|
|
27622
27622
|
var DAY4 = 864e5;
|
|
27623
27623
|
var STATUS_WINDOW = 300;
|
|
27624
27624
|
var STATUS_CHATS = 16;
|
|
@@ -27807,7 +27807,7 @@ var projectStatus = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
27807
27807
|
};
|
|
27808
27808
|
}, "projectStatus");
|
|
27809
27809
|
|
|
27810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/account.js
|
|
27811
27811
|
var accountService = /* @__PURE__ */ __name((deps) => {
|
|
27812
27812
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
27813
27813
|
if (deps.offline)
|
|
@@ -27879,7 +27879,7 @@ var accountService = /* @__PURE__ */ __name((deps) => {
|
|
|
27879
27879
|
};
|
|
27880
27880
|
}, "accountService");
|
|
27881
27881
|
|
|
27882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/send-time.js
|
|
27883
27883
|
var MINUTE = 6e4;
|
|
27884
27884
|
var YEAR = 365 * 24 * 60 * MINUTE;
|
|
27885
27885
|
var DELAY = /^(\d+)(m|h|d)$/;
|
|
@@ -27898,7 +27898,7 @@ var sendTime = /* @__PURE__ */ __name((value, now = Date.now(), flag = "--at-tim
|
|
|
27898
27898
|
return new Date(at - at % MINUTE).toISOString();
|
|
27899
27899
|
}, "sendTime");
|
|
27900
27900
|
|
|
27901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/admin.js
|
|
27902
27902
|
var recordMembership = /* @__PURE__ */ __name(async (deps, operationId, done2, change, fix, write2) => {
|
|
27903
27903
|
try {
|
|
27904
27904
|
const held = await accountStoreIfOpen(deps);
|
|
@@ -28145,7 +28145,7 @@ var linkLimits = /* @__PURE__ */ __name(({ approval, expires, maxUses }) => {
|
|
|
28145
28145
|
return expires === void 0 ? void 0 : sendTime(expires, Date.now(), "--expire-time");
|
|
28146
28146
|
}, "linkLimits");
|
|
28147
28147
|
|
|
28148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/mail-search.js
|
|
28149
28149
|
var THREADS_PAGE = 500;
|
|
28150
28150
|
var threadsOf = /* @__PURE__ */ __name(async (store, key) => {
|
|
28151
28151
|
const account = await store.accounts.storedAccount(key).catch(() => void 0);
|
|
@@ -28224,7 +28224,7 @@ var readMail = /* @__PURE__ */ __name(async (store, locator, { before: before2 =
|
|
|
28224
28224
|
return thread.slice(Math.max(0, at - before2), at + after + 1).map((hit) => hit.id === message ? { ...hit, anchor: true } : hit);
|
|
28225
28225
|
}, "readMail");
|
|
28226
28226
|
|
|
28227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/search-kind.js
|
|
28228
28228
|
var NO_MAIL = "no_mail";
|
|
28229
28229
|
var MAIL = "email";
|
|
28230
28230
|
var listContextOf = /* @__PURE__ */ __name(async (store, account, app, stored) => {
|
|
@@ -28271,7 +28271,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
|
|
|
28271
28271
|
return chosenMail.map(({ provider, account }) => ({ provider, account }));
|
|
28272
28272
|
}, "accountsOfKind");
|
|
28273
28273
|
|
|
28274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/messages-search.js
|
|
28275
28275
|
var MAIL_FIELDS = /* @__PURE__ */ new Set(["to", "cc", "bcc", "subject", "mailbox", "label", "is"]);
|
|
28276
28276
|
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");
|
|
28277
28277
|
var prepareLucene = /* @__PURE__ */ __name(async (store, account, request, messenger) => {
|
|
@@ -28619,7 +28619,7 @@ var statsLucene = /* @__PURE__ */ __name(async (store, account, request, messeng
|
|
|
28619
28619
|
};
|
|
28620
28620
|
}, "statsLucene");
|
|
28621
28621
|
|
|
28622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/rankings-selection.js
|
|
28623
28623
|
var RANKING_SELECTION_BYTES = 64 * 1024;
|
|
28624
28624
|
var object2 = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0, "object");
|
|
28625
28625
|
function invalid(message = "ranking selection is invalid \u2014 obtain a new drilldown from stats top") {
|
|
@@ -28788,7 +28788,7 @@ var readRankingSelection = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
28788
28788
|
};
|
|
28789
28789
|
}, "readRankingSelection");
|
|
28790
28790
|
|
|
28791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/search-record.js
|
|
28792
28792
|
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");
|
|
28793
28793
|
var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
28794
28794
|
command,
|
|
@@ -28798,7 +28798,7 @@ var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
|
28798
28798
|
fieldsVersion: FIELD_VERSION
|
|
28799
28799
|
}), "searchRecordOf");
|
|
28800
28800
|
|
|
28801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/admin-statistics.js
|
|
28802
28802
|
function invalid2(message) {
|
|
28803
28803
|
throw new CliError("validation_error", message);
|
|
28804
28804
|
}
|
|
@@ -29092,7 +29092,7 @@ var adminStatisticsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
29092
29092
|
}, "evidence")
|
|
29093
29093
|
}), "adminStatisticsService");
|
|
29094
29094
|
|
|
29095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29095
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/archive-gaps.js
|
|
29096
29096
|
import { createHash as createHash7, randomUUID as randomUUID4 } from "node:crypto";
|
|
29097
29097
|
var GAP_BOUNDS = { maxGaps: 5, limit: 500, timeMs: 3e4 };
|
|
29098
29098
|
var validateRepair = /* @__PURE__ */ __name((messenger, options) => {
|
|
@@ -29229,16 +29229,16 @@ var gapsService = /* @__PURE__ */ __name((deps) => {
|
|
|
29229
29229
|
return { plan, repair };
|
|
29230
29230
|
}, "gapsService");
|
|
29231
29231
|
|
|
29232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
29233
29233
|
import { createHash as createHash9 } from "node:crypto";
|
|
29234
29234
|
import { constants as constants2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
29235
29235
|
import { lstat as lstat4, open as open6, readFile, stat as stat2 } from "node:fs/promises";
|
|
29236
29236
|
|
|
29237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
29238
29238
|
import { lstat as lstat2, readdir as readdir2, realpath as realpath3 } from "node:fs/promises";
|
|
29239
29239
|
import { basename as basename4, join as join8, relative as relative2, sep as sep2 } from "node:path";
|
|
29240
29240
|
|
|
29241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/upload.js
|
|
29242
29242
|
import { openAsBlob, realpathSync } from "node:fs";
|
|
29243
29243
|
import { open as open4, stat } from "node:fs/promises";
|
|
29244
29244
|
import { basename as basename3, dirname as dirname3, extname, isAbsolute as isAbsolute2, relative, resolve as resolve5, sep } from "node:path";
|
|
@@ -29440,7 +29440,7 @@ var readStickerFile = /* @__PURE__ */ __name(async (path, maxBytes, read2) => {
|
|
|
29440
29440
|
return { name, source };
|
|
29441
29441
|
}, "readStickerFile");
|
|
29442
29442
|
|
|
29443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
29444
29444
|
var MAX_FILES = 1e4;
|
|
29445
29445
|
var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app, env) => {
|
|
29446
29446
|
if (refusedPlace(directory2, app, env))
|
|
@@ -29509,15 +29509,15 @@ var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app,
|
|
|
29509
29509
|
return choices;
|
|
29510
29510
|
}, "directoryPaths");
|
|
29511
29511
|
|
|
29512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
29513
29513
|
import { posix } from "node:path";
|
|
29514
29514
|
|
|
29515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
29516
29516
|
import { setImmediate as tick } from "node:timers/promises";
|
|
29517
29517
|
import { crc32 } from "node:zlib";
|
|
29518
29518
|
var import_xmldom = __toESM(require_lib(), 1);
|
|
29519
29519
|
|
|
29520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
|
|
29521
29521
|
var import_chardet = __toESM(require_lib2(), 1);
|
|
29522
29522
|
var import_iconv_lite = __toESM(require_lib3(), 1);
|
|
29523
29523
|
var SAMPLE = 65536;
|
|
@@ -29619,7 +29619,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes2) => {
|
|
|
29619
29619
|
return result.text;
|
|
29620
29620
|
}, "decodeXml");
|
|
29621
29621
|
|
|
29622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
29623
29623
|
var MAX_PART = 10 * 1024 * 1024;
|
|
29624
29624
|
var MAX_ENTRIES = 1e3;
|
|
29625
29625
|
var decoder = new TextDecoder("utf-8", { fatal: true });
|
|
@@ -29834,7 +29834,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
|
|
|
29834
29834
|
return found;
|
|
29835
29835
|
}, "elements");
|
|
29836
29836
|
|
|
29837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
|
|
29838
29838
|
var columnName = /* @__PURE__ */ __name((column) => {
|
|
29839
29839
|
let name = "";
|
|
29840
29840
|
for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
|
|
@@ -29889,7 +29889,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
|
|
|
29889
29889
|
return { text: parts.join("").trim(), truncated: false };
|
|
29890
29890
|
}, "sheetText");
|
|
29891
29891
|
|
|
29892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
29893
29893
|
var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
29894
29894
|
var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
29895
29895
|
var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
@@ -30289,10 +30289,10 @@ var readDocument = /* @__PURE__ */ __name(async (bytes2, kind, signal) => {
|
|
|
30289
30289
|
}
|
|
30290
30290
|
}, "readDocument");
|
|
30291
30291
|
|
|
30292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
30293
30293
|
import { extname as extname3 } from "node:path";
|
|
30294
30294
|
|
|
30295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/engine.js
|
|
30296
30296
|
import { readFileSync } from "node:fs";
|
|
30297
30297
|
import { dirname as dirname4, extname as extname2, join as join9 } from "node:path";
|
|
30298
30298
|
import { fileURLToPath } from "node:url";
|
|
@@ -30353,7 +30353,7 @@ var derived = /* @__PURE__ */ __name((bytes2, extractor, read2) => {
|
|
|
30353
30353
|
}
|
|
30354
30354
|
}, "derived");
|
|
30355
30355
|
|
|
30356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30356
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/image/index.js
|
|
30357
30357
|
var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
|
|
30358
30358
|
var image2 = {
|
|
30359
30359
|
id: "image",
|
|
@@ -30362,7 +30362,7 @@ var image2 = {
|
|
|
30362
30362
|
read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
|
|
30363
30363
|
};
|
|
30364
30364
|
|
|
30365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
|
|
30366
30366
|
var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
|
|
30367
30367
|
var doc = {
|
|
30368
30368
|
id: "doc",
|
|
@@ -30374,7 +30374,7 @@ var doc = {
|
|
|
30374
30374
|
}), "read")
|
|
30375
30375
|
};
|
|
30376
30376
|
|
|
30377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
|
|
30378
30378
|
var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
30379
30379
|
var docx = {
|
|
30380
30380
|
id: "docx",
|
|
@@ -30387,7 +30387,7 @@ var docx = {
|
|
|
30387
30387
|
}), "read")
|
|
30388
30388
|
};
|
|
30389
30389
|
|
|
30390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/markup.js
|
|
30391
30391
|
var import_iconv_lite2 = __toESM(require_lib3(), 1);
|
|
30392
30392
|
var RTF_SKIPPED = /* @__PURE__ */ new Set([
|
|
30393
30393
|
"fonttbl",
|
|
@@ -30563,7 +30563,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
|
|
|
30563
30563
|
}, "htmlText");
|
|
30564
30564
|
var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
|
|
30565
30565
|
|
|
30566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/html/page.js
|
|
30567
30567
|
var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
|
|
30568
30568
|
var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
|
|
30569
30569
|
var jsonLdNodes = /* @__PURE__ */ __name((document) => {
|
|
@@ -30619,7 +30619,7 @@ var markdownSections = /* @__PURE__ */ __name((text2) => {
|
|
|
30619
30619
|
return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text2.length }));
|
|
30620
30620
|
}, "markdownSections");
|
|
30621
30621
|
|
|
30622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/html/index.js
|
|
30623
30623
|
var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
|
|
30624
30624
|
var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
|
|
30625
30625
|
var loaded = /* @__PURE__ */ __name(async (load, name) => {
|
|
@@ -30690,7 +30690,7 @@ var html = {
|
|
|
30690
30690
|
}, "read")
|
|
30691
30691
|
};
|
|
30692
30692
|
|
|
30693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/office/index.js
|
|
30694
30694
|
var office = {
|
|
30695
30695
|
id: "office",
|
|
30696
30696
|
version: documentExtractor("odt"),
|
|
@@ -30701,7 +30701,7 @@ var office = {
|
|
|
30701
30701
|
}, "read")
|
|
30702
30702
|
};
|
|
30703
30703
|
|
|
30704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
|
|
30705
30705
|
var pdf = {
|
|
30706
30706
|
id: "pdf",
|
|
30707
30707
|
version: "unpdf",
|
|
@@ -30768,7 +30768,7 @@ var pdf = {
|
|
|
30768
30768
|
}), "read")
|
|
30769
30769
|
};
|
|
30770
30770
|
|
|
30771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
|
|
30772
30772
|
var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
|
|
30773
30773
|
var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
|
|
30774
30774
|
var readPlain = /* @__PURE__ */ __name((bytes2) => {
|
|
@@ -30788,7 +30788,7 @@ var plain = {
|
|
|
30788
30788
|
read: /* @__PURE__ */ __name(async (bytes2) => readPlain(bytes2), "read")
|
|
30789
30789
|
};
|
|
30790
30790
|
|
|
30791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
|
|
30792
30792
|
var rtf = {
|
|
30793
30793
|
id: "rtf",
|
|
30794
30794
|
version: "v1",
|
|
@@ -30796,10 +30796,10 @@ var rtf = {
|
|
|
30796
30796
|
read: /* @__PURE__ */ __name(async (bytes2) => derived(bytes2, "rtf:v1", rtfText), "read")
|
|
30797
30797
|
};
|
|
30798
30798
|
|
|
30799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
30800
30800
|
import { basename as basename5 } from "node:path";
|
|
30801
30801
|
|
|
30802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
|
|
30803
30803
|
var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) => {
|
|
30804
30804
|
const cells = [];
|
|
30805
30805
|
let row = 1, column = 1, start = 0, quoted = false, truncated = false;
|
|
@@ -30837,7 +30837,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) =
|
|
|
30837
30837
|
return { cells, truncated };
|
|
30838
30838
|
}, "delimitedSpans");
|
|
30839
30839
|
|
|
30840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
30841
30841
|
var DELIMITED = {
|
|
30842
30842
|
".csv": ",",
|
|
30843
30843
|
".tsv": " ",
|
|
@@ -30876,7 +30876,7 @@ var sheets = {
|
|
|
30876
30876
|
}, "read")
|
|
30877
30877
|
};
|
|
30878
30878
|
|
|
30879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/readers/registry.js
|
|
30880
30880
|
var BUILT_INS2 = [office, pdf, docx, doc, rtf, html, sheets, plain, image2];
|
|
30881
30881
|
var HEAD_BYTES = 1024;
|
|
30882
30882
|
var readers = [...BUILT_INS2];
|
|
@@ -30886,7 +30886,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes2, hint, context2) =>
|
|
|
30886
30886
|
return reader ? reader.read(bytes2, hint, context2) : { status: "unsupported" };
|
|
30887
30887
|
}, "readWithRegistry");
|
|
30888
30888
|
|
|
30889
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30889
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
30890
30890
|
var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
|
|
30891
30891
|
var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname3(name ?? path).toLowerCase(), "extensionOf");
|
|
30892
30892
|
var extractText = /* @__PURE__ */ __name(async (bytes2, hint, load, signal, env = process.env) => {
|
|
@@ -31965,7 +31965,7 @@ function imageSize(input) {
|
|
|
31965
31965
|
}
|
|
31966
31966
|
__name(imageSize, "imageSize");
|
|
31967
31967
|
|
|
31968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
|
|
31969
31969
|
var MAX_PAGES = 20;
|
|
31970
31970
|
var MAX_PIXELS = 2e7;
|
|
31971
31971
|
var cancelled2 = /* @__PURE__ */ __name((signal) => {
|
|
@@ -32116,7 +32116,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes2, pipeline2, load, signal) => {
|
|
|
32116
32116
|
}
|
|
32117
32117
|
}, "ocrPdf");
|
|
32118
32118
|
|
|
32119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/pdf-preview.js
|
|
32120
32120
|
var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = importEngine, env = process.env) => {
|
|
32121
32121
|
const limits = pdfPreviewLimits(env);
|
|
32122
32122
|
const cancelled4 = /* @__PURE__ */ __name(() => {
|
|
@@ -32193,7 +32193,7 @@ var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = impo
|
|
|
32193
32193
|
}
|
|
32194
32194
|
}, "pdfPreview");
|
|
32195
32195
|
|
|
32196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/attachments/transfer.js
|
|
32197
32197
|
import { createHash as createHash8 } from "node:crypto";
|
|
32198
32198
|
import { constants } from "node:fs";
|
|
32199
32199
|
import { lstat as lstat3, open as open5 } from "node:fs/promises";
|
|
@@ -32301,7 +32301,7 @@ var transferMime = /* @__PURE__ */ __name((head, hint, name = null) => {
|
|
|
32301
32301
|
return hint !== null && /^[a-z0-9.+-]+\/[a-z0-9.+-]+$/i.test(hint) ? hint : "application/octet-stream";
|
|
32302
32302
|
}, "transferMime");
|
|
32303
32303
|
|
|
32304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
32305
32305
|
import { createWriteStream, mkdirSync } from "node:fs";
|
|
32306
32306
|
import { link as link3, rm } from "node:fs/promises";
|
|
32307
32307
|
import { join as join10, resolve as resolve6 } from "node:path";
|
|
@@ -32415,7 +32415,7 @@ var save = /* @__PURE__ */ __name(async (file2, directory2, fallbackName, { uniq
|
|
|
32415
32415
|
}
|
|
32416
32416
|
}, "save");
|
|
32417
32417
|
|
|
32418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
32419
32419
|
var ATTACHMENT_QUERY = {
|
|
32420
32420
|
entity: "attachment",
|
|
32421
32421
|
backend: "sql",
|
|
@@ -32838,7 +32838,7 @@ var attachmentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
32838
32838
|
}, "setText")
|
|
32839
32839
|
}), "attachmentsService");
|
|
32840
32840
|
|
|
32841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/chat-documents.js
|
|
32842
32842
|
var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
32843
32843
|
list: /* @__PURE__ */ __name(async (chat, { limit, offset, ref }) => {
|
|
32844
32844
|
const store = await accountStore(deps);
|
|
@@ -32868,7 +32868,7 @@ var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
32868
32868
|
}, "list")
|
|
32869
32869
|
}), "chatDocumentsService");
|
|
32870
32870
|
|
|
32871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/retention.js
|
|
32872
32872
|
var observationDuration = /* @__PURE__ */ __name((text2, flag) => {
|
|
32873
32873
|
const match = /^(\d+(?:\.\d+)?)([smhdw])$/.exec(text2);
|
|
32874
32874
|
const units2 = { s: 1e3, m: 6e4, h: 36e5, d: 864e5, w: 6048e5 };
|
|
@@ -32955,7 +32955,7 @@ var isRetentionSelection = /* @__PURE__ */ __name((selection) => {
|
|
|
32955
32955
|
}
|
|
32956
32956
|
}, "isRetentionSelection");
|
|
32957
32957
|
|
|
32958
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/counters.js
|
|
32959
32959
|
var counterFields = /* @__PURE__ */ __name((text2 = "views,reactions,comments") => {
|
|
32960
32960
|
const fields = text2.split(",").map((one2) => one2.trim());
|
|
32961
32961
|
if (!fields.length || fields.some((one2) => !COUNTER_FIELDS.includes(one2)) || new Set(fields).size !== fields.length)
|
|
@@ -33162,7 +33162,7 @@ var countersService = /* @__PURE__ */ __name((deps) => {
|
|
|
33162
33162
|
};
|
|
33163
33163
|
}, "countersService");
|
|
33164
33164
|
|
|
33165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/search-refresh.js
|
|
33166
33166
|
var SYNC_KEY = "messages.sync-first";
|
|
33167
33167
|
var SYNC_BOUNDS = { maxChats: 5, timeMs: 3e4, maxMessages: 500 };
|
|
33168
33168
|
var keyOf2 = /* @__PURE__ */ __name((chat) => JSON.stringify([chat.account.provider, chat.account.account, chat.chatId]), "keyOf");
|
|
@@ -33294,7 +33294,7 @@ var withRefresh = /* @__PURE__ */ __name((found, refreshed) => ({
|
|
|
33294
33294
|
...!refreshed || refreshed.complete ? {} : { coverage: { ...found.coverage, state: "stale" } }
|
|
33295
33295
|
}), "withRefresh");
|
|
33296
33296
|
|
|
33297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/embeddings-search.js
|
|
33298
33298
|
var CANDIDATES = 50;
|
|
33299
33299
|
var WORD_HITS = 200;
|
|
33300
33300
|
var RRF_K = 60;
|
|
@@ -33569,13 +33569,13 @@ var meanOf = /* @__PURE__ */ __name((vectors) => {
|
|
|
33569
33569
|
return mean2.map((value) => value / length);
|
|
33570
33570
|
}, "meanOf");
|
|
33571
33571
|
|
|
33572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/embeddings.js
|
|
33573
33573
|
var embeddingsService = /* @__PURE__ */ __name((deps) => ({
|
|
33574
33574
|
...embeddingsMaintenance(deps),
|
|
33575
33575
|
...embeddingsSearch(deps)
|
|
33576
33576
|
}), "embeddingsService");
|
|
33577
33577
|
|
|
33578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/folders.js
|
|
33579
33579
|
var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
33580
33580
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
33581
33581
|
if (deps.offline)
|
|
@@ -33716,7 +33716,7 @@ var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
|
33716
33716
|
};
|
|
33717
33717
|
}, "foldersService");
|
|
33718
33718
|
|
|
33719
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33719
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/mentions.js
|
|
33720
33720
|
var REVIEW_COUNT = 500;
|
|
33721
33721
|
var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
33722
33722
|
const located = /* @__PURE__ */ __name(async () => {
|
|
@@ -33795,7 +33795,7 @@ var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
|
33795
33795
|
};
|
|
33796
33796
|
}, "mentionsService");
|
|
33797
33797
|
|
|
33798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
33799
33799
|
var invalid3 = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
33800
33800
|
var validateFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
33801
33801
|
const { text: text2, spans } = formatted2;
|
|
@@ -33855,7 +33855,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
|
33855
33855
|
};
|
|
33856
33856
|
}, "visibleFormattedText");
|
|
33857
33857
|
|
|
33858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/message-link.js
|
|
33859
33859
|
var fileLinks = /* @__PURE__ */ __name((attachments) => hitFiles(attachments).map(({ position, kind, name }) => ({
|
|
33860
33860
|
position,
|
|
33861
33861
|
kind,
|
|
@@ -33904,7 +33904,7 @@ var validatePermalink = /* @__PURE__ */ __name((link4) => {
|
|
|
33904
33904
|
return { url: link4.url, access: link4.access, reason: link4.reason };
|
|
33905
33905
|
}, "validatePermalink");
|
|
33906
33906
|
|
|
33907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/pin-duration.js
|
|
33908
33908
|
var spokenSeconds = /* @__PURE__ */ __name((seconds) => {
|
|
33909
33909
|
if (seconds % 86400 === 0 && seconds > 86400)
|
|
33910
33910
|
return `${seconds / 86400}d`;
|
|
@@ -33936,7 +33936,7 @@ var pinDurationOf = /* @__PURE__ */ __name((value, allowed, flag = "--expire-tim
|
|
|
33936
33936
|
return seconds;
|
|
33937
33937
|
}, "pinDurationOf");
|
|
33938
33938
|
|
|
33939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/send-as.js
|
|
33940
33940
|
var sendAsCheck = /* @__PURE__ */ __name((connection, sendAs) => {
|
|
33941
33941
|
if (sendAs === void 0) {
|
|
33942
33942
|
const saved = connection.savedSender?.bind(connection);
|
|
@@ -33961,7 +33961,7 @@ var typedSendAs = /* @__PURE__ */ __name((typed) => {
|
|
|
33961
33961
|
return sendAs;
|
|
33962
33962
|
}, "typedSendAs");
|
|
33963
33963
|
|
|
33964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/search/total.js
|
|
33965
33965
|
var TOTAL_CAP = 1e4;
|
|
33966
33966
|
var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
33967
33967
|
const least = shown + (hasMore ? 1 : 0);
|
|
@@ -33972,7 +33972,7 @@ var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
|
33972
33972
|
return { value: count4, relation: exact ? "eq" : "gte" };
|
|
33973
33973
|
}, "totalOf");
|
|
33974
33974
|
|
|
33975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
|
|
33976
33976
|
var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
|
|
33977
33977
|
var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
|
|
33978
33978
|
let narrows = false;
|
|
@@ -34001,7 +34001,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
|
|
|
34001
34001
|
return wanted(root).join(" ").trim();
|
|
34002
34002
|
}, "meaningWords");
|
|
34003
34003
|
|
|
34004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
34005
34005
|
var words3 = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
34006
34006
|
var scaffolding = new Set(words3("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"));
|
|
34007
34007
|
var questionWord = /\b(?:what|which|how|who|where|when|can|could|should)\b|(?:^|\s)(?:сколько|какой|какая|какие|какое|кто|кому|кем|где|когда|как|что|можно|может|могут|ли)(?:\s|$)/iu;
|
|
@@ -34134,7 +34134,7 @@ var questionLookup = /* @__PURE__ */ __name((text2) => {
|
|
|
34134
34134
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
34135
34135
|
}, "questionLookup");
|
|
34136
34136
|
|
|
34137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/messages-combined.js
|
|
34138
34138
|
var COMBINED_DEFAULTS = { candidateDepth: 300, rrfK: 60, rerank: "all", chatCap: 0 };
|
|
34139
34139
|
var tokensOf = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}\p{Co}\p{M}]+/gu) ?? [], "tokensOf");
|
|
34140
34140
|
var searchCombined = /* @__PURE__ */ __name(async (store, account, request, messenger = {}, options = COMBINED_DEFAULTS) => {
|
|
@@ -34327,7 +34327,7 @@ var signals = /* @__PURE__ */ __name((hit, terms, corrections, execution, mode,
|
|
|
34327
34327
|
return mode === "coverage" ? coverage2 * 4 : mode === "proximity" ? proximity : mode === "phrase" ? phrase : coverage2 * 4 + proximity + phrase;
|
|
34328
34328
|
}, "signals");
|
|
34329
34329
|
|
|
34330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/messages-discovery.js
|
|
34331
34331
|
var MEANING_DEPTH = 100;
|
|
34332
34332
|
var RRF_K2 = 60;
|
|
34333
34333
|
var RERANK_DEPTH = 50;
|
|
@@ -34652,7 +34652,7 @@ var mixedWithReranker = /* @__PURE__ */ __name((head, scores) => {
|
|
|
34652
34652
|
})).sort((a, b) => b.mixed - a.mixed).map(({ hit }) => hit);
|
|
34653
34653
|
}, "mixedWithReranker");
|
|
34654
34654
|
|
|
34655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/thread-context.js
|
|
34656
34656
|
var THREAD_BOUNDS = { maxHops: 8, maxMessages: 50, maxBytes: 65536, withinMs: 864e5 };
|
|
34657
34657
|
var bytes = /* @__PURE__ */ __name((items, links) => Buffer.byteLength(JSON.stringify({ items, links }), "utf8"), "bytes");
|
|
34658
34658
|
var threadBounds = /* @__PURE__ */ __name((options = {}) => {
|
|
@@ -34851,7 +34851,7 @@ var readThreadContext = /* @__PURE__ */ __name(async (store, account, chat, mess
|
|
|
34851
34851
|
return result;
|
|
34852
34852
|
}, "readThreadContext");
|
|
34853
34853
|
|
|
34854
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/messages-archive-search.js
|
|
34855
34855
|
var SEARCH_FILL_MS = 200;
|
|
34856
34856
|
var statsStore = /* @__PURE__ */ __name(async (store, account, request, messenger = {}) => {
|
|
34857
34857
|
const stop = Date.now() + SEARCH_FILL_MS;
|
|
@@ -34920,12 +34920,12 @@ var accountOf2 = /* @__PURE__ */ __name((hit) => {
|
|
|
34920
34920
|
}, "accountOf");
|
|
34921
34921
|
var keyOf3 = /* @__PURE__ */ __name(({ provider, account }) => `${provider}/${account}`, "keyOf");
|
|
34922
34922
|
|
|
34923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
34924
34924
|
import { createHash as createHash10 } from "node:crypto";
|
|
34925
34925
|
import { readFile as readFile2, stat as stat3 } from "node:fs/promises";
|
|
34926
34926
|
import { setTimeout as sleep4 } from "node:timers/promises";
|
|
34927
34927
|
|
|
34928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/models.js
|
|
34929
34929
|
var GROUP_SETTINGS = [
|
|
34930
34930
|
"allCanPin",
|
|
34931
34931
|
"onlyAdminsAdd",
|
|
@@ -34939,7 +34939,7 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
|
|
|
34939
34939
|
var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
|
|
34940
34940
|
var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
|
|
34941
34941
|
|
|
34942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
34943
34943
|
var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
|
|
34944
34944
|
var PICTURE_FLOOR = 0.25;
|
|
34945
34945
|
var PAGE4 = 50;
|
|
@@ -34956,7 +34956,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
|
|
|
34956
34956
|
const directory2 = imageModelsDirectory(deps.env);
|
|
34957
34957
|
if (!isImageModelInstalled(model2, directory2))
|
|
34958
34958
|
throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
|
|
34959
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
34959
|
+
const { openPictureEmbedder } = await import("./embedder-G35OKUR5.js");
|
|
34960
34960
|
return openPictureEmbedder(model2, directory2);
|
|
34961
34961
|
}, "open");
|
|
34962
34962
|
const embedder = /* @__PURE__ */ __name(() => {
|
|
@@ -35153,7 +35153,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
|
|
|
35153
35153
|
}, "search")
|
|
35154
35154
|
}), "withPictures");
|
|
35155
35155
|
|
|
35156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/messages-meaning.js
|
|
35157
35157
|
var meaningText = /* @__PURE__ */ __name((question) => {
|
|
35158
35158
|
try {
|
|
35159
35159
|
const text2 = questionLookup(question) === void 0 ? question : questionText(question);
|
|
@@ -35233,7 +35233,7 @@ var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, sh
|
|
|
35233
35233
|
}
|
|
35234
35234
|
}, "meaningLane");
|
|
35235
35235
|
|
|
35236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/messages-rerank.js
|
|
35237
35237
|
var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
35238
35238
|
const choice = deps.reranker ?? DEFAULT_RERANK_MODEL;
|
|
35239
35239
|
if (choice === "off")
|
|
@@ -35245,9 +35245,9 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
35245
35245
|
return { skipped: { reason: `${model.id} is not downloaded`, step: "models.download", model: model.id } };
|
|
35246
35246
|
try {
|
|
35247
35247
|
const warm = deps.embedders;
|
|
35248
|
-
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-
|
|
35248
|
+
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-Z7OS65OQ.js")).openRerankerProcess(model, directory2, {
|
|
35249
35249
|
threads: defaultThreads()
|
|
35250
|
-
})) : await (await import("./rerank-
|
|
35250
|
+
})) : await (await import("./rerank-LKRFHRN6.js")).openReranker(model, directory2);
|
|
35251
35251
|
return {
|
|
35252
35252
|
model: model.id,
|
|
35253
35253
|
score: /* @__PURE__ */ __name((question, passages) => reranker.score(plainWords(question), passages), "score"),
|
|
@@ -35267,17 +35267,17 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
35267
35267
|
};
|
|
35268
35268
|
}, "rerankLane");
|
|
35269
35269
|
|
|
35270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35270
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
|
|
35271
35271
|
var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
|
|
35272
35272
|
const model = imageModel(DEFAULT_IMAGE_MODEL);
|
|
35273
35273
|
const directory2 = imageModelsDirectory(env);
|
|
35274
35274
|
if (!isImageModelInstalled(model, directory2))
|
|
35275
35275
|
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 });
|
|
35276
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
35276
|
+
const { openPictureEmbedder } = await import("./embedder-G35OKUR5.js");
|
|
35277
35277
|
return openPictureEmbedder(model, directory2);
|
|
35278
35278
|
}, "openPictureEmbedderFor");
|
|
35279
35279
|
|
|
35280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/document-source.js
|
|
35281
35281
|
var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) => {
|
|
35282
35282
|
const metadata = note2.frontMatter;
|
|
35283
35283
|
const account = accounts.find(({ id: id2 }) => String(id2) === note2.folderId);
|
|
@@ -35292,7 +35292,7 @@ var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) =
|
|
|
35292
35292
|
};
|
|
35293
35293
|
}, "documentSource");
|
|
35294
35294
|
|
|
35295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
|
|
35296
35296
|
var plainQueryWords = /* @__PURE__ */ __name((query) => {
|
|
35297
35297
|
let root;
|
|
35298
35298
|
try {
|
|
@@ -35319,7 +35319,7 @@ var titleTiers = /* @__PURE__ */ __name((hits, words4) => {
|
|
|
35319
35319
|
return [...hits].sort((a, b) => rank(a) - rank(b));
|
|
35320
35320
|
}, "titleTiers");
|
|
35321
35321
|
|
|
35322
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/notes-search.js
|
|
35323
35323
|
var storeQuery = /* @__PURE__ */ __name(async (store, text2, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text2, exact), timezone), "storeQuery");
|
|
35324
35324
|
var parsedQuery = /* @__PURE__ */ __name((text2, exact) => validateFields(parseLucene(text2, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
|
|
35325
35325
|
var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
|
|
@@ -35767,7 +35767,7 @@ var searchNotesOf = /* @__PURE__ */ __name(async (store, account, text2, { accou
|
|
|
35767
35767
|
};
|
|
35768
35768
|
}, "searchNotesOf");
|
|
35769
35769
|
|
|
35770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/events-search.js
|
|
35771
35771
|
var MAX_EVENTS_OFFSET = 1e3;
|
|
35772
35772
|
var iso3 = /* @__PURE__ */ __name((at) => at === null ? null : new Date(at).toISOString(), "iso");
|
|
35773
35773
|
var accountIdsOf = /* @__PURE__ */ __name(async (store, accounts) => {
|
|
@@ -35885,7 +35885,7 @@ var searchEvents = /* @__PURE__ */ __name(async (store, query, { limit = 20, off
|
|
|
35885
35885
|
};
|
|
35886
35886
|
}, "searchEvents");
|
|
35887
35887
|
|
|
35888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/search-all-business.js
|
|
35889
35889
|
var OWN_BUSINESS = { provider: "business", account: INTERNAL_NOTES };
|
|
35890
35890
|
var BUSINESS_WORDS_ONLY = "invoices, payments, orders, contracts, subscriptions, products and wallets are found by the words of their numbers and names only";
|
|
35891
35891
|
var placeOf = /* @__PURE__ */ __name(({ source, imported }) => source ?? (imported === void 0 ? OWN_BUSINESS : { provider: imported, account: "" }), "placeOf");
|
|
@@ -35916,7 +35916,7 @@ var searchBusiness = /* @__PURE__ */ __name(async (store, { words: words4, anyWo
|
|
|
35916
35916
|
};
|
|
35917
35917
|
}, "searchBusiness");
|
|
35918
35918
|
|
|
35919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/search-all.js
|
|
35920
35920
|
var RESOURCES_SEARCHED = ["messages", "mail", "notes", "events", "crm", "business"];
|
|
35921
35921
|
var refusal = /* @__PURE__ */ __name((error, text2) => {
|
|
35922
35922
|
const { reason, span } = error.details ?? {};
|
|
@@ -36210,18 +36210,20 @@ var searchAll = /* @__PURE__ */ __name(async (store, account, asked, messenger =
|
|
|
36210
36210
|
}, "searchAll");
|
|
36211
36211
|
var oneList = /* @__PURE__ */ __name((lists, cosines) => {
|
|
36212
36212
|
const place = /* @__PURE__ */ new Map();
|
|
36213
|
-
for (const list3 of lists)
|
|
36213
|
+
for (const list3 of lists) {
|
|
36214
|
+
let above = Number.NEGATIVE_INFINITY;
|
|
36214
36215
|
list3.forEach((item2, rank) => {
|
|
36216
|
+
above = cosines.get(item2.ref) ?? above;
|
|
36215
36217
|
const held = place.get(item2.ref);
|
|
36216
36218
|
if (!held || rank < held.rank)
|
|
36217
|
-
place.set(item2.ref, { item: item2, rank });
|
|
36219
|
+
place.set(item2.ref, { item: item2, rank, cosine: above });
|
|
36218
36220
|
});
|
|
36219
|
-
|
|
36221
|
+
}
|
|
36220
36222
|
const head = /* @__PURE__ */ __name((rank) => Math.min(rank, 1), "head");
|
|
36221
|
-
return [...place.values()].sort((a, b) => head(a.rank) - head(b.rank) ||
|
|
36223
|
+
return [...place.values()].sort((a, b) => head(a.rank) - head(b.rank) || b.cosine - a.cosine || a.rank - b.rank).map(({ item: item2 }) => item2);
|
|
36222
36224
|
}, "oneList");
|
|
36223
36225
|
|
|
36224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/search-all-meetings.js
|
|
36225
36227
|
var RESOURCES_SEARCHED_WITH_MEETINGS = [...RESOURCES_SEARCHED, "meetings"];
|
|
36226
36228
|
var whole2 = /* @__PURE__ */ __name((value, minimum, maximum, label) => {
|
|
36227
36229
|
if (!Number.isSafeInteger(value) || value < minimum || value > maximum)
|
|
@@ -36479,7 +36481,7 @@ var searchAllOfSource = /* @__PURE__ */ __name(async (store, account, source, re
|
|
|
36479
36481
|
return { ...found, skipped: [...skipped, ...empty2, ...unnamed, ...found.skipped] };
|
|
36480
36482
|
}, "searchAllOfSource");
|
|
36481
36483
|
|
|
36482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/server-search.js
|
|
36483
36485
|
var SERVER_SEARCH_KEY = "messages.server-search";
|
|
36484
36486
|
var SERVER_BOUNDS = { timeMs: 5e3, perCall: 100, maxCalls: 3, textBytes: 262144 };
|
|
36485
36487
|
var DEFAULT_BACKEND = "both";
|
|
@@ -36668,7 +36670,7 @@ var searchServer = /* @__PURE__ */ __name(async (deps, request) => {
|
|
|
36668
36670
|
return { report, sources };
|
|
36669
36671
|
}, "searchServer");
|
|
36670
36672
|
|
|
36671
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/messages.js
|
|
36672
36674
|
var DELETE_AT_ONCE = 10;
|
|
36673
36675
|
var filesOf = /* @__PURE__ */ __name(({ attachments }) => {
|
|
36674
36676
|
const files = fileLinks(attachments);
|
|
@@ -37109,7 +37111,7 @@ var checkMediaOptions = /* @__PURE__ */ __name((messenger, asked, attachments) =
|
|
|
37109
37111
|
throw new CliError("validation_error", `${MEDIA_FLAGS[first2]} needs a --photo or --file`);
|
|
37110
37112
|
}, "checkMediaOptions");
|
|
37111
37113
|
|
|
37112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/domain/channel-tags.js
|
|
37113
37115
|
var CHANNEL_TAG_RULES_VERSION = "keywords-v1";
|
|
37114
37116
|
var RULES = {
|
|
37115
37117
|
ai: [/\b(ai|gpt|llm|machine learning|artificial intelligence)\b/iu, /нейросет|искусственн/iu],
|
|
@@ -37124,7 +37126,7 @@ var classifyChannel = /* @__PURE__ */ __name((metadata) => Object.entries(RULES)
|
|
|
37124
37126
|
return fields.length ? [{ tag, score: fields.length / 3, fields }] : [];
|
|
37125
37127
|
}), "classifyChannel");
|
|
37126
37128
|
|
|
37127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/metadata.js
|
|
37128
37130
|
var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
37129
37131
|
const held = /* @__PURE__ */ __name(async (reference, { includeLeft = false } = {}) => {
|
|
37130
37132
|
const store = await deps.store();
|
|
@@ -37210,7 +37212,7 @@ var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
|
37210
37212
|
};
|
|
37211
37213
|
}, "metadataService");
|
|
37212
37214
|
|
|
37213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
37214
37216
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
37215
37217
|
var LINK2 = /https?:\/\/\S+/i;
|
|
37216
37218
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -37398,7 +37400,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
37398
37400
|
}, "nextPoint");
|
|
37399
37401
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
37400
37402
|
|
|
37401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
37402
37404
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
37403
37405
|
import { join as join11 } from "node:path";
|
|
37404
37406
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -37541,7 +37543,7 @@ var assign = /* @__PURE__ */ __name((rules, key, value) => {
|
|
|
37541
37543
|
return { ...rules, [head]: { ...rules[head], [tail]: value } };
|
|
37542
37544
|
}, "assign");
|
|
37543
37545
|
|
|
37544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/moderation/run.js
|
|
37545
37547
|
var FIRST_LOOK_MS = 24 * 36e5;
|
|
37546
37548
|
var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
37547
37549
|
const { chatId, title, rules, point, since, dryRun } = run;
|
|
@@ -37578,7 +37580,7 @@ var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
|
37578
37580
|
return { chatId, rows, notes };
|
|
37579
37581
|
}, "moderateWith");
|
|
37580
37582
|
|
|
37581
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/moderation.js
|
|
37582
37584
|
var moderationService = /* @__PURE__ */ __name((deps) => {
|
|
37583
37585
|
const file2 = /* @__PURE__ */ __name(() => new ModerationRules(moderationPathFor(deps.messenger.app, deps.profile ?? "default", deps.env ?? process.env)), "file");
|
|
37584
37586
|
const group = /* @__PURE__ */ __name(async (chat) => {
|
|
@@ -37656,7 +37658,7 @@ var moderatorOf = /* @__PURE__ */ __name((adapter, deps) => ({
|
|
|
37656
37658
|
}, "removePerson")
|
|
37657
37659
|
}), "moderatorOf");
|
|
37658
37660
|
|
|
37659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/private-people.js
|
|
37660
37662
|
var noteItem = /* @__PURE__ */ __name((provider, note2) => ({
|
|
37661
37663
|
id: note2.id,
|
|
37662
37664
|
contact: formatReference({ type: "contact", provider, id: note2.personId }),
|
|
@@ -37700,7 +37702,7 @@ var privatePeopleService = /* @__PURE__ */ __name((deps) => {
|
|
|
37700
37702
|
};
|
|
37701
37703
|
}, "privatePeopleService");
|
|
37702
37704
|
|
|
37703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/rankings.js
|
|
37704
37706
|
var empty = /* @__PURE__ */ __name(() => ({
|
|
37705
37707
|
total: 0,
|
|
37706
37708
|
population: 0,
|
|
@@ -37956,7 +37958,7 @@ var rankingsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
37956
37958
|
}, "evidence")
|
|
37957
37959
|
}), "rankingsService");
|
|
37958
37960
|
|
|
37959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/reply-stats.js
|
|
37960
37962
|
var FIELDS = ["date", "chat", "kind"];
|
|
37961
37963
|
var WAITING_TAIL = 100;
|
|
37962
37964
|
var plainOnly = /* @__PURE__ */ __name((text2, command) => {
|
|
@@ -38083,7 +38085,7 @@ var replyStatsService = /* @__PURE__ */ __name((deps) => {
|
|
|
38083
38085
|
};
|
|
38084
38086
|
}, "replyStatsService");
|
|
38085
38087
|
|
|
38086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/searches.js
|
|
38087
38089
|
var savedSearchItem = /* @__PURE__ */ __name((one2) => ({
|
|
38088
38090
|
id: one2.id,
|
|
38089
38091
|
name: one2.name,
|
|
@@ -38212,7 +38214,7 @@ var searchesService = /* @__PURE__ */ __name((deps) => {
|
|
|
38212
38214
|
};
|
|
38213
38215
|
}, "searchesService");
|
|
38214
38216
|
|
|
38215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/tags.js
|
|
38216
38218
|
var TAGGING_QUERY = {
|
|
38217
38219
|
entity: "tagging",
|
|
38218
38220
|
backend: "sql",
|
|
@@ -38296,7 +38298,7 @@ var tagsService = /* @__PURE__ */ __name((deps) => {
|
|
|
38296
38298
|
};
|
|
38297
38299
|
}, "tagsService");
|
|
38298
38300
|
|
|
38299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/topics.js
|
|
38300
38302
|
var actionOf = /* @__PURE__ */ __name(({ title, closed, pinned, hidden, icon }) => {
|
|
38301
38303
|
const set = [closed, pinned, hidden].filter((one2) => one2 !== void 0).length;
|
|
38302
38304
|
if (title !== void 0 || icon !== void 0 || set !== 1)
|
|
@@ -38495,7 +38497,7 @@ var topicsService = /* @__PURE__ */ __name((deps) => {
|
|
|
38495
38497
|
};
|
|
38496
38498
|
}, "topicsService");
|
|
38497
38499
|
|
|
38498
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/evidence.js
|
|
38499
38501
|
import { createHash as createHash11, randomUUID as randomUUID5 } from "node:crypto";
|
|
38500
38502
|
var hash2 = /* @__PURE__ */ __name((value) => createHash11("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
38501
38503
|
var positive = /* @__PURE__ */ __name((value, name, minimum = 1) => {
|
|
@@ -38569,7 +38571,7 @@ var prepareEvidencePacket = /* @__PURE__ */ __name(({ kind, source, page, limits
|
|
|
38569
38571
|
return { ...content, id: randomUUID5(), fingerprint: hash2(content) };
|
|
38570
38572
|
}, "prepareEvidencePacket");
|
|
38571
38573
|
|
|
38572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/evidence-read.js
|
|
38573
38575
|
var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, limit, before: before2 }, messenger = {}) => {
|
|
38574
38576
|
if (!Number.isSafeInteger(limit) || limit < 1 || limit > 100)
|
|
38575
38577
|
throw new CliError("validation_error", "evidence message limit must be an integer from 1 to 100");
|
|
@@ -38589,7 +38591,7 @@ var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, l
|
|
|
38589
38591
|
return { ...packet, nextBeforeId: older && last ? last.id : null };
|
|
38590
38592
|
}, "readEvidencePacket");
|
|
38591
38593
|
|
|
38592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
38593
38595
|
var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
|
|
38594
38596
|
let before2 = Number.POSITIVE_INFINITY;
|
|
38595
38597
|
for (; ; ) {
|
|
@@ -38651,7 +38653,7 @@ var searchMeetingHits = /* @__PURE__ */ __name(async (store, query, request, opt
|
|
|
38651
38653
|
return { ...result, selection };
|
|
38652
38654
|
}, "searchMeetingHits");
|
|
38653
38655
|
|
|
38654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-project-discovery.js
|
|
38655
38657
|
import { createHash as createHash12 } from "node:crypto";
|
|
38656
38658
|
var scopeKeys = [
|
|
38657
38659
|
"accountId",
|
|
@@ -38786,7 +38788,7 @@ var readMeetingProjectDiscovery = /* @__PURE__ */ __name(async (ports, projectNa
|
|
|
38786
38788
|
};
|
|
38787
38789
|
}, "readMeetingProjectDiscovery");
|
|
38788
38790
|
|
|
38789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/text-model-choice.js
|
|
38790
38792
|
import { createHash as createHash13 } from "node:crypto";
|
|
38791
38793
|
import { existsSync as existsSync3 } from "node:fs";
|
|
38792
38794
|
var useTextModel = /* @__PURE__ */ __name(async (id2, { env, command }) => {
|
|
@@ -38917,7 +38919,7 @@ var addCustomTextModel = /* @__PURE__ */ __name(async (id2, payload, { env, fetc
|
|
|
38917
38919
|
return { ...checked2.output, custom: true };
|
|
38918
38920
|
}, "addCustomTextModel");
|
|
38919
38921
|
|
|
38920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-hit-context.js
|
|
38921
38923
|
import { createHash as createHash14 } from "node:crypto";
|
|
38922
38924
|
var contextCue = /* @__PURE__ */ __name((cue) => ({
|
|
38923
38925
|
ref: cue.reference,
|
|
@@ -39035,7 +39037,7 @@ var readMeetingHitContext = /* @__PURE__ */ __name(async (store, accountId, refe
|
|
|
39035
39037
|
return { ...packet, fingerprint: createHash14("sha256").update(JSON.stringify(packet)).digest("hex") };
|
|
39036
39038
|
}, "readMeetingHitContext");
|
|
39037
39039
|
|
|
39038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-passage-format.js
|
|
39039
39041
|
var visible = /* @__PURE__ */ __name((text2) => text2.replace(/[\p{Cc}\p{Cf}]/gu, (value) => value === "\n" || value === " " ? value : `\\u{${value.codePointAt(0)?.toString(16)}}`), "visible");
|
|
39040
39042
|
var markdown = /* @__PURE__ */ __name((text2) => visible(text2).replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replace(/[\\`*_[\]#|~]/g, "\\$&"), "markdown");
|
|
39041
39043
|
var timestamp = /* @__PURE__ */ __name((ms) => {
|
|
@@ -39111,7 +39113,7 @@ var readMeetingPassage = /* @__PURE__ */ __name(async (store, accountId, referen
|
|
|
39111
39113
|
return { packet, content };
|
|
39112
39114
|
}, "readMeetingPassage");
|
|
39113
39115
|
|
|
39114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/context/communication-selection.js
|
|
39115
39117
|
var communicationFields = {
|
|
39116
39118
|
sources: pipe(array(strictObject({
|
|
39117
39119
|
id: pipe(string(), regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/)),
|
|
@@ -39143,7 +39145,7 @@ var communicationRequest = /* @__PURE__ */ __name((value, preparationAfter) => {
|
|
|
39143
39145
|
return { ...input, after, before: before2 };
|
|
39144
39146
|
}, "communicationRequest");
|
|
39145
39147
|
|
|
39146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-preparation-validation.js
|
|
39147
39149
|
var MEETING_PREPARATION_LIMITS = {
|
|
39148
39150
|
meetings: { min: 1, max: 20, default: 5 },
|
|
39149
39151
|
cues: { min: 1, max: 100, default: 10 },
|
|
@@ -39229,7 +39231,7 @@ var preparationRequest = /* @__PURE__ */ __name((accountId, externalId, original
|
|
|
39229
39231
|
return { ...input, history };
|
|
39230
39232
|
}, "preparationRequest");
|
|
39231
39233
|
|
|
39232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-communications-preparation.js
|
|
39233
39235
|
var readPreparationCommunications = /* @__PURE__ */ __name(async (plan, signal) => {
|
|
39234
39236
|
const section = {
|
|
39235
39237
|
readUsage: plan.reader.usage(),
|
|
@@ -39334,7 +39336,7 @@ var appendPreparationCommunications = /* @__PURE__ */ __name((result, read2) =>
|
|
|
39334
39336
|
result.knowledge.coverage.otherSources = "see-communications";
|
|
39335
39337
|
}, "appendPreparationCommunications");
|
|
39336
39338
|
|
|
39337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-communications-selection.js
|
|
39338
39340
|
var captureCommunicationSelections = /* @__PURE__ */ __name((port) => {
|
|
39339
39341
|
if (port === void 0)
|
|
39340
39342
|
return void 0;
|
|
@@ -39439,7 +39441,7 @@ var validatePreparationCommunications = /* @__PURE__ */ __name((section, request
|
|
|
39439
39441
|
}
|
|
39440
39442
|
}, "validatePreparationCommunications");
|
|
39441
39443
|
|
|
39442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-knowledge-preparation.js
|
|
39443
39445
|
var invalid6 = /* @__PURE__ */ __name(() => {
|
|
39444
39446
|
throw new CliError("invalid_response", "Preparation knowledge returned an invalid selection");
|
|
39445
39447
|
}, "invalid");
|
|
@@ -39508,7 +39510,7 @@ var appendKnowledgePreparation = /* @__PURE__ */ __name(async (store, result, in
|
|
|
39508
39510
|
}
|
|
39509
39511
|
}, "appendKnowledgePreparation");
|
|
39510
39512
|
|
|
39511
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-notes-preparation.js
|
|
39512
39514
|
var invalid7 = /* @__PURE__ */ __name(() => {
|
|
39513
39515
|
throw new CliError("invalid_response", "Preparation notes returned an invalid selection");
|
|
39514
39516
|
}, "invalid");
|
|
@@ -39582,7 +39584,7 @@ var appendNotesPreparation = /* @__PURE__ */ __name(async (store, result, input)
|
|
|
39582
39584
|
}
|
|
39583
39585
|
}, "appendNotesPreparation");
|
|
39584
39586
|
|
|
39585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-project-preparation.js
|
|
39586
39588
|
var PAGE_LIMIT = 4;
|
|
39587
39589
|
var size2 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
39588
39590
|
var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, input) => {
|
|
@@ -39632,7 +39634,7 @@ var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, inpu
|
|
|
39632
39634
|
}
|
|
39633
39635
|
}, "appendProjectPreparation");
|
|
39634
39636
|
|
|
39635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-related-preparation.js
|
|
39636
39638
|
var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, input) => {
|
|
39637
39639
|
if (!result.series || !result.items.length || result.coverage.outputLimited)
|
|
39638
39640
|
return;
|
|
@@ -39704,7 +39706,7 @@ var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, inpu
|
|
|
39704
39706
|
}
|
|
39705
39707
|
}, "appendRelatedPreparation");
|
|
39706
39708
|
|
|
39707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/meeting-preparation.js
|
|
39708
39710
|
var size3 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
39709
39711
|
var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId, ports) => {
|
|
39710
39712
|
const fixed = snapshotMeetingScope(scope);
|
|
@@ -39842,7 +39844,7 @@ var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId,
|
|
|
39842
39844
|
};
|
|
39843
39845
|
}, "createMeetingPreparationService");
|
|
39844
39846
|
|
|
39845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/package-upgrade.js
|
|
39846
39848
|
var upgradePackage = /* @__PURE__ */ __name(async ({ current, command, packageName, check: check2 }, ports) => {
|
|
39847
39849
|
const installer = ports.installer();
|
|
39848
39850
|
const argv = updateCommand(installer, packageName);
|
|
@@ -39907,7 +39909,7 @@ var dayAfter = /* @__PURE__ */ __name((published) => {
|
|
|
39907
39909
|
return Number.isNaN(time) ? null : new Date(time + 24 * 60 * 60 * 1e3).toISOString();
|
|
39908
39910
|
}, "dayAfter");
|
|
39909
39911
|
|
|
39910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/services/index.js
|
|
39911
39913
|
var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
39912
39914
|
const pictures = picturesService(deps);
|
|
39913
39915
|
const base = {
|
|
@@ -39944,7 +39946,7 @@ var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
|
39944
39946
|
return deps.messenger.services ? { ...base, ...deps.messenger.services(base, deps) } : base;
|
|
39945
39947
|
}, "servicesFor");
|
|
39946
39948
|
|
|
39947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
39948
39950
|
import { createHash as createHash15 } from "node:crypto";
|
|
39949
39951
|
import { chmodSync, lstatSync, mkdirSync as mkdirSync3, rmSync } from "node:fs";
|
|
39950
39952
|
import { createConnection, createServer } from "node:net";
|
|
@@ -40092,7 +40094,7 @@ var serve = /* @__PURE__ */ __name(async (socket, request, stdin, signal, run) =
|
|
|
40092
40094
|
}
|
|
40093
40095
|
}, "serve");
|
|
40094
40096
|
|
|
40095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
40096
40098
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
40097
40099
|
close: /* @__PURE__ */ __name(async () => {
|
|
40098
40100
|
}, "close"),
|