@wirecat/cli-memo 0.131.65 → 0.131.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-L6EBORCV.js → all-profiles-CWV6RUGR.js} +9 -9
- package/dist/bundle/{anthropic-42PADP4V.js → anthropic-OIVOFYZY.js} +5 -5
- package/dist/bundle/{app-server-7KM4MSDA.js → app-server-2APNY5WO.js} +42 -42
- package/dist/bundle/auto-HRPCC4FE.js +85 -0
- package/dist/bundle/{bun-NYSNYHAD.js → bun-7ZKANZII.js} +2 -2
- package/dist/bundle/{bun-sqlite-B46U7KI7.js → bun-sqlite-M2EHGYBI.js} +5 -5
- package/dist/bundle/{chunk-NRHF7TQ4.js → chunk-22XVNJQP.js} +11 -11
- package/dist/bundle/{chunk-FKUA3BTM.js → chunk-2LAJDBWZ.js} +268 -268
- package/dist/bundle/{chunk-A524HPDV.js → chunk-2OEQH7HY.js} +2 -2
- package/dist/bundle/{chunk-TKPIS4G2.js → chunk-2QIM6246.js} +1 -1
- package/dist/bundle/{chunk-YLG2M2TF.js → chunk-2SIOUXJ7.js} +7 -7
- package/dist/bundle/{chunk-ASWLM74P.js → chunk-4U2IONIS.js} +4 -4
- package/dist/bundle/{chunk-BEMVAPYA.js → chunk-4Y33E3U3.js} +6 -6
- package/dist/bundle/{chunk-XVREIQ2N.js → chunk-637JEJOC.js} +2 -2
- package/dist/bundle/{chunk-5D7BPC33.js → chunk-75MWX5PK.js} +1 -1
- package/dist/bundle/{chunk-FH4P5UQA.js → chunk-7NV2IUIC.js} +4 -4
- package/dist/bundle/{chunk-SOQGV3ZM.js → chunk-ADDDSIRN.js} +6 -6
- package/dist/bundle/{chunk-DXTNBVLV.js → chunk-B3ZXE2IH.js} +277 -277
- package/dist/bundle/{chunk-37E74SKW.js → chunk-BF4SX6DP.js} +72 -72
- package/dist/bundle/{chunk-C4DJLVJQ.js → chunk-C74WKN57.js} +8 -8
- package/dist/bundle/{chunk-3YNJBKGV.js → chunk-CRRBBPJK.js} +337 -337
- package/dist/bundle/{chunk-347UBASY.js → chunk-CUC7KGX4.js} +4 -4
- package/dist/bundle/{chunk-PVGK67AJ.js → chunk-DAA52TDI.js} +156 -156
- package/dist/bundle/{chunk-VTKLHYCZ.js → chunk-DH6PT65U.js} +4 -4
- package/dist/bundle/{chunk-UXAP7MNL.js → chunk-DMC3NDG7.js} +9 -9
- package/dist/bundle/{chunk-3SCHFNUH.js → chunk-DNXPQGFB.js} +23 -23
- package/dist/bundle/{chunk-IK6KH3RE.js → chunk-DSU6UR2X.js} +1 -1
- package/dist/bundle/{chunk-QHNAPLVB.js → chunk-DVVS2API.js} +45 -45
- package/dist/bundle/{chunk-RP6VV35S.js → chunk-EI5IEOXD.js} +2 -2
- package/dist/bundle/{chunk-FHZKHKBJ.js → chunk-GL74QTTV.js} +34 -34
- package/dist/bundle/{chunk-RLX5SC2X.js → chunk-GO73V5BC.js} +1 -1
- package/dist/bundle/{chunk-FUIUS3IG.js → chunk-HB7WN6MX.js} +2 -2
- package/dist/bundle/{chunk-RCGFSWZE.js → chunk-HE2F4JII.js} +8 -8
- package/dist/bundle/{chunk-SIJA2UYC.js → chunk-HHDZIBBO.js} +7 -7
- package/dist/bundle/{chunk-6OS7PTOC.js → chunk-HPUTLOQU.js} +131 -38
- package/dist/bundle/{chunk-NH3A5QTW.js → chunk-HUJ666OW.js} +8 -8
- package/dist/bundle/{chunk-RTLQHLHG.js → chunk-I4EUGFS7.js} +4 -4
- package/dist/bundle/{chunk-RGZUDHAQ.js → chunk-IDBN5CTG.js} +8 -8
- package/dist/bundle/{chunk-I5L7MLZ6.js → chunk-IGXIPABG.js} +1 -1
- package/dist/bundle/{chunk-K5VF47E2.js → chunk-JSFC6TRN.js} +6 -6
- package/dist/bundle/{chunk-FWRBJAQZ.js → chunk-KOJN4WTN.js} +3 -3
- package/dist/bundle/{chunk-2XVXF4RW.js → chunk-KU4TU5XZ.js} +3 -3
- package/dist/bundle/{chunk-SIBQ34LX.js → chunk-KV35JTWA.js} +1 -1
- package/dist/bundle/{chunk-6G53ZFUT.js → chunk-L62FWN3Y.js} +1 -1
- package/dist/bundle/{chunk-LVLFLWGY.js → chunk-LDPNN4ED.js} +12 -12
- package/dist/bundle/{chunk-FG4Q6T72.js → chunk-LEL6NYM5.js} +5 -5
- package/dist/bundle/{chunk-VX4HNQLN.js → chunk-LRQD4RJN.js} +3 -3
- package/dist/bundle/{chunk-SIOUPPN7.js → chunk-LW5G7PAR.js} +6 -6
- package/dist/bundle/{chunk-MWAXS4BX.js → chunk-LWX2PCM6.js} +14 -10
- package/dist/bundle/{chunk-NIJZXGJN.js → chunk-M643YQVP.js} +4 -4
- package/dist/bundle/{chunk-ACG5QN77.js → chunk-M76ZJSPA.js} +3 -3
- package/dist/bundle/{chunk-4GTZSCUE.js → chunk-MEPRCROV.js} +3 -3
- package/dist/bundle/{chunk-ZUQXDJ7A.js → chunk-OO6SA2FM.js} +1 -1
- package/dist/bundle/{chunk-EMNQPMZO.js → chunk-OZBL624P.js} +20 -20
- package/dist/bundle/{chunk-X5CRFU4E.js → chunk-P2MMAW3A.js} +7 -7
- package/dist/bundle/{chunk-QTF4ZXOL.js → chunk-QWP6RJFR.js} +14 -14
- package/dist/bundle/{chunk-724DPWN6.js → chunk-R4LVHS2N.js} +2 -2
- package/dist/bundle/{chunk-PKUBC2ME.js → chunk-RKLCY7YU.js} +4 -4
- package/dist/bundle/{chunk-V7TJSYFK.js → chunk-UCLZMKTT.js} +2 -2
- package/dist/bundle/{chunk-EBDX6DNB.js → chunk-V3JOIUVB.js} +4 -4
- package/dist/bundle/{chunk-B3SERZMP.js → chunk-VBXQAIRI.js} +1 -1
- package/dist/bundle/{chunk-FC5PK6M6.js → chunk-WCRWS2W7.js} +13 -13
- package/dist/bundle/{chunk-DKO7WEXJ.js → chunk-WDVYPHNV.js} +2 -2
- package/dist/bundle/{chunk-ML46T7UC.js → chunk-XAEDDKM4.js} +30 -30
- package/dist/bundle/{chunk-4SUROBD4.js → chunk-XFZESHD3.js} +4 -4
- package/dist/bundle/{chunk-NZJUMLTD.js → chunk-XMGUKW6Y.js} +2 -2
- package/dist/bundle/{chunk-HKC7GDJD.js → chunk-XZBVXJWY.js} +6 -6
- package/dist/bundle/{chunk-VLUDHCCX.js → chunk-ZAOFHRBL.js} +23 -23
- package/dist/bundle/{chunk-4ZW6ZJ2V.js → chunk-ZTONSM5X.js} +2 -2
- package/dist/bundle/command-contract-N554VPBZ.js +32 -0
- package/dist/bundle/{decode-2Z4GCIGA.js → decode-ZCMHC5JI.js} +5 -5
- package/dist/bundle/{dispatch-CRYB6Q2V.js → dispatch-VJSUBAUM.js} +8 -8
- package/dist/bundle/{echarts-JADCSUD7.js → echarts-SJNM7DNA.js} +2 -2
- package/dist/bundle/{embed-ZLEPINEK.js → embed-JO3CVYBK.js} +6 -6
- package/dist/bundle/{embedder-E3DHPZCK.js → embedder-QAEGU7TZ.js} +9 -9
- package/dist/bundle/{entry-MUE6HWX3.js → entry-KMFOJYWF.js} +7 -7
- package/dist/bundle/failure-2FQL5SHA.js +65 -0
- package/dist/bundle/{failure-ZMQJF3RO.js → failure-GLF7OMMM.js} +2 -2
- package/dist/bundle/{first-run-3JYWLJCH.js → first-run-5X2NRJL2.js} +11 -11
- package/dist/bundle/first-screen-2LMAVNBU.js +30 -0
- package/dist/bundle/{instructions-ECXOBMWS.js → instructions-GLZE4RPY.js} +1 -1
- package/dist/bundle/{mcp-RKJG22KM.js → mcp-H2WYFBNW.js} +2 -2
- package/dist/bundle/mcp-QXTOJORS.js +90 -0
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-A6363DJ4.js → node-BNMBIM5C.js} +2 -2
- package/dist/bundle/{node-sqlite-FA2P77PW.js → node-sqlite-BSRYEMOR.js} +6 -6
- package/dist/bundle/{oauth-DBGARGR7.js → oauth-HYAEWGBV.js} +7 -7
- package/dist/bundle/{open-5YYG2VWH.js → open-X7J4Q3I6.js} +5 -5
- package/dist/bundle/{openai-BPVP7TZ7.js → openai-ZACXNPZS.js} +10 -10
- package/dist/bundle/{process-DGPZRHQA.js → process-5I6233QY.js} +1 -1
- package/dist/bundle/{program-RM2L3LIT.js → program-RQIADAES.js} +90 -77
- package/dist/bundle/{prompt-NTAZWPWA.js → prompt-DVKTWZHJ.js} +5 -5
- package/dist/bundle/{recognize-OGEP5VD3.js → recognize-VXK4L74H.js} +4 -4
- package/dist/bundle/{remote-DER2PFH6.js → remote-IJLJQRQN.js} +7 -7
- package/dist/bundle/{rerank-PB5ACFHS.js → rerank-553ZMBYJ.js} +7 -7
- package/dist/bundle/{serve-KNEY4BXK.js → serve-76AFHLTI.js} +9 -9
- package/dist/bundle/{server-XKSIHWM2.js → server-B3F54YWL.js} +56 -56
- package/dist/bundle/server-PSEKWXKK.js +48 -0
- package/dist/bundle/server-QDPYZZT5.js +61 -0
- package/dist/bundle/{state-JMCWHHZM.js → state-WYFGGGAG.js} +6 -6
- package/dist/bundle/{store-M5QSIRWJ.js → store-S6QR47NT.js} +13 -13
- package/dist/bundle/store-maintenance-command-O4TXIWSL.js +47 -0
- package/dist/bundle/update-Z4LDMYC5.js +68 -0
- package/dist/examples.js +4 -4
- package/dist/examples.js.map +1 -1
- package/dist/finance/subscriptions-command.js +3 -3
- package/dist/finance/subscriptions-command.js.map +1 -1
- package/dist/records/import.d.ts.map +1 -1
- package/dist/records/import.js +2 -0
- package/dist/records/import.js.map +1 -1
- package/dist/records/input.d.ts +3 -1
- package/dist/records/input.d.ts.map +1 -1
- package/dist/records/input.js +14 -2
- package/dist/records/input.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/scenarios/project-state.md +2 -2
- package/dist/bundle/auto-4KOZDLIU.js +0 -85
- package/dist/bundle/command-contract-PLB2JGFJ.js +0 -32
- package/dist/bundle/failure-CRWMZZBO.js +0 -65
- package/dist/bundle/first-screen-QH34AIFV.js +0 -30
- package/dist/bundle/mcp-QX2D6EXA.js +0 -90
- package/dist/bundle/server-L622PMVC.js +0 -61
- package/dist/bundle/server-SJVP2XXD.js +0 -48
- package/dist/bundle/store-maintenance-command-PQCO5ICC.js +0 -47
- package/dist/bundle/update-PQUASMQN.js +0 -68
- /package/dist/bundle/{chunk-C3XNJQD7.js → chunk-IJPRQERM.js} +0 -0
- /package/dist/bundle/{chunk-SW6C6WH5.js → chunk-SYWHHQMC.js} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
sameOrdinaryFile,
|
|
9
9
|
syncDirectory,
|
|
10
10
|
writeFileAtomic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WCRWS2W7.js";
|
|
12
12
|
import {
|
|
13
13
|
Command,
|
|
14
14
|
CustomTextModelShape,
|
|
@@ -54,15 +54,15 @@ import {
|
|
|
54
54
|
vectorModelKey,
|
|
55
55
|
withAttempt,
|
|
56
56
|
writeTextModelsSection
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-DAA52TDI.js";
|
|
58
58
|
import {
|
|
59
59
|
isNewer,
|
|
60
60
|
updateCommand
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-4U2IONIS.js";
|
|
62
62
|
import {
|
|
63
63
|
envName,
|
|
64
64
|
readOnlyLockOf
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-EI5IEOXD.js";
|
|
66
66
|
import {
|
|
67
67
|
AGENDA_COLUMNS,
|
|
68
68
|
BUSINESS_FIND_MAX,
|
|
@@ -177,7 +177,7 @@ import {
|
|
|
177
177
|
validateFields,
|
|
178
178
|
waitingPointer,
|
|
179
179
|
withoutField
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-CRRBBPJK.js";
|
|
181
181
|
import {
|
|
182
182
|
EVENT_QUERY,
|
|
183
183
|
MEETING_FIELD_NAMES,
|
|
@@ -233,25 +233,25 @@ import {
|
|
|
233
233
|
validateQuery,
|
|
234
234
|
walkQuery,
|
|
235
235
|
zonedMoment
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-BF4SX6DP.js";
|
|
237
237
|
import {
|
|
238
238
|
damagedFile,
|
|
239
239
|
isCliFailure,
|
|
240
240
|
sqliteCode
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-KU4TU5XZ.js";
|
|
242
242
|
import {
|
|
243
243
|
DEFAULT_STEMMERS,
|
|
244
244
|
createStemmer,
|
|
245
245
|
fold,
|
|
246
246
|
normalize
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-IDBN5CTG.js";
|
|
248
248
|
import {
|
|
249
249
|
DEFAULT_TASK_CATEGORIES,
|
|
250
250
|
FALLBACK_CATEGORY,
|
|
251
251
|
readSharedSection,
|
|
252
252
|
sharedConfigPath,
|
|
253
253
|
writeSharedSection
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-XZBVXJWY.js";
|
|
255
255
|
import {
|
|
256
256
|
MAX_MODEL_IMAGE_BYTES,
|
|
257
257
|
checkedOptions,
|
|
@@ -259,10 +259,10 @@ import {
|
|
|
259
259
|
range,
|
|
260
260
|
systemFor,
|
|
261
261
|
validateImages
|
|
262
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-XFZESHD3.js";
|
|
263
263
|
import {
|
|
264
264
|
remoteKey
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-LRQD4RJN.js";
|
|
266
266
|
import {
|
|
267
267
|
Unzip,
|
|
268
268
|
UnzipInflate,
|
|
@@ -273,21 +273,21 @@ import {
|
|
|
273
273
|
placedText,
|
|
274
274
|
runEmbedders,
|
|
275
275
|
textModelsDirectory
|
|
276
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-JSFC6TRN.js";
|
|
277
277
|
import {
|
|
278
278
|
installFiles,
|
|
279
279
|
megabytes
|
|
280
|
-
} from "./chunk-
|
|
280
|
+
} from "./chunk-CUC7KGX4.js";
|
|
281
281
|
import {
|
|
282
282
|
storePath,
|
|
283
283
|
wirecatDirectory
|
|
284
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-XMGUKW6Y.js";
|
|
285
285
|
import {
|
|
286
286
|
Credentials,
|
|
287
287
|
pathsAreOverridden,
|
|
288
288
|
resolvePaths,
|
|
289
289
|
writeSecurely
|
|
290
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-OZBL624P.js";
|
|
291
291
|
import {
|
|
292
292
|
array,
|
|
293
293
|
boolean,
|
|
@@ -315,7 +315,7 @@ import {
|
|
|
315
315
|
trim,
|
|
316
316
|
union,
|
|
317
317
|
unknown
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-HE2F4JII.js";
|
|
319
319
|
import {
|
|
320
320
|
importFrom,
|
|
321
321
|
resolveFrom
|
|
@@ -325,7 +325,7 @@ import {
|
|
|
325
325
|
isCliError,
|
|
326
326
|
singleLine,
|
|
327
327
|
visibleControls
|
|
328
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-ZTONSM5X.js";
|
|
329
329
|
import {
|
|
330
330
|
__commonJS,
|
|
331
331
|
__name,
|
|
@@ -16941,7 +16941,7 @@ var require_lib3 = __commonJS({
|
|
|
16941
16941
|
}
|
|
16942
16942
|
});
|
|
16943
16943
|
|
|
16944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
16944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/conversations/link.js
|
|
16945
16945
|
var RULES_VERSION = 5;
|
|
16946
16946
|
var LOOK_BACK = 50;
|
|
16947
16947
|
var SAME_SENDER_WITHIN = 10;
|
|
@@ -17031,10 +17031,10 @@ var latest = /* @__PURE__ */ __name((window3, matches) => {
|
|
|
17031
17031
|
var sameThread = /* @__PURE__ */ __name((a, b) => a.threadId === b.threadId, "sameThread");
|
|
17032
17032
|
var link = /* @__PURE__ */ __name((message, parentId, source, kind, confidence, method) => ({ messageId: message.id, parentId, source, kind, confidence, method }), "link");
|
|
17033
17033
|
|
|
17034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/ports/traits.js
|
|
17035
17035
|
var syncsOneChat = /* @__PURE__ */ __name((messenger) => messenger.history !== "store" || messenger.historyOnDemand === true, "syncsOneChat");
|
|
17036
17036
|
|
|
17037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
17038
17038
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
17039
17039
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
17040
17040
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -17081,7 +17081,7 @@ var explainDamage = /* @__PURE__ */ __name((health, command, mark = null) => {
|
|
|
17081
17081
|
};
|
|
17082
17082
|
}, "explainDamage");
|
|
17083
17083
|
|
|
17084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17084
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
17085
17085
|
import { existsSync, statSync } from "node:fs";
|
|
17086
17086
|
var JSON_COLUMNS = {
|
|
17087
17087
|
accounts: ["settings"],
|
|
@@ -17223,10 +17223,10 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
17223
17223
|
}
|
|
17224
17224
|
}, "storeHealth");
|
|
17225
17225
|
|
|
17226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
17227
17227
|
var MAX_BYTES = 16 * 1024 * 1024;
|
|
17228
17228
|
|
|
17229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
17230
17230
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options2) => {
|
|
17231
17231
|
if (!options2 || typeof options2 !== "object" || Array.isArray(options2))
|
|
17232
17232
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -17252,7 +17252,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options2) =
|
|
|
17252
17252
|
});
|
|
17253
17253
|
}, "previewProjectAnnotationSnapshot");
|
|
17254
17254
|
|
|
17255
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17255
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
17256
17256
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options2) => {
|
|
17257
17257
|
if (!options2 || typeof options2 !== "object" || Array.isArray(options2))
|
|
17258
17258
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -17273,7 +17273,7 @@ var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options2) => {
|
|
|
17273
17273
|
}
|
|
17274
17274
|
}, "snapshotProjectAnnotations");
|
|
17275
17275
|
|
|
17276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
17277
17277
|
var COMMAND_NEEDS = {
|
|
17278
17278
|
"account update": ["updateProfile", "change the profile"],
|
|
17279
17279
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -17323,7 +17323,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
17323
17323
|
return group;
|
|
17324
17324
|
}, "hideNever");
|
|
17325
17325
|
|
|
17326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/members-audit.js
|
|
17327
17327
|
var AUDIT_PAGE = 200;
|
|
17328
17328
|
var AUDIT_BUDGET = 10;
|
|
17329
17329
|
var AUDIT_PAUSE_MS = 1e3;
|
|
@@ -17403,7 +17403,7 @@ var burstJoins = /* @__PURE__ */ __name((members) => {
|
|
|
17403
17403
|
return found;
|
|
17404
17404
|
}, "burstJoins");
|
|
17405
17405
|
|
|
17406
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
17407
17407
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
17408
17408
|
command.allowUnknownOption();
|
|
17409
17409
|
const parse2 = command.parseOptions.bind(command);
|
|
@@ -17423,7 +17423,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
17423
17423
|
return command;
|
|
17424
17424
|
}, "queryWordsAfterOptions");
|
|
17425
17425
|
|
|
17426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
17427
17427
|
var count = /* @__PURE__ */ __name((value) => {
|
|
17428
17428
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
17429
17429
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -17465,7 +17465,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
17465
17465
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
17466
17466
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
17467
17467
|
|
|
17468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
17469
17469
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
17470
17470
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
17471
17471
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -17488,7 +17488,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
17488
17488
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
17489
17489
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
17490
17490
|
|
|
17491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
17492
17492
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
17493
17493
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
17494
17494
|
const zone = timezoneOf();
|
|
@@ -17574,7 +17574,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
17574
17574
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
17575
17575
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
17576
17576
|
|
|
17577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
17578
17578
|
var integer4 = /* @__PURE__ */ __name((text2) => {
|
|
17579
17579
|
if (!/^[1-9]\d*$/.test(text2) || !Number.isSafeInteger(Number(text2)))
|
|
17580
17580
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -17718,7 +17718,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
17718
17718
|
}, "addMeetingCommandsDefinition");
|
|
17719
17719
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
17720
17720
|
|
|
17721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
17722
17722
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
17723
17723
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
17724
17724
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -17851,7 +17851,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
17851
17851
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
17852
17852
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
17853
17853
|
|
|
17854
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
17855
17855
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
17856
17856
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
17857
17857
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -17860,7 +17860,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
17860
17860
|
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");
|
|
17861
17861
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
17862
17862
|
|
|
17863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
17863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
17864
17864
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
17865
17865
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
17866
17866
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -18122,7 +18122,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
18122
18122
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
18123
18123
|
}), "sessionAnswer");
|
|
18124
18124
|
|
|
18125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/ports/messenger.js
|
|
18126
18126
|
var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
|
|
18127
18127
|
get: /* @__PURE__ */ __name((own, key) => {
|
|
18128
18128
|
if (key in own)
|
|
@@ -18139,7 +18139,7 @@ var capability = /* @__PURE__ */ __name((adapter, method, what) => {
|
|
|
18139
18139
|
return found.bind(adapter);
|
|
18140
18140
|
}, "capability");
|
|
18141
18141
|
|
|
18142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/http/time-limit.js
|
|
18143
18143
|
var timeLimit = /* @__PURE__ */ __name((ms) => {
|
|
18144
18144
|
const controller = new AbortController();
|
|
18145
18145
|
const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
|
|
@@ -18155,7 +18155,7 @@ var withTimeLimit = /* @__PURE__ */ __name(async (ms, run) => {
|
|
|
18155
18155
|
}
|
|
18156
18156
|
}, "withTimeLimit");
|
|
18157
18157
|
|
|
18158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/models/openai.js
|
|
18159
18159
|
var options = strictObject({
|
|
18160
18160
|
temperature: range(0, 2),
|
|
18161
18161
|
top_p: range(0, 1),
|
|
@@ -18209,7 +18209,7 @@ var openai = {
|
|
|
18209
18209
|
}), "complete")
|
|
18210
18210
|
};
|
|
18211
18211
|
|
|
18212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/models/index.js
|
|
18213
18213
|
var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
18214
18214
|
complete: /* @__PURE__ */ __name(async (request) => {
|
|
18215
18215
|
if (deps.signal?.aborted)
|
|
@@ -18224,7 +18224,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
18224
18224
|
if (!adapter && target2.provider === "openai")
|
|
18225
18225
|
adapter = openai;
|
|
18226
18226
|
if (!adapter && target2.provider === "anthropic")
|
|
18227
|
-
adapter = (await import("./anthropic-
|
|
18227
|
+
adapter = (await import("./anthropic-OIVOFYZY.js")).anthropic;
|
|
18228
18228
|
if (!adapter)
|
|
18229
18229
|
throw new CliError("validation_error", `no model adapter for ${target2.provider}`);
|
|
18230
18230
|
if (request.images !== void 0 && adapter.images !== true)
|
|
@@ -18265,12 +18265,12 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
18265
18265
|
}, "complete")
|
|
18266
18266
|
}), "modelGateway");
|
|
18267
18267
|
|
|
18268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/sends/send-id.js
|
|
18269
18269
|
import { randomBytes } from "node:crypto";
|
|
18270
18270
|
var newSendId = /* @__PURE__ */ __name(() => randomBytes(8).readBigInt64BE().toString(), "newSendId");
|
|
18271
18271
|
var newOperationId = newSendId;
|
|
18272
18272
|
|
|
18273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/deps.js
|
|
18274
18274
|
var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
|
|
18275
18275
|
var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
|
|
18276
18276
|
var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
|
|
@@ -18345,7 +18345,7 @@ var storeOnlyDeps = /* @__PURE__ */ __name((store, account, { app, env }) => {
|
|
|
18345
18345
|
return { ...storedDeps(messenger, store, account, guard), ...env === void 0 ? {} : { env } };
|
|
18346
18346
|
}, "storeOnlyDeps");
|
|
18347
18347
|
|
|
18348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/patience.js
|
|
18349
18349
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
18350
18350
|
var LONGEST_WAIT_MS = 5 * 60 * 1e3;
|
|
18351
18351
|
var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
@@ -18368,10 +18368,10 @@ var patiently = /* @__PURE__ */ __name(async (request, note2, stop) => {
|
|
|
18368
18368
|
}
|
|
18369
18369
|
}, "patiently");
|
|
18370
18370
|
|
|
18371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
18372
18372
|
import { setTimeout as sleep2 } from "node:timers/promises";
|
|
18373
18373
|
|
|
18374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18374
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/backfill-estimate.js
|
|
18375
18375
|
var REQUEST_MS = 400;
|
|
18376
18376
|
var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, maxPages, pauseMs }) => {
|
|
18377
18377
|
const lowest = ranges[0];
|
|
@@ -18394,13 +18394,13 @@ var estimateBackfill = /* @__PURE__ */ __name(({ ranges, held, newest, page, max
|
|
|
18394
18394
|
};
|
|
18395
18395
|
}, "estimateBackfill");
|
|
18396
18396
|
|
|
18397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/recovery.js
|
|
18398
18398
|
var withRecovery = /* @__PURE__ */ __name((error) => ({
|
|
18399
18399
|
...error,
|
|
18400
18400
|
retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
|
|
18401
18401
|
}), "withRecovery");
|
|
18402
18402
|
|
|
18403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/batch.js
|
|
18404
18404
|
var actionable = /* @__PURE__ */ __name((error) => {
|
|
18405
18405
|
if (isCliFailure(error))
|
|
18406
18406
|
return withRecovery({ code: error.code, message: error.message, ...error.details });
|
|
@@ -18483,7 +18483,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
|
|
|
18483
18483
|
};
|
|
18484
18484
|
}, "mergeBatches");
|
|
18485
18485
|
|
|
18486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
18487
18487
|
var TAKES = {
|
|
18488
18488
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
18489
18489
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -18543,7 +18543,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
18543
18543
|
throw wrongAccount(reference, scope, profiles);
|
|
18544
18544
|
}, "ensureAccount");
|
|
18545
18545
|
|
|
18546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
18547
18547
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
18548
18548
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
|
|
18549
18549
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -18588,7 +18588,7 @@ ${lines3}`, { candidates });
|
|
|
18588
18588
|
}, "ambiguous");
|
|
18589
18589
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
18590
18590
|
|
|
18591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
|
|
18592
18592
|
var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
|
|
18593
18593
|
if (deps.reads !== "store")
|
|
18594
18594
|
return keptChatId(deps.messenger, reference, store, account);
|
|
@@ -18747,7 +18747,7 @@ var senderAmong = /* @__PURE__ */ __name(async (store, accounts, reference) => {
|
|
|
18747
18747
|
}
|
|
18748
18748
|
}, "senderAmong");
|
|
18749
18749
|
|
|
18750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/images/context/index.js
|
|
18751
18751
|
var CONTEXT_MESSAGES = 3;
|
|
18752
18752
|
var CONTEXT_MINUTES = 10;
|
|
18753
18753
|
var MAX_CHARS = 1200;
|
|
@@ -18771,12 +18771,12 @@ var context = {
|
|
|
18771
18771
|
}, "describe")
|
|
18772
18772
|
};
|
|
18773
18773
|
|
|
18774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/images/registry.js
|
|
18775
18775
|
var BUILT_INS = [context];
|
|
18776
18776
|
var providers = [...BUILT_INS];
|
|
18777
18777
|
var registeredImageProviders = /* @__PURE__ */ __name(() => providers, "registeredImageProviders");
|
|
18778
18778
|
|
|
18779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/conversations.js
|
|
18780
18780
|
var READ_PAGE = 5e3;
|
|
18781
18781
|
var CHAIN = 50;
|
|
18782
18782
|
var CONVERSATION_QUERY = {
|
|
@@ -18928,7 +18928,7 @@ var sized = /* @__PURE__ */ __name((size4) => {
|
|
|
18928
18928
|
return size4;
|
|
18929
18929
|
}, "sized");
|
|
18930
18930
|
|
|
18931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/embeddings-maintenance.js
|
|
18932
18932
|
var REFRESH_BOUNDS = { maxChats: 20, maxChunks: 2e3 };
|
|
18933
18933
|
var MESSAGE_PAGE = 5e3;
|
|
18934
18934
|
var PER_SESSION = 8;
|
|
@@ -18947,7 +18947,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = chosenTextModel(dep
|
|
|
18947
18947
|
price: remote.price,
|
|
18948
18948
|
installed: true,
|
|
18949
18949
|
perBatch: PER_REQUEST * concurrency,
|
|
18950
|
-
open: /* @__PURE__ */ __name(async () => (await import("./remote-
|
|
18950
|
+
open: /* @__PURE__ */ __name(async () => (await import("./remote-IJLJQRQN.js")).openRemote(remote, apiKey, { concurrency }), "open")
|
|
18951
18951
|
};
|
|
18952
18952
|
}
|
|
18953
18953
|
const model = textModel(choice, deps.env);
|
|
@@ -18964,7 +18964,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = chosenTextModel(dep
|
|
|
18964
18964
|
if (!isTextModelInstalled(model, directory2))
|
|
18965
18965
|
throw notDownloaded(model.id);
|
|
18966
18966
|
if (apart) {
|
|
18967
|
-
const { openProcess } = await import("./process-
|
|
18967
|
+
const { openProcess } = await import("./process-5I6233QY.js");
|
|
18968
18968
|
return openProcess(model, directory2, { threads: threads ?? defaultThreads() });
|
|
18969
18969
|
}
|
|
18970
18970
|
return openEmbedder(model, directory2, { threads: threads ?? defaultThreads() });
|
|
@@ -19253,7 +19253,7 @@ var shaped = /* @__PURE__ */ __name(({ chatId, builtAt, algorithmVersion, pendin
|
|
|
19253
19253
|
return { ...one2, state };
|
|
19254
19254
|
}, "shaped");
|
|
19255
19255
|
|
|
19256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
19256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/search-catchup.js
|
|
19257
19257
|
var CATCH_UP_BOUNDS = { maxChunks: 500, maxMessages: 1e4, timeMs: 3e4 };
|
|
19258
19258
|
var validateCatchUpBounds = /* @__PURE__ */ __name((options2) => {
|
|
19259
19259
|
for (const [key, value, maximum] of [
|
|
@@ -19306,7 +19306,7 @@ var catchUpSearch = /* @__PURE__ */ __name(async (deps, chat, options2, signal,
|
|
|
19306
19306
|
}
|
|
19307
19307
|
}, "catchUpSearch");
|
|
19308
19308
|
|
|
19309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
19309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/archive.js
|
|
19310
19310
|
var pushed = /* @__PURE__ */ __name((deps, what) => {
|
|
19311
19311
|
if (deps.reads === "store") {
|
|
19312
19312
|
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`);
|
|
@@ -19672,7 +19672,7 @@ var timeOfKey = /* @__PURE__ */ __name(async (store, account, chatId, key, byTim
|
|
|
19672
19672
|
return message?.timestamp ?? fallback;
|
|
19673
19673
|
}, "timeOfKey");
|
|
19674
19674
|
|
|
19675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
19675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/questions.js
|
|
19676
19676
|
var LINKS = /https?:\/\/\S+/g;
|
|
19677
19677
|
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");
|
|
19678
19678
|
var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker = "others" }) => {
|
|
@@ -19702,7 +19702,7 @@ var questions = /* @__PURE__ */ __name((messages, { answerers: answerers2, asker
|
|
|
19702
19702
|
});
|
|
19703
19703
|
}, "questions");
|
|
19704
19704
|
|
|
19705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
19705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/task-categories.js
|
|
19706
19706
|
var names = /* @__PURE__ */ __name((categories) => categories.map(({ name }) => name).join(", "), "names");
|
|
19707
19707
|
var taskCategoryOf = /* @__PURE__ */ __name((categories = DEFAULT_TASK_CATEGORIES, flag = "--category") => (typed) => {
|
|
19708
19708
|
const name = typed.trim().toLowerCase();
|
|
@@ -19759,7 +19759,7 @@ var categorize = /* @__PURE__ */ __name((text2, categories = DEFAULT_TASK_CATEGO
|
|
|
19759
19759
|
return best.name;
|
|
19760
19760
|
}, "categorize");
|
|
19761
19761
|
|
|
19762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
19762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/task-rules.js
|
|
19763
19763
|
var taskAccount = /* @__PURE__ */ __name(({ provider, account }) => `${provider}:${account}`, "taskAccount");
|
|
19764
19764
|
var RULES_IN = {
|
|
19765
19765
|
dialog: "all",
|
|
@@ -19965,7 +19965,7 @@ var applyTaskRulesToChats = /* @__PURE__ */ __name(async (store, account, chatId
|
|
|
19965
19965
|
return passes;
|
|
19966
19966
|
}, "applyTaskRulesToChats");
|
|
19967
19967
|
|
|
19968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
19968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/context/evidence-response.js
|
|
19969
19969
|
var contextSourceKey = /* @__PURE__ */ __name((source) => JSON.stringify([source.kind, source.accountId, source.provider, source.account]), "contextSourceKey");
|
|
19970
19970
|
var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
19971
19971
|
const fail3 = /* @__PURE__ */ __name(() => {
|
|
@@ -20029,7 +20029,7 @@ var validateContextEvidencePage = /* @__PURE__ */ __name((page, request) => {
|
|
|
20029
20029
|
}
|
|
20030
20030
|
}, "validateContextEvidencePage");
|
|
20031
20031
|
|
|
20032
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20032
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/context/read-budget.js
|
|
20033
20033
|
var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
20034
20034
|
if (!limits || typeof limits !== "object" || Array.isArray(limits))
|
|
20035
20035
|
throw new CliError("validation_error", "limits needs a context read allowance");
|
|
@@ -20082,7 +20082,7 @@ var contextReadBudget = /* @__PURE__ */ __name((limits = {}) => {
|
|
|
20082
20082
|
};
|
|
20083
20083
|
}, "contextReadBudget");
|
|
20084
20084
|
|
|
20085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/context-evidence.js
|
|
20086
20086
|
var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits) => {
|
|
20087
20087
|
if (!port || typeof port.read !== "function")
|
|
20088
20088
|
throw new CliError("configuration_error", "context evidence reader is unavailable");
|
|
@@ -20126,7 +20126,7 @@ var createContextEvidenceReader = /* @__PURE__ */ __name((port, allowed, limits)
|
|
|
20126
20126
|
};
|
|
20127
20127
|
}, "createContextEvidenceReader");
|
|
20128
20128
|
|
|
20129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-purposes.js
|
|
20130
20130
|
var BUILT_IN_PURPOSES = ["work", "sales", "support", "other"];
|
|
20131
20131
|
var DEFAULT_PURPOSES = ["work"];
|
|
20132
20132
|
var LINK_PURPOSE = "work";
|
|
@@ -20156,7 +20156,7 @@ var purposeList = /* @__PURE__ */ __name((value, previous = []) => [
|
|
|
20156
20156
|
...value.split(",").map((one2) => one2.trim()).filter(Boolean)
|
|
20157
20157
|
], "purposeList");
|
|
20158
20158
|
|
|
20159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/moment.js
|
|
20160
20160
|
var AGO = /^(\d+)(m|h|d)$/;
|
|
20161
20161
|
var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
|
|
20162
20162
|
var DATE = /^\d{4}-\d{2}-\d{2}/;
|
|
@@ -20196,7 +20196,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
|
|
|
20196
20196
|
};
|
|
20197
20197
|
}, "dateWindow");
|
|
20198
20198
|
|
|
20199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/botcheck/check.js
|
|
20200
20200
|
var DAY_MS = 864e5;
|
|
20201
20201
|
var NEW_DAYS = 30;
|
|
20202
20202
|
var SAME_TEXT_MIN = 20;
|
|
@@ -20273,7 +20273,7 @@ var scorePerson = /* @__PURE__ */ __name(({ subject, provider, activity, photos,
|
|
|
20273
20273
|
};
|
|
20274
20274
|
}, "scorePerson");
|
|
20275
20275
|
|
|
20276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/botcheck/registries.js
|
|
20277
20277
|
var REGISTRIES = {
|
|
20278
20278
|
cas: { title: "Combot Anti-Spam (CAS)", docs: "https://cas.chat/api" },
|
|
20279
20279
|
lols: { title: "lols.bot", docs: "https://api.lols.bot/lols-bot.json" }
|
|
@@ -20360,7 +20360,7 @@ var notCovered = /* @__PURE__ */ __name((messenger, now = /* @__PURE__ */ new Da
|
|
|
20360
20360
|
detail: `lists Telegram accounts only, not ${messenger} ones`
|
|
20361
20361
|
})), "notCovered");
|
|
20362
20362
|
|
|
20363
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20363
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/botcheck/service.js
|
|
20364
20364
|
var ACTIVITY_MESSAGES = 1e3;
|
|
20365
20365
|
var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
20366
20366
|
const subjectOf = /* @__PURE__ */ __name(async (reference) => {
|
|
@@ -20448,7 +20448,7 @@ var botCheckService = /* @__PURE__ */ __name((deps) => {
|
|
|
20448
20448
|
};
|
|
20449
20449
|
}, "botCheckService");
|
|
20450
20450
|
|
|
20451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/thread.js
|
|
20452
20452
|
var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
20453
20453
|
if (value === void 0)
|
|
20454
20454
|
return void 0;
|
|
@@ -20458,7 +20458,7 @@ var threadIdOf = /* @__PURE__ */ __name((value) => {
|
|
|
20458
20458
|
return id2;
|
|
20459
20459
|
}, "threadIdOf");
|
|
20460
20460
|
|
|
20461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/chat-stats.js
|
|
20462
20462
|
var TOP_POSTS = 5;
|
|
20463
20463
|
var JOINS = /* @__PURE__ */ new Set(["join", "add"]);
|
|
20464
20464
|
var LEAVES = /* @__PURE__ */ new Set(["leave", "remove"]);
|
|
@@ -20575,7 +20575,7 @@ var median = /* @__PURE__ */ __name((values) => {
|
|
|
20575
20575
|
return Math.round(sorted.length % 2 === 0 ? ((sorted[middle - 1] ?? upper) + upper) / 2 : upper);
|
|
20576
20576
|
}, "median");
|
|
20577
20577
|
|
|
20578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/member-history.js
|
|
20579
20579
|
var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
20580
20580
|
const events = [];
|
|
20581
20581
|
for (const stay of stays) {
|
|
@@ -20607,7 +20607,7 @@ var memberEvents = /* @__PURE__ */ __name((stays, revisions, since = 0) => {
|
|
|
20607
20607
|
return events.filter(({ at }) => Date.parse(at) >= since).sort((a, b) => Date.parse(a.at) - Date.parse(b.at) || a.id.localeCompare(b.id));
|
|
20608
20608
|
}, "memberEvents");
|
|
20609
20609
|
|
|
20610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/chats.js
|
|
20611
20611
|
var EVENTS_DAYS = 7;
|
|
20612
20612
|
var TRACKED_DAYS = 30;
|
|
20613
20613
|
var STATS_PAGE = 1e3;
|
|
@@ -20902,7 +20902,7 @@ var storedMembers = /* @__PURE__ */ __name(async (store, chatId) => {
|
|
|
20902
20902
|
return members.length === 0 ? null : members;
|
|
20903
20903
|
}, "storedMembers");
|
|
20904
20904
|
|
|
20905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
20905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/inbox.js
|
|
20906
20906
|
var INBOX_CHATS = 20;
|
|
20907
20907
|
var REVIEW_DAYS = 3;
|
|
20908
20908
|
var UNANSWERED_HOURS = 24;
|
|
@@ -21110,7 +21110,7 @@ var inboxService = /* @__PURE__ */ __name((deps) => {
|
|
|
21110
21110
|
};
|
|
21111
21111
|
}, "inboxService");
|
|
21112
21112
|
|
|
21113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
21113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/person-context.js
|
|
21114
21114
|
var CONTEXT_MESSAGES2 = 10;
|
|
21115
21115
|
var CONTEXT_BYTES = 64 * 1024;
|
|
21116
21116
|
var toContext = /* @__PURE__ */ __name((key, message, chatTitle2) => ({
|
|
@@ -21399,10 +21399,10 @@ var personMessages = /* @__PURE__ */ __name(async (store, asked, reference, { ch
|
|
|
21399
21399
|
};
|
|
21400
21400
|
}, "personMessages");
|
|
21401
21401
|
|
|
21402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
21402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
21403
21403
|
import { createHash } from "node:crypto";
|
|
21404
21404
|
|
|
21405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
21405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-reference.js
|
|
21406
21406
|
var missing2 = /* @__PURE__ */ __name(() => new CliError("not_found", "the meeting evidence is unavailable for this account"), "missing");
|
|
21407
21407
|
var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId, reference, options2 = {}) => {
|
|
21408
21408
|
const parsed = parseMeetingReference(reference);
|
|
@@ -21420,7 +21420,7 @@ var authorizedMeetingMetadata = /* @__PURE__ */ __name(async (store, accountId,
|
|
|
21420
21420
|
return { parsed, meeting };
|
|
21421
21421
|
}, "authorizedMeetingMetadata");
|
|
21422
21422
|
|
|
21423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
21423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-evidence.js
|
|
21424
21424
|
var hash = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
21425
21425
|
var checkMeetingCancelled = /* @__PURE__ */ __name((signal) => {
|
|
21426
21426
|
if (signal?.aborted)
|
|
@@ -21619,7 +21619,7 @@ var readMeetingEvidence = /* @__PURE__ */ __name(async (store, accountId, refere
|
|
|
21619
21619
|
return { ...packet, fingerprint: hash(packet) };
|
|
21620
21620
|
}, "readMeetingEvidence");
|
|
21621
21621
|
|
|
21622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
21622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/person-meeting-context.js
|
|
21623
21623
|
var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference, options2) => {
|
|
21624
21624
|
const { meetings = 10, cues = 5, bytes: bytes2 = 64 * 1024, scanLimit = 1e3, since, signal } = options2;
|
|
21625
21625
|
const requestedAccounts = options2.accountIds;
|
|
@@ -21718,7 +21718,7 @@ var personMeetingContext = /* @__PURE__ */ __name(async (store, personReference,
|
|
|
21718
21718
|
};
|
|
21719
21719
|
}, "personMeetingContext");
|
|
21720
21720
|
|
|
21721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
21721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/person-preparation.js
|
|
21722
21722
|
var PREPARE_BYTES = 96 * 1024;
|
|
21723
21723
|
var MEETINGS = 5;
|
|
21724
21724
|
var CUES = 3;
|
|
@@ -21834,7 +21834,7 @@ var meetingsOf = /* @__PURE__ */ __name(async (store, uid, stored, since, left)
|
|
|
21834
21834
|
}
|
|
21835
21835
|
}, "meetingsOf");
|
|
21836
21836
|
|
|
21837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
21837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/person-profile.js
|
|
21838
21838
|
var personProfile = /* @__PURE__ */ __name(async (deps, person, known2) => {
|
|
21839
21839
|
const online = deps.offline ? void 0 : await deps.connection();
|
|
21840
21840
|
const held = await storeIfOpen(deps);
|
|
@@ -21904,7 +21904,7 @@ var quiet = /* @__PURE__ */ __name((facts) => facts.chats.map(({ id: id2, title,
|
|
|
21904
21904
|
complete: false
|
|
21905
21905
|
})), "quiet");
|
|
21906
21906
|
|
|
21907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
21907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/person-timeline.js
|
|
21908
21908
|
var TIMELINE_ITEMS = 50;
|
|
21909
21909
|
var TIMELINE_MAX = 500;
|
|
21910
21910
|
var SCOPES2 = ["personal", "work"];
|
|
@@ -21959,7 +21959,7 @@ var personTimeline = /* @__PURE__ */ __name(async (store, asked, reference, { sc
|
|
|
21959
21959
|
};
|
|
21960
21960
|
}, "personTimeline");
|
|
21961
21961
|
|
|
21962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
21962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/people.js
|
|
21963
21963
|
var peopleService = /* @__PURE__ */ __name((deps) => {
|
|
21964
21964
|
const localCard = /* @__PURE__ */ __name(async (card, includeNotes = false) => {
|
|
21965
21965
|
const held = await storeIfOpen(deps);
|
|
@@ -22186,7 +22186,7 @@ var withoutPhone = /* @__PURE__ */ __name((answer) => {
|
|
|
22186
22186
|
return rest;
|
|
22187
22187
|
}, "withoutPhone");
|
|
22188
22188
|
|
|
22189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
22189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/task-stats.js
|
|
22190
22190
|
var TASK_STATS_BY = ["chat", "meeting", "project"];
|
|
22191
22191
|
var PERIOD_FIELD = "created";
|
|
22192
22192
|
var refuseNestedPeriod = /* @__PURE__ */ __name((node, top = true) => {
|
|
@@ -22289,7 +22289,7 @@ var meetingNames = /* @__PURE__ */ __name(async (store, groups) => {
|
|
|
22289
22289
|
}));
|
|
22290
22290
|
}, "meetingNames");
|
|
22291
22291
|
|
|
22292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
22292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/task-tag-filters.js
|
|
22293
22293
|
var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
22294
22294
|
const tags = /* @__PURE__ */ new Map();
|
|
22295
22295
|
for (const node of query ? walkQuery(query.root) : [])
|
|
@@ -22298,7 +22298,7 @@ var taskTagFilters = /* @__PURE__ */ __name(async (store, query) => {
|
|
|
22298
22298
|
return tags;
|
|
22299
22299
|
}, "taskTagFilters");
|
|
22300
22300
|
|
|
22301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
22301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/tasks.js
|
|
22302
22302
|
var TASK_QUERY = {
|
|
22303
22303
|
entity: "task",
|
|
22304
22304
|
backend: "sql",
|
|
@@ -22790,7 +22790,7 @@ var taskView = /* @__PURE__ */ __name(async (store, account, task2) => {
|
|
|
22790
22790
|
};
|
|
22791
22791
|
}, "taskView");
|
|
22792
22792
|
|
|
22793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
22793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposal-tasks.js
|
|
22794
22794
|
var proposalSource = /* @__PURE__ */ __name((id2) => `proposed-action:${id2}`, "proposalSource");
|
|
22795
22795
|
var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
22796
22796
|
const proposal = await store.proposedActions.get(id2);
|
|
@@ -22813,7 +22813,7 @@ var approveAsTask = /* @__PURE__ */ __name(async (store, id2, by) => {
|
|
|
22813
22813
|
return { proposal: await store.proposedActions.approve(proposal.id, by, { task: task2.id }), task: task2 };
|
|
22814
22814
|
}, "approveAsTask");
|
|
22815
22815
|
|
|
22816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
22816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/ids.js
|
|
22817
22817
|
var MAX_IDS = 500;
|
|
22818
22818
|
var refuse = /* @__PURE__ */ __name((message) => {
|
|
22819
22819
|
throw new CliError("validation_error", message, { reason: "proposal.ids" });
|
|
@@ -22855,7 +22855,7 @@ var parseProposalIds = /* @__PURE__ */ __name((text2) => {
|
|
|
22855
22855
|
return ids;
|
|
22856
22856
|
}, "parseProposalIds");
|
|
22857
22857
|
|
|
22858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
22858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/shared.js
|
|
22859
22859
|
var proposerOfAuthor = /* @__PURE__ */ __name((author) => {
|
|
22860
22860
|
if (author.type === "person")
|
|
22861
22861
|
return { type: "person", id: author.id };
|
|
@@ -22927,7 +22927,7 @@ var reviewedKind = /* @__PURE__ */ __name((spec) => ({
|
|
|
22927
22927
|
}, "decide")
|
|
22928
22928
|
}), "reviewedKind");
|
|
22929
22929
|
|
|
22930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
22930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/action.js
|
|
22931
22931
|
var rowOf = /* @__PURE__ */ __name((action2) => ({
|
|
22932
22932
|
id: action2.id,
|
|
22933
22933
|
kind: "action",
|
|
@@ -22967,7 +22967,7 @@ var actionKind = /* @__PURE__ */ __name((store, claimed) => ({
|
|
|
22967
22967
|
}, "decide")
|
|
22968
22968
|
}), "actionKind");
|
|
22969
22969
|
|
|
22970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
22970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/contracts.js
|
|
22971
22971
|
var contractKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
22972
22972
|
type: "contract",
|
|
22973
22973
|
list: /* @__PURE__ */ __name((options2) => store.contracts.list(options2), "list"),
|
|
@@ -22976,7 +22976,7 @@ var contractKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
22976
22976
|
decide: /* @__PURE__ */ __name(async (id2, confirm, { by, reason }) => (confirm ? await store.contracts.confirm(id2, by, reason) : await store.contracts.reject(id2, by, reason)).ref, "decide")
|
|
22977
22977
|
}), "contractKind");
|
|
22978
22978
|
|
|
22979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
22979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/fact.js
|
|
22980
22980
|
var STATUS = {
|
|
22981
22981
|
proposed: "proposed",
|
|
22982
22982
|
accepted: "confirmed",
|
|
@@ -23019,7 +23019,7 @@ var factKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23019
23019
|
}, "decide")
|
|
23020
23020
|
}), "factKind");
|
|
23021
23021
|
|
|
23022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/finance.js
|
|
23023
23023
|
var invoiceKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
23024
23024
|
type: "invoice",
|
|
23025
23025
|
list: /* @__PURE__ */ __name((options2) => store.finance.invoices(options2), "list"),
|
|
@@ -23035,7 +23035,7 @@ var paymentKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
23035
23035
|
decide: /* @__PURE__ */ __name(async (id2, confirm, { by, reason }) => (confirm ? await store.finance.confirm(id2, by, reason) : await store.finance.reject(id2, by, reason)).ref, "decide")
|
|
23036
23036
|
}), "paymentKind");
|
|
23037
23037
|
|
|
23038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/findings.js
|
|
23039
23039
|
var FACT_SUMMARIES = {
|
|
23040
23040
|
fact: /* @__PURE__ */ __name((finding) => finding.statement, "fact"),
|
|
23041
23041
|
task: /* @__PURE__ */ __name((finding) => finding.title, "task"),
|
|
@@ -23107,7 +23107,7 @@ var findingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
23107
23107
|
};
|
|
23108
23108
|
}, "findingsKind");
|
|
23109
23109
|
|
|
23110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/key-document.js
|
|
23111
23111
|
var linkRow = /* @__PURE__ */ __name((link4) => ({
|
|
23112
23112
|
id: `key:${link4.id}`,
|
|
23113
23113
|
kind: "key_document",
|
|
@@ -23175,7 +23175,7 @@ var keyDocumentKind = /* @__PURE__ */ __name((store) => {
|
|
|
23175
23175
|
};
|
|
23176
23176
|
}, "keyDocumentKind");
|
|
23177
23177
|
|
|
23178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/mail-findings.js
|
|
23179
23179
|
var words = /* @__PURE__ */ __name((...parts) => parts.filter(Boolean).join(" "), "words");
|
|
23180
23180
|
var summaryOf = /* @__PURE__ */ __name((finding) => {
|
|
23181
23181
|
switch (finding.kind) {
|
|
@@ -23263,7 +23263,7 @@ var mailFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
23263
23263
|
};
|
|
23264
23264
|
}, "mailFindingsKind");
|
|
23265
23265
|
|
|
23266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/meeting-findings.js
|
|
23267
23267
|
var rowOf5 = /* @__PURE__ */ __name((action2, batch) => {
|
|
23268
23268
|
const findings = batch.input.findings;
|
|
23269
23269
|
const projects = [...new Set(findings.map((one2) => "project" in one2 ? one2.project : void 0))];
|
|
@@ -23327,7 +23327,7 @@ var meetingFindingsKind = /* @__PURE__ */ __name((store) => {
|
|
|
23327
23327
|
};
|
|
23328
23328
|
}, "meetingFindingsKind");
|
|
23329
23329
|
|
|
23330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/memory.js
|
|
23331
23331
|
var STATUS2 = {
|
|
23332
23332
|
proposed: "proposed",
|
|
23333
23333
|
confirmed: "confirmed",
|
|
@@ -23368,7 +23368,7 @@ var memoryKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23368
23368
|
}, "decide")
|
|
23369
23369
|
}), "memoryKind");
|
|
23370
23370
|
|
|
23371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/orders.js
|
|
23372
23372
|
var orderKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
23373
23373
|
type: "order",
|
|
23374
23374
|
list: /* @__PURE__ */ __name((options2) => store.orders.list(options2), "list"),
|
|
@@ -23377,7 +23377,7 @@ var orderKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
23377
23377
|
decide: /* @__PURE__ */ __name(async (id2, confirm, { by, reason }) => (confirm ? await store.orders.confirm(id2, by, reason) : await store.orders.reject(id2, by, reason)).ref, "decide")
|
|
23378
23378
|
}), "orderKind");
|
|
23379
23379
|
|
|
23380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/organization.js
|
|
23381
23381
|
var ORGANIZATION_ADD_KIND = "organization_add";
|
|
23382
23382
|
var ORGANIZATION_RENAME_KIND = "organization_rename";
|
|
23383
23383
|
var rowOf7 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -23433,7 +23433,7 @@ var organizationKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23433
23433
|
}, "decide")
|
|
23434
23434
|
}), "organizationKind");
|
|
23435
23435
|
|
|
23436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship.js
|
|
23437
23437
|
var linkRow2 = /* @__PURE__ */ __name((link4) => ({
|
|
23438
23438
|
id: `link:${link4.id}`,
|
|
23439
23439
|
kind: "relationship",
|
|
@@ -23508,7 +23508,7 @@ var relationshipKind = /* @__PURE__ */ __name((store) => {
|
|
|
23508
23508
|
};
|
|
23509
23509
|
}, "relationshipKind");
|
|
23510
23510
|
|
|
23511
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23511
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/relationship-update.js
|
|
23512
23512
|
var KIND = "relationship_update";
|
|
23513
23513
|
var summaryOf2 = /* @__PURE__ */ __name(({ changes }) => Object.entries(changes).map(([field, value]) => `${field} ${value ?? "cleared"}`).join(", "), "summaryOf");
|
|
23514
23514
|
var rowOf8 = /* @__PURE__ */ __name((action2) => {
|
|
@@ -23558,7 +23558,7 @@ var relationshipUpdateKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23558
23558
|
}, "decide")
|
|
23559
23559
|
}), "relationshipUpdateKind");
|
|
23560
23560
|
|
|
23561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/source-review.js
|
|
23562
23562
|
var rowOf9 = /* @__PURE__ */ __name((action2) => {
|
|
23563
23563
|
const payload = action2.payload;
|
|
23564
23564
|
const sources = payload.sources.flatMap((source) => source.ref ?? []);
|
|
@@ -23601,7 +23601,7 @@ var sourceReviewKind = /* @__PURE__ */ __name((store) => ({
|
|
|
23601
23601
|
}, "decide")
|
|
23602
23602
|
}), "sourceReviewKind");
|
|
23603
23603
|
|
|
23604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23604
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/subscriptions.js
|
|
23605
23605
|
var subscriptionKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
23606
23606
|
type: "subscription",
|
|
23607
23607
|
list: /* @__PURE__ */ __name((options2) => store.subscriptions.list(options2), "list"),
|
|
@@ -23620,7 +23620,7 @@ var subscriptionPriceKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
23620
23620
|
}, "decide")
|
|
23621
23621
|
}), "subscriptionPriceKind");
|
|
23622
23622
|
|
|
23623
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/task-close.js
|
|
23624
23624
|
var rowOf10 = /* @__PURE__ */ __name((task2) => {
|
|
23625
23625
|
const suggestion = task2.closeSuggestion;
|
|
23626
23626
|
if (suggestion === null)
|
|
@@ -23688,7 +23688,7 @@ var taskCloseKind = /* @__PURE__ */ __name((store) => {
|
|
|
23688
23688
|
};
|
|
23689
23689
|
}, "taskCloseKind");
|
|
23690
23690
|
|
|
23691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/kinds/transactions.js
|
|
23692
23692
|
var transactionKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
23693
23693
|
type: "transaction",
|
|
23694
23694
|
list: /* @__PURE__ */ __name((options2) => store.transactions.list(options2), "list"),
|
|
@@ -23697,7 +23697,7 @@ var transactionKind = /* @__PURE__ */ __name((store) => reviewedKind({
|
|
|
23697
23697
|
decide: /* @__PURE__ */ __name(async (id2, confirm, { by, reason }) => (confirm ? await store.transactions.confirm(id2, by, reason) : await store.transactions.reject(id2, by, reason)).ref, "decide")
|
|
23698
23698
|
}), "transactionKind");
|
|
23699
23699
|
|
|
23700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/proposals/registry.js
|
|
23701
23701
|
var PREFIX = /^([a-z][a-z_]*):/;
|
|
23702
23702
|
var marked = /* @__PURE__ */ __name((kind, row) => kind.ownerOnly ? { ...row, ownerOnly: true } : row, "marked");
|
|
23703
23703
|
var refusalOf = /* @__PURE__ */ __name((id2, error) => {
|
|
@@ -23830,7 +23830,7 @@ var proposalRegistry = /* @__PURE__ */ __name((store) => {
|
|
|
23830
23830
|
return registry;
|
|
23831
23831
|
}, "proposalRegistry");
|
|
23832
23832
|
|
|
23833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mail/owed.js
|
|
23834
23834
|
var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
23835
23835
|
if (newest === null)
|
|
23836
23836
|
return null;
|
|
@@ -23839,7 +23839,7 @@ var mailTurn = /* @__PURE__ */ __name((newest) => {
|
|
|
23839
23839
|
return newest.addressed ? "owed" : null;
|
|
23840
23840
|
}, "mailTurn");
|
|
23841
23841
|
|
|
23842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/agenda-mail.js
|
|
23843
23843
|
var absent = /* @__PURE__ */ __name((error) => {
|
|
23844
23844
|
if (error instanceof CliError && error.code === "not_found")
|
|
23845
23845
|
return void 0;
|
|
@@ -23897,7 +23897,7 @@ var mailActivity = /* @__PURE__ */ __name(async (store, account, since, chats) =
|
|
|
23897
23897
|
};
|
|
23898
23898
|
}, "mailActivity");
|
|
23899
23899
|
|
|
23900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23900
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/chat-coverage.js
|
|
23901
23901
|
var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
23902
23902
|
const ids = [...new Set(chatIds)];
|
|
23903
23903
|
if (ids.length === 0)
|
|
@@ -23923,7 +23923,7 @@ var chatCoverage = /* @__PURE__ */ __name(async (store, account, chatIds) => {
|
|
|
23923
23923
|
}));
|
|
23924
23924
|
}, "chatCoverage");
|
|
23925
23925
|
|
|
23926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/agenda.js
|
|
23927
23927
|
var DAY = 864e5;
|
|
23928
23928
|
var AGENDA_DEFAULTS = { unanswered: DAY, waiting: 7 * DAY };
|
|
23929
23929
|
var CLAIMS = ["none", "mine", "others", "any"];
|
|
@@ -24170,7 +24170,7 @@ var agendaItem = /* @__PURE__ */ __name((shown) => {
|
|
|
24170
24170
|
};
|
|
24171
24171
|
}, "agendaItem");
|
|
24172
24172
|
|
|
24173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/excerpt.js
|
|
24174
24174
|
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");
|
|
24175
24175
|
var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options2 = {}) => {
|
|
24176
24176
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -24186,10 +24186,10 @@ var excerpt = /* @__PURE__ */ __name((text2, query, size4 = 240, options2 = {})
|
|
|
24186
24186
|
}, "excerpt");
|
|
24187
24187
|
var withExcerpt = /* @__PURE__ */ __name(({ matchedText, ...hit }, query) => ({ ...hit, excerpt: excerpt(matchedText ?? hit.text, query) }), "withExcerpt");
|
|
24188
24188
|
|
|
24189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/ingest.js
|
|
24190
24190
|
import { createInterface } from "node:readline";
|
|
24191
24191
|
|
|
24192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/vcard.js
|
|
24193
24193
|
import { createHash as createHash2 } from "node:crypto";
|
|
24194
24194
|
var MAX_ID = 512;
|
|
24195
24195
|
var AS_WORD = new RegExp(`^${WORD_BODY}$`);
|
|
@@ -24426,7 +24426,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text2, { provider, account, batchI
|
|
|
24426
24426
|
};
|
|
24427
24427
|
}, "envelopeOfVcard");
|
|
24428
24428
|
|
|
24429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/ingest.js
|
|
24430
24430
|
var emptyReceipt = /* @__PURE__ */ __name((dryRun, errors) => ({
|
|
24431
24431
|
dryRun,
|
|
24432
24432
|
source: null,
|
|
@@ -24522,7 +24522,7 @@ var ingestVcard = /* @__PURE__ */ __name(async (store, text2, { provider, batchI
|
|
|
24522
24522
|
return { ...await ingest(store, envelope, options2), vcard: issues };
|
|
24523
24523
|
}, "ingestVcard");
|
|
24524
24524
|
|
|
24525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/link-scorers/shared.js
|
|
24526
24526
|
var escaped = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
24527
24527
|
var folded = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "folded");
|
|
24528
24528
|
var wholeWords = /* @__PURE__ */ __name((term) => new RegExp(`(?<![\\p{L}\\p{N}\\p{M}_])${escaped(normalizeVocabularyName(term))}(?![\\p{L}\\p{N}\\p{M}_])`, "u"), "wholeWords");
|
|
@@ -24564,7 +24564,7 @@ var identitiesIn = /* @__PURE__ */ __name(async (store, people, provider) => {
|
|
|
24564
24564
|
return found;
|
|
24565
24565
|
}, "identitiesIn");
|
|
24566
24566
|
|
|
24567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/link-scorers/alias-hits.js
|
|
24568
24568
|
var SEARCH_LIMIT = 500;
|
|
24569
24569
|
var aliasWeight = /* @__PURE__ */ __name((hits) => hits >= 10 ? 0.55 : hits >= 3 ? 0.35 : 0, "aliasWeight");
|
|
24570
24570
|
var aliasHits = {
|
|
@@ -24613,7 +24613,7 @@ var aliasHits = {
|
|
|
24613
24613
|
}, "candidates")
|
|
24614
24614
|
};
|
|
24615
24615
|
|
|
24616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24616
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-senders.js
|
|
24617
24617
|
var WEIGHT = 0.5;
|
|
24618
24618
|
var LARGE_GROUP_WEIGHT = 0.2;
|
|
24619
24619
|
var LARGE_GROUP = 30;
|
|
@@ -24675,7 +24675,7 @@ var chatSenders = {
|
|
|
24675
24675
|
}, "candidates")
|
|
24676
24676
|
};
|
|
24677
24677
|
|
|
24678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/link-scorers/chat-title.js
|
|
24679
24679
|
var WEIGHT2 = 0.7;
|
|
24680
24680
|
var chatTitle = {
|
|
24681
24681
|
id: "chat-title",
|
|
@@ -24714,7 +24714,7 @@ var chatTitle = {
|
|
|
24714
24714
|
}, "candidates")
|
|
24715
24715
|
};
|
|
24716
24716
|
|
|
24717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/link-scorers/email-domain.js
|
|
24718
24718
|
var WEIGHT3 = 0.3;
|
|
24719
24719
|
var CONTACTS = 500;
|
|
24720
24720
|
var MOST_PAIRS = 200;
|
|
@@ -24775,7 +24775,7 @@ var emailDomain = {
|
|
|
24775
24775
|
}, "candidates")
|
|
24776
24776
|
};
|
|
24777
24777
|
|
|
24778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/link-scorers/mail-thread.js
|
|
24779
24779
|
var NAMED = 0.7;
|
|
24780
24780
|
var MEMBER_ONLY = 0.3;
|
|
24781
24781
|
var READ_LIMIT2 = 500;
|
|
@@ -24849,7 +24849,7 @@ var mailThread = {
|
|
|
24849
24849
|
}, "candidates")
|
|
24850
24850
|
};
|
|
24851
24851
|
|
|
24852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-chats.js
|
|
24853
24853
|
var WEIGHT4 = 0.5;
|
|
24854
24854
|
var memberChats = {
|
|
24855
24855
|
id: "member-chats",
|
|
@@ -24890,7 +24890,7 @@ var memberChats = {
|
|
|
24890
24890
|
}, "candidates")
|
|
24891
24891
|
};
|
|
24892
24892
|
|
|
24893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/link-scorers/member-dialog.js
|
|
24894
24894
|
var WEIGHT5 = 0.6;
|
|
24895
24895
|
var memberDialog = {
|
|
24896
24896
|
id: "member-dialog",
|
|
@@ -24925,7 +24925,7 @@ var memberDialog = {
|
|
|
24925
24925
|
}, "candidates")
|
|
24926
24926
|
};
|
|
24927
24927
|
|
|
24928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-gathering-around.js
|
|
24929
24929
|
var storedMessageNeighbours = /* @__PURE__ */ __name((messages) => ({
|
|
24930
24930
|
async around(ref, window3) {
|
|
24931
24931
|
const at = parseLocator(ref);
|
|
@@ -25021,7 +25021,7 @@ var storedNeighbours = /* @__PURE__ */ __name((store) => {
|
|
|
25021
25021
|
};
|
|
25022
25022
|
}, "storedNeighbours");
|
|
25023
25023
|
|
|
25024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
25024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-gathering-request.js
|
|
25025
25025
|
import { createHash as createHash3 } from "node:crypto";
|
|
25026
25026
|
var DAY2 = 864e5;
|
|
25027
25027
|
var MAX_TIME = 864e13;
|
|
@@ -25337,7 +25337,7 @@ var decodeCheckpoint = /* @__PURE__ */ __name((text2, plan) => {
|
|
|
25337
25337
|
return value;
|
|
25338
25338
|
}, "decodeCheckpoint");
|
|
25339
25339
|
|
|
25340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
25340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-gathering.js
|
|
25341
25341
|
var terminal = /* @__PURE__ */ new Set(["done", "unavailable", "failed"]);
|
|
25342
25342
|
var PAGE2 = 20;
|
|
25343
25343
|
var PEOPLE = 20;
|
|
@@ -25741,7 +25741,7 @@ var peopleOf = /* @__PURE__ */ __name((items, senderOf) => {
|
|
|
25741
25741
|
return [...byKey.values()].sort((a, b) => b.items - a.items || a.name.localeCompare(b.name));
|
|
25742
25742
|
}, "peopleOf");
|
|
25743
25743
|
|
|
25744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
25744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-project-candidate-matching.js
|
|
25745
25745
|
var normalizedText = /* @__PURE__ */ __name((text2) => text2.normalize("NFKC").toLowerCase().replace(/\s+/gu, " "), "normalizedText");
|
|
25746
25746
|
var termsOf = /* @__PURE__ */ __name((entry) => [
|
|
25747
25747
|
{ name: entry.name, kind: "canonical" },
|
|
@@ -25785,7 +25785,7 @@ var matchVocabularyTerms = /* @__PURE__ */ __name((catalog, texts) => {
|
|
|
25785
25785
|
return result.sort((a, b) => Number(a.entry.id) - Number(b.entry.id));
|
|
25786
25786
|
}, "matchVocabularyTerms");
|
|
25787
25787
|
|
|
25788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
25788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-gathering-mentions.js
|
|
25789
25789
|
var KINDS = ["project", "tag", "topic"];
|
|
25790
25790
|
var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering, options2 = {}) => {
|
|
25791
25791
|
if (typeof vocabulary?.vocabulary !== "function")
|
|
@@ -25840,7 +25840,7 @@ var findEvidenceMentions = /* @__PURE__ */ __name(async (vocabulary, gathering,
|
|
|
25840
25840
|
};
|
|
25841
25841
|
}, "findEvidenceMentions");
|
|
25842
25842
|
|
|
25843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
25843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/stored-project-gathering.js
|
|
25844
25844
|
var storedChatCount = /* @__PURE__ */ __name((store) => async (account, chatId, { since, until }) => {
|
|
25845
25845
|
const window3 = { since: new Date(since).toISOString(), until: new Date(until - 1).toISOString() };
|
|
25846
25846
|
const [messages, newest, oldest] = await Promise.all([
|
|
@@ -26146,7 +26146,7 @@ var purposeHintOf = /* @__PURE__ */ __name((linked, rows, of) => {
|
|
|
26146
26146
|
return { chat: top.ref, relationship: link4.relationship, items, of };
|
|
26147
26147
|
}, "purposeHintOf");
|
|
26148
26148
|
|
|
26149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/link-scorers/scan.js
|
|
26150
26150
|
var SCORERS = [chatTitle, aliasHits, memberChats, memberDialog, chatSenders, mailThread];
|
|
26151
26151
|
var PERSON_SCORERS = [emailDomain];
|
|
26152
26152
|
var SCAN_BOT = { bot: "memo-scan", kind: "rule" };
|
|
@@ -26394,18 +26394,18 @@ var referenceOf = /* @__PURE__ */ __name((text2) => {
|
|
|
26394
26394
|
}, "referenceOf");
|
|
26395
26395
|
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");
|
|
26396
26396
|
|
|
26397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
26398
26398
|
import { setTimeout as sleep3 } from "node:timers/promises";
|
|
26399
26399
|
|
|
26400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
26401
26401
|
import { lstat } from "node:fs/promises";
|
|
26402
26402
|
|
|
26403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
26404
26404
|
import { createHash as createHash5, randomUUID as randomUUID2 } from "node:crypto";
|
|
26405
26405
|
import { open as open2, rename as rename2, unlink as unlink2 } from "node:fs/promises";
|
|
26406
26406
|
import { join as join2 } from "node:path";
|
|
26407
26407
|
|
|
26408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-metadata.js
|
|
26409
26409
|
import { createHash as createHash4 } from "node:crypto";
|
|
26410
26410
|
var metadataLimit = 16384;
|
|
26411
26411
|
var partialIdentity = /* @__PURE__ */ __name((locator) => JSON.stringify([locator.provider, locator.account, locator.occurrenceId, locator.assetId]), "partialIdentity");
|
|
@@ -26465,7 +26465,7 @@ var readPartialMetadata = /* @__PURE__ */ __name(async (path, locator, maxBytes,
|
|
|
26465
26465
|
}
|
|
26466
26466
|
}, "readPartialMetadata");
|
|
26467
26467
|
|
|
26468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-writer.js
|
|
26469
26469
|
import { randomUUID } from "node:crypto";
|
|
26470
26470
|
import { open, rename, unlink } from "node:fs/promises";
|
|
26471
26471
|
import { join } from "node:path";
|
|
@@ -26557,7 +26557,7 @@ var partialWriter = /* @__PURE__ */ __name(async (input) => {
|
|
|
26557
26557
|
};
|
|
26558
26558
|
}, "partialWriter");
|
|
26559
26559
|
|
|
26560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/persistence/native/recording-partial-store.js
|
|
26561
26561
|
var NativeRecordingPartialStore = class {
|
|
26562
26562
|
static {
|
|
26563
26563
|
__name(this, "NativeRecordingPartialStore");
|
|
@@ -26664,12 +26664,12 @@ var NativeRecordingPartialStore = class {
|
|
|
26664
26664
|
}
|
|
26665
26665
|
};
|
|
26666
26666
|
|
|
26667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
26668
26668
|
import { createHash as createHash6 } from "node:crypto";
|
|
26669
26669
|
import { link as link2 } from "node:fs/promises";
|
|
26670
26670
|
import { basename, dirname, join as join4, resolve } from "node:path";
|
|
26671
26671
|
|
|
26672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-files.js
|
|
26673
26673
|
import { unlink as unlink3 } from "node:fs/promises";
|
|
26674
26674
|
var verifiedPublicationFile = /* @__PURE__ */ __name(async (path, expected2, signal, writable = false) => {
|
|
26675
26675
|
signal?.throwIfAborted();
|
|
@@ -26704,7 +26704,7 @@ var commitPublication = /* @__PURE__ */ __name(async (root, partialPath, finalPa
|
|
|
26704
26704
|
signal?.throwIfAborted();
|
|
26705
26705
|
}, "commitPublication");
|
|
26706
26706
|
|
|
26707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication-journal.js
|
|
26708
26708
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
26709
26709
|
import { open as open3, rename as rename3, unlink as unlink4 } from "node:fs/promises";
|
|
26710
26710
|
import { join as join3 } from "node:path";
|
|
@@ -26777,7 +26777,7 @@ var writePublicationJournal = /* @__PURE__ */ __name(async (root, path, prefix,
|
|
|
26777
26777
|
}
|
|
26778
26778
|
}, "writePublicationJournal");
|
|
26779
26779
|
|
|
26780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/persistence/native/recording-publication.js
|
|
26781
26781
|
var NativeRecordingPublication = class {
|
|
26782
26782
|
static {
|
|
26783
26783
|
__name(this, "NativeRecordingPublication");
|
|
@@ -26850,7 +26850,7 @@ var NativeRecordingPublication = class {
|
|
|
26850
26850
|
}
|
|
26851
26851
|
};
|
|
26852
26852
|
|
|
26853
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/media-archive-manifest.js
|
|
26854
26854
|
import { createHash as createHash7 } from "node:crypto";
|
|
26855
26855
|
import { readdir } from "node:fs/promises";
|
|
26856
26856
|
import { isAbsolute, join as join5, resolve as resolve2 } from "node:path";
|
|
@@ -26937,7 +26937,7 @@ var commitMediaEntry = /* @__PURE__ */ __name((root, one2, beforePublish) => wri
|
|
|
26937
26937
|
beforePublish
|
|
26938
26938
|
}), "commitMediaEntry");
|
|
26939
26939
|
|
|
26940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
26940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/media-archive-files.js
|
|
26941
26941
|
var validator = '"media-completed-v1"';
|
|
26942
26942
|
var maximumFileBytes = 64 * 1024 * 1024 * 1024;
|
|
26943
26943
|
var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2, beforeWrite, signal, metadata = {}) => {
|
|
@@ -27038,7 +27038,7 @@ var archiveMediaFile = /* @__PURE__ */ __name(async (root, identity, kind, file2
|
|
|
27038
27038
|
return entry;
|
|
27039
27039
|
}, "archiveMediaFile");
|
|
27040
27040
|
|
|
27041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/media-archive-locks.js
|
|
27042
27042
|
import { mkdir, realpath } from "node:fs/promises";
|
|
27043
27043
|
import { join as join6, resolve as resolve3 } from "node:path";
|
|
27044
27044
|
var archiveLocations = /* @__PURE__ */ __name(async (initial, signal) => {
|
|
@@ -27105,7 +27105,7 @@ var withMediaArchiveLocks = /* @__PURE__ */ __name(async (directory2, signal, ru
|
|
|
27105
27105
|
throw new CliError("validation_error", "archive locations changed during locking; run the command again");
|
|
27106
27106
|
}, "withMediaArchiveLocks");
|
|
27107
27107
|
|
|
27108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/media-archive.js
|
|
27109
27109
|
var validateMediaSince = /* @__PURE__ */ __name((value, flag = "--since-time") => {
|
|
27110
27110
|
if (value === void 0)
|
|
27111
27111
|
return void 0;
|
|
@@ -27258,7 +27258,7 @@ var archiveMedia = /* @__PURE__ */ __name(async (ports, options2) => {
|
|
|
27258
27258
|
}, { create: true });
|
|
27259
27259
|
}, "archiveMedia");
|
|
27260
27260
|
|
|
27261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/media-archive-move.js
|
|
27262
27262
|
import { realpath as realpath2, unlink as unlink5 } from "node:fs/promises";
|
|
27263
27263
|
import { basename as basename2, dirname as dirname2, join as join7, resolve as resolve4 } from "node:path";
|
|
27264
27264
|
var canonicalDestination = /* @__PURE__ */ __name(async (directory2) => {
|
|
@@ -27411,7 +27411,7 @@ var moveMediaArchive = /* @__PURE__ */ __name(async (options2) => {
|
|
|
27411
27411
|
}, { additional: [target2], createAdditional: !options2.dryRun });
|
|
27412
27412
|
}, "moveMediaArchive");
|
|
27413
27413
|
|
|
27414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/model-downloads.js
|
|
27415
27415
|
var bytesOf2 = /* @__PURE__ */ __name((model) => model.files.reduce((sum2, file2) => sum2 + file2.bytes, 0), "bytesOf");
|
|
27416
27416
|
var nativeRuntime = /* @__PURE__ */ __name(async ({ env, progress = /* @__PURE__ */ __name(() => {
|
|
27417
27417
|
}, "progress") }) => {
|
|
@@ -27434,7 +27434,7 @@ var downloadTextModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
27434
27434
|
}
|
|
27435
27435
|
await nativeRuntime({ env, progress });
|
|
27436
27436
|
progress(`${model.id}: loading it once to check it works`);
|
|
27437
|
-
const { openEmbedder: openEmbedder2 } = await import("./embed-
|
|
27437
|
+
const { openEmbedder: openEmbedder2 } = await import("./embed-JO3CVYBK.js");
|
|
27438
27438
|
const embedder = await openEmbedder2(model, directory2);
|
|
27439
27439
|
try {
|
|
27440
27440
|
const [vector] = await embedder.embed(["check"], "query");
|
|
@@ -27455,7 +27455,7 @@ var downloadRerankModel = /* @__PURE__ */ __name(async (id2, { env, progress = /
|
|
|
27455
27455
|
}
|
|
27456
27456
|
await nativeRuntime({ env, progress });
|
|
27457
27457
|
progress(`${model.id}: loading it once to check it works`);
|
|
27458
|
-
const { openReranker } = await import("./rerank-
|
|
27458
|
+
const { openReranker } = await import("./rerank-553ZMBYJ.js");
|
|
27459
27459
|
const reranker = await openReranker(model, directory2);
|
|
27460
27460
|
try {
|
|
27461
27461
|
await reranker.score("check", ["check"]);
|
|
@@ -27473,7 +27473,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
27473
27473
|
await installFiles(placedImage(model, directory2), { progress, ...bytes2 ? { bytes: bytes2 } : {} });
|
|
27474
27474
|
}
|
|
27475
27475
|
progress(`${model.id}: loading it once to check it works`);
|
|
27476
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
27476
|
+
const { openPictureEmbedder } = await import("./embedder-QAEGU7TZ.js");
|
|
27477
27477
|
const embedder = await openPictureEmbedder(model, directory2);
|
|
27478
27478
|
try {
|
|
27479
27479
|
const vector = await embedder.embedQuery("check");
|
|
@@ -27485,7 +27485,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
27485
27485
|
return { model, directory: directory2 };
|
|
27486
27486
|
}, "downloadImageModel");
|
|
27487
27487
|
|
|
27488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/money-words.js
|
|
27489
27489
|
var MONEY_REQUEST = "money-request";
|
|
27490
27490
|
var MONEY_DONE = "money-done";
|
|
27491
27491
|
var PROMISE = "promise";
|
|
@@ -27519,10 +27519,10 @@ var MONEY_WORDS = [
|
|
|
27519
27519
|
}
|
|
27520
27520
|
];
|
|
27521
27521
|
|
|
27522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/money-words.js
|
|
27523
27523
|
var moneyClassesOf = /* @__PURE__ */ __name((text2) => listsHit(text2, MONEY_WORDS), "moneyClassesOf");
|
|
27524
27524
|
|
|
27525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/status-words.js
|
|
27526
27526
|
var words2 = /* @__PURE__ */ __name((forms) => new RegExp(`(?<![\\p{L}\\p{N}])(?:${forms.join("|")})(?![\\p{L}\\p{N}])`, "iu"), "words");
|
|
27527
27527
|
var MONEY_DONE_FORMS = words2([
|
|
27528
27528
|
"\u043E\u043F\u043B\u0430\u0442\u0438\u043B[\u0430\u0438]?",
|
|
@@ -27562,7 +27562,7 @@ var PROMISE_FORMS = words2([
|
|
|
27562
27562
|
"estar\xE1 listo"
|
|
27563
27563
|
]);
|
|
27564
27564
|
|
|
27565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/items.js
|
|
27566
27566
|
var EXCERPT_CHARS = 80;
|
|
27567
27567
|
var excerpt2 = /* @__PURE__ */ __name((text2) => {
|
|
27568
27568
|
const flat = text2.replace(/\s+/g, " ").trim();
|
|
@@ -27584,7 +27584,7 @@ var whoOf = /* @__PURE__ */ __name((message) => ({
|
|
|
27584
27584
|
var fromOwner = /* @__PURE__ */ __name((message) => message.outgoing === true, "fromOwner");
|
|
27585
27585
|
var day = /* @__PURE__ */ __name((at) => new Date(at).toISOString().slice(0, 10), "day");
|
|
27586
27586
|
|
|
27587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/signals/amounts.js
|
|
27588
27588
|
var MONEY = DEFAULT_TASK_CATEGORIES.filter((category) => category.name === "money");
|
|
27589
27589
|
var verbOf = /* @__PURE__ */ __name((text2) => {
|
|
27590
27590
|
if (MONEY_DONE_FORMS.test(text2))
|
|
@@ -27665,7 +27665,7 @@ var amounts = {
|
|
|
27665
27665
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.state === "asked" ? [{ chat: item2.chat, weight: 2, why: "money asked" }] : []), "attention")
|
|
27666
27666
|
};
|
|
27667
27667
|
|
|
27668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/signals/children.js
|
|
27669
27669
|
var children = {
|
|
27670
27670
|
id: "children",
|
|
27671
27671
|
version: 1,
|
|
@@ -27694,7 +27694,7 @@ var children = {
|
|
|
27694
27694
|
}, "read")
|
|
27695
27695
|
};
|
|
27696
27696
|
|
|
27697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/signals/coverage.js
|
|
27698
27698
|
var coverage = {
|
|
27699
27699
|
id: "coverage",
|
|
27700
27700
|
version: 1,
|
|
@@ -27723,7 +27723,7 @@ var coverage = {
|
|
|
27723
27723
|
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")
|
|
27724
27724
|
};
|
|
27725
27725
|
|
|
27726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/signals/payments.js
|
|
27727
27727
|
var holding = /* @__PURE__ */ __name((row) => row.review !== "rejected", "holding");
|
|
27728
27728
|
var item = /* @__PURE__ */ __name((row, at, data) => ({
|
|
27729
27729
|
signal: "payments",
|
|
@@ -27773,7 +27773,7 @@ var payments = {
|
|
|
27773
27773
|
}, "read")
|
|
27774
27774
|
};
|
|
27775
27775
|
|
|
27776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/signals/promises.js
|
|
27777
27777
|
var PATTERNS_PER_CHAT = 3;
|
|
27778
27778
|
var DAY3 = 864e5;
|
|
27779
27779
|
var KINDS2 = /* @__PURE__ */ new Set(["promise", "request"]);
|
|
@@ -27862,7 +27862,7 @@ var promises = {
|
|
|
27862
27862
|
}, "read")
|
|
27863
27863
|
};
|
|
27864
27864
|
|
|
27865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/signals/questions.js
|
|
27866
27866
|
var PER_SIDE = 5;
|
|
27867
27867
|
var WEEK = 7 * 864e5;
|
|
27868
27868
|
var NOBODY = /* @__PURE__ */ new Set();
|
|
@@ -27893,7 +27893,7 @@ var questions2 = {
|
|
|
27893
27893
|
}, "attention")
|
|
27894
27894
|
};
|
|
27895
27895
|
|
|
27896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/signals/reply-next.js
|
|
27897
27897
|
var targetOf = /* @__PURE__ */ __name((message, chat, owners) => {
|
|
27898
27898
|
const byId2 = /* @__PURE__ */ __name((id2) => chat.messages.find((one2) => one2.id === id2), "byId");
|
|
27899
27899
|
const quoted = message.replyTo ?? (message.replyToId === void 0 ? void 0 : byId2(message.replyToId));
|
|
@@ -27961,7 +27961,7 @@ var replyNext = {
|
|
|
27961
27961
|
attention: /* @__PURE__ */ __name((items) => items.flatMap((item2) => item2.chat !== null && item2.data.next === "owner" ? [{ chat: item2.chat, weight: 2, why: "your move" }] : []), "attention")
|
|
27962
27962
|
};
|
|
27963
27963
|
|
|
27964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
27964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/signals/topics.js
|
|
27965
27965
|
var escaped2 = /* @__PURE__ */ __name((text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "escaped");
|
|
27966
27966
|
var wholeWord = /* @__PURE__ */ __name((word) => new RegExp(`(?<![\\p{L}\\p{N}])${escaped2(word)}(?![\\p{L}\\p{N}])`, "u"), "wholeWord");
|
|
27967
27967
|
var matcherOf = /* @__PURE__ */ __name((query) => {
|
|
@@ -28007,7 +28007,7 @@ var topics = {
|
|
|
28007
28007
|
}, "read")
|
|
28008
28008
|
};
|
|
28009
28009
|
|
|
28010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
28010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/signals/index.js
|
|
28011
28011
|
var STATUS_SIGNALS = [
|
|
28012
28012
|
replyNext,
|
|
28013
28013
|
questions2,
|
|
@@ -28019,7 +28019,7 @@ var STATUS_SIGNALS = [
|
|
|
28019
28019
|
children
|
|
28020
28020
|
];
|
|
28021
28021
|
|
|
28022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
28022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/project-status/index.js
|
|
28023
28023
|
var DAY4 = 864e5;
|
|
28024
28024
|
var STATUS_WINDOW = 300;
|
|
28025
28025
|
var STATUS_CHATS = 16;
|
|
@@ -28208,7 +28208,7 @@ var projectStatus = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
28208
28208
|
};
|
|
28209
28209
|
}, "projectStatus");
|
|
28210
28210
|
|
|
28211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
28211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/account.js
|
|
28212
28212
|
var accountService = /* @__PURE__ */ __name((deps) => {
|
|
28213
28213
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
28214
28214
|
if (deps.offline)
|
|
@@ -28280,7 +28280,7 @@ var accountService = /* @__PURE__ */ __name((deps) => {
|
|
|
28280
28280
|
};
|
|
28281
28281
|
}, "accountService");
|
|
28282
28282
|
|
|
28283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
28283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/send-time.js
|
|
28284
28284
|
var MINUTE = 6e4;
|
|
28285
28285
|
var YEAR = 365 * 24 * 60 * MINUTE;
|
|
28286
28286
|
var DELAY = /^(\d+)(m|h|d)$/;
|
|
@@ -28299,7 +28299,7 @@ var sendTime = /* @__PURE__ */ __name((value, now = Date.now(), flag = "--at-tim
|
|
|
28299
28299
|
return new Date(at - at % MINUTE).toISOString();
|
|
28300
28300
|
}, "sendTime");
|
|
28301
28301
|
|
|
28302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
28302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/admin.js
|
|
28303
28303
|
var recordMembership = /* @__PURE__ */ __name(async (deps, operationId, done2, change, fix, write2) => {
|
|
28304
28304
|
try {
|
|
28305
28305
|
const held = await accountStoreIfOpen(deps);
|
|
@@ -28546,7 +28546,7 @@ var linkLimits = /* @__PURE__ */ __name(({ approval, expires, maxUses }) => {
|
|
|
28546
28546
|
return expires === void 0 ? void 0 : sendTime(expires, Date.now(), "--expire-time");
|
|
28547
28547
|
}, "linkLimits");
|
|
28548
28548
|
|
|
28549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
28549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/mail-search.js
|
|
28550
28550
|
var THREADS_PAGE = 500;
|
|
28551
28551
|
var threadsOf = /* @__PURE__ */ __name(async (store, key) => {
|
|
28552
28552
|
const account = await store.accounts.storedAccount(key).catch(() => void 0);
|
|
@@ -28625,7 +28625,7 @@ var readMail = /* @__PURE__ */ __name(async (store, locator, { before: before2 =
|
|
|
28625
28625
|
return thread.slice(Math.max(0, at - before2), at + after + 1).map((hit) => hit.id === message ? { ...hit, anchor: true } : hit);
|
|
28626
28626
|
}, "readMail");
|
|
28627
28627
|
|
|
28628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
28628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/search-kind.js
|
|
28629
28629
|
var NO_MAIL = "no_mail";
|
|
28630
28630
|
var MAIL = "email";
|
|
28631
28631
|
var listContextOf = /* @__PURE__ */ __name(async (store, account, app, stored) => {
|
|
@@ -28672,7 +28672,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
|
|
|
28672
28672
|
return chosenMail.map(({ provider, account }) => ({ provider, account }));
|
|
28673
28673
|
}, "accountsOfKind");
|
|
28674
28674
|
|
|
28675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
28675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/messages-search.js
|
|
28676
28676
|
var MAIL_FIELDS = /* @__PURE__ */ new Set(["to", "cc", "bcc", "subject", "mailbox", "label", "is"]);
|
|
28677
28677
|
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");
|
|
28678
28678
|
var prepareLucene = /* @__PURE__ */ __name(async (store, account, request, messenger) => {
|
|
@@ -29020,7 +29020,7 @@ var statsLucene = /* @__PURE__ */ __name(async (store, account, request, messeng
|
|
|
29020
29020
|
};
|
|
29021
29021
|
}, "statsLucene");
|
|
29022
29022
|
|
|
29023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/rankings-selection.js
|
|
29024
29024
|
var RANKING_SELECTION_BYTES = 64 * 1024;
|
|
29025
29025
|
var object2 = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0, "object");
|
|
29026
29026
|
function invalid(message = "ranking selection is invalid \u2014 obtain a new drilldown from stats top") {
|
|
@@ -29189,7 +29189,7 @@ var readRankingSelection = /* @__PURE__ */ __name(async (store, input) => {
|
|
|
29189
29189
|
};
|
|
29190
29190
|
}, "readRankingSelection");
|
|
29191
29191
|
|
|
29192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/search-record.js
|
|
29193
29193
|
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");
|
|
29194
29194
|
var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
29195
29195
|
command,
|
|
@@ -29199,7 +29199,7 @@ var searchRecordOf = /* @__PURE__ */ __name((command, params) => ({
|
|
|
29199
29199
|
fieldsVersion: FIELD_VERSION
|
|
29200
29200
|
}), "searchRecordOf");
|
|
29201
29201
|
|
|
29202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/admin-statistics.js
|
|
29203
29203
|
function invalid2(message) {
|
|
29204
29204
|
throw new CliError("validation_error", message);
|
|
29205
29205
|
}
|
|
@@ -29493,7 +29493,7 @@ var adminStatisticsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
29493
29493
|
}, "evidence")
|
|
29494
29494
|
}), "adminStatisticsService");
|
|
29495
29495
|
|
|
29496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/archive-gaps.js
|
|
29497
29497
|
import { createHash as createHash8, randomUUID as randomUUID4 } from "node:crypto";
|
|
29498
29498
|
var GAP_BOUNDS = { maxGaps: 5, limit: 500, timeMs: 3e4 };
|
|
29499
29499
|
var validateRepair = /* @__PURE__ */ __name((messenger, options2) => {
|
|
@@ -29630,16 +29630,16 @@ var gapsService = /* @__PURE__ */ __name((deps) => {
|
|
|
29630
29630
|
return { plan, repair };
|
|
29631
29631
|
}, "gapsService");
|
|
29632
29632
|
|
|
29633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
29634
29634
|
import { createHash as createHash10 } from "node:crypto";
|
|
29635
29635
|
import { constants as constants2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
29636
29636
|
import { lstat as lstat4, open as open6, readFile, stat as stat2 } from "node:fs/promises";
|
|
29637
29637
|
|
|
29638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
29639
29639
|
import { lstat as lstat2, readdir as readdir2, realpath as realpath3 } from "node:fs/promises";
|
|
29640
29640
|
import { basename as basename4, join as join8, relative as relative2, sep as sep2 } from "node:path";
|
|
29641
29641
|
|
|
29642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29642
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/sends/upload.js
|
|
29643
29643
|
import { openAsBlob, realpathSync } from "node:fs";
|
|
29644
29644
|
import { open as open4, stat } from "node:fs/promises";
|
|
29645
29645
|
import { basename as basename3, dirname as dirname3, extname, isAbsolute as isAbsolute2, relative, resolve as resolve5, sep } from "node:path";
|
|
@@ -29841,7 +29841,7 @@ var readStickerFile = /* @__PURE__ */ __name(async (path, maxBytes, read2) => {
|
|
|
29841
29841
|
return { name, source };
|
|
29842
29842
|
}, "readStickerFile");
|
|
29843
29843
|
|
|
29844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/directory.js
|
|
29845
29845
|
var MAX_FILES = 1e4;
|
|
29846
29846
|
var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app, env) => {
|
|
29847
29847
|
if (refusedPlace(directory2, app, env))
|
|
@@ -29910,15 +29910,15 @@ var directoryPaths = /* @__PURE__ */ __name(async (store, chat, directory2, app,
|
|
|
29910
29910
|
return choices;
|
|
29911
29911
|
}, "directoryPaths");
|
|
29912
29912
|
|
|
29913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
29914
29914
|
import { posix } from "node:path";
|
|
29915
29915
|
|
|
29916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29916
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
29917
29917
|
import { setImmediate as tick } from "node:timers/promises";
|
|
29918
29918
|
import { crc32 } from "node:zlib";
|
|
29919
29919
|
var import_xmldom = __toESM(require_lib(), 1);
|
|
29920
29920
|
|
|
29921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
29921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
|
|
29922
29922
|
var import_chardet = __toESM(require_lib2(), 1);
|
|
29923
29923
|
var import_iconv_lite = __toESM(require_lib3(), 1);
|
|
29924
29924
|
var SAMPLE = 65536;
|
|
@@ -30020,7 +30020,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes2) => {
|
|
|
30020
30020
|
return result.text;
|
|
30021
30021
|
}, "decodeXml");
|
|
30022
30022
|
|
|
30023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
30024
30024
|
var MAX_PART = 10 * 1024 * 1024;
|
|
30025
30025
|
var MAX_ENTRIES = 1e3;
|
|
30026
30026
|
var decoder = new TextDecoder("utf-8", { fatal: true });
|
|
@@ -30235,7 +30235,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
|
|
|
30235
30235
|
return found;
|
|
30236
30236
|
}, "elements");
|
|
30237
30237
|
|
|
30238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
|
|
30239
30239
|
var columnName = /* @__PURE__ */ __name((column) => {
|
|
30240
30240
|
let name = "";
|
|
30241
30241
|
for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
|
|
@@ -30290,7 +30290,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
|
|
|
30290
30290
|
return { text: parts.join("").trim(), truncated: false };
|
|
30291
30291
|
}, "sheetText");
|
|
30292
30292
|
|
|
30293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
30294
30294
|
var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
30295
30295
|
var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
30296
30296
|
var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
@@ -30690,10 +30690,10 @@ var readDocument = /* @__PURE__ */ __name(async (bytes2, kind, signal) => {
|
|
|
30690
30690
|
}
|
|
30691
30691
|
}, "readDocument");
|
|
30692
30692
|
|
|
30693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
30694
30694
|
import { extname as extname3 } from "node:path";
|
|
30695
30695
|
|
|
30696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/engine.js
|
|
30697
30697
|
import { readFileSync } from "node:fs";
|
|
30698
30698
|
import { dirname as dirname4, extname as extname2, join as join9 } from "node:path";
|
|
30699
30699
|
import { fileURLToPath } from "node:url";
|
|
@@ -30754,7 +30754,7 @@ var derived = /* @__PURE__ */ __name((bytes2, extractor, read2) => {
|
|
|
30754
30754
|
}
|
|
30755
30755
|
}, "derived");
|
|
30756
30756
|
|
|
30757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/image/index.js
|
|
30758
30758
|
var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
|
|
30759
30759
|
var image2 = {
|
|
30760
30760
|
id: "image",
|
|
@@ -30763,7 +30763,7 @@ var image2 = {
|
|
|
30763
30763
|
read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
|
|
30764
30764
|
};
|
|
30765
30765
|
|
|
30766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
|
|
30767
30767
|
var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
|
|
30768
30768
|
var doc = {
|
|
30769
30769
|
id: "doc",
|
|
@@ -30775,7 +30775,7 @@ var doc = {
|
|
|
30775
30775
|
}), "read")
|
|
30776
30776
|
};
|
|
30777
30777
|
|
|
30778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
|
|
30779
30779
|
var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
30780
30780
|
var docx = {
|
|
30781
30781
|
id: "docx",
|
|
@@ -30788,7 +30788,7 @@ var docx = {
|
|
|
30788
30788
|
}), "read")
|
|
30789
30789
|
};
|
|
30790
30790
|
|
|
30791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/markup.js
|
|
30792
30792
|
var import_iconv_lite2 = __toESM(require_lib3(), 1);
|
|
30793
30793
|
var RTF_SKIPPED = /* @__PURE__ */ new Set([
|
|
30794
30794
|
"fonttbl",
|
|
@@ -30964,7 +30964,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
|
|
|
30964
30964
|
}, "htmlText");
|
|
30965
30965
|
var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
|
|
30966
30966
|
|
|
30967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
30967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/html/page.js
|
|
30968
30968
|
var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
|
|
30969
30969
|
var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
|
|
30970
30970
|
var jsonLdNodes = /* @__PURE__ */ __name((document) => {
|
|
@@ -31020,7 +31020,7 @@ var markdownSections = /* @__PURE__ */ __name((text2) => {
|
|
|
31020
31020
|
return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text2.length }));
|
|
31021
31021
|
}, "markdownSections");
|
|
31022
31022
|
|
|
31023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/html/index.js
|
|
31024
31024
|
var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
|
|
31025
31025
|
var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
|
|
31026
31026
|
var loaded = /* @__PURE__ */ __name(async (load, name) => {
|
|
@@ -31091,7 +31091,7 @@ var html = {
|
|
|
31091
31091
|
}, "read")
|
|
31092
31092
|
};
|
|
31093
31093
|
|
|
31094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/office/index.js
|
|
31095
31095
|
var office = {
|
|
31096
31096
|
id: "office",
|
|
31097
31097
|
version: documentExtractor("odt"),
|
|
@@ -31102,7 +31102,7 @@ var office = {
|
|
|
31102
31102
|
}, "read")
|
|
31103
31103
|
};
|
|
31104
31104
|
|
|
31105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
|
|
31106
31106
|
var pdf = {
|
|
31107
31107
|
id: "pdf",
|
|
31108
31108
|
version: "unpdf",
|
|
@@ -31169,7 +31169,7 @@ var pdf = {
|
|
|
31169
31169
|
}), "read")
|
|
31170
31170
|
};
|
|
31171
31171
|
|
|
31172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
|
|
31173
31173
|
var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
|
|
31174
31174
|
var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
|
|
31175
31175
|
var readPlain = /* @__PURE__ */ __name((bytes2) => {
|
|
@@ -31189,7 +31189,7 @@ var plain = {
|
|
|
31189
31189
|
read: /* @__PURE__ */ __name(async (bytes2) => readPlain(bytes2), "read")
|
|
31190
31190
|
};
|
|
31191
31191
|
|
|
31192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
|
|
31193
31193
|
var rtf = {
|
|
31194
31194
|
id: "rtf",
|
|
31195
31195
|
version: "v1",
|
|
@@ -31197,10 +31197,10 @@ var rtf = {
|
|
|
31197
31197
|
read: /* @__PURE__ */ __name(async (bytes2) => derived(bytes2, "rtf:v1", rtfText), "read")
|
|
31198
31198
|
};
|
|
31199
31199
|
|
|
31200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
31201
31201
|
import { basename as basename5 } from "node:path";
|
|
31202
31202
|
|
|
31203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
|
|
31204
31204
|
var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) => {
|
|
31205
31205
|
const cells = [];
|
|
31206
31206
|
let row = 1, column = 1, start = 0, quoted = false, truncated = false;
|
|
@@ -31238,7 +31238,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text2, delimiter, maxCells = 1e4) =
|
|
|
31238
31238
|
return { cells, truncated };
|
|
31239
31239
|
}, "delimitedSpans");
|
|
31240
31240
|
|
|
31241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
31242
31242
|
var DELIMITED = {
|
|
31243
31243
|
".csv": ",",
|
|
31244
31244
|
".tsv": " ",
|
|
@@ -31277,7 +31277,7 @@ var sheets = {
|
|
|
31277
31277
|
}, "read")
|
|
31278
31278
|
};
|
|
31279
31279
|
|
|
31280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/readers/registry.js
|
|
31281
31281
|
var BUILT_INS2 = [office, pdf, docx, doc, rtf, html, sheets, plain, image2];
|
|
31282
31282
|
var HEAD_BYTES = 1024;
|
|
31283
31283
|
var readers = [...BUILT_INS2];
|
|
@@ -31287,7 +31287,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes2, hint, context2) =>
|
|
|
31287
31287
|
return reader ? reader.read(bytes2, hint, context2) : { status: "unsupported" };
|
|
31288
31288
|
}, "readWithRegistry");
|
|
31289
31289
|
|
|
31290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
31290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
31291
31291
|
var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
|
|
31292
31292
|
var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname3(name ?? path).toLowerCase(), "extensionOf");
|
|
31293
31293
|
var extractText = /* @__PURE__ */ __name(async (bytes2, hint, load, signal, env = process.env) => {
|
|
@@ -32366,7 +32366,7 @@ function imageSize(input) {
|
|
|
32366
32366
|
}
|
|
32367
32367
|
__name(imageSize, "imageSize");
|
|
32368
32368
|
|
|
32369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
32369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
|
|
32370
32370
|
var MAX_PAGES = 20;
|
|
32371
32371
|
var MAX_PIXELS = 2e7;
|
|
32372
32372
|
var cancelled2 = /* @__PURE__ */ __name((signal) => {
|
|
@@ -32517,7 +32517,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes2, pipeline2, load, signal) => {
|
|
|
32517
32517
|
}
|
|
32518
32518
|
}, "ocrPdf");
|
|
32519
32519
|
|
|
32520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
32520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/pdf-preview.js
|
|
32521
32521
|
var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = importEngine, env = process.env) => {
|
|
32522
32522
|
const limits = pdfPreviewLimits(env);
|
|
32523
32523
|
const cancelled4 = /* @__PURE__ */ __name(() => {
|
|
@@ -32594,7 +32594,7 @@ var pdfPreview = /* @__PURE__ */ __name(async (bytes2, page, signal, load = impo
|
|
|
32594
32594
|
}
|
|
32595
32595
|
}, "pdfPreview");
|
|
32596
32596
|
|
|
32597
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
32597
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/attachments/transfer.js
|
|
32598
32598
|
import { createHash as createHash9 } from "node:crypto";
|
|
32599
32599
|
import { constants } from "node:fs";
|
|
32600
32600
|
import { lstat as lstat3, open as open5 } from "node:fs/promises";
|
|
@@ -32702,7 +32702,7 @@ var transferMime = /* @__PURE__ */ __name((head, hint, name = null) => {
|
|
|
32702
32702
|
return hint !== null && /^[a-z0-9.+-]+\/[a-z0-9.+-]+$/i.test(hint) ? hint : "application/octet-stream";
|
|
32703
32703
|
}, "transferMime");
|
|
32704
32704
|
|
|
32705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
32705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
32706
32706
|
import { createWriteStream, mkdirSync } from "node:fs";
|
|
32707
32707
|
import { link as link3, rm } from "node:fs/promises";
|
|
32708
32708
|
import { join as join10, resolve as resolve6 } from "node:path";
|
|
@@ -32816,7 +32816,7 @@ var save = /* @__PURE__ */ __name(async (file2, directory2, fallbackName, { uniq
|
|
|
32816
32816
|
}
|
|
32817
32817
|
}, "save");
|
|
32818
32818
|
|
|
32819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
32819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/attachments.js
|
|
32820
32820
|
var ATTACHMENT_QUERY = {
|
|
32821
32821
|
entity: "attachment",
|
|
32822
32822
|
backend: "sql",
|
|
@@ -33239,7 +33239,7 @@ var attachmentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
33239
33239
|
}, "setText")
|
|
33240
33240
|
}), "attachmentsService");
|
|
33241
33241
|
|
|
33242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
33242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/chat-documents.js
|
|
33243
33243
|
var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
33244
33244
|
list: /* @__PURE__ */ __name(async (chat, { limit, offset, ref }) => {
|
|
33245
33245
|
const store = await accountStore(deps);
|
|
@@ -33269,7 +33269,7 @@ var chatDocumentsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
33269
33269
|
}, "list")
|
|
33270
33270
|
}), "chatDocumentsService");
|
|
33271
33271
|
|
|
33272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
33272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/retention.js
|
|
33273
33273
|
var observationDuration = /* @__PURE__ */ __name((text2, flag) => {
|
|
33274
33274
|
const match = /^(\d+(?:\.\d+)?)([smhdw])$/.exec(text2);
|
|
33275
33275
|
const units2 = { s: 1e3, m: 6e4, h: 36e5, d: 864e5, w: 6048e5 };
|
|
@@ -33356,7 +33356,7 @@ var isRetentionSelection = /* @__PURE__ */ __name((selection) => {
|
|
|
33356
33356
|
}
|
|
33357
33357
|
}, "isRetentionSelection");
|
|
33358
33358
|
|
|
33359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
33359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/counters.js
|
|
33360
33360
|
var counterFields = /* @__PURE__ */ __name((text2 = "views,reactions,comments") => {
|
|
33361
33361
|
const fields = text2.split(",").map((one2) => one2.trim());
|
|
33362
33362
|
if (!fields.length || fields.some((one2) => !COUNTER_FIELDS.includes(one2)) || new Set(fields).size !== fields.length)
|
|
@@ -33563,7 +33563,7 @@ var countersService = /* @__PURE__ */ __name((deps) => {
|
|
|
33563
33563
|
};
|
|
33564
33564
|
}, "countersService");
|
|
33565
33565
|
|
|
33566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
33566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/search-refresh.js
|
|
33567
33567
|
var SYNC_KEY = "messages.sync-first";
|
|
33568
33568
|
var SYNC_BOUNDS = { maxChats: 5, timeMs: 3e4, maxMessages: 500 };
|
|
33569
33569
|
var keyOf2 = /* @__PURE__ */ __name((chat) => JSON.stringify([chat.account.provider, chat.account.account, chat.chatId]), "keyOf");
|
|
@@ -33695,7 +33695,7 @@ var withRefresh = /* @__PURE__ */ __name((found, refreshed) => ({
|
|
|
33695
33695
|
...!refreshed || refreshed.complete ? {} : { coverage: { ...found.coverage, state: "stale" } }
|
|
33696
33696
|
}), "withRefresh");
|
|
33697
33697
|
|
|
33698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
33698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/embeddings-search.js
|
|
33699
33699
|
var CANDIDATES = 50;
|
|
33700
33700
|
var WORD_HITS = 200;
|
|
33701
33701
|
var RRF_K = 60;
|
|
@@ -33970,13 +33970,13 @@ var meanOf = /* @__PURE__ */ __name((vectors) => {
|
|
|
33970
33970
|
return mean2.map((value) => value / length);
|
|
33971
33971
|
}, "meanOf");
|
|
33972
33972
|
|
|
33973
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
33973
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/embeddings.js
|
|
33974
33974
|
var embeddingsService = /* @__PURE__ */ __name((deps) => ({
|
|
33975
33975
|
...embeddingsMaintenance(deps),
|
|
33976
33976
|
...embeddingsSearch(deps)
|
|
33977
33977
|
}), "embeddingsService");
|
|
33978
33978
|
|
|
33979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
33979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/folders.js
|
|
33980
33980
|
var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
33981
33981
|
const online = /* @__PURE__ */ __name(async (command) => {
|
|
33982
33982
|
if (deps.offline)
|
|
@@ -34117,7 +34117,7 @@ var foldersService = /* @__PURE__ */ __name((deps) => {
|
|
|
34117
34117
|
};
|
|
34118
34118
|
}, "foldersService");
|
|
34119
34119
|
|
|
34120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/mentions.js
|
|
34121
34121
|
var REVIEW_COUNT = 500;
|
|
34122
34122
|
var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
34123
34123
|
const located = /* @__PURE__ */ __name(async () => {
|
|
@@ -34196,7 +34196,7 @@ var mentionsService = /* @__PURE__ */ __name((deps) => {
|
|
|
34196
34196
|
};
|
|
34197
34197
|
}, "mentionsService");
|
|
34198
34198
|
|
|
34199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
34200
34200
|
var invalid3 = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
34201
34201
|
var validateFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
34202
34202
|
const { text: text2, spans } = formatted2;
|
|
@@ -34256,7 +34256,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted2) => {
|
|
|
34256
34256
|
};
|
|
34257
34257
|
}, "visibleFormattedText");
|
|
34258
34258
|
|
|
34259
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34259
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/message-link.js
|
|
34260
34260
|
var fileLinks = /* @__PURE__ */ __name((attachments) => hitFiles(attachments).map(({ position, kind, name }) => ({
|
|
34261
34261
|
position,
|
|
34262
34262
|
kind,
|
|
@@ -34305,7 +34305,7 @@ var validatePermalink = /* @__PURE__ */ __name((link4) => {
|
|
|
34305
34305
|
return { url: link4.url, access: link4.access, reason: link4.reason };
|
|
34306
34306
|
}, "validatePermalink");
|
|
34307
34307
|
|
|
34308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/pin-duration.js
|
|
34309
34309
|
var spokenSeconds = /* @__PURE__ */ __name((seconds) => {
|
|
34310
34310
|
if (seconds % 86400 === 0 && seconds > 86400)
|
|
34311
34311
|
return `${seconds / 86400}d`;
|
|
@@ -34337,7 +34337,7 @@ var pinDurationOf = /* @__PURE__ */ __name((value, allowed, flag = "--expire-tim
|
|
|
34337
34337
|
return seconds;
|
|
34338
34338
|
}, "pinDurationOf");
|
|
34339
34339
|
|
|
34340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/sends/send-as.js
|
|
34341
34341
|
var sendAsCheck = /* @__PURE__ */ __name((connection, sendAs) => {
|
|
34342
34342
|
if (sendAs === void 0) {
|
|
34343
34343
|
const saved = connection.savedSender?.bind(connection);
|
|
@@ -34362,7 +34362,7 @@ var typedSendAs = /* @__PURE__ */ __name((typed) => {
|
|
|
34362
34362
|
return sendAs;
|
|
34363
34363
|
}, "typedSendAs");
|
|
34364
34364
|
|
|
34365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/search/total.js
|
|
34366
34366
|
var TOTAL_CAP = 1e4;
|
|
34367
34367
|
var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
34368
34368
|
const least = shown + (hasMore ? 1 : 0);
|
|
@@ -34373,7 +34373,7 @@ var totalOf = /* @__PURE__ */ __name((count4, shown, hasMore, exact = true) => {
|
|
|
34373
34373
|
return { value: count4, relation: exact ? "eq" : "gte" };
|
|
34374
34374
|
}, "totalOf");
|
|
34375
34375
|
|
|
34376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
|
|
34377
34377
|
var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
|
|
34378
34378
|
var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
|
|
34379
34379
|
let narrows = false;
|
|
@@ -34402,7 +34402,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
|
|
|
34402
34402
|
return wanted(root).join(" ").trim();
|
|
34403
34403
|
}, "meaningWords");
|
|
34404
34404
|
|
|
34405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
34406
34406
|
var words3 = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
34407
34407
|
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"));
|
|
34408
34408
|
var questionWord = /\b(?:what|which|how|who|where|when|can|could|should)\b|(?:^|\s)(?:сколько|какой|какая|какие|какое|кто|кому|кем|где|когда|как|что|можно|может|могут|ли)(?:\s|$)/iu;
|
|
@@ -34535,7 +34535,7 @@ var questionLookup = /* @__PURE__ */ __name((text2) => {
|
|
|
34535
34535
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
34536
34536
|
}, "questionLookup");
|
|
34537
34537
|
|
|
34538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/messages-combined.js
|
|
34539
34539
|
var COMBINED_DEFAULTS = { candidateDepth: 300, rrfK: 60, rerank: "all", chatCap: 0 };
|
|
34540
34540
|
var tokensOf = /* @__PURE__ */ __name((text2) => normalize(text2).match(/[\p{L}\p{N}\p{Co}\p{M}]+/gu) ?? [], "tokensOf");
|
|
34541
34541
|
var searchCombined = /* @__PURE__ */ __name(async (store, account, request, messenger = {}, options2 = COMBINED_DEFAULTS) => {
|
|
@@ -34728,7 +34728,7 @@ var signals = /* @__PURE__ */ __name((hit, terms, corrections, execution, mode,
|
|
|
34728
34728
|
return mode === "coverage" ? coverage2 * 4 : mode === "proximity" ? proximity : mode === "phrase" ? phrase : coverage2 * 4 + proximity + phrase;
|
|
34729
34729
|
}, "signals");
|
|
34730
34730
|
|
|
34731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
34731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/messages-discovery.js
|
|
34732
34732
|
var MEANING_DEPTH = 100;
|
|
34733
34733
|
var RRF_K2 = 60;
|
|
34734
34734
|
var RERANK_DEPTH = 50;
|
|
@@ -35053,7 +35053,7 @@ var mixedWithReranker = /* @__PURE__ */ __name((head, scores) => {
|
|
|
35053
35053
|
})).sort((a, b) => b.mixed - a.mixed).map(({ hit }) => hit);
|
|
35054
35054
|
}, "mixedWithReranker");
|
|
35055
35055
|
|
|
35056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/thread-context.js
|
|
35057
35057
|
var THREAD_BOUNDS = { maxHops: 8, maxMessages: 50, maxBytes: 65536, withinMs: 864e5 };
|
|
35058
35058
|
var bytes = /* @__PURE__ */ __name((items, links) => Buffer.byteLength(JSON.stringify({ items, links }), "utf8"), "bytes");
|
|
35059
35059
|
var threadBounds = /* @__PURE__ */ __name((options2 = {}) => {
|
|
@@ -35252,7 +35252,7 @@ var readThreadContext = /* @__PURE__ */ __name(async (store, account, chat, mess
|
|
|
35252
35252
|
return result;
|
|
35253
35253
|
}, "readThreadContext");
|
|
35254
35254
|
|
|
35255
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35255
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/messages-archive-search.js
|
|
35256
35256
|
var SEARCH_FILL_MS = 200;
|
|
35257
35257
|
var statsStore = /* @__PURE__ */ __name(async (store, account, request, messenger = {}) => {
|
|
35258
35258
|
const stop = Date.now() + SEARCH_FILL_MS;
|
|
@@ -35321,12 +35321,12 @@ var accountOf2 = /* @__PURE__ */ __name((hit) => {
|
|
|
35321
35321
|
}, "accountOf");
|
|
35322
35322
|
var keyOf3 = /* @__PURE__ */ __name(({ provider, account }) => `${provider}/${account}`, "keyOf");
|
|
35323
35323
|
|
|
35324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
35325
35325
|
import { createHash as createHash11 } from "node:crypto";
|
|
35326
35326
|
import { readFile as readFile2, stat as stat3 } from "node:fs/promises";
|
|
35327
35327
|
import { setTimeout as sleep4 } from "node:timers/promises";
|
|
35328
35328
|
|
|
35329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/models.js
|
|
35330
35330
|
var GROUP_SETTINGS = [
|
|
35331
35331
|
"allCanPin",
|
|
35332
35332
|
"onlyAdminsAdd",
|
|
@@ -35340,7 +35340,7 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
|
|
|
35340
35340
|
var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
|
|
35341
35341
|
var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
|
|
35342
35342
|
|
|
35343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
35344
35344
|
var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
|
|
35345
35345
|
var PICTURE_FLOOR = 0.25;
|
|
35346
35346
|
var PAGE4 = 50;
|
|
@@ -35357,7 +35357,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
|
|
|
35357
35357
|
const directory2 = imageModelsDirectory(deps.env);
|
|
35358
35358
|
if (!isImageModelInstalled(model2, directory2))
|
|
35359
35359
|
throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
|
|
35360
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
35360
|
+
const { openPictureEmbedder } = await import("./embedder-QAEGU7TZ.js");
|
|
35361
35361
|
return openPictureEmbedder(model2, directory2);
|
|
35362
35362
|
}, "open");
|
|
35363
35363
|
const embedder = /* @__PURE__ */ __name(() => {
|
|
@@ -35554,7 +35554,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
|
|
|
35554
35554
|
}, "search")
|
|
35555
35555
|
}), "withPictures");
|
|
35556
35556
|
|
|
35557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/messages-meaning.js
|
|
35558
35558
|
var meaningText = /* @__PURE__ */ __name((question) => {
|
|
35559
35559
|
try {
|
|
35560
35560
|
const text2 = questionLookup(question) === void 0 ? question : questionText(question);
|
|
@@ -35634,7 +35634,7 @@ var meaningLane = /* @__PURE__ */ __name((deps) => async (question, accounts, sh
|
|
|
35634
35634
|
}
|
|
35635
35635
|
}, "meaningLane");
|
|
35636
35636
|
|
|
35637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/messages-rerank.js
|
|
35638
35638
|
var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
35639
35639
|
const choice = deps.reranker ?? DEFAULT_RERANK_MODEL;
|
|
35640
35640
|
if (choice === "off")
|
|
@@ -35646,9 +35646,9 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
35646
35646
|
return { skipped: { reason: `${model.id} is not downloaded`, step: "models.download", model: model.id } };
|
|
35647
35647
|
try {
|
|
35648
35648
|
const warm = deps.embedders;
|
|
35649
|
-
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-
|
|
35649
|
+
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-5I6233QY.js")).openRerankerProcess(model, directory2, {
|
|
35650
35650
|
threads: defaultThreads()
|
|
35651
|
-
})) : await (await import("./rerank-
|
|
35651
|
+
})) : await (await import("./rerank-553ZMBYJ.js")).openReranker(model, directory2);
|
|
35652
35652
|
return {
|
|
35653
35653
|
model: model.id,
|
|
35654
35654
|
score: /* @__PURE__ */ __name((question, passages) => reranker.score(plainWords(question), passages), "score"),
|
|
@@ -35668,17 +35668,17 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
35668
35668
|
};
|
|
35669
35669
|
}, "rerankLane");
|
|
35670
35670
|
|
|
35671
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35671
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
|
|
35672
35672
|
var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
|
|
35673
35673
|
const model = imageModel(DEFAULT_IMAGE_MODEL);
|
|
35674
35674
|
const directory2 = imageModelsDirectory(env);
|
|
35675
35675
|
if (!isImageModelInstalled(model, directory2))
|
|
35676
35676
|
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 });
|
|
35677
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
35677
|
+
const { openPictureEmbedder } = await import("./embedder-QAEGU7TZ.js");
|
|
35678
35678
|
return openPictureEmbedder(model, directory2);
|
|
35679
35679
|
}, "openPictureEmbedderFor");
|
|
35680
35680
|
|
|
35681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/document-source.js
|
|
35682
35682
|
var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) => {
|
|
35683
35683
|
const metadata = note2.frontMatter;
|
|
35684
35684
|
const account = accounts.find(({ id: id2 }) => String(id2) === note2.folderId);
|
|
@@ -35693,7 +35693,7 @@ var documentSource = /* @__PURE__ */ __name((note2, accounts, profiles, file2) =
|
|
|
35693
35693
|
};
|
|
35694
35694
|
}, "documentSource");
|
|
35695
35695
|
|
|
35696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
|
|
35697
35697
|
var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
|
|
35698
35698
|
const host = new URL(baseUrl).host;
|
|
35699
35699
|
return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
|
|
@@ -35726,7 +35726,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
|
|
|
35726
35726
|
};
|
|
35727
35727
|
}, "embeddingKeys");
|
|
35728
35728
|
|
|
35729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35729
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/enrichment-setting.js
|
|
35730
35730
|
var SECTION = "enrichment";
|
|
35731
35731
|
var ENRICHMENT_PROVIDERS = ["openai", "anthropic"];
|
|
35732
35732
|
var DEFAULT_BASE_URLS = {
|
|
@@ -35798,7 +35798,7 @@ var costOf = /* @__PURE__ */ __name((usage, setting) => {
|
|
|
35798
35798
|
return price ? Math.round((usage.input * price.input + usage.output * price.output) * 1e6) / 1e6 : null;
|
|
35799
35799
|
}, "costOf");
|
|
35800
35800
|
|
|
35801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
35801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/enrichment.js
|
|
35802
35802
|
var ENRICH_PER_RUN = 600;
|
|
35803
35803
|
var BATCH = 20;
|
|
35804
35804
|
var CONCURRENCY = 4;
|
|
@@ -36016,7 +36016,7 @@ var enrichmentState = /* @__PURE__ */ __name(async (store, env, estimateFor, key
|
|
|
36016
36016
|
};
|
|
36017
36017
|
}, "enrichmentState");
|
|
36018
36018
|
|
|
36019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
36019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
|
|
36020
36020
|
var plainQueryWords = /* @__PURE__ */ __name((query) => {
|
|
36021
36021
|
let root;
|
|
36022
36022
|
try {
|
|
@@ -36043,7 +36043,7 @@ var titleTiers = /* @__PURE__ */ __name((hits, words4) => {
|
|
|
36043
36043
|
return [...hits].sort((a, b) => rank(a) - rank(b));
|
|
36044
36044
|
}, "titleTiers");
|
|
36045
36045
|
|
|
36046
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
36046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/notes-search.js
|
|
36047
36047
|
var storeQuery = /* @__PURE__ */ __name(async (store, text2, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text2, exact), timezone), "storeQuery");
|
|
36048
36048
|
var parsedQuery = /* @__PURE__ */ __name((text2, exact) => validateFields(parseLucene(text2, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
|
|
36049
36049
|
var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
|
|
@@ -36519,7 +36519,7 @@ var searchNotesOf = /* @__PURE__ */ __name(async (store, account, text2, { accou
|
|
|
36519
36519
|
};
|
|
36520
36520
|
}, "searchNotesOf");
|
|
36521
36521
|
|
|
36522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
36522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/events-search.js
|
|
36523
36523
|
var MAX_EVENTS_OFFSET = 1e3;
|
|
36524
36524
|
var iso3 = /* @__PURE__ */ __name((at) => at === null ? null : new Date(at).toISOString(), "iso");
|
|
36525
36525
|
var accountIdsOf = /* @__PURE__ */ __name(async (store, accounts) => {
|
|
@@ -36637,7 +36637,7 @@ var searchEvents = /* @__PURE__ */ __name(async (store, query, { limit = 20, off
|
|
|
36637
36637
|
};
|
|
36638
36638
|
}, "searchEvents");
|
|
36639
36639
|
|
|
36640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
36640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/search-all-business.js
|
|
36641
36641
|
var OWN_BUSINESS = { provider: "business", account: INTERNAL_NOTES };
|
|
36642
36642
|
var BUSINESS_WORDS_ONLY = "invoices, payments, orders, contracts, subscriptions, products and wallets are found by the words of their numbers and names only";
|
|
36643
36643
|
var placeOf = /* @__PURE__ */ __name(({ source, imported }) => source ?? (imported === void 0 ? OWN_BUSINESS : { provider: imported, account: "" }), "placeOf");
|
|
@@ -36668,7 +36668,7 @@ var searchBusiness = /* @__PURE__ */ __name(async (store, { words: words4, anyWo
|
|
|
36668
36668
|
};
|
|
36669
36669
|
}, "searchBusiness");
|
|
36670
36670
|
|
|
36671
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
36671
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/search-all.js
|
|
36672
36672
|
var RESOURCES_SEARCHED = ["messages", "mail", "notes", "events", "crm", "business"];
|
|
36673
36673
|
var refusal = /* @__PURE__ */ __name((error, text2) => {
|
|
36674
36674
|
const { reason, span } = error.details ?? {};
|
|
@@ -36975,7 +36975,7 @@ var oneList = /* @__PURE__ */ __name((lists, cosines) => {
|
|
|
36975
36975
|
return [...place.values()].sort((a, b) => head(a.rank) - head(b.rank) || b.cosine - a.cosine || a.rank - b.rank).map(({ item: item2 }) => item2);
|
|
36976
36976
|
}, "oneList");
|
|
36977
36977
|
|
|
36978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
36978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/search-all-meetings.js
|
|
36979
36979
|
var RESOURCES_SEARCHED_WITH_MEETINGS = [...RESOURCES_SEARCHED, "meetings"];
|
|
36980
36980
|
var whole2 = /* @__PURE__ */ __name((value, minimum, maximum, label) => {
|
|
36981
36981
|
if (!Number.isSafeInteger(value) || value < minimum || value > maximum)
|
|
@@ -37233,7 +37233,7 @@ var searchAllOfSource = /* @__PURE__ */ __name(async (store, account, source, re
|
|
|
37233
37233
|
return { ...found, skipped: [...skipped, ...empty2, ...unnamed, ...found.skipped] };
|
|
37234
37234
|
}, "searchAllOfSource");
|
|
37235
37235
|
|
|
37236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
37236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/server-search.js
|
|
37237
37237
|
var SERVER_SEARCH_KEY = "messages.server-search";
|
|
37238
37238
|
var SERVER_BOUNDS = { timeMs: 5e3, perCall: 100, maxCalls: 3, textBytes: 262144 };
|
|
37239
37239
|
var DEFAULT_BACKEND = "both";
|
|
@@ -37422,7 +37422,7 @@ var searchServer = /* @__PURE__ */ __name(async (deps, request) => {
|
|
|
37422
37422
|
return { report, sources };
|
|
37423
37423
|
}, "searchServer");
|
|
37424
37424
|
|
|
37425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
37425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/messages.js
|
|
37426
37426
|
var DELETE_AT_ONCE = 10;
|
|
37427
37427
|
var filesOf = /* @__PURE__ */ __name(({ attachments }) => {
|
|
37428
37428
|
const files = fileLinks(attachments);
|
|
@@ -37863,7 +37863,7 @@ var checkMediaOptions = /* @__PURE__ */ __name((messenger, asked, attachments) =
|
|
|
37863
37863
|
throw new CliError("validation_error", `${MEDIA_FLAGS[first2]} needs a --photo or --file`);
|
|
37864
37864
|
}, "checkMediaOptions");
|
|
37865
37865
|
|
|
37866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
37866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/domain/channel-tags.js
|
|
37867
37867
|
var CHANNEL_TAG_RULES_VERSION = "keywords-v1";
|
|
37868
37868
|
var RULES = {
|
|
37869
37869
|
ai: [/\b(ai|gpt|llm|machine learning|artificial intelligence)\b/iu, /нейросет|искусственн/iu],
|
|
@@ -37878,7 +37878,7 @@ var classifyChannel = /* @__PURE__ */ __name((metadata) => Object.entries(RULES)
|
|
|
37878
37878
|
return fields.length ? [{ tag, score: fields.length / 3, fields }] : [];
|
|
37879
37879
|
}), "classifyChannel");
|
|
37880
37880
|
|
|
37881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
37881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/metadata.js
|
|
37882
37882
|
var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
37883
37883
|
const held = /* @__PURE__ */ __name(async (reference, { includeLeft = false } = {}) => {
|
|
37884
37884
|
const store = await deps.store();
|
|
@@ -37964,7 +37964,7 @@ var metadataService = /* @__PURE__ */ __name((deps) => {
|
|
|
37964
37964
|
};
|
|
37965
37965
|
}, "metadataService");
|
|
37966
37966
|
|
|
37967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
37967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
37968
37968
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
37969
37969
|
var LINK2 = /https?:\/\/\S+/i;
|
|
37970
37970
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -38152,7 +38152,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
38152
38152
|
}, "nextPoint");
|
|
38153
38153
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
38154
38154
|
|
|
38155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
38155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
38156
38156
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
38157
38157
|
import { join as join11 } from "node:path";
|
|
38158
38158
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -38295,7 +38295,7 @@ var assign = /* @__PURE__ */ __name((rules, key, value) => {
|
|
|
38295
38295
|
return { ...rules, [head]: { ...rules[head], [tail]: value } };
|
|
38296
38296
|
}, "assign");
|
|
38297
38297
|
|
|
38298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
38298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/moderation/run.js
|
|
38299
38299
|
var FIRST_LOOK_MS = 24 * 36e5;
|
|
38300
38300
|
var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
38301
38301
|
const { chatId, title, rules, point, since, dryRun } = run;
|
|
@@ -38332,7 +38332,7 @@ var moderateWith = /* @__PURE__ */ __name(async (run) => {
|
|
|
38332
38332
|
return { chatId, rows, notes };
|
|
38333
38333
|
}, "moderateWith");
|
|
38334
38334
|
|
|
38335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
38335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/moderation.js
|
|
38336
38336
|
var moderationService = /* @__PURE__ */ __name((deps) => {
|
|
38337
38337
|
const file2 = /* @__PURE__ */ __name(() => new ModerationRules(moderationPathFor(deps.messenger.app, deps.profile ?? "default", deps.env ?? process.env)), "file");
|
|
38338
38338
|
const group = /* @__PURE__ */ __name(async (chat) => {
|
|
@@ -38410,7 +38410,7 @@ var moderatorOf = /* @__PURE__ */ __name((adapter, deps) => ({
|
|
|
38410
38410
|
}, "removePerson")
|
|
38411
38411
|
}), "moderatorOf");
|
|
38412
38412
|
|
|
38413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
38413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/private-people.js
|
|
38414
38414
|
var noteItem = /* @__PURE__ */ __name((provider, note2) => ({
|
|
38415
38415
|
id: note2.id,
|
|
38416
38416
|
contact: formatReference({ type: "contact", provider, id: note2.personId }),
|
|
@@ -38454,7 +38454,7 @@ var privatePeopleService = /* @__PURE__ */ __name((deps) => {
|
|
|
38454
38454
|
};
|
|
38455
38455
|
}, "privatePeopleService");
|
|
38456
38456
|
|
|
38457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
38457
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/rankings.js
|
|
38458
38458
|
var empty = /* @__PURE__ */ __name(() => ({
|
|
38459
38459
|
total: 0,
|
|
38460
38460
|
population: 0,
|
|
@@ -38710,7 +38710,7 @@ var rankingsService = /* @__PURE__ */ __name((deps) => ({
|
|
|
38710
38710
|
}, "evidence")
|
|
38711
38711
|
}), "rankingsService");
|
|
38712
38712
|
|
|
38713
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
38713
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/reply-stats.js
|
|
38714
38714
|
var FIELDS = ["date", "chat", "kind"];
|
|
38715
38715
|
var WAITING_TAIL = 100;
|
|
38716
38716
|
var plainOnly = /* @__PURE__ */ __name((text2, command) => {
|
|
@@ -38837,7 +38837,7 @@ var replyStatsService = /* @__PURE__ */ __name((deps) => {
|
|
|
38837
38837
|
};
|
|
38838
38838
|
}, "replyStatsService");
|
|
38839
38839
|
|
|
38840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
38840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/searches.js
|
|
38841
38841
|
var savedSearchItem = /* @__PURE__ */ __name((one2) => ({
|
|
38842
38842
|
id: one2.id,
|
|
38843
38843
|
name: one2.name,
|
|
@@ -38966,7 +38966,7 @@ var searchesService = /* @__PURE__ */ __name((deps) => {
|
|
|
38966
38966
|
};
|
|
38967
38967
|
}, "searchesService");
|
|
38968
38968
|
|
|
38969
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
38969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/tags.js
|
|
38970
38970
|
var TAGGING_QUERY = {
|
|
38971
38971
|
entity: "tagging",
|
|
38972
38972
|
backend: "sql",
|
|
@@ -39050,7 +39050,7 @@ var tagsService = /* @__PURE__ */ __name((deps) => {
|
|
|
39050
39050
|
};
|
|
39051
39051
|
}, "tagsService");
|
|
39052
39052
|
|
|
39053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/topics.js
|
|
39054
39054
|
var actionOf = /* @__PURE__ */ __name(({ title, closed, pinned, hidden, icon }) => {
|
|
39055
39055
|
const set = [closed, pinned, hidden].filter((one2) => one2 !== void 0).length;
|
|
39056
39056
|
if (title !== void 0 || icon !== void 0 || set !== 1)
|
|
@@ -39249,7 +39249,7 @@ var topicsService = /* @__PURE__ */ __name((deps) => {
|
|
|
39249
39249
|
};
|
|
39250
39250
|
}, "topicsService");
|
|
39251
39251
|
|
|
39252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/evidence.js
|
|
39253
39253
|
import { createHash as createHash12, randomUUID as randomUUID5 } from "node:crypto";
|
|
39254
39254
|
var hash2 = /* @__PURE__ */ __name((value) => createHash12("sha256").update(JSON.stringify(value)).digest("hex"), "hash");
|
|
39255
39255
|
var positive = /* @__PURE__ */ __name((value, name, minimum = 1) => {
|
|
@@ -39323,7 +39323,7 @@ var prepareEvidencePacket = /* @__PURE__ */ __name(({ kind, source, page, limits
|
|
|
39323
39323
|
return { ...content, id: randomUUID5(), fingerprint: hash2(content) };
|
|
39324
39324
|
}, "prepareEvidencePacket");
|
|
39325
39325
|
|
|
39326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/evidence-read.js
|
|
39327
39327
|
var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, limit, before: before2 }, messenger = {}) => {
|
|
39328
39328
|
if (!Number.isSafeInteger(limit) || limit < 1 || limit > 100)
|
|
39329
39329
|
throw new CliError("validation_error", "evidence message limit must be an integer from 1 to 100");
|
|
@@ -39343,7 +39343,7 @@ var readEvidencePacket = /* @__PURE__ */ __name(async (store, account, { chat, l
|
|
|
39343
39343
|
return { ...packet, nextBeforeId: older && last ? last.id : null };
|
|
39344
39344
|
}, "readEvidencePacket");
|
|
39345
39345
|
|
|
39346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
39347
39347
|
var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
|
|
39348
39348
|
let before2 = Number.POSITIVE_INFINITY;
|
|
39349
39349
|
for (; ; ) {
|
|
@@ -39405,7 +39405,7 @@ var searchMeetingHits = /* @__PURE__ */ __name(async (store, query, request, opt
|
|
|
39405
39405
|
return { ...result, selection };
|
|
39406
39406
|
}, "searchMeetingHits");
|
|
39407
39407
|
|
|
39408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-project-discovery.js
|
|
39409
39409
|
import { createHash as createHash13 } from "node:crypto";
|
|
39410
39410
|
var scopeKeys = [
|
|
39411
39411
|
"accountId",
|
|
@@ -39540,7 +39540,7 @@ var readMeetingProjectDiscovery = /* @__PURE__ */ __name(async (ports, projectNa
|
|
|
39540
39540
|
};
|
|
39541
39541
|
}, "readMeetingProjectDiscovery");
|
|
39542
39542
|
|
|
39543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/text-model-choice.js
|
|
39544
39544
|
import { createHash as createHash14 } from "node:crypto";
|
|
39545
39545
|
import { existsSync as existsSync3 } from "node:fs";
|
|
39546
39546
|
var useTextModel = /* @__PURE__ */ __name(async (id2, { env, command }) => {
|
|
@@ -39671,7 +39671,7 @@ var addCustomTextModel = /* @__PURE__ */ __name(async (id2, payload, { env, fetc
|
|
|
39671
39671
|
return { ...checked2.output, custom: true };
|
|
39672
39672
|
}, "addCustomTextModel");
|
|
39673
39673
|
|
|
39674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-hit-context.js
|
|
39675
39675
|
import { createHash as createHash15 } from "node:crypto";
|
|
39676
39676
|
var contextCue = /* @__PURE__ */ __name((cue) => ({
|
|
39677
39677
|
ref: cue.reference,
|
|
@@ -39789,7 +39789,7 @@ var readMeetingHitContext = /* @__PURE__ */ __name(async (store, accountId, refe
|
|
|
39789
39789
|
return { ...packet, fingerprint: createHash15("sha256").update(JSON.stringify(packet)).digest("hex") };
|
|
39790
39790
|
}, "readMeetingHitContext");
|
|
39791
39791
|
|
|
39792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39792
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-passage-format.js
|
|
39793
39793
|
var visible = /* @__PURE__ */ __name((text2) => text2.replace(/[\p{Cc}\p{Cf}]/gu, (value) => value === "\n" || value === " " ? value : `\\u{${value.codePointAt(0)?.toString(16)}}`), "visible");
|
|
39794
39794
|
var markdown = /* @__PURE__ */ __name((text2) => visible(text2).replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replace(/[\\`*_[\]#|~]/g, "\\$&"), "markdown");
|
|
39795
39795
|
var timestamp = /* @__PURE__ */ __name((ms) => {
|
|
@@ -39865,7 +39865,7 @@ var readMeetingPassage = /* @__PURE__ */ __name(async (store, accountId, referen
|
|
|
39865
39865
|
return { packet, content };
|
|
39866
39866
|
}, "readMeetingPassage");
|
|
39867
39867
|
|
|
39868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/context/communication-selection.js
|
|
39869
39869
|
var communicationFields = {
|
|
39870
39870
|
sources: pipe(array(strictObject({
|
|
39871
39871
|
id: pipe(string(), regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/)),
|
|
@@ -39897,7 +39897,7 @@ var communicationRequest = /* @__PURE__ */ __name((value, preparationAfter) => {
|
|
|
39897
39897
|
return { ...input, after, before: before2 };
|
|
39898
39898
|
}, "communicationRequest");
|
|
39899
39899
|
|
|
39900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39900
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-preparation-validation.js
|
|
39901
39901
|
var MEETING_PREPARATION_LIMITS = {
|
|
39902
39902
|
meetings: { min: 1, max: 20, default: 5 },
|
|
39903
39903
|
cues: { min: 1, max: 100, default: 10 },
|
|
@@ -39983,7 +39983,7 @@ var preparationRequest = /* @__PURE__ */ __name((accountId, externalId, original
|
|
|
39983
39983
|
return { ...input, history };
|
|
39984
39984
|
}, "preparationRequest");
|
|
39985
39985
|
|
|
39986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
39986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-communications-preparation.js
|
|
39987
39987
|
var readPreparationCommunications = /* @__PURE__ */ __name(async (plan, signal) => {
|
|
39988
39988
|
const section = {
|
|
39989
39989
|
readUsage: plan.reader.usage(),
|
|
@@ -40088,7 +40088,7 @@ var appendPreparationCommunications = /* @__PURE__ */ __name((result, read2) =>
|
|
|
40088
40088
|
result.knowledge.coverage.otherSources = "see-communications";
|
|
40089
40089
|
}, "appendPreparationCommunications");
|
|
40090
40090
|
|
|
40091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-communications-selection.js
|
|
40092
40092
|
var captureCommunicationSelections = /* @__PURE__ */ __name((port) => {
|
|
40093
40093
|
if (port === void 0)
|
|
40094
40094
|
return void 0;
|
|
@@ -40193,7 +40193,7 @@ var validatePreparationCommunications = /* @__PURE__ */ __name((section, request
|
|
|
40193
40193
|
}
|
|
40194
40194
|
}, "validatePreparationCommunications");
|
|
40195
40195
|
|
|
40196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-knowledge-preparation.js
|
|
40197
40197
|
var invalid6 = /* @__PURE__ */ __name(() => {
|
|
40198
40198
|
throw new CliError("invalid_response", "Preparation knowledge returned an invalid selection");
|
|
40199
40199
|
}, "invalid");
|
|
@@ -40262,7 +40262,7 @@ var appendKnowledgePreparation = /* @__PURE__ */ __name(async (store, result, in
|
|
|
40262
40262
|
}
|
|
40263
40263
|
}, "appendKnowledgePreparation");
|
|
40264
40264
|
|
|
40265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-notes-preparation.js
|
|
40266
40266
|
var invalid7 = /* @__PURE__ */ __name(() => {
|
|
40267
40267
|
throw new CliError("invalid_response", "Preparation notes returned an invalid selection");
|
|
40268
40268
|
}, "invalid");
|
|
@@ -40336,7 +40336,7 @@ var appendNotesPreparation = /* @__PURE__ */ __name(async (store, result, input)
|
|
|
40336
40336
|
}
|
|
40337
40337
|
}, "appendNotesPreparation");
|
|
40338
40338
|
|
|
40339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-project-preparation.js
|
|
40340
40340
|
var PAGE_LIMIT = 4;
|
|
40341
40341
|
var size2 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
40342
40342
|
var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, input) => {
|
|
@@ -40386,7 +40386,7 @@ var appendProjectPreparation = /* @__PURE__ */ __name(async (ports, result, inpu
|
|
|
40386
40386
|
}
|
|
40387
40387
|
}, "appendProjectPreparation");
|
|
40388
40388
|
|
|
40389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-related-preparation.js
|
|
40390
40390
|
var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, input) => {
|
|
40391
40391
|
if (!result.series || !result.items.length || result.coverage.outputLimited)
|
|
40392
40392
|
return;
|
|
@@ -40458,7 +40458,7 @@ var appendRelatedPreparation = /* @__PURE__ */ __name(async (store, result, inpu
|
|
|
40458
40458
|
}
|
|
40459
40459
|
}, "appendRelatedPreparation");
|
|
40460
40460
|
|
|
40461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/meeting-preparation.js
|
|
40462
40462
|
var size3 = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "size");
|
|
40463
40463
|
var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId, ports) => {
|
|
40464
40464
|
const fixed = snapshotMeetingScope(scope);
|
|
@@ -40596,7 +40596,7 @@ var createMeetingPreparationService = /* @__PURE__ */ __name((scope, accountId,
|
|
|
40596
40596
|
};
|
|
40597
40597
|
}, "createMeetingPreparationService");
|
|
40598
40598
|
|
|
40599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/package-upgrade.js
|
|
40600
40600
|
var upgradePackage = /* @__PURE__ */ __name(async ({ current, command, packageName, check: check2 }, ports) => {
|
|
40601
40601
|
const installer = ports.installer();
|
|
40602
40602
|
const argv = updateCommand(installer, packageName);
|
|
@@ -40661,7 +40661,7 @@ var dayAfter = /* @__PURE__ */ __name((published) => {
|
|
|
40661
40661
|
return Number.isNaN(time) ? null : new Date(time + 24 * 60 * 60 * 1e3).toISOString();
|
|
40662
40662
|
}, "dayAfter");
|
|
40663
40663
|
|
|
40664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/services/index.js
|
|
40665
40665
|
var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
40666
40666
|
const pictures = picturesService(deps);
|
|
40667
40667
|
const base = {
|
|
@@ -40698,7 +40698,7 @@ var servicesFor = /* @__PURE__ */ __name((deps) => {
|
|
|
40698
40698
|
return deps.messenger.services ? { ...base, ...deps.messenger.services(base, deps) } : base;
|
|
40699
40699
|
}, "servicesFor");
|
|
40700
40700
|
|
|
40701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
40702
40702
|
import { createHash as createHash16 } from "node:crypto";
|
|
40703
40703
|
import { chmodSync, lstatSync, mkdirSync as mkdirSync3, rmSync } from "node:fs";
|
|
40704
40704
|
import { createConnection, createServer } from "node:net";
|
|
@@ -40846,7 +40846,7 @@ var serve = /* @__PURE__ */ __name(async (socket, request, stdin, signal, run) =
|
|
|
40846
40846
|
}
|
|
40847
40847
|
}, "serve");
|
|
40848
40848
|
|
|
40849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
40849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
40850
40850
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
40851
40851
|
close: /* @__PURE__ */ __name(async () => {
|
|
40852
40852
|
}, "close"),
|