@wirecat/cli-memo 0.131.50 → 0.131.51
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/author.d.ts +6 -3
- package/dist/author.d.ts.map +1 -1
- package/dist/author.js +9 -4
- package/dist/author.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-3HADTQZA.js → all-profiles-3R3VE3W2.js} +9 -9
- package/dist/bundle/{anthropic-RI4DWC3G.js → anthropic-QVYJRACM.js} +6 -6
- package/dist/bundle/{app-server-6EKWAYJI.js → app-server-T3D2PIGZ.js} +42 -42
- package/dist/bundle/auto-XJCSM7WE.js +86 -0
- package/dist/bundle/{bun-HUHQD76Z.js → bun-DTDD2OHK.js} +2 -2
- package/dist/bundle/{bun-sqlite-RPSKGB4O.js → bun-sqlite-DWICJAH3.js} +5 -5
- package/dist/bundle/{chunk-NTQUBSIJ.js → chunk-3OL3QRFS.js} +6 -6
- package/dist/bundle/{chunk-2HPYP3ZT.js → chunk-4A6JOJLR.js} +4 -4
- package/dist/bundle/{chunk-EJDV5IIF.js → chunk-4GWFRZ2U.js} +1 -1
- package/dist/bundle/{chunk-LZWXGO3G.js → chunk-4MWP6Z3W.js} +2 -2
- package/dist/bundle/{chunk-Y6VH7IRN.js → chunk-4RHIJMRX.js} +29 -29
- package/dist/bundle/{chunk-BXTDAGM4.js → chunk-4ZW6ZJ2V.js} +2 -2
- package/dist/bundle/{chunk-ZA7FKGB7.js → chunk-526KVXRI.js} +2 -2
- package/dist/bundle/{chunk-OT23U5LT.js → chunk-56BBTOS2.js} +2 -2
- package/dist/bundle/{chunk-QCPUC3HW.js → chunk-5JY464PN.js} +13 -13
- package/dist/bundle/{chunk-57LMWEDK.js → chunk-5ZGOT57S.js} +3 -3
- package/dist/bundle/{chunk-EBNNONF5.js → chunk-64JCY7XJ.js} +8 -8
- package/dist/bundle/{chunk-3BG5VYMV.js → chunk-66A646SL.js} +10 -10
- package/dist/bundle/{chunk-VW6BF6M7.js → chunk-6G53ZFUT.js} +1 -1
- package/dist/bundle/{chunk-UDJTRFRV.js → chunk-6MEVHKIO.js} +1 -1
- package/dist/bundle/{chunk-UAR6UMFL.js → chunk-6O37NSG6.js} +5 -5
- package/dist/bundle/{chunk-7ZLOZGIC.js → chunk-7C3MP5LH.js} +6 -6
- package/dist/bundle/{chunk-PJMGQJAX.js → chunk-AEVTXHTY.js} +7 -7
- package/dist/bundle/{chunk-V2DMJ6ES.js → chunk-AWLAMVNY.js} +6 -6
- package/dist/bundle/{chunk-P2TISY3R.js → chunk-BUHTAMPF.js} +1 -1
- package/dist/bundle/{chunk-AKD62EUH.js → chunk-CPLYNBAJ.js} +2 -2
- package/dist/bundle/{chunk-RYMYE5PF.js → chunk-CZOBBAXM.js} +8 -8
- package/dist/bundle/{chunk-SSPSNSC5.js → chunk-E3WIMCV5.js} +1 -1
- package/dist/bundle/{chunk-IXXBPSXO.js → chunk-E7TMOUWZ.js} +2 -2
- package/dist/bundle/{chunk-QOGYHU3Q.js → chunk-EBDX6DNB.js} +61 -21
- package/dist/bundle/{chunk-6N6BVPVX.js → chunk-ECLBZGWI.js} +4 -4
- package/dist/bundle/{chunk-O3KOW7RG.js → chunk-ETD2DRJD.js} +8 -8
- package/dist/bundle/{chunk-HXOAPH47.js → chunk-FJ3DAE4M.js} +1 -1
- package/dist/bundle/{chunk-GIDZGGAD.js → chunk-FZ4GVE36.js} +4 -4
- package/dist/bundle/{chunk-KVOHC4ZM.js → chunk-GBWOMPZ7.js} +4 -4
- package/dist/bundle/{chunk-PYRHU35W.js → chunk-GSCGRBEQ.js} +155 -155
- package/dist/bundle/{chunk-ND6D4A6H.js → chunk-H65NWA3X.js} +3 -3
- package/dist/bundle/{chunk-4VQPPX47.js → chunk-H7RSMNHL.js} +263 -263
- package/dist/bundle/{chunk-D5KGXYG6.js → chunk-HRLQQLVD.js} +22 -22
- package/dist/bundle/{chunk-P3ASN72F.js → chunk-IK6KH3RE.js} +1 -1
- package/dist/bundle/{chunk-ZDHNEYKO.js → chunk-JBSMBHTM.js} +8 -8
- package/dist/bundle/{chunk-HCMXUHHF.js → chunk-JCNBJ3FN.js} +66 -66
- package/dist/bundle/{chunk-5RVL7GYA.js → chunk-JINNS3FI.js} +2 -2
- package/dist/bundle/{chunk-RKFKRCOH.js → chunk-LYUVULFK.js} +260 -260
- package/dist/bundle/{chunk-FOM7WE2C.js → chunk-MVV32ZTO.js} +9 -9
- package/dist/bundle/{chunk-7RNHFNHX.js → chunk-MZMJALJT.js} +4 -4
- package/dist/bundle/{chunk-XXGBXCBQ.js → chunk-N3UA5PO4.js} +11 -11
- package/dist/bundle/{chunk-355PHJYX.js → chunk-O5UP2KZL.js} +1 -1
- package/dist/bundle/{chunk-XZZFHQGM.js → chunk-O5Z74SBZ.js} +22 -22
- package/dist/bundle/{chunk-P2LMXIHL.js → chunk-OBVKXHOH.js} +291 -291
- package/dist/bundle/{chunk-DJRBSOWH.js → chunk-OJFRMK2W.js} +4 -4
- package/dist/bundle/{chunk-2MFBZ2UM.js → chunk-PNNM72BO.js} +5 -5
- package/dist/bundle/{chunk-S7F4ZDFU.js → chunk-PWYCF76F.js} +3 -3
- package/dist/bundle/{chunk-2OIGV355.js → chunk-PX2B5ZRL.js} +50 -50
- package/dist/bundle/{chunk-5JVA43HX.js → chunk-QFC7V5VW.js} +6 -6
- package/dist/bundle/{chunk-NJDGZRF5.js → chunk-QIFK3EZM.js} +14 -14
- package/dist/bundle/{chunk-DVA6MQWK.js → chunk-REROHDUR.js} +1 -1
- package/dist/bundle/{chunk-LUPJB7ZD.js → chunk-RL2DSQCD.js} +9 -9
- package/dist/bundle/{chunk-UJLYVXP6.js → chunk-ROP27ZJU.js} +34 -34
- package/dist/bundle/{chunk-N6IHOYMT.js → chunk-SXVPRYEF.js} +161 -36
- package/dist/bundle/{chunk-GV6XJMUW.js → chunk-UDAATSWZ.js} +12 -12
- package/dist/bundle/{chunk-XH6K2B5L.js → chunk-UQ2OA6EM.js} +4 -4
- package/dist/bundle/{chunk-TSUNLSIN.js → chunk-V3TELYLZ.js} +2 -2
- package/dist/bundle/{chunk-O3ZOYXH3.js → chunk-WLKDS65F.js} +20 -20
- package/dist/bundle/{chunk-W6JQNNJ5.js → chunk-WPW6ULD7.js} +3 -3
- package/dist/bundle/{chunk-PEYCLVIO.js → chunk-XGNNI3S3.js} +2 -2
- package/dist/bundle/{chunk-PUTGTW6W.js → chunk-XN5YDZY7.js} +1 -1
- package/dist/bundle/{chunk-SLIF5EMS.js → chunk-YPLKNKAD.js} +7 -7
- package/dist/bundle/{chunk-QCRJNWJZ.js → chunk-YZB5IL4L.js} +3 -3
- package/dist/bundle/{chunk-5TWUUDKP.js → chunk-ZC2LNXGO.js} +2 -2
- package/dist/bundle/command-contract-OTVOQLZS.js +32 -0
- package/dist/bundle/{decode-IYWZ3X7X.js → decode-ISKRNDDM.js} +5 -5
- package/dist/bundle/{dispatch-HCRXCPCF.js → dispatch-W4ZVXTJT.js} +10 -10
- package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-TINXXXCB.js} +2 -2
- package/dist/bundle/{embed-EGY2R4FN.js → embed-R2KJDGEX.js} +6 -6
- package/dist/bundle/{embedder-K2BGPWNX.js → embedder-X2Y5RLKE.js} +9 -9
- package/dist/bundle/{entry-NMAZNDNU.js → entry-2MUKT36Z.js} +7 -7
- package/dist/bundle/{failure-G4DCTWFD.js → failure-GQHAQVGH.js} +2 -2
- package/dist/bundle/failure-KYUARIL2.js +66 -0
- package/dist/bundle/{first-run-QDCSWX3N.js → first-run-6BSAM4BD.js} +11 -11
- package/dist/bundle/first-screen-ALXB4ONR.js +30 -0
- package/dist/bundle/{instructions-P72XX4AK.js → instructions-E5NBM2NJ.js} +1 -1
- package/dist/bundle/{mcp-M4QN2E7R.js → mcp-RKJG22KM.js} +2 -2
- package/dist/bundle/mcp-YUPBMZPV.js +90 -0
- package/dist/bundle/memo.js +41 -17
- package/dist/bundle/{node-ZB4RNICS.js → node-NBHZ4XWV.js} +2 -2
- package/dist/bundle/{node-sqlite-7XJ4J4E5.js → node-sqlite-3CBWCPNC.js} +6 -6
- package/dist/bundle/{oauth-FMH3JIPT.js → oauth-L5XC2THD.js} +7 -7
- package/dist/bundle/{open-PRCTOHHL.js → open-WR6QQPVB.js} +5 -5
- package/dist/bundle/{openai-VW4W6SIO.js → openai-MCPELYCJ.js} +10 -10
- package/dist/bundle/{process-XNN4WG6N.js → process-EAEC2FBD.js} +1 -1
- package/dist/bundle/{program-TVT22XUQ.js → program-WKKBFQIW.js} +68 -63
- package/dist/bundle/{prompt-RT55UZGB.js → prompt-M4Z35LQ5.js} +5 -5
- package/dist/bundle/{recognize-AQ2UXUC2.js → recognize-VT6NKW6D.js} +4 -4
- package/dist/bundle/{remote-T3P5OWRR.js → remote-6QTPH5PJ.js} +7 -7
- package/dist/bundle/{rerank-743T3675.js → rerank-MJYLXZ4K.js} +7 -7
- package/dist/bundle/{serve-BSKOU4FJ.js → serve-KQ6OL3OH.js} +9 -9
- package/dist/bundle/server-AVAJTC5G.js +61 -0
- package/dist/bundle/server-QAFF3RP5.js +48 -0
- package/dist/bundle/{server-ECOTCYJ3.js → server-UJIH2SBV.js} +58 -58
- package/dist/bundle/{state-MDMI3I2Z.js → state-2PDCOSJN.js} +6 -6
- package/dist/bundle/{store-I3DIZALN.js → store-SXYAS5EI.js} +13 -13
- package/dist/bundle/store-maintenance-command-ARTXRVYD.js +48 -0
- package/dist/bundle/update-MOZKRB2Z.js +69 -0
- package/dist/mcp/catalogue.js +1 -1
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -1
- package/dist/people/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/SKILL.md +1 -1
- package/skills/cli-memo/topics/proposals.md +2 -2
- package/skills/mail-triage/SKILL.md +1 -1
- package/skills/morning-digest/SKILL.md +1 -1
- package/dist/bundle/auto-C7G3WVRU.js +0 -86
- package/dist/bundle/command-contract-MRLLZQ4M.js +0 -32
- package/dist/bundle/failure-FW4NJI7G.js +0 -66
- package/dist/bundle/first-screen-YABO6OZ7.js +0 -30
- package/dist/bundle/mcp-QRZ2HSON.js +0 -90
- package/dist/bundle/server-VMWVYGK7.js +0 -48
- package/dist/bundle/server-ZFHSK6TT.js +0 -61
- package/dist/bundle/store-maintenance-command-HZPQPOK7.js +0 -48
- package/dist/bundle/update-ZIZAU5RE.js +0 -69
- /package/dist/bundle/{chunk-CDFNOKPG.js → chunk-4ZSY3MKL.js} +0 -0
- /package/dist/bundle/{chunk-VOXIGICJ.js → chunk-SW6C6WH5.js} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
sameOrdinaryFile,
|
|
9
9
|
syncDirectory,
|
|
10
10
|
writeFileAtomic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5JY464PN.js";
|
|
12
12
|
import {
|
|
13
13
|
Command,
|
|
14
14
|
DEFAULT_IMAGE_MODEL,
|
|
@@ -49,17 +49,17 @@ import {
|
|
|
49
49
|
typedCommand,
|
|
50
50
|
vectorModelKey,
|
|
51
51
|
withAttempt
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-GSCGRBEQ.js";
|
|
53
53
|
import {
|
|
54
54
|
isCliFailure
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-MVV32ZTO.js";
|
|
56
56
|
import {
|
|
57
57
|
isNewer,
|
|
58
58
|
updateCommand
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-MZMJALJT.js";
|
|
60
60
|
import {
|
|
61
61
|
readOnlyLockOf
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-56BBTOS2.js";
|
|
63
63
|
import {
|
|
64
64
|
AGENDA_COLUMNS,
|
|
65
65
|
CHAT_COLUMNS,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
validateAst,
|
|
164
164
|
validateFields,
|
|
165
165
|
withoutField
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-OBVKXHOH.js";
|
|
167
167
|
import {
|
|
168
168
|
EVENT_QUERY,
|
|
169
169
|
MEETING_FIELD_NAMES,
|
|
@@ -218,23 +218,23 @@ import {
|
|
|
218
218
|
validateQuery,
|
|
219
219
|
walkQuery,
|
|
220
220
|
zonedMoment
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-JCNBJ3FN.js";
|
|
222
222
|
import {
|
|
223
223
|
DEFAULT_STEMMERS,
|
|
224
224
|
createStemmer,
|
|
225
225
|
fold,
|
|
226
226
|
normalize
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-CZOBBAXM.js";
|
|
228
228
|
import {
|
|
229
229
|
DEFAULT_TASK_CATEGORIES,
|
|
230
230
|
FALLBACK_CATEGORY
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-AWLAMVNY.js";
|
|
232
232
|
import {
|
|
233
233
|
MAX_MODEL_IMAGE_BYTES
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-JINNS3FI.js";
|
|
235
235
|
import {
|
|
236
236
|
remoteKey
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-YZB5IL4L.js";
|
|
238
238
|
import {
|
|
239
239
|
Unzip,
|
|
240
240
|
UnzipInflate,
|
|
@@ -245,19 +245,19 @@ import {
|
|
|
245
245
|
placedText,
|
|
246
246
|
runEmbedders,
|
|
247
247
|
textModelsDirectory
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-QFC7V5VW.js";
|
|
249
249
|
import {
|
|
250
250
|
installFiles,
|
|
251
251
|
megabytes
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-GBWOMPZ7.js";
|
|
253
253
|
import {
|
|
254
254
|
storePath,
|
|
255
255
|
wirecatDirectory
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-4MWP6Z3W.js";
|
|
257
257
|
import {
|
|
258
258
|
resolvePaths,
|
|
259
259
|
writeSecurely
|
|
260
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-WLKDS65F.js";
|
|
261
261
|
import {
|
|
262
262
|
array,
|
|
263
263
|
boolean,
|
|
@@ -280,7 +280,7 @@ import {
|
|
|
280
280
|
string,
|
|
281
281
|
transform,
|
|
282
282
|
unknown
|
|
283
|
-
} from "./chunk-
|
|
283
|
+
} from "./chunk-64JCY7XJ.js";
|
|
284
284
|
import {
|
|
285
285
|
importFrom,
|
|
286
286
|
resolveFrom
|
|
@@ -290,7 +290,7 @@ import {
|
|
|
290
290
|
isCliError,
|
|
291
291
|
singleLine,
|
|
292
292
|
visibleControls
|
|
293
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-4ZW6ZJ2V.js";
|
|
294
294
|
import {
|
|
295
295
|
__commonJS,
|
|
296
296
|
__name,
|
|
@@ -16906,7 +16906,7 @@ var require_lib3 = __commonJS({
|
|
|
16906
16906
|
}
|
|
16907
16907
|
});
|
|
16908
16908
|
|
|
16909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
16909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/conversations/link.js
|
|
16910
16910
|
var RULES_VERSION = 5;
|
|
16911
16911
|
var LOOK_BACK = 50;
|
|
16912
16912
|
var SAME_SENDER_WITHIN = 10;
|
|
@@ -16996,10 +16996,10 @@ var latest = /* @__PURE__ */ __name((window3, matches) => {
|
|
|
16996
16996
|
var sameThread = /* @__PURE__ */ __name((a, b) => a.threadId === b.threadId, "sameThread");
|
|
16997
16997
|
var link = /* @__PURE__ */ __name((message, parentId, source, kind, confidence, method) => ({ messageId: message.id, parentId, source, kind, confidence, method }), "link");
|
|
16998
16998
|
|
|
16999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
16999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/ports/traits.js
|
|
17000
17000
|
var syncsOneChat = /* @__PURE__ */ __name((messenger) => messenger.history !== "store" || messenger.historyOnDemand === true, "syncsOneChat");
|
|
17001
17001
|
|
|
17002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
17003
17003
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
17004
17004
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
17005
17005
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -17044,7 +17044,7 @@ var explainDamage = /* @__PURE__ */ __name((health, command) => {
|
|
|
17044
17044
|
};
|
|
17045
17045
|
}, "explainDamage");
|
|
17046
17046
|
|
|
17047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
17048
17048
|
import { existsSync, statSync } from "node:fs";
|
|
17049
17049
|
var JSON_COLUMNS = {
|
|
17050
17050
|
accounts: ["settings"],
|
|
@@ -17186,10 +17186,10 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
17186
17186
|
}
|
|
17187
17187
|
}, "storeHealth");
|
|
17188
17188
|
|
|
17189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
17190
17190
|
var MAX_BYTES = 16 * 1024 * 1024;
|
|
17191
17191
|
|
|
17192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
17193
17193
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
17194
17194
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
17195
17195
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -17211,7 +17211,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
17211
17211
|
}
|
|
17212
17212
|
}, "previewProjectAnnotationSnapshot");
|
|
17213
17213
|
|
|
17214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
17215
17215
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
17216
17216
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
17217
17217
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -17232,7 +17232,7 @@ var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
|
17232
17232
|
}
|
|
17233
17233
|
}, "snapshotProjectAnnotations");
|
|
17234
17234
|
|
|
17235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
17236
17236
|
var COMMAND_NEEDS = {
|
|
17237
17237
|
"account update": ["updateProfile", "change the profile"],
|
|
17238
17238
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -17282,7 +17282,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
17282
17282
|
return group;
|
|
17283
17283
|
}, "hideNever");
|
|
17284
17284
|
|
|
17285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/members-audit.js
|
|
17286
17286
|
var AUDIT_PAGE = 200;
|
|
17287
17287
|
var AUDIT_BUDGET = 10;
|
|
17288
17288
|
var AUDIT_PAUSE_MS = 1e3;
|
|
@@ -17362,7 +17362,7 @@ var burstJoins = /* @__PURE__ */ __name((members) => {
|
|
|
17362
17362
|
return found;
|
|
17363
17363
|
}, "burstJoins");
|
|
17364
17364
|
|
|
17365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
17366
17366
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
17367
17367
|
command.allowUnknownOption();
|
|
17368
17368
|
const parse = command.parseOptions.bind(command);
|
|
@@ -17382,7 +17382,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
17382
17382
|
return command;
|
|
17383
17383
|
}, "queryWordsAfterOptions");
|
|
17384
17384
|
|
|
17385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
17386
17386
|
var count = /* @__PURE__ */ __name((value) => {
|
|
17387
17387
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
17388
17388
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -17424,7 +17424,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
17424
17424
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
17425
17425
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
17426
17426
|
|
|
17427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
17428
17428
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
17429
17429
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
17430
17430
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -17447,7 +17447,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
17447
17447
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
17448
17448
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
17449
17449
|
|
|
17450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
17451
17451
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
17452
17452
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
17453
17453
|
const zone = timezoneOf();
|
|
@@ -17533,7 +17533,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
17533
17533
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
17534
17534
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
17535
17535
|
|
|
17536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
17537
17537
|
var integer4 = /* @__PURE__ */ __name((text2) => {
|
|
17538
17538
|
if (!/^[1-9]\d*$/.test(text2) || !Number.isSafeInteger(Number(text2)))
|
|
17539
17539
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -17677,7 +17677,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
17677
17677
|
}, "addMeetingCommandsDefinition");
|
|
17678
17678
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
17679
17679
|
|
|
17680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
17681
17681
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
17682
17682
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
17683
17683
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -17810,7 +17810,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
17810
17810
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
17811
17811
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
17812
17812
|
|
|
17813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
17814
17814
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
17815
17815
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
17816
17816
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -17819,7 +17819,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
17819
17819
|
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");
|
|
17820
17820
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
17821
17821
|
|
|
17822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
17823
17823
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
17824
17824
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
17825
17825
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -18081,7 +18081,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
18081
18081
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
18082
18082
|
}), "sessionAnswer");
|
|
18083
18083
|
|
|
18084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18084
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/ports/messenger.js
|
|
18085
18085
|
var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
|
|
18086
18086
|
get: /* @__PURE__ */ __name((own, key) => {
|
|
18087
18087
|
if (key in own)
|
|
@@ -18098,12 +18098,12 @@ var capability = /* @__PURE__ */ __name((adapter, method, what) => {
|
|
|
18098
18098
|
return found.bind(adapter);
|
|
18099
18099
|
}, "capability");
|
|
18100
18100
|
|
|
18101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/sends/send-id.js
|
|
18102
18102
|
import { randomBytes } from "node:crypto";
|
|
18103
18103
|
var newSendId = /* @__PURE__ */ __name(() => randomBytes(8).readBigInt64BE().toString(), "newSendId");
|
|
18104
18104
|
var newOperationId = newSendId;
|
|
18105
18105
|
|
|
18106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/deps.js
|
|
18107
18107
|
var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
|
|
18108
18108
|
var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
|
|
18109
18109
|
var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
|
|
@@ -18180,7 +18180,7 @@ var storeOnlyDeps = /* @__PURE__ */ __name((store, account, { app, env }) => {
|
|
|
18180
18180
|
return { ...storedDeps(messenger, store, account, guard), ...env === void 0 ? {} : { env } };
|
|
18181
18181
|
}, "storeOnlyDeps");
|
|
18182
18182
|
|
|
18183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/patience.js
|
|
18184
18184
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
18185
18185
|
var LONGEST_WAIT_MS = 5 * 60 * 1e3;
|
|
18186
18186
|
var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
@@ -18203,10 +18203,10 @@ var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
|
18203
18203
|
}
|
|
18204
18204
|
}, "patiently");
|
|
18205
18205
|
|
|
18206
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18206
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
18207
18207
|
import { setTimeout as sleep2 } from "node:timers/promises";
|
|
18208
18208
|
|
|
18209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/backfill-estimate.js
|
|
18210
18210
|
var REQUEST_MS = 400;
|
|
18211
18211
|
var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, maxPages, pauseMs }) => {
|
|
18212
18212
|
const lowest = ranges[0];
|
|
@@ -18229,13 +18229,13 @@ var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, max
|
|
|
18229
18229
|
};
|
|
18230
18230
|
}, "estimateBackfill");
|
|
18231
18231
|
|
|
18232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/recovery.js
|
|
18233
18233
|
var withRecovery = /* @__PURE__ */ __name((error) => ({
|
|
18234
18234
|
...error,
|
|
18235
18235
|
retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
|
|
18236
18236
|
}), "withRecovery");
|
|
18237
18237
|
|
|
18238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/batch.js
|
|
18239
18239
|
var actionable = /* @__PURE__ */ __name((error) => {
|
|
18240
18240
|
if (isCliFailure(error))
|
|
18241
18241
|
return withRecovery({ code: error.code, message: error.message, ...error.details });
|
|
@@ -18318,7 +18318,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
|
|
|
18318
18318
|
};
|
|
18319
18319
|
}, "mergeBatches");
|
|
18320
18320
|
|
|
18321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
18322
18322
|
var TAKES = {
|
|
18323
18323
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
18324
18324
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -18378,7 +18378,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
18378
18378
|
throw wrongAccount(reference, scope, profiles);
|
|
18379
18379
|
}, "ensureAccount");
|
|
18380
18380
|
|
|
18381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
18382
18382
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
18383
18383
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
|
|
18384
18384
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -18423,7 +18423,7 @@ ${lines3}`, { candidates });
|
|
|
18423
18423
|
}, "ambiguous");
|
|
18424
18424
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
18425
18425
|
|
|
18426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
|
|
18427
18427
|
var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
|
|
18428
18428
|
if (deps.reads !== "store")
|
|
18429
18429
|
return keptChatId(deps.messenger, reference, store, account);
|
|
@@ -18582,7 +18582,7 @@ var senderAmong = /* @__PURE__ */ __name(async (store, accounts, reference) => {
|
|
|
18582
18582
|
}
|
|
18583
18583
|
}, "senderAmong");
|
|
18584
18584
|
|
|
18585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/images/context/index.js
|
|
18586
18586
|
var CONTEXT_MESSAGES = 3;
|
|
18587
18587
|
var CONTEXT_MINUTES = 10;
|
|
18588
18588
|
var MAX_CHARS = 1200;
|
|
@@ -18606,12 +18606,12 @@ var context = {
|
|
|
18606
18606
|
}, "describe")
|
|
18607
18607
|
};
|
|
18608
18608
|
|
|
18609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/images/registry.js
|
|
18610
18610
|
var BUILT_INS = [context];
|
|
18611
18611
|
var providers = [...BUILT_INS];
|
|
18612
18612
|
var registeredImageProviders = /* @__PURE__ */ __name(() => providers, "registeredImageProviders");
|
|
18613
18613
|
|
|
18614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/conversations.js
|
|
18615
18615
|
var READ_PAGE = 5e3;
|
|
18616
18616
|
var CHAIN = 50;
|
|
18617
18617
|
var CONVERSATION_QUERY = {
|
|
@@ -18763,7 +18763,7 @@ var sized = /* @__PURE__ */ __name((size4) => {
|
|
|
18763
18763
|
return size4;
|
|
18764
18764
|
}, "sized");
|
|
18765
18765
|
|
|
18766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
18766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/embeddings-maintenance.js
|
|
18767
18767
|
var REFRESH_BOUNDS = { maxChats: 20, maxChunks: 2e3 };
|
|
18768
18768
|
var MESSAGE_PAGE = 5e3;
|
|
18769
18769
|
var PER_SESSION = 8;
|
|
@@ -18782,7 +18782,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = DEFAULT_TEXT_MODEL)
|
|
|
18782
18782
|
price: remote.price,
|
|
18783
18783
|
installed: true,
|
|
18784
18784
|
perBatch: PER_REQUEST * concurrency,
|
|
18785
|
-
open: /* @__PURE__ */ __name(async () => (await import("./remote-
|
|
18785
|
+
open: /* @__PURE__ */ __name(async () => (await import("./remote-6QTPH5PJ.js")).openRemote(remote, apiKey, { concurrency }), "open")
|
|
18786
18786
|
};
|
|
18787
18787
|
}
|
|
18788
18788
|
const model = textModel(choice);
|
|
@@ -18799,7 +18799,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = DEFAULT_TEXT_MODEL)
|
|
|
18799
18799
|
if (!isTextModelInstalled(model, directory2))
|
|
18800
18800
|
throw notDownloaded(model.id);
|
|
18801
18801
|
if (apart) {
|
|
18802
|
-
const { openProcess } = await import("./process-
|
|
18802
|
+
const { openProcess } = await import("./process-EAEC2FBD.js");
|
|
18803
18803
|
return openProcess(model, directory2, { threads: threads ?? defaultThreads() });
|
|
18804
18804
|
}
|
|
18805
18805
|
return openEmbedder(model, directory2, { threads: threads ?? defaultThreads() });
|
|
@@ -19088,7 +19088,7 @@ var shaped = /* @__PURE__ */ __name(({ chatId, builtAt, algorithmVersion, pendin
|
|
|
19088
19088
|
return { ...one2, state };
|
|
19089
19089
|
}, "shaped");
|
|
19090
19090
|
|
|
19091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/search-catchup.js
|
|
19092
19092
|
var CATCH_UP_BOUNDS = { maxChunks: 500, maxMessages: 1e4, timeMs: 3e4 };
|
|
19093
19093
|
var validateCatchUpBounds = /* @__PURE__ */ __name((options) => {
|
|
19094
19094
|
for (const [key, value, maximum] of [
|
|
@@ -19141,7 +19141,7 @@ var catchUpSearch = /* @__PURE__ */ __name(async (deps, chat, options, signal, c
|
|
|
19141
19141
|
}
|
|
19142
19142
|
}, "catchUpSearch");
|
|
19143
19143
|
|
|
19144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
19145
19145
|
var pushed = /* @__PURE__ */ __name((deps, what) => {
|
|
19146
19146
|
if (deps.reads === "store") {
|
|
19147
19147
|
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`);
|
|
@@ -19507,7 +19507,7 @@ var timeOfKey = /* @__PURE__ */ __name(async (store, account, chatId, key, byTim
|
|
|
19507
19507
|
return message?.timestamp ?? fallback;
|
|
19508
19508
|
}, "timeOfKey");
|
|
19509
19509
|
|
|
19510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/questions.js
|
|
19511
19511
|
var LINKS = /https?:\/\/\S+/g;
|
|
19512
19512
|
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");
|
|
19513
19513
|
var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker = "others" }) => {
|
|
@@ -19537,7 +19537,7 @@ var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker
|
|
|
19537
19537
|
});
|
|
19538
19538
|
}, "questions");
|
|
19539
19539
|
|
|
19540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/task-categories.js
|
|
19541
19541
|
var names = /* @__PURE__ */ __name((categories) => categories.map(({ name }) => name).join(", "), "names");
|
|
19542
19542
|
var taskCategoryOf = /* @__PURE__ */ __name((categories = DEFAULT_TASK_CATEGORIES, flag = "--category") => (typed) => {
|
|
19543
19543
|
const name = typed.trim().toLowerCase();
|
|
@@ -19594,7 +19594,7 @@ var categorize = /* @__PURE__ */ __name((text2, categories = DEFAULT_TASK_CATEGO
|
|
|
19594
19594
|
return best.name;
|
|
19595
19595
|
}, "categorize");
|
|
19596
19596
|
|
|
19597
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19597
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/task-rules.js
|
|
19598
19598
|
var taskAccount = /* @__PURE__ */ __name(({ provider, account }) => `${provider}:${account}`, "taskAccount");
|
|
19599
19599
|
var RULES_IN = {
|
|
19600
19600
|
dialog: "all",
|
|
@@ -19800,7 +19800,7 @@ var applyTaskRulesToChats = /* @__PURE__ */ __name(async (store, account, chatId
|
|
|
19800
19800
|
return passes;
|
|
19801
19801
|
}, "applyTaskRulesToChats");
|
|
19802
19802
|
|
|
19803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/context/evidence-response.js
|
|
19804
19804
|
var contextSourceKey = /* @__PURE__ */ __name((source) => JSON.stringify([source.kind, source.accountId, source.provider, source.account]), "contextSourceKey");
|
|
19805
19805
|
var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
19806
19806
|
const fail3 = /* @__PURE__ */ __name(() => {
|
|
@@ -19864,7 +19864,7 @@ var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
|
19864
19864
|
}
|
|
19865
19865
|
}, "validateContextEvidencePage");
|
|
19866
19866
|
|
|
19867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19867
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/context/read-budget.js
|
|
19868
19868
|
var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
19869
19869
|
if (!limits || typeof limits !== "object" || Array.isArray(limits))
|
|
19870
19870
|
throw new CliError("validation_error", "limits needs a context read allowance");
|
|
@@ -19917,7 +19917,7 @@ var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
|
19917
19917
|
};
|
|
19918
19918
|
}, "contextReadBudget");
|
|
19919
19919
|
|
|
19920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/context-evidence.js
|
|
19921
19921
|
var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits) => {
|
|
19922
19922
|
if (!port || typeof port.read !== "function")
|
|
19923
19923
|
throw new CliError("configuration_error", "context evidence reader is unavailable");
|
|
@@ -19961,7 +19961,7 @@ var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits)
|
|
|
19961
19961
|
};
|
|
19962
19962
|
}, "createContextEvidenceReader");
|
|
19963
19963
|
|
|
19964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/ingest.js
|
|
19965
19965
|
var emptyReceipt = /* @__PURE__ */ __name((dryRun) => ({
|
|
19966
19966
|
dryRun,
|
|
19967
19967
|
source: null,
|
|
@@ -20036,7 +20036,7 @@ var ingest = /* @__PURE__ */ __name(async (store, envelope, { account, dryRun =
|
|
|
20036
20036
|
return receipt;
|
|
20037
20037
|
}, "ingest");
|
|
20038
20038
|
|
|
20039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-purposes.js
|
|
20040
20040
|
var BUILT_IN_PURPOSES = ["work", "sales", "support", "other"];
|
|
20041
20041
|
var DEFAULT_PURPOSES = ["work"];
|
|
20042
20042
|
var LINK_PURPOSE = "work";
|
|
@@ -20066,7 +20066,7 @@ var purposeList = /* @__PURE__ */ __name((value, previous = []) => [
|
|
|
20066
20066
|
...value.split(",").map((one2) => one2.trim()).filter(Boolean)
|
|
20067
20067
|
], "purposeList");
|
|
20068
20068
|
|
|
20069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20069
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/moment.js
|
|
20070
20070
|
var AGO = /^(\d+)(m|h|d)$/;
|
|
20071
20071
|
var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
|
|
20072
20072
|
var DATE = /^\d{4}-\d{2}-\d{2}/;
|
|
@@ -20106,7 +20106,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
|
|
|
20106
20106
|
};
|
|
20107
20107
|
}, "dateWindow");
|
|
20108
20108
|
|
|
20109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/botcheck/check.js
|
|
20110
20110
|
var DAY_MS = 864e5;
|
|
20111
20111
|
var NEW_DAYS = 30;
|
|
20112
20112
|
var SAME_TEXT_MIN = 20;
|
|
@@ -20183,7 +20183,7 @@ var scorePerson = /* @__PURE__ */ __name(({ subject, provider, activity, photos,
|
|
|
20183
20183
|
};
|
|
20184
20184
|
}, "scorePerson");
|
|
20185
20185
|
|
|
20186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/http/time-limit.js
|
|
20187
20187
|
var timeLimit = /* @__PURE__ */ __name((ms) => {
|
|
20188
20188
|
const controller = new AbortController();
|
|
20189
20189
|
const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
|
|
@@ -20199,7 +20199,7 @@ var withTimeLimit = /* @__PURE__ */ __name(async (ms, run) => {
|
|
|
20199
20199
|
}
|
|
20200
20200
|
}, "withTimeLimit");
|
|
20201
20201
|
|
|
20202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/botcheck/registries.js
|
|
20203
20203
|
var REGISTRIES = {
|
|
20204
20204
|
cas: { title: "Combot Anti-Spam (CAS)", docs: "https://cas.chat/api" },
|
|
20205
20205
|
lols: { title: "lols.bot", docs: "https://api.lols.bot/lols-bot.json" }
|
|
@@ -20286,7 +20286,7 @@ var notCovered = /* @__PURE__ */ __name((messenger, now = /* @__PURE__ */ new Da
|
|
|
20286
20286
|
detail: `lists Telegram accounts only, not ${messenger} ones`
|
|
20287
20287
|
})), "notCovered");
|
|
20288
20288
|
|
|
20289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/botcheck/service.js
|
|
20290
20290
|
var ACTIVITY_MESSAGES = 1e3;
|
|
20291
20291
|
var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
20292
20292
|
const subjectOf = /* @__PURE__ */ __name(async (reference) => {
|
|
@@ -20374,7 +20374,7 @@ var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
|
20374
20374
|
};
|
|
20375
20375
|
}, "botCheckService");
|
|
20376
20376
|
|
|
20377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/thread.js
|
|
20378
20378
|
var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
20379
20379
|
if (value === void 0)
|
|
20380
20380
|
return void 0;
|
|
@@ -20384,7 +20384,7 @@ var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
|
20384
20384
|
return id2;
|
|
20385
20385
|
}, "threadIdOf");
|
|
20386
20386
|
|
|
20387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/chat-stats.js
|
|
20388
20388
|
var TOP_POSTS = 5;
|
|
20389
20389
|
var JOINS = /* @__PURE__ */ new Set(["join", "add"]);
|
|
20390
20390
|
var LEAVES = /* @__PURE__ */ new Set(["leave", "remove"]);
|
|
@@ -20501,7 +20501,7 @@ var median = /* @__PURE__ */ __name((values) => {
|
|
|
20501
20501
|
return Math.round(sorted.length % 2 === 0 ? ((sorted[middle - 1] ?? upper) + upper) / 2 : upper);
|
|
20502
20502
|
}, "median");
|
|
20503
20503
|
|
|
20504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20504
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/member-history.js
|
|
20505
20505
|
var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
20506
20506
|
const events = [];
|
|
20507
20507
|
for (const stay of stays) {
|
|
@@ -20533,7 +20533,7 @@ var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
|
20533
20533
|
return events.filter(({ at }) => Date.parse(at) >= since).sort((a, b) => Date.parse(a.at) - Date.parse(b.at) || a.id.localeCompare(b.id));
|
|
20534
20534
|
}, "memberEvents");
|
|
20535
20535
|
|
|
20536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/chats.js
|
|
20537
20537
|
var EVENTS_DAYS = 7;
|
|
20538
20538
|
var TRACKED_DAYS = 30;
|
|
20539
20539
|
var STATS_PAGE = 1e3;
|
|
@@ -20828,7 +20828,7 @@ var storedMembers = /* @__PURE__ */ __name(async (store, chatId) => {
|
|
|
20828
20828
|
return members.length === 0 ? null : members;
|
|
20829
20829
|
}, "storedMembers");
|
|
20830
20830
|
|
|
20831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
20831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/inbox.js
|
|
20832
20832
|
var INBOX_CHATS = 20;
|
|
20833
20833
|
var REVIEW_DAYS = 3;
|
|
20834
20834
|
var UNANSWERED_HOURS = 24;
|
|
@@ -21036,7 +21036,7 @@ var inboxService = /* @__PURE__ */ __name((deps) => {
|
|
|
21036
21036
|
};
|
|
21037
21037
|
}, "inboxService");
|
|
21038
21038
|
|
|
21039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
21039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/person-context.js
|
|
21040
21040
|
var CONTEXT_MESSAGES2 = 10;
|
|
21041
21041
|
var CONTEXT_BYTES = 64 * 1024;
|
|
21042
21042
|
var toContext = /* @__PURE__ */ __name((key, message, chatTitle2) => ({
|
|
@@ -21297,10 +21297,10 @@ var personMessages = /* @__PURE__ */ __name(async (store, asked, reference, { ch
|
|
|
21297
21297
|
};
|
|
21298
21298
|
}, "personMessages");
|
|
21299
21299
|
|
|
21300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
21300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
21301
21301
|
import { createHash } from "node:crypto";
|
|
21302
21302
|
|
|
21303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
21303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-reference.js
|
|
21304
21304
|
var missing2 = /* @__PURE__ */ __name(() => new CliError("not_found", "the meeting evidence is unavailable for this account"), "missing");
|
|
21305
21305
|
var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId, reference, options = {}) => {
|
|
21306
21306
|
const parsed = parseMeetingReference(reference);
|
|
@@ -21318,7 +21318,7 @@ var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId,
|
|
|
21318
21318
|
return { parsed, meeting };
|
|
21319
21319
|
}, "authorizedMeetingMetadata");
|
|
21320
21320
|
|
|
21321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
21321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
21322
21322
|
var hash = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
21323
21323
|
var checkMeetingCancelled = /* @__PURE__ */ __name((signal) => {
|
|
21324
21324
|
if (signal?.aborted)
|
|
@@ -21517,7 +21517,7 @@ var readMeetingEvidence = /* @__PURE__ */ __name(async (store, accountId, refere
|
|
|
21517
21517
|
return { ...packet, fingerprint: hash(packet) };
|
|
21518
21518
|
}, "readMeetingEvidence");
|
|
21519
21519
|
|
|
21520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
21520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/person-meeting-context.js
|
|
21521
21521
|
var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference, options) => {
|
|
21522
21522
|
const { meetings = 10, cues = 5, bytes: bytes2 = 64 * 1024, scanLimit = 1e3, since, signal } = options;
|
|
21523
21523
|
const requestedAccounts = options.accountIds;
|
|
@@ -21616,7 +21616,7 @@ var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference,
|
|
|
21616
21616
|
};
|
|
21617
21617
|
}, "personMeetingContext");
|
|
21618
21618
|
|
|
21619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
21619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/person-preparation.js
|
|
21620
21620
|
var PREPARE_BYTES = 96 * 1024;
|
|
21621
21621
|
var MEETINGS = 5;
|
|
21622
21622
|
var CUES = 3;
|
|
@@ -21733,7 +21733,7 @@ var meetingsOf = /* @__PURE__ */ __name(async (store, uid, stored, since, left)
|
|
|
21733
21733
|
}
|
|
21734
21734
|
}, "meetingsOf");
|
|
21735
21735
|
|
|
21736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
21736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/person-profile.js
|
|
21737
21737
|
var personProfile = /* @__PURE__ */ __name(async (deps, person, known2) => {
|
|
21738
21738
|
const online = deps.offline ? void 0 : await deps.connection();
|
|
21739
21739
|
const held = await storeIfOpen(deps);
|
|
@@ -21803,7 +21803,7 @@ var quiet = /* @__PURE__ */ __name((facts) => facts.chats.map(({ id: id2, title,
|
|
|
21803
21803
|
complete: false
|
|
21804
21804
|
})), "quiet");
|
|
21805
21805
|
|
|
21806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
21806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/person-timeline.js
|
|
21807
21807
|
var TIMELINE_ITEMS = 50;
|
|
21808
21808
|
var TIMELINE_MAX = 500;
|
|
21809
21809
|
var SCOPES2 = ["personal", "work"];
|
|
@@ -21858,7 +21858,7 @@ var personTimeline = /* @__PURE__ */ __name(async (store, asked, reference, { sc
|
|
|
21858
21858
|
};
|
|
21859
21859
|
}, "personTimeline");
|
|
21860
21860
|
|
|
21861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
21861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/people.js
|
|
21862
21862
|
var peopleService = /* @__PURE__ */ __name((deps) => {
|
|
21863
21863
|
const localCard = /* @__PURE__ */ __name(async (card, includeNotes = false) => {
|
|
21864
21864
|
const held = await storeIfOpen(deps);
|
|
@@ -22085,7 +22085,7 @@ var withoutPhone = /* @__PURE__ */ __name((answer) => {
|
|
|
22085
22085
|
return rest;
|
|
22086
22086
|
}, "withoutPhone");
|
|
22087
22087
|
|
|
22088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/task-stats.js
|
|
22089
22089
|
var TASK_STATS_BY = ["chat", "meeting", "project"];
|
|
22090
22090
|
var PERIOD_FIELD = "created";
|
|
22091
22091
|
var refuseNestedPeriod = /* @__PURE__ */ __name((node, top = true) => {
|
|
@@ -22188,7 +22188,7 @@ var meetingNames = /* @__PURE__ */ __name(async (store, groups) => {
|
|
|
22188
22188
|
}));
|
|
22189
22189
|
}, "meetingNames");
|
|
22190
22190
|
|
|
22191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/task-tag-filters.js
|
|
22192
22192
|
var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
22193
22193
|
const tags = /* @__PURE__ */ new Map();
|
|
22194
22194
|
for (const node of query ? walkQuery(query.root) : [])
|
|
@@ -22197,7 +22197,7 @@ var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
|
22197
22197
|
return tags;
|
|
22198
22198
|
}, "taskTagFilters");
|
|
22199
22199
|
|
|
22200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/tasks.js
|
|
22201
22201
|
var TASK_QUERY = {
|
|
22202
22202
|
entity: "task",
|
|
22203
22203
|
backend: "sql",
|
|
@@ -22689,7 +22689,7 @@ var taskView = /* @__PURE__ */ __name(async (store, account, task2) => {
|
|
|
22689
22689
|
};
|
|
22690
22690
|
}, "taskView");
|
|
22691
22691
|
|
|
22692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposal-tasks.js
|
|
22693
22693
|
var proposalSource = /* @__PURE__ */ __name((id2) => `proposed-action:${id2}`, "proposalSource");
|
|
22694
22694
|
var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
22695
22695
|
const proposal = await store.proposedActions.get(id2);
|
|
@@ -22712,7 +22712,7 @@ var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
|
22712
22712
|
return { proposal: await store.proposedActions.approve(proposal.id, by, { task: task2.id }), task: task2 };
|
|
22713
22713
|
}, "approveAsTask");
|
|
22714
22714
|
|
|
22715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/ids.js
|
|
22716
22716
|
var MAX_IDS = 500;
|
|
22717
22717
|
var refuse = /* @__PURE__ */ __name((message) => {
|
|
22718
22718
|
throw new CliError("validation_error", message, { reason: "proposal.ids" });
|
|
@@ -22754,7 +22754,7 @@ var parseProposalIds = /* @__PURE__ */ __name((text2) => {
|
|
|
22754
22754
|
return ids;
|
|
22755
22755
|
}, "parseProposalIds");
|
|
22756
22756
|
|
|
22757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/shared.js
|
|
22758
22758
|
var proposerOfAuthor = /* @__PURE__ */ __name((author) => {
|
|
22759
22759
|
if (author.type === "person")
|
|
22760
22760
|
return { type: "person", id: author.id };
|
|
@@ -22796,7 +22796,7 @@ var storedStatus = /* @__PURE__ */ __name((filter) => {
|
|
|
22796
22796
|
return status === "proposed" || status === "rejected" ? status : void 0;
|
|
22797
22797
|
}, "storedStatus");
|
|
22798
22798
|
|
|
22799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/action.js
|
|
22800
22800
|
var rowOf = /* @__PURE__ */ __name((action2) => ({
|
|
22801
22801
|
id: action2.id,
|
|
22802
22802
|
kind: "action",
|
|
@@ -22836,7 +22836,7 @@ var actionKind = /* @__PURE__ */ __name((store, claimed) => ({
|
|
|
22836
22836
|
}, "decide")
|
|
22837
22837
|
}), "actionKind");
|
|
22838
22838
|
|
|
22839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/fact.js
|
|
22840
22840
|
var STATUS = {
|
|
22841
22841
|
proposed: "proposed",
|
|
22842
22842
|
accepted: "confirmed",
|
|
@@ -22879,7 +22879,7 @@ var factKind = /* @__PURE__ */ __name((store) => ({
|
|
|
22879
22879
|
}, "decide")
|
|
22880
22880
|
}), "factKind");
|
|
22881
22881
|
|
|
22882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/finance.js
|
|
22883
22883
|
var rowOf3 = /* @__PURE__ */ __name((kind, entry) => ({
|
|
22884
22884
|
id: entry.ref,
|
|
22885
22885
|
kind,
|
|
@@ -22914,7 +22914,7 @@ var financeKind = /* @__PURE__ */ __name((store, kind) => ({
|
|
|
22914
22914
|
var invoiceKind = /* @__PURE__ */ __name((store) => financeKind(store, "invoice"), "invoiceKind");
|
|
22915
22915
|
var paymentKind = /* @__PURE__ */ __name((store) => financeKind(store, "payment"), "paymentKind");
|
|
22916
22916
|
|
|
22917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/findings.js
|
|
22918
22918
|
var FACT_SUMMARIES = {
|
|
22919
22919
|
fact: /* @__PURE__ */ __name((finding) => finding.statement, "fact"),
|
|
22920
22920
|
task: /* @__PURE__ */ __name((finding) => finding.title, "task"),
|
|
@@ -22986,7 +22986,7 @@ var findingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
22986
22986
|
};
|
|
22987
22987
|
}, "findingsKind");
|
|
22988
22988
|
|
|
22989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
22989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/key-document.js
|
|
22990
22990
|
var linkRow = /* @__PURE__ */ __name((link4) => ({
|
|
22991
22991
|
id: `key:${link4.id}`,
|
|
22992
22992
|
kind: "key_document",
|
|
@@ -23054,7 +23054,7 @@ var keyDocumentKind = /* @__PURE__ */ __name((store) => {
|
|
|
23054
23054
|
};
|
|
23055
23055
|
}, "keyDocumentKind");
|
|
23056
23056
|
|
|
23057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23057
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/mail-findings.js
|
|
23058
23058
|
var words = /* @__PURE__ */ __name((...parts) => parts.filter(Boolean).join(" "), "words");
|
|
23059
23059
|
var summaryOf = /* @__PURE__ */ __name((finding) => {
|
|
23060
23060
|
switch (finding.kind) {
|
|
@@ -23142,7 +23142,7 @@ var mailFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
23142
23142
|
};
|
|
23143
23143
|
}, "mailFindingsKind");
|
|
23144
23144
|
|
|
23145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/meeting-findings.js
|
|
23146
23146
|
var rowOf6 = /* @__PURE__ */ __name((action2, batch) => {
|
|
23147
23147
|
const findings = batch.input.findings;
|
|
23148
23148
|
const projects = [...new Set(findings.map((one2) => "project" in one2 ? one2.project : void 0))];
|
|
@@ -23206,7 +23206,7 @@ var meetingFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
23206
23206
|
};
|
|
23207
23207
|
}, "meetingFindingsKind");
|
|
23208
23208
|
|
|
23209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/memory.js
|
|
23210
23210
|
var STATUS2 = {
|
|
23211
23211
|
proposed: "proposed",
|
|
23212
23212
|
confirmed: "confirmed",
|
|
@@ -23247,7 +23247,7 @@ var memoryKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23247
23247
|
}, "decide")
|
|
23248
23248
|
}), "memoryKind");
|
|
23249
23249
|
|
|
23250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/orders.js
|
|
23251
23251
|
var rowOf8 = /* @__PURE__ */ __name((order) => ({
|
|
23252
23252
|
id: order.ref,
|
|
23253
23253
|
kind: "order",
|
|
@@ -23279,7 +23279,7 @@ var orderKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23279
23279
|
}, "decide")
|
|
23280
23280
|
}), "orderKind");
|
|
23281
23281
|
|
|
23282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/organization.js
|
|
23283
23283
|
var ORGANIZATION_ADD_KIND = "organization_add";
|
|
23284
23284
|
var ORGANIZATION_RENAME_KIND = "organization_rename";
|
|
23285
23285
|
var rowOf9 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -23335,7 +23335,7 @@ var organizationKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23335
23335
|
}, "decide")
|
|
23336
23336
|
}), "organizationKind");
|
|
23337
23337
|
|
|
23338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship.js
|
|
23339
23339
|
var linkRow2 = /* @__PURE__ */ __name((link4) => ({
|
|
23340
23340
|
id: `link:${link4.id}`,
|
|
23341
23341
|
kind: "relationship",
|
|
@@ -23409,7 +23409,7 @@ var relationshipKind = /* @__PURE__ */ __name((store) => {
|
|
|
23409
23409
|
};
|
|
23410
23410
|
}, "relationshipKind");
|
|
23411
23411
|
|
|
23412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship-update.js
|
|
23413
23413
|
var KIND = "relationship_update";
|
|
23414
23414
|
var summaryOf2 = /* @__PURE__ */ __name(({ changes }) => Object.entries(changes).map(([field, value]) => `${field} ${value ?? "cleared"}`).join(", "), "summaryOf");
|
|
23415
23415
|
var rowOf10 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -23459,7 +23459,7 @@ var relationshipUpdateKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23459
23459
|
}, "decide")
|
|
23460
23460
|
}), "relationshipUpdateKind");
|
|
23461
23461
|
|
|
23462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/task-close.js
|
|
23463
23463
|
var rowOf11 = /* @__PURE__ */ __name((task2) => {
|
|
23464
23464
|
const suggestion = task2.closeSuggestion;
|
|
23465
23465
|
if (suggestion === null)
|
|
@@ -23527,7 +23527,7 @@ var taskCloseKind = /* @__PURE__ */ __name((store) => {
|
|
|
23527
23527
|
};
|
|
23528
23528
|
}, "taskCloseKind");
|
|
23529
23529
|
|
|
23530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/proposals/registry.js
|
|
23531
23531
|
var PREFIX = /^([a-z][a-z_]*):/;
|
|
23532
23532
|
var marked = /* @__PURE__ */ __name((kind, row) => kind.ownerOnly ? { ...row, ownerOnly: true } : row, "marked");
|
|
23533
23533
|
var refusalOf = /* @__PURE__ */ __name((id2, error) => {
|
|
@@ -23655,7 +23655,7 @@ var proposalRegistry = /* @__PURE__ */ __name((store) => {
|
|
|
23655
23655
|
return registry;
|
|
23656
23656
|
}, "proposalRegistry");
|
|
23657
23657
|
|
|
23658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23658
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mail/owed.js
|
|
23659
23659
|
var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
23660
23660
|
if (newest === null)
|
|
23661
23661
|
return null;
|
|
@@ -23664,7 +23664,7 @@ var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
|
23664
23664
|
return newest.addressed ? "owed" : null;
|
|
23665
23665
|
}, "mailTurn");
|
|
23666
23666
|
|
|
23667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/agenda-mail.js
|
|
23668
23668
|
var absent = /* @__PURE__ */ __name((error) => {
|
|
23669
23669
|
if (error instanceof CliError && error.code === "not_found")
|
|
23670
23670
|
return void 0;
|
|
@@ -23722,7 +23722,7 @@ var mailActivity = /* @__PURE__ */ __name(async (store, account, since, chats) =
|
|
|
23722
23722
|
};
|
|
23723
23723
|
}, "mailActivity");
|
|
23724
23724
|
|
|
23725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/chat-coverage.js
|
|
23726
23726
|
var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
23727
23727
|
const ids = [...new Set(chatIds)];
|
|
23728
23728
|
if (ids.length === 0)
|
|
@@ -23748,7 +23748,7 @@ var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
|
23748
23748
|
}));
|
|
23749
23749
|
}, "chatCoverage");
|
|
23750
23750
|
|
|
23751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/agenda.js
|
|
23752
23752
|
var DAY = 864e5;
|
|
23753
23753
|
var AGENDA_DEFAULTS = { unanswered: DAY, waiting: 7 * DAY };
|
|
23754
23754
|
var CLAIMS = ["none", "mine", "others", "any"];
|
|
@@ -23995,7 +23995,7 @@ var agendaItem = /* @__PURE__ */ __name((shown) => {
|
|
|
23995
23995
|
};
|
|
23996
23996
|
}, "agendaItem");
|
|
23997
23997
|
|
|
23998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
23998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/excerpt.js
|
|
23999
23999
|
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");
|
|
24000
24000
|
var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options = {}) => {
|
|
24001
24001
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -24011,7 +24011,7 @@ var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options = {}) =
|
|
|
24011
24011
|
}, "excerpt");
|
|
24012
24012
|
var withExcerpt = /* @__PURE__ */ __name(({ matchedText, ...hit }, query) => ({ ...hit, excerpt: excerpt(matchedText ?? hit.text, query) }), "withExcerpt");
|
|
24013
24013
|
|
|
24014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/link-scorers/shared.js
|
|
24015
24015
|
var escaped = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
24016
24016
|
var folded = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "folded");
|
|
24017
24017
|
var wholeWords = /* @__PURE__ */ __name((term) => new RegExp(`(?<![\\p{L}\\p{N}\\p{M}_])${escaped(normalizeVocabularyName(term))}(?![\\p{L}\\p{N}\\p{M}_])`, "u"), "wholeWords");
|
|
@@ -24050,7 +24050,7 @@ var identitiesIn = /* @__PURE__ */ __name(async (store, people, provider) => {
|
|
|
24050
24050
|
return found;
|
|
24051
24051
|
}, "identitiesIn");
|
|
24052
24052
|
|
|
24053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/link-scorers/alias-hits.js
|
|
24054
24054
|
var SEARCH_LIMIT = 500;
|
|
24055
24055
|
var aliasWeight = /* @__PURE__ */ __name((hits) => hits >= 10 ? 0.55 : hits >= 3 ? 0.35 : 0, "aliasWeight");
|
|
24056
24056
|
var aliasHits = {
|
|
@@ -24099,7 +24099,7 @@ var aliasHits = {
|
|
|
24099
24099
|
}, "candidates")
|
|
24100
24100
|
};
|
|
24101
24101
|
|
|
24102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-senders.js
|
|
24103
24103
|
var WEIGHT = 0.5;
|
|
24104
24104
|
var LARGE_GROUP_WEIGHT = 0.2;
|
|
24105
24105
|
var LARGE_GROUP = 30;
|
|
@@ -24151,7 +24151,7 @@ var chatSenders = {
|
|
|
24151
24151
|
}, "candidates")
|
|
24152
24152
|
};
|
|
24153
24153
|
|
|
24154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-title.js
|
|
24155
24155
|
var WEIGHT2 = 0.7;
|
|
24156
24156
|
var chatTitle = {
|
|
24157
24157
|
id: "chat-title",
|
|
@@ -24190,7 +24190,7 @@ var chatTitle = {
|
|
|
24190
24190
|
}, "candidates")
|
|
24191
24191
|
};
|
|
24192
24192
|
|
|
24193
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24193
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/link-scorers/email-domain.js
|
|
24194
24194
|
var WEIGHT3 = 0.3;
|
|
24195
24195
|
var CONTACTS = 500;
|
|
24196
24196
|
var MOST_PAIRS = 200;
|
|
@@ -24251,7 +24251,7 @@ var emailDomain = {
|
|
|
24251
24251
|
}, "candidates")
|
|
24252
24252
|
};
|
|
24253
24253
|
|
|
24254
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24254
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/link-scorers/mail-thread.js
|
|
24255
24255
|
var NAMED = 0.7;
|
|
24256
24256
|
var MEMBER_ONLY = 0.3;
|
|
24257
24257
|
var READ_LIMIT2 = 500;
|
|
@@ -24324,7 +24324,7 @@ var mailThread = {
|
|
|
24324
24324
|
}, "candidates")
|
|
24325
24325
|
};
|
|
24326
24326
|
|
|
24327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-chats.js
|
|
24328
24328
|
var WEIGHT4 = 0.5;
|
|
24329
24329
|
var memberChats = {
|
|
24330
24330
|
id: "member-chats",
|
|
@@ -24364,7 +24364,7 @@ var memberChats = {
|
|
|
24364
24364
|
}, "candidates")
|
|
24365
24365
|
};
|
|
24366
24366
|
|
|
24367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-dialog.js
|
|
24368
24368
|
var WEIGHT5 = 0.6;
|
|
24369
24369
|
var memberDialog = {
|
|
24370
24370
|
id: "member-dialog",
|
|
@@ -24398,7 +24398,7 @@ var memberDialog = {
|
|
|
24398
24398
|
}, "candidates")
|
|
24399
24399
|
};
|
|
24400
24400
|
|
|
24401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-gathering-around.js
|
|
24402
24402
|
var storedMessageNeighbours = /* @__PURE__ */ __name((messages) => ({
|
|
24403
24403
|
async around(ref, window3) {
|
|
24404
24404
|
const at = parseLocator(ref);
|
|
@@ -24494,7 +24494,7 @@ var storedNeighbours = /* @__PURE__ */ __name((store) => {
|
|
|
24494
24494
|
};
|
|
24495
24495
|
}, "storedNeighbours");
|
|
24496
24496
|
|
|
24497
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24497
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-gathering-request.js
|
|
24498
24498
|
import { createHash as createHash2 } from "node:crypto";
|
|
24499
24499
|
var DAY2 = 864e5;
|
|
24500
24500
|
var MAX_TIME = 864e13;
|
|
@@ -24810,7 +24810,7 @@ var decodeCheckpoint = /* @__PURE__ */ __name((text2, plan) => {
|
|
|
24810
24810
|
return value;
|
|
24811
24811
|
}, "decodeCheckpoint");
|
|
24812
24812
|
|
|
24813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
24813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-gathering.js
|
|
24814
24814
|
var terminal = /* @__PURE__ */ new Set(["done", "unavailable", "failed"]);
|
|
24815
24815
|
var PAGE2 = 20;
|
|
24816
24816
|
var PEOPLE = 20;
|
|
@@ -25214,7 +25214,7 @@ var peopleOf = /* @__PURE__ */ __name((items, senderOf) => {
|
|
|
25214
25214
|
return [...byKey.values()].sort((a, b) => b.items - a.items || a.name.localeCompare(b.name));
|
|
25215
25215
|
}, "peopleOf");
|
|
25216
25216
|
|
|
25217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-matching.js
|
|
25218
25218
|
var normalizedText = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "normalizedText");
|
|
25219
25219
|
var termsOf = /* @__PURE__ */ __name((entry) => [
|
|
25220
25220
|
{ name: entry.name, kind: "canonical" },
|
|
@@ -25258,7 +25258,7 @@ var matchVocabularyTerms = /* @__PURE__ */ __name((catalog, texts) => {
|
|
|
25258
25258
|
return result.sort((a, b) => Number(a.entry.id) - Number(b.entry.id));
|
|
25259
25259
|
}, "matchVocabularyTerms");
|
|
25260
25260
|
|
|
25261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-gathering-mentions.js
|
|
25262
25262
|
var KINDS = ["project", "tag", "topic"];
|
|
25263
25263
|
var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering, options = {}) => {
|
|
25264
25264
|
if (typeof vocabulary?.vocabulary !== "function")
|
|
@@ -25313,7 +25313,7 @@ var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering,
|
|
|
25313
25313
|
};
|
|
25314
25314
|
}, "findEvidenceMentions");
|
|
25315
25315
|
|
|
25316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/stored-project-gathering.js
|
|
25317
25317
|
var storedChatCount = /* @__PURE__ */ __name((store) => async (account, chatId, { since, until }) => {
|
|
25318
25318
|
const window3 = { since: new Date(since).toISOString(), until: new Date(until - 1).toISOString() };
|
|
25319
25319
|
const [messages, newest, oldest] = await Promise.all([
|
|
@@ -25619,7 +25619,7 @@ var purposeHintOf = /* @__PURE__ */ __name((linked, rows, of) => {
|
|
|
25619
25619
|
return { chat: top.ref, relationship: link4.relationship, items, of };
|
|
25620
25620
|
}, "purposeHintOf");
|
|
25621
25621
|
|
|
25622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/link-scorers/scan.js
|
|
25623
25623
|
var SCORERS = [chatTitle, aliasHits, memberChats, memberDialog, chatSenders, mailThread];
|
|
25624
25624
|
var PERSON_SCORERS = [emailDomain];
|
|
25625
25625
|
var SCAN_BOT = { bot: "memo-scan", kind: "rule" };
|
|
@@ -25827,18 +25827,18 @@ var referenceOf = /* @__PURE__ */ __name((text2) => {
|
|
|
25827
25827
|
}, "referenceOf");
|
|
25828
25828
|
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");
|
|
25829
25829
|
|
|
25830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
25831
25831
|
import { setTimeout as sleep3 } from "node:timers/promises";
|
|
25832
25832
|
|
|
25833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
25834
25834
|
import { lstat } from "node:fs/promises";
|
|
25835
25835
|
|
|
25836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
25837
25837
|
import { createHash as createHash4, randomUUID as randomUUID2 } from "node:crypto";
|
|
25838
25838
|
import { open as open2, rename as rename2, unlink as unlink2 } from "node:fs/promises";
|
|
25839
25839
|
import { join as join2 } from "node:path";
|
|
25840
25840
|
|
|
25841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-metadata.js
|
|
25842
25842
|
import { createHash as createHash3 } from "node:crypto";
|
|
25843
25843
|
var metadataLimit = 16384;
|
|
25844
25844
|
var partialIdentity = /* @__PURE__ */ __name((locator) => JSON.stringify([locator.provider, locator.account, locator.occurrenceId, locator.assetId]), "partialIdentity");
|
|
@@ -25898,7 +25898,7 @@ var readPartialMetadata = /* @__PURE__ */ __name(async (path, locator, maxBytes,
|
|
|
25898
25898
|
}
|
|
25899
25899
|
}, "readPartialMetadata");
|
|
25900
25900
|
|
|
25901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-writer.js
|
|
25902
25902
|
import { randomUUID } from "node:crypto";
|
|
25903
25903
|
import { open, rename, unlink } from "node:fs/promises";
|
|
25904
25904
|
import { join } from "node:path";
|
|
@@ -25990,7 +25990,7 @@ var partialWriter = /* @__PURE__ */ __name(async (input) => {
|
|
|
25990
25990
|
};
|
|
25991
25991
|
}, "partialWriter");
|
|
25992
25992
|
|
|
25993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
25993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
25994
25994
|
var NativeRecordingPartialStore = class {
|
|
25995
25995
|
static {
|
|
25996
25996
|
__name(this, "NativeRecordingPartialStore");
|
|
@@ -26097,12 +26097,12 @@ var NativeRecordingPartialStore = class {
|
|
|
26097
26097
|
}
|
|
26098
26098
|
};
|
|
26099
26099
|
|
|
26100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
26101
26101
|
import { createHash as createHash5 } from "node:crypto";
|
|
26102
26102
|
import { link as link2 } from "node:fs/promises";
|
|
26103
26103
|
import { basename, dirname, join as join4, resolve } from "node:path";
|
|
26104
26104
|
|
|
26105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-files.js
|
|
26106
26106
|
import { unlink as unlink3 } from "node:fs/promises";
|
|
26107
26107
|
var verifiedPublicationFile = /* @__PURE__ */ __name(async (path, expected2, signal, writable = false) => {
|
|
26108
26108
|
signal?.throwIfAborted();
|
|
@@ -26137,7 +26137,7 @@ var commitPublication = /* @__PURE__ */ __name(async (root, partialPath, finalPa
|
|
|
26137
26137
|
signal?.throwIfAborted();
|
|
26138
26138
|
}, "commitPublication");
|
|
26139
26139
|
|
|
26140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-journal.js
|
|
26141
26141
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
26142
26142
|
import { open as open3, rename as rename3, unlink as unlink4 } from "node:fs/promises";
|
|
26143
26143
|
import { join as join3 } from "node:path";
|
|
@@ -26210,7 +26210,7 @@ var writePublicationJournal = /* @__PURE__ */ __name(async (root, path, prefix,
|
|
|
26210
26210
|
}
|
|
26211
26211
|
}, "writePublicationJournal");
|
|
26212
26212
|
|
|
26213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
26214
26214
|
var NativeRecordingPublication = class {
|
|
26215
26215
|
static {
|
|
26216
26216
|
__name(this, "NativeRecordingPublication");
|
|
@@ -26283,7 +26283,7 @@ var NativeRecordingPublication = class {
|
|
|
26283
26283
|
}
|
|
26284
26284
|
};
|
|
26285
26285
|
|
|
26286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/media-archive-manifest.js
|
|
26287
26287
|
import { createHash as createHash6 } from "node:crypto";
|
|
26288
26288
|
import { readdir } from "node:fs/promises";
|
|
26289
26289
|
import { isAbsolute, join as join5, resolve as resolve2 } from "node:path";
|
|
@@ -26370,7 +26370,7 @@ var commitMediaEntry = /* @__PURE__ */ __name((root, one2, beforePublish) => wri
|
|
|
26370
26370
|
beforePublish
|
|
26371
26371
|
}), "commitMediaEntry");
|
|
26372
26372
|
|
|
26373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
26374
26374
|
var validator = '"media-completed-v1"';
|
|
26375
26375
|
var maximumFileBytes = 64 * 1024 * 1024 * 1024;
|
|
26376
26376
|
var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2, beforeWrite, signal, metadata = {}) => {
|
|
@@ -26471,7 +26471,7 @@ var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2
|
|
|
26471
26471
|
return entry;
|
|
26472
26472
|
}, "archiveMediaFile");
|
|
26473
26473
|
|
|
26474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/media-archive-locks.js
|
|
26475
26475
|
import { mkdir, realpath } from "node:fs/promises";
|
|
26476
26476
|
import { join as join6, resolve as resolve3 } from "node:path";
|
|
26477
26477
|
var archiveLocations = /* @__PURE__ */ __name(async (initial, signal) => {
|
|
@@ -26538,7 +26538,7 @@ var withMediaArchiveLocks = /* @__PURE__ */ __name(async (directory2, signal, ru
|
|
|
26538
26538
|
throw new CliError("validation_error", "archive locations changed during locking; run the command again");
|
|
26539
26539
|
}, "withMediaArchiveLocks");
|
|
26540
26540
|
|
|
26541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26541
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
26542
26542
|
var validateMediaSince = /* @__PURE__ */ __name((value, flag = "--since-time") => {
|
|
26543
26543
|
if (value === void 0)
|
|
26544
26544
|
return void 0;
|
|
@@ -26691,7 +26691,7 @@ var archiveMedia = /* @__PURE__ */ __name(async (ports, options) => {
|
|
|
26691
26691
|
}, { create: true });
|
|
26692
26692
|
}, "archiveMedia");
|
|
26693
26693
|
|
|
26694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/media-archive-move.js
|
|
26695
26695
|
import { realpath as realpath2, unlink as unlink5 } from "node:fs/promises";
|
|
26696
26696
|
import { basename as basename2, dirname as dirname2, join as join7, resolve as resolve4 } from "node:path";
|
|
26697
26697
|
var canonicalDestination = /* @__PURE__ */ __name(async (directory2) => {
|
|
@@ -26844,7 +26844,7 @@ var moveMediaArchive = /* @__PURE__ */ __name(async (options) => {
|
|
|
26844
26844
|
}, { additional: [target2], createAdditional: !options.dryRun });
|
|
26845
26845
|
}, "moveMediaArchive");
|
|
26846
26846
|
|
|
26847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/model-downloads.js
|
|
26848
26848
|
var bytesOf2 = /* @__PURE__ */ __name((model) => model.files.reduce((sum2, file2) => sum2 + file2.bytes, 0), "bytesOf");
|
|
26849
26849
|
var nativeRuntime = /* @__PURE__ */ __name(async ({ env, progress = /* @__PURE__ */ __name(() => {
|
|
26850
26850
|
}, "progress") }) => {
|
|
@@ -26867,7 +26867,7 @@ var downloadTextModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
26867
26867
|
}
|
|
26868
26868
|
await nativeRuntime({ env, progress });
|
|
26869
26869
|
progress(`${model.id}: loading it once to check it works`);
|
|
26870
|
-
const { openEmbedder: openEmbedder2 } = await import("./embed-
|
|
26870
|
+
const { openEmbedder: openEmbedder2 } = await import("./embed-R2KJDGEX.js");
|
|
26871
26871
|
const embedder = await openEmbedder2(model, directory2);
|
|
26872
26872
|
try {
|
|
26873
26873
|
const [vector] = await embedder.embed(["check"], "query");
|
|
@@ -26888,7 +26888,7 @@ var downloadRerankModel = /* @__PURE__ */ __name(async (id2, { env, progress = /
|
|
|
26888
26888
|
}
|
|
26889
26889
|
await nativeRuntime({ env, progress });
|
|
26890
26890
|
progress(`${model.id}: loading it once to check it works`);
|
|
26891
|
-
const { openReranker } = await import("./rerank-
|
|
26891
|
+
const { openReranker } = await import("./rerank-MJYLXZ4K.js");
|
|
26892
26892
|
const reranker = await openReranker(model, directory2);
|
|
26893
26893
|
try {
|
|
26894
26894
|
await reranker.score("check", ["check"]);
|
|
@@ -26906,7 +26906,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
26906
26906
|
await installFiles(placedImage(model, directory2), { progress, ...bytes2 ? { bytes: bytes2 } : {} });
|
|
26907
26907
|
}
|
|
26908
26908
|
progress(`${model.id}: loading it once to check it works`);
|
|
26909
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
26909
|
+
const { openPictureEmbedder } = await import("./embedder-X2Y5RLKE.js");
|
|
26910
26910
|
const embedder = await openPictureEmbedder(model, directory2);
|
|
26911
26911
|
try {
|
|
26912
26912
|
const vector = await embedder.embedQuery("check");
|
|
@@ -26918,7 +26918,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
26918
26918
|
return { model, directory: directory2 };
|
|
26919
26919
|
}, "downloadImageModel");
|
|
26920
26920
|
|
|
26921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/money-words.js
|
|
26922
26922
|
var MONEY_REQUEST = "money-request";
|
|
26923
26923
|
var MONEY_DONE = "money-done";
|
|
26924
26924
|
var PROMISE = "promise";
|
|
@@ -26952,10 +26952,10 @@ var MONEY_WORDS = [
|
|
|
26952
26952
|
}
|
|
26953
26953
|
];
|
|
26954
26954
|
|
|
26955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/money-words.js
|
|
26956
26956
|
var moneyClassesOf = /* @__PURE__ */ __name((text2) => listsHit(text2, MONEY_WORDS), "moneyClassesOf");
|
|
26957
26957
|
|
|
26958
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/status-words.js
|
|
26959
26959
|
var words2 = /* @__PURE__ */ __name((forms) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${forms.join("|")})(?![\\p{L}\\p{N}])`, "iu"), "words");
|
|
26960
26960
|
var MONEY_DONE_FORMS = words2([
|
|
26961
26961
|
"\u043E\u043F\u043B\u0430\u0442\u0438\u043B[\u0430\u0438]?",
|
|
@@ -26995,7 +26995,7 @@ var PROMISE_FORMS = words2([
|
|
|
26995
26995
|
"estar\xE1 listo"
|
|
26996
26996
|
]);
|
|
26997
26997
|
|
|
26998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/items.js
|
|
26999
26999
|
var EXCERPT_CHARS = 80;
|
|
27000
27000
|
var excerpt2 = /* @__PURE__ */ __name((text2) => {
|
|
27001
27001
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -27017,7 +27017,7 @@ var whoOf = /* @__PURE__ */ __name((message) => ({
|
|
|
27017
27017
|
var fromOwner = /* @__PURE__ */ __name((message) => message.outgoing === true, "fromOwner");
|
|
27018
27018
|
var day = /* @__PURE__ */ __name((at) => new Date(at).toISOString().slice(0, 10), "day");
|
|
27019
27019
|
|
|
27020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/signals/amounts.js
|
|
27021
27021
|
var MONEY = DEFAULT_TASK_CATEGORIES.filter((category) => category.name === "money");
|
|
27022
27022
|
var verbOf = /* @__PURE__ */ __name((text2) => {
|
|
27023
27023
|
if (MONEY_DONE_FORMS.test(text2))
|
|
@@ -27098,7 +27098,7 @@ var amounts = {
|
|
|
27098
27098
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state === "asked" ? [{ chat: item2.chat, weight: 2, why: "money asked" }] : []), "attention")
|
|
27099
27099
|
};
|
|
27100
27100
|
|
|
27101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/signals/children.js
|
|
27102
27102
|
var children = {
|
|
27103
27103
|
id: "children",
|
|
27104
27104
|
version: 1,
|
|
@@ -27127,7 +27127,7 @@ var children = {
|
|
|
27127
27127
|
}, "read")
|
|
27128
27128
|
};
|
|
27129
27129
|
|
|
27130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/signals/coverage.js
|
|
27131
27131
|
var coverage = {
|
|
27132
27132
|
id: "coverage",
|
|
27133
27133
|
version: 1,
|
|
@@ -27156,7 +27156,7 @@ var coverage = {
|
|
|
27156
27156
|
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")
|
|
27157
27157
|
};
|
|
27158
27158
|
|
|
27159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/signals/payments.js
|
|
27160
27160
|
var holding = /* @__PURE__ */ __name((row) => row.review !== "rejected", "holding");
|
|
27161
27161
|
var item = /* @__PURE__ */ __name((row, at, data) => ({
|
|
27162
27162
|
signal: "payments",
|
|
@@ -27206,7 +27206,7 @@ var payments = {
|
|
|
27206
27206
|
}, "read")
|
|
27207
27207
|
};
|
|
27208
27208
|
|
|
27209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/signals/promises.js
|
|
27210
27210
|
var PATTERNS_PER_CHAT = 3;
|
|
27211
27211
|
var DAY3 = 864e5;
|
|
27212
27212
|
var KINDS2 = /* @__PURE__ */ new Set(["promise", "request"]);
|
|
@@ -27295,7 +27295,7 @@ var promises = {
|
|
|
27295
27295
|
}, "read")
|
|
27296
27296
|
};
|
|
27297
27297
|
|
|
27298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/signals/questions.js
|
|
27299
27299
|
var PER_SIDE = 5;
|
|
27300
27300
|
var WEEK = 7 * 864e5;
|
|
27301
27301
|
var NOBODY = /* @__PURE__ */ new Set();
|
|
@@ -27326,7 +27326,7 @@ var questions2 = {
|
|
|
27326
27326
|
}, "attention")
|
|
27327
27327
|
};
|
|
27328
27328
|
|
|
27329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/signals/reply-next.js
|
|
27330
27330
|
var targetOf = /* @__PURE__ */ __name((message, chat, owners) => {
|
|
27331
27331
|
const byId2 = /* @__PURE__ */ __name((id2) => chat.messages.find((one2) => one2.id === id2), "byId");
|
|
27332
27332
|
const quoted = message.replyTo ?? (message.replyToId === void 0 ? void 0 : byId2(message.replyToId));
|
|
@@ -27394,7 +27394,7 @@ var replyNext = {
|
|
|
27394
27394
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.next === "owner" ? [{ chat: item2.chat, weight: 2, why: "your move" }] : []), "attention")
|
|
27395
27395
|
};
|
|
27396
27396
|
|
|
27397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/signals/topics.js
|
|
27398
27398
|
var escaped2 = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
27399
27399
|
var wholeWord = /* @__PURE__ */ __name((word) => new RegExp(`(?<![\\p{L}\\p{N}])${escaped2(word)}(?![\\p{L}\\p{N}])`, "u"), "wholeWord");
|
|
27400
27400
|
var matcherOf = /* @__PURE__ */ __name((query) => {
|
|
@@ -27440,7 +27440,7 @@ var topics = {
|
|
|
27440
27440
|
}, "read")
|
|
27441
27441
|
};
|
|
27442
27442
|
|
|
27443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/signals/index.js
|
|
27444
27444
|
var STATUS_SIGNALS = [
|
|
27445
27445
|
replyNext,
|
|
27446
27446
|
questions2,
|
|
@@ -27452,7 +27452,7 @@ var STATUS_SIGNALS = [
|
|
|
27452
27452
|
children
|
|
27453
27453
|
];
|
|
27454
27454
|
|
|
27455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27455
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/project-status/index.js
|
|
27456
27456
|
var DAY4 = 864e5;
|
|
27457
27457
|
var STATUS_WINDOW = 300;
|
|
27458
27458
|
var STATUS_CHATS = 16;
|
|
@@ -27641,7 +27641,7 @@ var projectStatus = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
27641
27641
|
};
|
|
27642
27642
|
}, "projectStatus");
|
|
27643
27643
|
|
|
27644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/account.js
|
|
27645
27645
|
var accountService = /* @__PURE__ */ __name((deps) => {
|
|
27646
27646
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
27647
27647
|
if (deps.offline)
|
|
@@ -27713,7 +27713,7 @@ var accountService = /* @__PURE__ */ __name((deps) => {
|
|
|
27713
27713
|
};
|
|
27714
27714
|
}, "accountService");
|
|
27715
27715
|
|
|
27716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/send-time.js
|
|
27717
27717
|
var MINUTE = 6e4;
|
|
27718
27718
|
var YEAR = 365 * 24 * 60 * MINUTE;
|
|
27719
27719
|
var DELAY = /^(\d+)(m|h|d)$/;
|
|
@@ -27732,7 +27732,7 @@ var sendTime = /* @__PURE__ */ __name((value, now = Date.now(), flag = "--at-tim
|
|
|
27732
27732
|
return new Date(at - at % MINUTE).toISOString();
|
|
27733
27733
|
}, "sendTime");
|
|
27734
27734
|
|
|
27735
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/admin.js
|
|
27736
27736
|
var recordMembership = /* @__PURE__ */ __name(async (deps, operationId, done2, change, fix, write2) => {
|
|
27737
27737
|
try {
|
|
27738
27738
|
const held = await accountStoreIfOpen(deps);
|
|
@@ -27979,7 +27979,7 @@ var linkLimits = /* @__PURE__ */ __name(({ approval, expires, maxUses }) => {
|
|
|
27979
27979
|
return expires === void 0 ? void 0 : sendTime(expires, Date.now(), "--expire-time");
|
|
27980
27980
|
}, "linkLimits");
|
|
27981
27981
|
|
|
27982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
27982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/mail-search.js
|
|
27983
27983
|
var THREADS_PAGE = 500;
|
|
27984
27984
|
var threadsOf = /* @__PURE__ */ __name(async (store, key) => {
|
|
27985
27985
|
const account = await store.accounts.storedAccount(key).catch(() => void 0);
|
|
@@ -28058,7 +28058,7 @@ var readMail = /* @__PURE__ */ __name(async (store, locator, { before: before2 =
|
|
|
28058
28058
|
return thread.slice(Math.max(0, at - before2), at + after + 1).map((hit) => hit.id === message ? { ...hit, anchor: true } : hit);
|
|
28059
28059
|
}, "readMail");
|
|
28060
28060
|
|
|
28061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
28061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/search-kind.js
|
|
28062
28062
|
var NO_MAIL = "no_mail";
|
|
28063
28063
|
var MAIL = "email";
|
|
28064
28064
|
var listContextOf = /* @__PURE__ */ __name(async (store, account, app, stored) => {
|
|
@@ -28105,7 +28105,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
|
|
|
28105
28105
|
return chosenMail.map(({ provider, account }) => ({ provider, account }));
|
|
28106
28106
|
}, "accountsOfKind");
|
|
28107
28107
|
|
|
28108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
28108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/messages-search.js
|
|
28109
28109
|
var MAIL_FIELDS = /* @__PURE__ */ new Set(["to", "cc", "bcc", "subject", "mailbox", "label", "is"]);
|
|
28110
28110
|
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");
|
|
28111
28111
|
var prepareLucene = /* @__PURE__ */ __name(async (store, account, request, messenger) => {
|
|
@@ -28453,7 +28453,7 @@ var statsLucene = /* @__PURE__ */ __name(async (store, account, request, messeng
|
|
|
28453
28453
|
};
|
|
28454
28454
|
}, "statsLucene");
|
|
28455
28455
|
|
|
28456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
28456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/rankings-selection.js
|
|
28457
28457
|
var RANKING_SELECTION_BYTES = 64 * 1024;
|
|
28458
28458
|
var object = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0, "object");
|
|
28459
28459
|
function invalid(message = "ranking selection is invalid \u2014 obtain a new drilldown from stats top") {
|
|
@@ -28622,7 +28622,7 @@ var readRankingSelection = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
28622
28622
|
};
|
|
28623
28623
|
}, "readRankingSelection");
|
|
28624
28624
|
|
|
28625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
28625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/search-record.js
|
|
28626
28626
|
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");
|
|
28627
28627
|
var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
28628
28628
|
command,
|
|
@@ -28632,7 +28632,7 @@ var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
|
28632
28632
|
fieldsVersion: FIELD_VERSION
|
|
28633
28633
|
}), "searchRecordOf");
|
|
28634
28634
|
|
|
28635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
28635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/admin-statistics.js
|
|
28636
28636
|
function invalid2(message) {
|
|
28637
28637
|
throw new CliError("validation_error", message);
|
|
28638
28638
|
}
|
|
@@ -28926,7 +28926,7 @@ var adminStatisticsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
28926
28926
|
}, "evidence")
|
|
28927
28927
|
}), "adminStatisticsService");
|
|
28928
28928
|
|
|
28929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
28929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/archive-gaps.js
|
|
28930
28930
|
import { createHash as createHash7, randomUUID as randomUUID4 } from "node:crypto";
|
|
28931
28931
|
var GAP_BOUNDS = { maxGaps: 5, limit: 500, timeMs: 3e4 };
|
|
28932
28932
|
var validateRepair = /* @__PURE__ */ __name((messenger, options) => {
|
|
@@ -29063,16 +29063,16 @@ var gapsService = /* @__PURE__ */ __name((deps) => {
|
|
|
29063
29063
|
return { plan, repair };
|
|
29064
29064
|
}, "gapsService");
|
|
29065
29065
|
|
|
29066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
29067
29067
|
import { createHash as createHash9 } from "node:crypto";
|
|
29068
29068
|
import { constants as constants2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
29069
29069
|
import { lstat as lstat4, open as open6, readFile, stat as stat2 } from "node:fs/promises";
|
|
29070
29070
|
|
|
29071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
29072
29072
|
import { lstat as lstat2, readdir as readdir2, realpath as realpath3 } from "node:fs/promises";
|
|
29073
29073
|
import { basename as basename4, join as join8, relative as relative2, sep as sep2 } from "node:path";
|
|
29074
29074
|
|
|
29075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/sends/upload.js
|
|
29076
29076
|
import { openAsBlob, realpathSync } from "node:fs";
|
|
29077
29077
|
import { open as open4, stat } from "node:fs/promises";
|
|
29078
29078
|
import { basename as basename3, dirname as dirname3, extname, isAbsolute as isAbsolute2, relative, resolve as resolve5, sep } from "node:path";
|
|
@@ -29274,7 +29274,7 @@ var readStickerFile = /* @__PURE__ */ __name(async (path, maxBytes, read2) => {
|
|
|
29274
29274
|
return { name, source };
|
|
29275
29275
|
}, "readStickerFile");
|
|
29276
29276
|
|
|
29277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
29278
29278
|
var MAX_FILES = 1e4;
|
|
29279
29279
|
var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app, env) => {
|
|
29280
29280
|
if (refusedPlace(directory2, app, env))
|
|
@@ -29343,15 +29343,15 @@ var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app,
|
|
|
29343
29343
|
return choices;
|
|
29344
29344
|
}, "directoryPaths");
|
|
29345
29345
|
|
|
29346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
29347
29347
|
import { posix } from "node:path";
|
|
29348
29348
|
|
|
29349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
29350
29350
|
import { setImmediate as tick } from "node:timers/promises";
|
|
29351
29351
|
import { crc32 } from "node:zlib";
|
|
29352
29352
|
var import_xmldom = __toESM(require_lib(), 1);
|
|
29353
29353
|
|
|
29354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
|
|
29355
29355
|
var import_chardet = __toESM(require_lib2(), 1);
|
|
29356
29356
|
var import_iconv_lite = __toESM(require_lib3(), 1);
|
|
29357
29357
|
var SAMPLE = 65536;
|
|
@@ -29453,7 +29453,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes2) => {
|
|
|
29453
29453
|
return result.text;
|
|
29454
29454
|
}, "decodeXml");
|
|
29455
29455
|
|
|
29456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
29457
29457
|
var MAX_PART = 10 * 1024 * 1024;
|
|
29458
29458
|
var MAX_ENTRIES = 1e3;
|
|
29459
29459
|
var decoder = new TextDecoder("utf-8", { fatal: true });
|
|
@@ -29668,7 +29668,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
|
|
|
29668
29668
|
return found;
|
|
29669
29669
|
}, "elements");
|
|
29670
29670
|
|
|
29671
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29671
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
|
|
29672
29672
|
var columnName = /* @__PURE__ */ __name((column) => {
|
|
29673
29673
|
let name = "";
|
|
29674
29674
|
for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
|
|
@@ -29723,7 +29723,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
|
|
|
29723
29723
|
return { text: parts.join("").trim(), truncated: false };
|
|
29724
29724
|
}, "sheetText");
|
|
29725
29725
|
|
|
29726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
29726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
29727
29727
|
var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
29728
29728
|
var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
29729
29729
|
var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
@@ -30123,10 +30123,10 @@ var readDocument = /* @__PURE__ */ __name(async (bytes2, kind, signal) => {
|
|
|
30123
30123
|
}
|
|
30124
30124
|
}, "readDocument");
|
|
30125
30125
|
|
|
30126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
30127
30127
|
import { extname as extname3 } from "node:path";
|
|
30128
30128
|
|
|
30129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/engine.js
|
|
30130
30130
|
import { readFileSync } from "node:fs";
|
|
30131
30131
|
import { dirname as dirname4, extname as extname2, join as join9 } from "node:path";
|
|
30132
30132
|
import { fileURLToPath } from "node:url";
|
|
@@ -30187,7 +30187,7 @@ var derived = /* @__PURE__ */ __name((bytes2, extractor, read2) => {
|
|
|
30187
30187
|
}
|
|
30188
30188
|
}, "derived");
|
|
30189
30189
|
|
|
30190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/image/index.js
|
|
30191
30191
|
var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
|
|
30192
30192
|
var image2 = {
|
|
30193
30193
|
id: "image",
|
|
@@ -30196,7 +30196,7 @@ var image2 = {
|
|
|
30196
30196
|
read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
|
|
30197
30197
|
};
|
|
30198
30198
|
|
|
30199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
|
|
30200
30200
|
var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
|
|
30201
30201
|
var doc = {
|
|
30202
30202
|
id: "doc",
|
|
@@ -30208,7 +30208,7 @@ var doc = {
|
|
|
30208
30208
|
}), "read")
|
|
30209
30209
|
};
|
|
30210
30210
|
|
|
30211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
|
|
30212
30212
|
var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
30213
30213
|
var docx = {
|
|
30214
30214
|
id: "docx",
|
|
@@ -30221,7 +30221,7 @@ var docx = {
|
|
|
30221
30221
|
}), "read")
|
|
30222
30222
|
};
|
|
30223
30223
|
|
|
30224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/markup.js
|
|
30225
30225
|
var import_iconv_lite2 = __toESM(require_lib3(), 1);
|
|
30226
30226
|
var RTF_SKIPPED = /* @__PURE__ */ new Set([
|
|
30227
30227
|
"fonttbl",
|
|
@@ -30397,7 +30397,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
|
|
|
30397
30397
|
}, "htmlText");
|
|
30398
30398
|
var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
|
|
30399
30399
|
|
|
30400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/html/page.js
|
|
30401
30401
|
var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
|
|
30402
30402
|
var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
|
|
30403
30403
|
var jsonLdNodes = /* @__PURE__ */ __name((document) => {
|
|
@@ -30453,7 +30453,7 @@ var markdownSections = /* @__PURE__ */ __name((text2) => {
|
|
|
30453
30453
|
return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text2.length }));
|
|
30454
30454
|
}, "markdownSections");
|
|
30455
30455
|
|
|
30456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/html/index.js
|
|
30457
30457
|
var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
|
|
30458
30458
|
var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
|
|
30459
30459
|
var loaded = /* @__PURE__ */ __name(async (load, name) => {
|
|
@@ -30524,7 +30524,7 @@ var html = {
|
|
|
30524
30524
|
}, "read")
|
|
30525
30525
|
};
|
|
30526
30526
|
|
|
30527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/office/index.js
|
|
30528
30528
|
var office = {
|
|
30529
30529
|
id: "office",
|
|
30530
30530
|
version: documentExtractor("odt"),
|
|
@@ -30535,7 +30535,7 @@ var office = {
|
|
|
30535
30535
|
}, "read")
|
|
30536
30536
|
};
|
|
30537
30537
|
|
|
30538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
|
|
30539
30539
|
var pdf = {
|
|
30540
30540
|
id: "pdf",
|
|
30541
30541
|
version: "unpdf",
|
|
@@ -30602,7 +30602,7 @@ var pdf = {
|
|
|
30602
30602
|
}), "read")
|
|
30603
30603
|
};
|
|
30604
30604
|
|
|
30605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
|
|
30606
30606
|
var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
|
|
30607
30607
|
var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
|
|
30608
30608
|
var readPlain = /* @__PURE__ */ __name((bytes2) => {
|
|
@@ -30622,7 +30622,7 @@ var plain = {
|
|
|
30622
30622
|
read: /* @__PURE__ */ __name(async (bytes2) => readPlain(bytes2), "read")
|
|
30623
30623
|
};
|
|
30624
30624
|
|
|
30625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
|
|
30626
30626
|
var rtf = {
|
|
30627
30627
|
id: "rtf",
|
|
30628
30628
|
version: "v1",
|
|
@@ -30630,10 +30630,10 @@ var rtf = {
|
|
|
30630
30630
|
read: /* @__PURE__ */ __name(async (bytes2) => derived(bytes2, "rtf:v1", rtfText), "read")
|
|
30631
30631
|
};
|
|
30632
30632
|
|
|
30633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
30634
30634
|
import { basename as basename5 } from "node:path";
|
|
30635
30635
|
|
|
30636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
|
|
30637
30637
|
var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) => {
|
|
30638
30638
|
const cells = [];
|
|
30639
30639
|
let row = 1, column = 1, start = 0, quoted = false, truncated = false;
|
|
@@ -30671,7 +30671,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) =
|
|
|
30671
30671
|
return { cells, truncated };
|
|
30672
30672
|
}, "delimitedSpans");
|
|
30673
30673
|
|
|
30674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
30675
30675
|
var DELIMITED = {
|
|
30676
30676
|
".csv": ",",
|
|
30677
30677
|
".tsv": " ",
|
|
@@ -30710,7 +30710,7 @@ var sheets = {
|
|
|
30710
30710
|
}, "read")
|
|
30711
30711
|
};
|
|
30712
30712
|
|
|
30713
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30713
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/readers/registry.js
|
|
30714
30714
|
var BUILT_INS2 = [office, pdf, docx, doc, rtf, html, sheets, plain, image2];
|
|
30715
30715
|
var HEAD_BYTES = 1024;
|
|
30716
30716
|
var readers = [...BUILT_INS2];
|
|
@@ -30720,7 +30720,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes2, hint, context2) =>
|
|
|
30720
30720
|
return reader ? reader.read(bytes2, hint, context2) : { status: "unsupported" };
|
|
30721
30721
|
}, "readWithRegistry");
|
|
30722
30722
|
|
|
30723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
30723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
30724
30724
|
var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
|
|
30725
30725
|
var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname3(name ?? path).toLowerCase(), "extensionOf");
|
|
30726
30726
|
var extractText = /* @__PURE__ */ __name(async (bytes2, hint, load, signal, env = process.env) => {
|
|
@@ -31799,7 +31799,7 @@ function imageSize(input) {
|
|
|
31799
31799
|
}
|
|
31800
31800
|
__name(imageSize, "imageSize");
|
|
31801
31801
|
|
|
31802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
31802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
|
|
31803
31803
|
var MAX_PAGES = 20;
|
|
31804
31804
|
var MAX_PIXELS = 2e7;
|
|
31805
31805
|
var cancelled2 = /* @__PURE__ */ __name((signal) => {
|
|
@@ -31950,7 +31950,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes2, pipeline2, load, signal) => {
|
|
|
31950
31950
|
}
|
|
31951
31951
|
}, "ocrPdf");
|
|
31952
31952
|
|
|
31953
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
31953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/pdf-preview.js
|
|
31954
31954
|
var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = importEngine, env = process.env) => {
|
|
31955
31955
|
const limits = pdfPreviewLimits(env);
|
|
31956
31956
|
const cancelled4 = /* @__PURE__ */ __name(() => {
|
|
@@ -32027,7 +32027,7 @@ var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = impo
|
|
|
32027
32027
|
}
|
|
32028
32028
|
}, "pdfPreview");
|
|
32029
32029
|
|
|
32030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
32030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/attachments/transfer.js
|
|
32031
32031
|
import { createHash as createHash8 } from "node:crypto";
|
|
32032
32032
|
import { constants } from "node:fs";
|
|
32033
32033
|
import { lstat as lstat3, open as open5 } from "node:fs/promises";
|
|
@@ -32135,7 +32135,7 @@ var transferMime = /* @__PURE__ */ __name((head, hint, name = null) => {
|
|
|
32135
32135
|
return hint !== null && /^[a-z0-9.+-]+\/[a-z0-9.+-]+$/i.test(hint) ? hint : "application/octet-stream";
|
|
32136
32136
|
}, "transferMime");
|
|
32137
32137
|
|
|
32138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
32138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
32139
32139
|
import { createWriteStream, mkdirSync } from "node:fs";
|
|
32140
32140
|
import { link as link3, rm } from "node:fs/promises";
|
|
32141
32141
|
import { join as join10, resolve as resolve6 } from "node:path";
|
|
@@ -32249,7 +32249,7 @@ var save = /* @__PURE__ */ __name(async (file2, directory2, fallbackName, { uniq
|
|
|
32249
32249
|
}
|
|
32250
32250
|
}, "save");
|
|
32251
32251
|
|
|
32252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
32252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
32253
32253
|
var ATTACHMENT_QUERY = {
|
|
32254
32254
|
entity: "attachment",
|
|
32255
32255
|
backend: "sql",
|
|
@@ -32672,7 +32672,7 @@ var attachmentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
32672
32672
|
}, "setText")
|
|
32673
32673
|
}), "attachmentsService");
|
|
32674
32674
|
|
|
32675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
32675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/chat-documents.js
|
|
32676
32676
|
var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
32677
32677
|
list: /* @__PURE__ */ __name(async (chat, { limit, offset, ref }) => {
|
|
32678
32678
|
const store = await accountStore(deps);
|
|
@@ -32702,7 +32702,7 @@ var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
32702
32702
|
}, "list")
|
|
32703
32703
|
}), "chatDocumentsService");
|
|
32704
32704
|
|
|
32705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
32705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/retention.js
|
|
32706
32706
|
var observationDuration = /* @__PURE__ */ __name((text2, flag) => {
|
|
32707
32707
|
const match = /^(\d+(?:\.\d+)?)([smhdw])$/.exec(text2);
|
|
32708
32708
|
const units2 = { s: 1e3, m: 6e4, h: 36e5, d: 864e5, w: 6048e5 };
|
|
@@ -32789,7 +32789,7 @@ var isRetentionSelection = /* @__PURE__ */ __name((selection) => {
|
|
|
32789
32789
|
}
|
|
32790
32790
|
}, "isRetentionSelection");
|
|
32791
32791
|
|
|
32792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
32792
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/counters.js
|
|
32793
32793
|
var counterFields = /* @__PURE__ */ __name((text2 = "views,reactions,comments") => {
|
|
32794
32794
|
const fields = text2.split(",").map((one2) => one2.trim());
|
|
32795
32795
|
if (!fields.length || fields.some((one2) => !COUNTER_FIELDS.includes(one2)) || new Set(fields).size !== fields.length)
|
|
@@ -32996,7 +32996,7 @@ var countersService = /* @__PURE__ */ __name((deps) => {
|
|
|
32996
32996
|
};
|
|
32997
32997
|
}, "countersService");
|
|
32998
32998
|
|
|
32999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
32999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/search-refresh.js
|
|
33000
33000
|
var SYNC_KEY = "messages.sync-first";
|
|
33001
33001
|
var SYNC_BOUNDS = { maxChats: 5, timeMs: 3e4, maxMessages: 500 };
|
|
33002
33002
|
var keyOf2 = /* @__PURE__ */ __name((chat) => JSON.stringify([chat.account.provider, chat.account.account, chat.chatId]), "keyOf");
|
|
@@ -33128,7 +33128,7 @@ var withRefresh = /* @__PURE__ */ __name((found, refreshed) => ({
|
|
|
33128
33128
|
...!refreshed || refreshed.complete ? {} : { coverage: { ...found.coverage, state: "stale" } }
|
|
33129
33129
|
}), "withRefresh");
|
|
33130
33130
|
|
|
33131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/embeddings-search.js
|
|
33132
33132
|
var CANDIDATES = 50;
|
|
33133
33133
|
var WORD_HITS = 200;
|
|
33134
33134
|
var RRF_K = 60;
|
|
@@ -33403,13 +33403,13 @@ var meanOf = /* @__PURE__ */ __name((vectors) => {
|
|
|
33403
33403
|
return mean2.map((value) => value / length);
|
|
33404
33404
|
}, "meanOf");
|
|
33405
33405
|
|
|
33406
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/embeddings.js
|
|
33407
33407
|
var embeddingsService = /* @__PURE__ */ __name((deps) => ({
|
|
33408
33408
|
...embeddingsMaintenance(deps),
|
|
33409
33409
|
...embeddingsSearch(deps)
|
|
33410
33410
|
}), "embeddingsService");
|
|
33411
33411
|
|
|
33412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/folders.js
|
|
33413
33413
|
var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
33414
33414
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
33415
33415
|
if (deps.offline)
|
|
@@ -33550,7 +33550,7 @@ var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
|
33550
33550
|
};
|
|
33551
33551
|
}, "foldersService");
|
|
33552
33552
|
|
|
33553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/mentions.js
|
|
33554
33554
|
var REVIEW_COUNT = 500;
|
|
33555
33555
|
var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
33556
33556
|
const located = /* @__PURE__ */ __name(async () => {
|
|
@@ -33629,7 +33629,7 @@ var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
|
33629
33629
|
};
|
|
33630
33630
|
}, "mentionsService");
|
|
33631
33631
|
|
|
33632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
33633
33633
|
var invalid3 = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
33634
33634
|
var validateFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
33635
33635
|
const { text: text2, spans } = formatted2;
|
|
@@ -33689,7 +33689,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
|
33689
33689
|
};
|
|
33690
33690
|
}, "visibleFormattedText");
|
|
33691
33691
|
|
|
33692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/message-link.js
|
|
33693
33693
|
var fileLinks = /* @__PURE__ */ __name((attachments) => hitFiles(attachments).map(({ position, kind, name }) => ({
|
|
33694
33694
|
position,
|
|
33695
33695
|
kind,
|
|
@@ -33738,7 +33738,7 @@ var validatePermalink = /* @__PURE__ */ __name((link4) => {
|
|
|
33738
33738
|
return { url: link4.url, access: link4.access, reason: link4.reason };
|
|
33739
33739
|
}, "validatePermalink");
|
|
33740
33740
|
|
|
33741
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33741
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/pin-duration.js
|
|
33742
33742
|
var spokenSeconds = /* @__PURE__ */ __name((seconds) => {
|
|
33743
33743
|
if (seconds % 86400 === 0 && seconds > 86400)
|
|
33744
33744
|
return `${seconds / 86400}d`;
|
|
@@ -33770,7 +33770,7 @@ var pinDurationOf = /* @__PURE__ */ __name((value, allowed, flag = "--expire-tim
|
|
|
33770
33770
|
return seconds;
|
|
33771
33771
|
}, "pinDurationOf");
|
|
33772
33772
|
|
|
33773
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/sends/send-as.js
|
|
33774
33774
|
var sendAsCheck = /* @__PURE__ */ __name((connection, sendAs) => {
|
|
33775
33775
|
if (sendAs === void 0) {
|
|
33776
33776
|
const saved = connection.savedSender?.bind(connection);
|
|
@@ -33795,7 +33795,7 @@ var typedSendAs = /* @__PURE__ */ __name((typed) => {
|
|
|
33795
33795
|
return sendAs;
|
|
33796
33796
|
}, "typedSendAs");
|
|
33797
33797
|
|
|
33798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/search/total.js
|
|
33799
33799
|
var TOTAL_CAP = 1e4;
|
|
33800
33800
|
var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
33801
33801
|
const least = shown + (hasMore ? 1 : 0);
|
|
@@ -33806,7 +33806,7 @@ var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
|
33806
33806
|
return { value: count4, relation: exact ? "eq" : "gte" };
|
|
33807
33807
|
}, "totalOf");
|
|
33808
33808
|
|
|
33809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
|
|
33810
33810
|
var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
|
|
33811
33811
|
var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
|
|
33812
33812
|
let narrows = false;
|
|
@@ -33835,7 +33835,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
|
|
|
33835
33835
|
return wanted(root).join(" ").trim();
|
|
33836
33836
|
}, "meaningWords");
|
|
33837
33837
|
|
|
33838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
33839
33839
|
var words3 = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
33840
33840
|
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"));
|
|
33841
33841
|
var questionWord = /\b(?:what|which|how|who|where|when|can|could|should)\b|(?:^|\s)(?:сколько|какой|какая|какие|какое|кто|кому|кем|где|когда|как|что|можно|может|могут|ли)(?:\s|$)/iu;
|
|
@@ -33967,7 +33967,7 @@ var questionLookup = /* @__PURE__ */ __name((text2) => {
|
|
|
33967
33967
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
33968
33968
|
}, "questionLookup");
|
|
33969
33969
|
|
|
33970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
33970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/messages-combined.js
|
|
33971
33971
|
var COMBINED_DEFAULTS = { candidateDepth: 300, rrfK: 60, rerank: "all", chatCap: 0 };
|
|
33972
33972
|
var tokensOf = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}\p{Co}\p{M}]+/gu) ?? [], "tokensOf");
|
|
33973
33973
|
var searchCombined = /* @__PURE__ */ __name(async (store, account, request, messenger = {}, options = COMBINED_DEFAULTS) => {
|
|
@@ -34160,7 +34160,7 @@ var signals = /* @__PURE__ */ __name((hit, terms, corrections, execution, mode,
|
|
|
34160
34160
|
return mode === "coverage" ? coverage2 * 4 : mode === "proximity" ? proximity : mode === "phrase" ? phrase : coverage2 * 4 + proximity + phrase;
|
|
34161
34161
|
}, "signals");
|
|
34162
34162
|
|
|
34163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
34163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/messages-discovery.js
|
|
34164
34164
|
var MEANING_DEPTH = 100;
|
|
34165
34165
|
var RRF_K2 = 60;
|
|
34166
34166
|
var RERANK_DEPTH = 50;
|
|
@@ -34485,7 +34485,7 @@ var mixedWithReranker = /* @__PURE__ */ __name((head, scores) => {
|
|
|
34485
34485
|
})).sort((a, b) => b.mixed - a.mixed).map(({ hit }) => hit);
|
|
34486
34486
|
}, "mixedWithReranker");
|
|
34487
34487
|
|
|
34488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
34488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/thread-context.js
|
|
34489
34489
|
var THREAD_BOUNDS = { maxHops: 8, maxMessages: 50, maxBytes: 65536, withinMs: 864e5 };
|
|
34490
34490
|
var bytes = /* @__PURE__ */ __name((items, links) => Buffer.byteLength(JSON.stringify({ items, links }), "utf8"), "bytes");
|
|
34491
34491
|
var threadBounds = /* @__PURE__ */ __name((options = {}) => {
|
|
@@ -34684,7 +34684,7 @@ var readThreadContext = /* @__PURE__ */ __name(async (store, account, chat, mess
|
|
|
34684
34684
|
return result;
|
|
34685
34685
|
}, "readThreadContext");
|
|
34686
34686
|
|
|
34687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
34687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/messages-archive-search.js
|
|
34688
34688
|
var SEARCH_FILL_MS = 200;
|
|
34689
34689
|
var statsStore = /* @__PURE__ */ __name(async (store, account, request, messenger = {}) => {
|
|
34690
34690
|
const stop = Date.now() + SEARCH_FILL_MS;
|
|
@@ -34753,12 +34753,12 @@ var accountOf2 = /* @__PURE__ */ __name((hit) => {
|
|
|
34753
34753
|
}, "accountOf");
|
|
34754
34754
|
var keyOf3 = /* @__PURE__ */ __name(({ provider, account }) => `${provider}/${account}`, "keyOf");
|
|
34755
34755
|
|
|
34756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
34756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
34757
34757
|
import { createHash as createHash10 } from "node:crypto";
|
|
34758
34758
|
import { readFile as readFile2, stat as stat3 } from "node:fs/promises";
|
|
34759
34759
|
import { setTimeout as sleep4 } from "node:timers/promises";
|
|
34760
34760
|
|
|
34761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
34761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/models.js
|
|
34762
34762
|
var GROUP_SETTINGS = [
|
|
34763
34763
|
"allCanPin",
|
|
34764
34764
|
"onlyAdminsAdd",
|
|
@@ -34772,7 +34772,7 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
|
|
|
34772
34772
|
var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
|
|
34773
34773
|
var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
|
|
34774
34774
|
|
|
34775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
34775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
34776
34776
|
var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
|
|
34777
34777
|
var PICTURE_FLOOR = 0.25;
|
|
34778
34778
|
var PAGE4 = 50;
|
|
@@ -34789,7 +34789,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
|
|
|
34789
34789
|
const directory2 = imageModelsDirectory(deps.env);
|
|
34790
34790
|
if (!isImageModelInstalled(model2, directory2))
|
|
34791
34791
|
throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
|
|
34792
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
34792
|
+
const { openPictureEmbedder } = await import("./embedder-X2Y5RLKE.js");
|
|
34793
34793
|
return openPictureEmbedder(model2, directory2);
|
|
34794
34794
|
}, "open");
|
|
34795
34795
|
const embedder = /* @__PURE__ */ __name(() => {
|
|
@@ -34986,7 +34986,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
|
|
|
34986
34986
|
}, "search")
|
|
34987
34987
|
}), "withPictures");
|
|
34988
34988
|
|
|
34989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
34989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/messages-meaning.js
|
|
34990
34990
|
var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, shared, within) => {
|
|
34991
34991
|
const target2 = embeddingTarget(deps, DEFAULT_TEXT_MODEL);
|
|
34992
34992
|
const skipped = /* @__PURE__ */ __name((reason, step) => ({
|
|
@@ -35054,7 +35054,7 @@ var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, sh
|
|
|
35054
35054
|
}
|
|
35055
35055
|
}, "meaningLane");
|
|
35056
35056
|
|
|
35057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
35057
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/messages-rerank.js
|
|
35058
35058
|
var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
35059
35059
|
const choice = deps.reranker ?? DEFAULT_RERANK_MODEL;
|
|
35060
35060
|
if (choice === "off")
|
|
@@ -35066,9 +35066,9 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
35066
35066
|
return { skipped: { reason: `${model.id} is not downloaded`, step: "models.download", model: model.id } };
|
|
35067
35067
|
try {
|
|
35068
35068
|
const warm = deps.embedders;
|
|
35069
|
-
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-
|
|
35069
|
+
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-EAEC2FBD.js")).openRerankerProcess(model, directory2, {
|
|
35070
35070
|
threads: defaultThreads()
|
|
35071
|
-
})) : await (await import("./rerank-
|
|
35071
|
+
})) : await (await import("./rerank-MJYLXZ4K.js")).openReranker(model, directory2);
|
|
35072
35072
|
return {
|
|
35073
35073
|
model: model.id,
|
|
35074
35074
|
score: /* @__PURE__ */ __name((question, passages) => reranker.score(plainWords(question), passages), "score"),
|
|
@@ -35088,17 +35088,17 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
35088
35088
|
};
|
|
35089
35089
|
}, "rerankLane");
|
|
35090
35090
|
|
|
35091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
35091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
|
|
35092
35092
|
var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
|
|
35093
35093
|
const model = imageModel(DEFAULT_IMAGE_MODEL);
|
|
35094
35094
|
const directory2 = imageModelsDirectory(env);
|
|
35095
35095
|
if (!isImageModelInstalled(model, directory2))
|
|
35096
35096
|
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 });
|
|
35097
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
35097
|
+
const { openPictureEmbedder } = await import("./embedder-X2Y5RLKE.js");
|
|
35098
35098
|
return openPictureEmbedder(model, directory2);
|
|
35099
35099
|
}, "openPictureEmbedderFor");
|
|
35100
35100
|
|
|
35101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
35101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/document-source.js
|
|
35102
35102
|
var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) => {
|
|
35103
35103
|
const metadata = note2.frontMatter;
|
|
35104
35104
|
const account = accounts.find(({ id: id2 }) => String(id2) === note2.folderId);
|
|
@@ -35113,7 +35113,7 @@ var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) =
|
|
|
35113
35113
|
};
|
|
35114
35114
|
}, "documentSource");
|
|
35115
35115
|
|
|
35116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
35116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
|
|
35117
35117
|
var plainQueryWords = /* @__PURE__ */ __name((query) => {
|
|
35118
35118
|
let root;
|
|
35119
35119
|
try {
|
|
@@ -35140,7 +35140,7 @@ var titleTiers = /* @__PURE__ */ __name((hits, words4) => {
|
|
|
35140
35140
|
return [...hits].sort((a, b) => rank(a) - rank(b));
|
|
35141
35141
|
}, "titleTiers");
|
|
35142
35142
|
|
|
35143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
35143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/notes-search.js
|
|
35144
35144
|
var storeQuery = /* @__PURE__ */ __name(async (store, text2, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text2, exact), timezone), "storeQuery");
|
|
35145
35145
|
var parsedQuery = /* @__PURE__ */ __name((text2, exact) => validateFields(parseLucene(text2, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
|
|
35146
35146
|
var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
|
|
@@ -35587,7 +35587,7 @@ var searchNotesOf = /* @__PURE__ */ __name(async (store, account, text2, { accou
|
|
|
35587
35587
|
};
|
|
35588
35588
|
}, "searchNotesOf");
|
|
35589
35589
|
|
|
35590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
35590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/events-search.js
|
|
35591
35591
|
var MAX_EVENTS_OFFSET = 1e3;
|
|
35592
35592
|
var iso3 = /* @__PURE__ */ __name((at) => at === null ? null : new Date(at).toISOString(), "iso");
|
|
35593
35593
|
var accountIdsOf = /* @__PURE__ */ __name(async (store, accounts) => {
|
|
@@ -35705,7 +35705,7 @@ var searchEvents = /* @__PURE__ */ __name(async (store, query, { limit = 20, off
|
|
|
35705
35705
|
};
|
|
35706
35706
|
}, "searchEvents");
|
|
35707
35707
|
|
|
35708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
35708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/search-all.js
|
|
35709
35709
|
var RESOURCES_SEARCHED = ["messages", "mail", "notes", "events", "crm"];
|
|
35710
35710
|
var refusal = /* @__PURE__ */ __name((error, text2) => {
|
|
35711
35711
|
const { reason, span } = error.details ?? {};
|
|
@@ -35976,7 +35976,7 @@ var oneList = /* @__PURE__ */ __name((lists, cosines) => {
|
|
|
35976
35976
|
return [...place.values()].sort((a, b) => a.rank - b.rank || cosine(b.item.ref) - cosine(a.item.ref)).map(({ item: item2 }) => item2);
|
|
35977
35977
|
}, "oneList");
|
|
35978
35978
|
|
|
35979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
35979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/search-all-meetings.js
|
|
35980
35980
|
var RESOURCES_SEARCHED_WITH_MEETINGS = [...RESOURCES_SEARCHED, "meetings"];
|
|
35981
35981
|
var whole2 = /* @__PURE__ */ __name((value, minimum, maximum, label) => {
|
|
35982
35982
|
if (!Number.isSafeInteger(value) || value < minimum || value > maximum)
|
|
@@ -36230,7 +36230,7 @@ var searchAllOfSource = /* @__PURE__ */ __name(async (store, account, source, re
|
|
|
36230
36230
|
return { ...found, skipped: [...skipped, ...empty2, ...unnamed, ...found.skipped] };
|
|
36231
36231
|
}, "searchAllOfSource");
|
|
36232
36232
|
|
|
36233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
36233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/server-search.js
|
|
36234
36234
|
var SERVER_SEARCH_KEY = "messages.server-search";
|
|
36235
36235
|
var SERVER_BOUNDS = { timeMs: 5e3, perCall: 100, maxCalls: 3, textBytes: 262144 };
|
|
36236
36236
|
var DEFAULT_BACKEND = "both";
|
|
@@ -36419,7 +36419,7 @@ var searchServer = /* @__PURE__ */ __name(async (deps, request) => {
|
|
|
36419
36419
|
return { report, sources };
|
|
36420
36420
|
}, "searchServer");
|
|
36421
36421
|
|
|
36422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
36422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/messages.js
|
|
36423
36423
|
var DELETE_AT_ONCE = 10;
|
|
36424
36424
|
var filesOf = /* @__PURE__ */ __name(({ attachments }) => {
|
|
36425
36425
|
const files = fileLinks(attachments);
|
|
@@ -36860,7 +36860,7 @@ var checkMediaOptions = /* @__PURE__ */ __name((messenger, asked, attachments) =
|
|
|
36860
36860
|
throw new CliError("validation_error", `${MEDIA_FLAGS[first2]} needs a --photo or --file`);
|
|
36861
36861
|
}, "checkMediaOptions");
|
|
36862
36862
|
|
|
36863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
36863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/domain/channel-tags.js
|
|
36864
36864
|
var CHANNEL_TAG_RULES_VERSION = "keywords-v1";
|
|
36865
36865
|
var RULES = {
|
|
36866
36866
|
ai: [/\b(ai|gpt|llm|machine learning|artificial intelligence)\b/iu, /нейросет|искусственн/iu],
|
|
@@ -36875,7 +36875,7 @@ var classifyChannel = /* @__PURE__ */ __name((metadata) => Object.entries(RULES)
|
|
|
36875
36875
|
return fields.length ? [{ tag, score: fields.length / 3, fields }] : [];
|
|
36876
36876
|
}), "classifyChannel");
|
|
36877
36877
|
|
|
36878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
36878
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/metadata.js
|
|
36879
36879
|
var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
36880
36880
|
const held = /* @__PURE__ */ __name(async (reference, { includeLeft = false } = {}) => {
|
|
36881
36881
|
const store = await deps.store();
|
|
@@ -36961,7 +36961,7 @@ var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
|
36961
36961
|
};
|
|
36962
36962
|
}, "metadataService");
|
|
36963
36963
|
|
|
36964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
36964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
36965
36965
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
36966
36966
|
var LINK2 = /https?:\/\/\S+/i;
|
|
36967
36967
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -37149,7 +37149,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
37149
37149
|
}, "nextPoint");
|
|
37150
37150
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
37151
37151
|
|
|
37152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
37152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
37153
37153
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
37154
37154
|
import { join as join11 } from "node:path";
|
|
37155
37155
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -37292,7 +37292,7 @@ var assign = /* @__PURE__ */ __name((rules, key, value) => {
|
|
|
37292
37292
|
return { ...rules, [head]: { ...rules[head], [tail]: value } };
|
|
37293
37293
|
}, "assign");
|
|
37294
37294
|
|
|
37295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
37295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/moderation/run.js
|
|
37296
37296
|
var FIRST_LOOK_MS = 24 * 36e5;
|
|
37297
37297
|
var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
37298
37298
|
const { chatId, title, rules, point, since, dryRun } = run;
|
|
@@ -37329,7 +37329,7 @@ var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
|
37329
37329
|
return { chatId, rows, notes };
|
|
37330
37330
|
}, "moderateWith");
|
|
37331
37331
|
|
|
37332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
37332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/moderation.js
|
|
37333
37333
|
var moderationService = /* @__PURE__ */ __name((deps) => {
|
|
37334
37334
|
const file2 = /* @__PURE__ */ __name(() => new ModerationRules(moderationPathFor(deps.messenger.app, deps.profile ?? "default", deps.env ?? process.env)), "file");
|
|
37335
37335
|
const group = /* @__PURE__ */ __name(async (chat) => {
|
|
@@ -37407,7 +37407,7 @@ var moderatorOf = /* @__PURE__ */ __name((adapter, deps) => ({
|
|
|
37407
37407
|
}, "removePerson")
|
|
37408
37408
|
}), "moderatorOf");
|
|
37409
37409
|
|
|
37410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
37410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/private-people.js
|
|
37411
37411
|
var noteItem = /* @__PURE__ */ __name((provider, note2) => ({
|
|
37412
37412
|
id: note2.id,
|
|
37413
37413
|
contact: formatReference({ type: "contact", provider, id: note2.personId }),
|
|
@@ -37451,7 +37451,7 @@ var privatePeopleService = /* @__PURE__ */ __name((deps) => {
|
|
|
37451
37451
|
};
|
|
37452
37452
|
}, "privatePeopleService");
|
|
37453
37453
|
|
|
37454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
37454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/rankings.js
|
|
37455
37455
|
var empty = /* @__PURE__ */ __name(() => ({
|
|
37456
37456
|
total: 0,
|
|
37457
37457
|
population: 0,
|
|
@@ -37707,7 +37707,7 @@ var rankingsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
37707
37707
|
}, "evidence")
|
|
37708
37708
|
}), "rankingsService");
|
|
37709
37709
|
|
|
37710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
37710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/reply-stats.js
|
|
37711
37711
|
var FIELDS = ["date", "chat", "kind"];
|
|
37712
37712
|
var WAITING_TAIL = 100;
|
|
37713
37713
|
var plainOnly = /* @__PURE__ */ __name((text2, command) => {
|
|
@@ -37834,7 +37834,7 @@ var replyStatsService = /* @__PURE__ */ __name((deps) => {
|
|
|
37834
37834
|
};
|
|
37835
37835
|
}, "replyStatsService");
|
|
37836
37836
|
|
|
37837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
37837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/searches.js
|
|
37838
37838
|
var savedSearchItem = /* @__PURE__ */ __name((one2) => ({
|
|
37839
37839
|
id: one2.id,
|
|
37840
37840
|
name: one2.name,
|
|
@@ -37963,7 +37963,7 @@ var searchesService = /* @__PURE__ */ __name((deps) => {
|
|
|
37963
37963
|
};
|
|
37964
37964
|
}, "searchesService");
|
|
37965
37965
|
|
|
37966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
37966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/tags.js
|
|
37967
37967
|
var TAGGING_QUERY = {
|
|
37968
37968
|
entity: "tagging",
|
|
37969
37969
|
backend: "sql",
|
|
@@ -38047,7 +38047,7 @@ var tagsService = /* @__PURE__ */ __name((deps) => {
|
|
|
38047
38047
|
};
|
|
38048
38048
|
}, "tagsService");
|
|
38049
38049
|
|
|
38050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38050
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/topics.js
|
|
38051
38051
|
var actionOf = /* @__PURE__ */ __name(({ title, closed, pinned, hidden, icon }) => {
|
|
38052
38052
|
const set = [closed, pinned, hidden].filter((one2) => one2 !== void 0).length;
|
|
38053
38053
|
if (title !== void 0 || icon !== void 0 || set !== 1)
|
|
@@ -38246,7 +38246,7 @@ var topicsService = /* @__PURE__ */ __name((deps) => {
|
|
|
38246
38246
|
};
|
|
38247
38247
|
}, "topicsService");
|
|
38248
38248
|
|
|
38249
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/evidence.js
|
|
38250
38250
|
import { createHash as createHash11, randomUUID as randomUUID5 } from "node:crypto";
|
|
38251
38251
|
var hash2 = /* @__PURE__ */ __name((value) => createHash11("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
38252
38252
|
var positive = /* @__PURE__ */ __name((value, name, minimum = 1) => {
|
|
@@ -38320,7 +38320,7 @@ var prepareEvidencePacket = /* @__PURE__ */ __name(({ kind, source, page, limits
|
|
|
38320
38320
|
return { ...content, id: randomUUID5(), fingerprint: hash2(content) };
|
|
38321
38321
|
}, "prepareEvidencePacket");
|
|
38322
38322
|
|
|
38323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38323
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/evidence-read.js
|
|
38324
38324
|
var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, limit, before: before2 }, messenger = {}) => {
|
|
38325
38325
|
if (!Number.isSafeInteger(limit) || limit < 1 || limit > 100)
|
|
38326
38326
|
throw new CliError("validation_error", "evidence message limit must be an integer from 1 to 100");
|
|
@@ -38340,7 +38340,7 @@ var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, l
|
|
|
38340
38340
|
return { ...packet, nextBeforeId: older && last ? last.id : null };
|
|
38341
38341
|
}, "readEvidencePacket");
|
|
38342
38342
|
|
|
38343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
38344
38344
|
var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
|
|
38345
38345
|
let before2 = Number.POSITIVE_INFINITY;
|
|
38346
38346
|
for (; ; ) {
|
|
@@ -38402,7 +38402,7 @@ var searchMeetingHits = /* @__PURE__ */ __name(async (store, query, request, opt
|
|
|
38402
38402
|
return { ...result, selection };
|
|
38403
38403
|
}, "searchMeetingHits");
|
|
38404
38404
|
|
|
38405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-project-discovery.js
|
|
38406
38406
|
import { createHash as createHash12 } from "node:crypto";
|
|
38407
38407
|
var scopeKeys = [
|
|
38408
38408
|
"accountId",
|
|
@@ -38537,7 +38537,7 @@ var readMeetingProjectDiscovery = /* @__PURE__ */ __name(async (ports, projectNa
|
|
|
38537
38537
|
};
|
|
38538
38538
|
}, "readMeetingProjectDiscovery");
|
|
38539
38539
|
|
|
38540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-hit-context.js
|
|
38541
38541
|
import { createHash as createHash13 } from "node:crypto";
|
|
38542
38542
|
var contextCue = /* @__PURE__ */ __name((cue) => ({
|
|
38543
38543
|
ref: cue.reference,
|
|
@@ -38655,7 +38655,7 @@ var readMeetingHitContext = /* @__PURE__ */ __name(async (store, accountId, refe
|
|
|
38655
38655
|
return { ...packet, fingerprint: createHash13("sha256").update(JSON.stringify(packet)).digest("hex") };
|
|
38656
38656
|
}, "readMeetingHitContext");
|
|
38657
38657
|
|
|
38658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38658
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-passage-format.js
|
|
38659
38659
|
var visible = /* @__PURE__ */ __name((text2) => text2.replace(/[\p{Cc}\p{Cf}]/gu, (value) => value === "\n" || value === " " ? value : `\\u{${value.codePointAt(0)?.toString(16)}}`), "visible");
|
|
38660
38660
|
var markdown = /* @__PURE__ */ __name((text2) => visible(text2).replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replace(/[\\`*_[\]#|~]/g, "\\$&"), "markdown");
|
|
38661
38661
|
var timestamp = /* @__PURE__ */ __name((ms) => {
|
|
@@ -38731,7 +38731,7 @@ var readMeetingPassage = /* @__PURE__ */ __name(async (store, accountId, referen
|
|
|
38731
38731
|
return { packet, content };
|
|
38732
38732
|
}, "readMeetingPassage");
|
|
38733
38733
|
|
|
38734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/context/communication-selection.js
|
|
38735
38735
|
var communicationFields = {
|
|
38736
38736
|
sources: pipe(array(strictObject({
|
|
38737
38737
|
id: pipe(string(), regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/)),
|
|
@@ -38763,7 +38763,7 @@ var communicationRequest = /* @__PURE__ */ __name((value, preparationAfter) => {
|
|
|
38763
38763
|
return { ...input, after, before: before2 };
|
|
38764
38764
|
}, "communicationRequest");
|
|
38765
38765
|
|
|
38766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-preparation-validation.js
|
|
38767
38767
|
var MEETING_PREPARATION_LIMITS = {
|
|
38768
38768
|
meetings: { min: 1, max: 20, default: 5 },
|
|
38769
38769
|
cues: { min: 1, max: 100, default: 10 },
|
|
@@ -38849,7 +38849,7 @@ var preparationRequest = /* @__PURE__ */ __name((accountId, externalId, original
|
|
|
38849
38849
|
return { ...input, history };
|
|
38850
38850
|
}, "preparationRequest");
|
|
38851
38851
|
|
|
38852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-communications-preparation.js
|
|
38853
38853
|
var readPreparationCommunications = /* @__PURE__ */ __name(async (plan, signal) => {
|
|
38854
38854
|
const section = {
|
|
38855
38855
|
readUsage: plan.reader.usage(),
|
|
@@ -38954,7 +38954,7 @@ var appendPreparationCommunications = /* @__PURE__ */ __name((result, read2) =>
|
|
|
38954
38954
|
result.knowledge.coverage.otherSources = "see-communications";
|
|
38955
38955
|
}, "appendPreparationCommunications");
|
|
38956
38956
|
|
|
38957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
38957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-communications-selection.js
|
|
38958
38958
|
var captureCommunicationSelections = /* @__PURE__ */ __name((port) => {
|
|
38959
38959
|
if (port === void 0)
|
|
38960
38960
|
return void 0;
|
|
@@ -39059,7 +39059,7 @@ var validatePreparationCommunications = /* @__PURE__ */ __name((section, request
|
|
|
39059
39059
|
}
|
|
39060
39060
|
}, "validatePreparationCommunications");
|
|
39061
39061
|
|
|
39062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
39062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-knowledge-preparation.js
|
|
39063
39063
|
var invalid5 = /* @__PURE__ */ __name(() => {
|
|
39064
39064
|
throw new CliError("invalid_response", "Preparation knowledge returned an invalid selection");
|
|
39065
39065
|
}, "invalid");
|
|
@@ -39128,7 +39128,7 @@ var appendKnowledgePreparation = /* @__PURE__ */ __name(async (store, result, in
|
|
|
39128
39128
|
}
|
|
39129
39129
|
}, "appendKnowledgePreparation");
|
|
39130
39130
|
|
|
39131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
39131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-notes-preparation.js
|
|
39132
39132
|
var invalid6 = /* @__PURE__ */ __name(() => {
|
|
39133
39133
|
throw new CliError("invalid_response", "Preparation notes returned an invalid selection");
|
|
39134
39134
|
}, "invalid");
|
|
@@ -39202,7 +39202,7 @@ var appendNotesPreparation = /* @__PURE__ */ __name(async (store, result, input)
|
|
|
39202
39202
|
}
|
|
39203
39203
|
}, "appendNotesPreparation");
|
|
39204
39204
|
|
|
39205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
39205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-project-preparation.js
|
|
39206
39206
|
var PAGE_LIMIT = 4;
|
|
39207
39207
|
var size2 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
39208
39208
|
var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, input) => {
|
|
@@ -39252,7 +39252,7 @@ var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, inpu
|
|
|
39252
39252
|
}
|
|
39253
39253
|
}, "appendProjectPreparation");
|
|
39254
39254
|
|
|
39255
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
39255
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-related-preparation.js
|
|
39256
39256
|
var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, input) => {
|
|
39257
39257
|
if (!result.series || !result.items.length || result.coverage.outputLimited)
|
|
39258
39258
|
return;
|
|
@@ -39324,7 +39324,7 @@ var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, inpu
|
|
|
39324
39324
|
}
|
|
39325
39325
|
}, "appendRelatedPreparation");
|
|
39326
39326
|
|
|
39327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
39327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/meeting-preparation.js
|
|
39328
39328
|
var size3 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
39329
39329
|
var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId, ports) => {
|
|
39330
39330
|
const fixed = snapshotMeetingScope(scope);
|
|
@@ -39462,7 +39462,7 @@ var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId,
|
|
|
39462
39462
|
};
|
|
39463
39463
|
}, "createMeetingPreparationService");
|
|
39464
39464
|
|
|
39465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
39465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/package-upgrade.js
|
|
39466
39466
|
var upgradePackage = /* @__PURE__ */ __name(async ({ current, command, packageName, check: check2 }, ports) => {
|
|
39467
39467
|
const installer = ports.installer();
|
|
39468
39468
|
const argv = updateCommand(installer, packageName);
|
|
@@ -39527,7 +39527,7 @@ var dayAfter = /* @__PURE__ */ __name((published) => {
|
|
|
39527
39527
|
return Number.isNaN(time) ? null : new Date(time + 24 * 60 * 60 * 1e3).toISOString();
|
|
39528
39528
|
}, "dayAfter");
|
|
39529
39529
|
|
|
39530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
39530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/services/index.js
|
|
39531
39531
|
var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
39532
39532
|
const pictures = picturesService(deps);
|
|
39533
39533
|
const base = {
|
|
@@ -39564,7 +39564,7 @@ var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
|
39564
39564
|
return deps.messenger.services ? { ...base, ...deps.messenger.services(base, deps) } : base;
|
|
39565
39565
|
}, "servicesFor");
|
|
39566
39566
|
|
|
39567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
39567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
39568
39568
|
import { createHash as createHash14 } from "node:crypto";
|
|
39569
39569
|
import { chmodSync, lstatSync, mkdirSync as mkdirSync3, rmSync } from "node:fs";
|
|
39570
39570
|
import { createConnection, createServer } from "node:net";
|
|
@@ -39712,7 +39712,7 @@ var serve = /* @__PURE__ */ __name(async (socket, request, stdin, signal, run) =
|
|
|
39712
39712
|
}
|
|
39713
39713
|
}, "serve");
|
|
39714
39714
|
|
|
39715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
39715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
39716
39716
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
39717
39717
|
close: /* @__PURE__ */ __name(async () => {
|
|
39718
39718
|
}, "close"),
|