@wirecat/cli-memo 0.131.25 → 0.131.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actions.d.ts +1 -1
- package/dist/actions/actions.d.ts.map +1 -1
- package/dist/actions/actions.js +27 -8
- package/dist/actions/actions.js.map +1 -1
- package/dist/actions/command.d.ts +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +1 -12
- package/dist/actions/command.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-L2T7PQ7S.js → all-profiles-VULFSNYE.js} +5 -5
- package/dist/bundle/{anthropic-KWI2B4O2.js → anthropic-VXQ6ST2U.js} +3 -3
- package/dist/bundle/{app-server-GLDIS3HE.js → app-server-HQPELIPY.js} +35 -35
- package/dist/bundle/auto-3R4RFJGK.js +86 -0
- package/dist/bundle/{bun-SMKYTOGI.js → bun-2NMWL5YB.js} +2 -2
- package/dist/bundle/{bun-sqlite-PKY3JXMR.js → bun-sqlite-CT544OXO.js} +2 -2
- package/dist/bundle/{chunk-T3R6QHD2.js → chunk-254TXVLA.js} +1 -1
- package/dist/bundle/{chunk-VZ3K7IYC.js → chunk-2ND2XYME.js} +12 -9
- package/dist/bundle/{chunk-JVNSHN2J.js → chunk-3CVDHJER.js} +1 -1
- package/dist/bundle/{chunk-6OP743NB.js → chunk-3ZJE5TIG.js} +1 -1
- package/dist/bundle/{chunk-MZS3LIMW.js → chunk-4ENVJFRM.js} +27 -27
- package/dist/bundle/{chunk-KFZGI7BU.js → chunk-5FPQGUJA.js} +1 -1
- package/dist/bundle/{chunk-ENU2556X.js → chunk-6PRRZC7Z.js} +1 -1
- package/dist/bundle/{chunk-I5LIEFQR.js → chunk-6TJCRDNZ.js} +3 -3
- package/dist/bundle/{chunk-FS3ABWVX.js → chunk-7ISENDNK.js} +10 -10
- package/dist/bundle/{chunk-5ANNUWNM.js → chunk-7LMTWOTP.js} +1 -1
- package/dist/bundle/{chunk-XFDE6AL4.js → chunk-A4NZ2XOG.js} +7 -7
- package/dist/bundle/{chunk-WHVH72AD.js → chunk-A6PITALJ.js} +3 -1
- package/dist/bundle/{chunk-JLBKAIVT.js → chunk-AGMYCYSG.js} +150 -150
- package/dist/bundle/{chunk-ERQHZZNF.js → chunk-ARDUJR5Z.js} +1 -1
- package/dist/bundle/{chunk-NFTWNCEL.js → chunk-BELLQAWL.js} +7 -7
- package/dist/bundle/{chunk-D5ZV7PRP.js → chunk-BO4FN4UB.js} +2 -2
- package/dist/bundle/{chunk-UQS6Y2A7.js → chunk-CRC3AW6N.js} +2 -2
- package/dist/bundle/{chunk-EFTJ4RTT.js → chunk-CUWI6JIX.js} +5 -5
- package/dist/bundle/{chunk-ZVEGLXYB.js → chunk-CW3NJ764.js} +4 -4
- package/dist/bundle/{chunk-EEVUVWHW.js → chunk-DKKWZMR7.js} +1 -1
- package/dist/bundle/{chunk-QOWGFGG3.js → chunk-DUHXWFCB.js} +4 -4
- package/dist/bundle/{chunk-OGMTUMB7.js → chunk-FHY664YS.js} +3 -3
- package/dist/bundle/{chunk-MAUKGKRA.js → chunk-GJBK3M6X.js} +28 -4
- package/dist/bundle/{chunk-MWX7UJCL.js → chunk-GOEHJK2R.js} +4 -4
- package/dist/bundle/{chunk-5SKYUS4U.js → chunk-GPYGMETC.js} +284 -279
- package/dist/bundle/{chunk-PCT2CIYR.js → chunk-H6O6IQND.js} +3 -3
- package/dist/bundle/{chunk-UWUP3A5H.js → chunk-HN3EDDVX.js} +12 -12
- package/dist/bundle/{chunk-POXCMAM7.js → chunk-HVVBSM2C.js} +601 -396
- package/dist/bundle/{chunk-4AONXXP2.js → chunk-IJ34FAES.js} +11 -11
- package/dist/bundle/{chunk-LFNJ6CG6.js → chunk-IUM5XZWV.js} +5 -5
- package/dist/bundle/{chunk-QA674BMY.js → chunk-J57DDKF4.js} +1 -1
- package/dist/bundle/{chunk-RKLZQVKL.js → chunk-KFDPW2AR.js} +2 -2
- package/dist/bundle/{chunk-ILUTSRU3.js → chunk-KMZRXGTF.js} +1 -1
- package/dist/bundle/{chunk-ZUV337F2.js → chunk-KTDNFSXC.js} +20 -20
- package/dist/bundle/{chunk-7Y6O4UQB.js → chunk-LJZFMXDC.js} +20 -20
- package/dist/bundle/{chunk-E2WPSRCI.js → chunk-LMN7SYX4.js} +1 -1
- package/dist/bundle/{chunk-J7T6RSR5.js → chunk-M4QN77GH.js} +3 -3
- package/dist/bundle/{chunk-SBMBBVXF.js → chunk-M6O4DH5F.js} +1 -1
- package/dist/bundle/{chunk-INA5WGY7.js → chunk-MQAHMAJB.js} +1 -1
- package/dist/bundle/{chunk-RTII6JWI.js → chunk-NAM2Y63Z.js} +2 -2
- package/dist/bundle/{chunk-ZLB2CM7Z.js → chunk-NH2JSH24.js} +4 -4
- package/dist/bundle/{chunk-5GMOYTJQ.js → chunk-OYB3FUYQ.js} +1 -1
- package/dist/bundle/{chunk-YMAS7U5X.js → chunk-PWA3RNXN.js} +256 -257
- package/dist/bundle/{chunk-VGYXKQJE.js → chunk-QFW4MJIH.js} +219 -221
- package/dist/bundle/{chunk-ON5SHKHB.js → chunk-QKQ7A4L7.js} +43 -43
- package/dist/bundle/{chunk-QYDCVWD4.js → chunk-S3RBWUUA.js} +5 -5
- package/dist/bundle/{chunk-BNF2ZUNS.js → chunk-SY7M2DLJ.js} +8 -8
- package/dist/bundle/{chunk-5JYB6QKS.js → chunk-TKVRZZE3.js} +1 -13
- package/dist/bundle/{chunk-SW5YJCHC.js → chunk-TPFWNOPG.js} +4 -4
- package/dist/bundle/{chunk-JDDLDKC7.js → chunk-TXANQZEG.js} +2 -2
- package/dist/bundle/{chunk-BX7DVBWD.js → chunk-UZXCBBDC.js} +9 -9
- package/dist/bundle/{chunk-ZKZT6PCF.js → chunk-VL3YCTZD.js} +6 -6
- package/dist/bundle/{chunk-H5QHU5LZ.js → chunk-WRZ7JDA2.js} +5 -5
- package/dist/bundle/{chunk-IE27DJP3.js → chunk-XKGXVVYV.js} +4 -4
- package/dist/bundle/{chunk-QJJSMLBR.js → chunk-YFBKS5BW.js} +2 -2
- package/dist/bundle/{chunk-47EZNSMD.js → chunk-Z3YGDBBS.js} +2 -2
- package/dist/bundle/{chunk-WGHQXJHL.js → chunk-ZR3BPBS6.js} +7 -7
- package/dist/bundle/{command-contract-47EKA67S.js → command-contract-RQMIQKBS.js} +11 -11
- package/dist/bundle/{decode-EEDEXCHR.js → decode-7VB3CHK2.js} +2 -2
- package/dist/bundle/{echarts-36MD3UZF.js → echarts-45D6USAX.js} +2 -2
- package/dist/bundle/{embed-R6JZ4CDW.js → embed-KU2RGB24.js} +3 -3
- package/dist/bundle/{embedder-XUIOKCH6.js → embedder-E7YZDZ5Y.js} +6 -6
- package/dist/bundle/{entry-WOAZRQ5F.js → entry-N42HJMIN.js} +4 -4
- package/dist/bundle/failure-R355OCVE.js +66 -0
- package/dist/bundle/{first-run-3ZUSIFQJ.js → first-run-Y5YNAAO3.js} +5 -5
- package/dist/bundle/{first-screen-WQ2IDXDP.js → first-screen-SNPGBQFZ.js} +12 -12
- package/dist/bundle/{instructions-7VMPJMUM.js → instructions-6EFSPC7C.js} +1 -1
- package/dist/bundle/{mcp-I7LL7AJG.js → mcp-6Z7UKX7E.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-SBHCG4ZC.js → node-OXC26QXO.js} +2 -2
- package/dist/bundle/{node-sqlite-EMKROM5U.js → node-sqlite-FNTICDEN.js} +3 -3
- package/dist/bundle/{oauth-OJPTUA5K.js → oauth-4JFOFCBB.js} +4 -4
- package/dist/bundle/{open-XI2AVS5B.js → open-WXFCCY7S.js} +2 -2
- package/dist/bundle/{openai-NCYTRZB6.js → openai-TPQKQNM7.js} +7 -7
- package/dist/bundle/{process-373B2EBA.js → process-YWPAOI6G.js} +1 -1
- package/dist/bundle/{program-VW7IJ755.js → program-WFUPN7XO.js} +560 -660
- package/dist/bundle/{prompt-L3KQBPNH.js → prompt-HJUH4EP4.js} +2 -2
- package/dist/bundle/{recognize-GFWZX4F6.js → recognize-DAIRHALM.js} +1 -1
- package/dist/bundle/{remote-5IGAYQBB.js → remote-MJLWTLAX.js} +4 -4
- package/dist/bundle/{rerank-6HWHGDFX.js → rerank-VAK5HSJE.js} +4 -4
- package/dist/bundle/{serve-AA7RKEOM.js → serve-M2A66WOW.js} +6 -6
- package/dist/bundle/server-33FB7QXW.js +48 -0
- package/dist/bundle/server-AIPDQO57.js +61 -0
- package/dist/bundle/{server-Z6L4U6HO.js → server-NN2CBVSX.js} +50 -50
- package/dist/bundle/{state-3WTPOBXR.js → state-6TBUXJOX.js} +3 -3
- package/dist/bundle/{store-LNP5BXUL.js → store-TJCL3QBY.js} +9 -9
- package/dist/bundle/store-maintenance-command-NKJV5A3G.js +48 -0
- package/dist/bundle/update-OXR3SNM2.js +69 -0
- package/dist/config.d.ts +13 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +21 -1
- package/dist/config.js.map +1 -1
- package/dist/context/command.d.ts.map +1 -1
- package/dist/context/command.js +6 -2
- package/dist/context/command.js.map +1 -1
- package/dist/context/context.d.ts +2 -0
- package/dist/context/context.d.ts.map +1 -1
- package/dist/context/context.js +15 -0
- package/dist/context/context.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +2 -1
- package/dist/examples.js.map +1 -1
- package/dist/mail/messages-command.d.ts.map +1 -1
- package/dist/mail/messages-command.js +9 -2
- package/dist/mail/messages-command.js.map +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +5 -8
- package/dist/mail/review-command.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -12
- package/dist/reasons.js.map +1 -1
- package/dist/review/command.d.ts +0 -1
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +2 -10
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +4 -21
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +13 -174
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.js +2 -2
- package/dist/review/review.js.map +1 -1
- package/dist/review/status.js +2 -2
- package/dist/review/status.js.map +1 -1
- package/dist/schedule/command.d.ts +2 -2
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +9 -4
- package/dist/schedule/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/mail-triage/SKILL.md +19 -11
- package/dist/bundle/auto-QFG57LR6.js +0 -86
- package/dist/bundle/failure-BHRE5S75.js +0 -66
- package/dist/bundle/server-MWUCYBJF.js +0 -61
- package/dist/bundle/server-XEY5AKKG.js +0 -48
- package/dist/bundle/store-maintenance-command-6HEGTKPL.js +0 -48
- package/dist/bundle/update-6GWVILUX.js +0 -69
- /package/dist/bundle/{chunk-MNDLWYNQ.js → chunk-DF7NE4ZG.js} +0 -0
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BELLQAWL.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6TJCRDNZ.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-A6PITALJ.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3CVDHJER.js";
|
|
25
25
|
import {
|
|
26
26
|
FACT_STATUSES,
|
|
27
27
|
FACT_TYPES,
|
|
@@ -57,17 +57,17 @@ import {
|
|
|
57
57
|
meetingStats,
|
|
58
58
|
meetingSummary,
|
|
59
59
|
meetingTranscript
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-QFW4MJIH.js";
|
|
61
61
|
import {
|
|
62
62
|
sharedConfigPath
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-NH2JSH24.js";
|
|
64
64
|
import {
|
|
65
65
|
filesPresent,
|
|
66
66
|
sharedModelsDirectory
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-M4QN77GH.js";
|
|
68
68
|
import {
|
|
69
69
|
storePath
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-MQAHMAJB.js";
|
|
71
71
|
import {
|
|
72
72
|
configFilePath,
|
|
73
73
|
createRecordLog,
|
|
@@ -3932,7 +3932,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3932
3932
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3933
3933
|
}), "commandsDocument");
|
|
3934
3934
|
|
|
3935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3936
3936
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3937
3937
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3938
3938
|
messageId: message2.id,
|
|
@@ -4038,7 +4038,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4038
4038
|
}, "guardedWrite");
|
|
4039
4039
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4040
4040
|
|
|
4041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4042
4042
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4043
4043
|
try {
|
|
4044
4044
|
return work();
|
|
@@ -4065,7 +4065,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4065
4065
|
return projectFields(value, fields);
|
|
4066
4066
|
}), "projectFields");
|
|
4067
4067
|
|
|
4068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4069
4069
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4070
4070
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4071
4071
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4087,7 +4087,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4087
4087
|
}
|
|
4088
4088
|
}, "withAbort");
|
|
4089
4089
|
|
|
4090
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4091
4091
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4092
4092
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4093
4093
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4483,7 +4483,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4483
4483
|
}
|
|
4484
4484
|
}, "assertRetentionEvidenceRead");
|
|
4485
4485
|
|
|
4486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4487
4487
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4488
4488
|
import { join } from "node:path";
|
|
4489
4489
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4505,12 +4505,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4505
4505
|
}, "profilesWithAccounts");
|
|
4506
4506
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4507
4507
|
|
|
4508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4509
4509
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4510
4510
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4511
4511
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4512
4512
|
|
|
4513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4514
4514
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4515
4515
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4516
4516
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4546,7 +4546,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4546
4546
|
return value;
|
|
4547
4547
|
}, "atDetail");
|
|
4548
4548
|
|
|
4549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/output.js
|
|
4550
4550
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4551
4551
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4552
4552
|
if (other)
|
|
@@ -4610,7 +4610,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4610
4610
|
}, "warn")
|
|
4611
4611
|
}), "silence");
|
|
4612
4612
|
|
|
4613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4614
4614
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4615
4615
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4616
4616
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4644,7 +4644,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4644
4644
|
cache: "cache.answered"
|
|
4645
4645
|
};
|
|
4646
4646
|
|
|
4647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4648
4648
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4649
4649
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4650
4650
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4657,13 +4657,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4657
4657
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4658
4658
|
}), "snakeLogger");
|
|
4659
4659
|
|
|
4660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4661
4661
|
import { randomUUID } from "node:crypto";
|
|
4662
4662
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4663
4663
|
import { userInfo } from "node:os";
|
|
4664
4664
|
import { join as join2, sep } from "node:path";
|
|
4665
4665
|
|
|
4666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4667
4667
|
var diagnostic = {
|
|
4668
4668
|
event: true,
|
|
4669
4669
|
operation: true,
|
|
@@ -4733,7 +4733,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4733
4733
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4734
4734
|
].sort();
|
|
4735
4735
|
|
|
4736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4737
4737
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4738
4738
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4739
4739
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5086,7 +5086,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5086
5086
|
};
|
|
5087
5087
|
}, "metadataOf");
|
|
5088
5088
|
|
|
5089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5090
5090
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5091
5091
|
import { randomBytes } from "node:crypto";
|
|
5092
5092
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5121,7 +5121,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5121
5121
|
var attempts = new AsyncLocalStorage2();
|
|
5122
5122
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5123
5123
|
|
|
5124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5125
5125
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5126
5126
|
const recording = startRecording(options);
|
|
5127
5127
|
try {
|
|
@@ -5306,7 +5306,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5306
5306
|
return void 0;
|
|
5307
5307
|
}, "partialOutcome");
|
|
5308
5308
|
|
|
5309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5310
5310
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5311
5311
|
if (ms2 === void 0)
|
|
5312
5312
|
return body();
|
|
@@ -5332,7 +5332,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5332
5332
|
}
|
|
5333
5333
|
}, "withDeadline");
|
|
5334
5334
|
|
|
5335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5336
5336
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5337
5337
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5338
5338
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5374,10 +5374,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5374
5374
|
return root;
|
|
5375
5375
|
}, "rootOf");
|
|
5376
5376
|
|
|
5377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5378
5378
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5379
5379
|
|
|
5380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5381
5381
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5382
5382
|
try {
|
|
5383
5383
|
const url2 = new URL(value);
|
|
@@ -5387,7 +5387,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5387
5387
|
}
|
|
5388
5388
|
}, "endpoint");
|
|
5389
5389
|
|
|
5390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5391
5391
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5392
5392
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5393
5393
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5456,7 +5456,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5456
5456
|
};
|
|
5457
5457
|
}, "modelTarget");
|
|
5458
5458
|
|
|
5459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5460
5460
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5461
5461
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5462
5462
|
var AI_FIELDS = {
|
|
@@ -5500,7 +5500,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5500
5500
|
};
|
|
5501
5501
|
}, "resolveAISettings");
|
|
5502
5502
|
|
|
5503
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5504
5504
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5505
5505
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5506
5506
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5514,7 +5514,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5514
5514
|
return ms2;
|
|
5515
5515
|
}, "parseDuration");
|
|
5516
5516
|
|
|
5517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5518
5518
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5519
5519
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5520
5520
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5673,7 +5673,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5673
5673
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5674
5674
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5675
5675
|
|
|
5676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5677
5677
|
var HISTORY_MAX_DAYS = 1095;
|
|
5678
5678
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5679
5679
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5720,7 +5720,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5720
5720
|
return { batch: { ...batch, messages }, skipped };
|
|
5721
5721
|
}, "limitBatch");
|
|
5722
5722
|
|
|
5723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5724
5724
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5725
5725
|
import { join as join3 } from "node:path";
|
|
5726
5726
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5809,10 +5809,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5809
5809
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5810
5810
|
}, "registryProfiles");
|
|
5811
5811
|
|
|
5812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5813
5813
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5814
5814
|
|
|
5815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5816
5816
|
var REPAIR_WORDS = {
|
|
5817
5817
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5818
5818
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6053,7 +6053,7 @@ ${parts.join(",\n")}
|
|
|
6053
6053
|
${indent}${close}`;
|
|
6054
6054
|
}, "serialise");
|
|
6055
6055
|
|
|
6056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6057
6057
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6058
6058
|
var SECTIONS = ["personal", "bot"];
|
|
6059
6059
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6348,7 +6348,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6348
6348
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6349
6349
|
}, "readConfigFile");
|
|
6350
6350
|
|
|
6351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6352
6352
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6353
6353
|
import { dirname, join as join4 } from "node:path";
|
|
6354
6354
|
var DEFAULT_CONFIG = {
|
|
@@ -6377,7 +6377,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6377
6377
|
}
|
|
6378
6378
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6379
6379
|
|
|
6380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6381
6381
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6382
6382
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6383
6383
|
const path2 = key.split(".");
|
|
@@ -6410,7 +6410,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6410
6410
|
};
|
|
6411
6411
|
}), "settingRows");
|
|
6412
6412
|
|
|
6413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6414
6414
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6415
6415
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6416
6416
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6920,7 +6920,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6920
6920
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6921
6921
|
}, "given");
|
|
6922
6922
|
|
|
6923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6924
6924
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6925
6925
|
const slot = environmentOf(command).exit;
|
|
6926
6926
|
if (slot)
|
|
@@ -7033,7 +7033,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7033
7033
|
return words.join(" ");
|
|
7034
7034
|
}, "commandPath");
|
|
7035
7035
|
|
|
7036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7037
7037
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7038
7038
|
var FETCH = { remote: "read", local: "write" };
|
|
7039
7039
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7140,7 +7140,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7140
7140
|
throw readOnlyRefusal(lock, what);
|
|
7141
7141
|
}, "refuseUnderReadOnly");
|
|
7142
7142
|
|
|
7143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
7144
7144
|
var text = string();
|
|
7145
7145
|
var id = pipe(string(), minLength(1));
|
|
7146
7146
|
var time = isoTime;
|
|
@@ -7164,7 +7164,7 @@ var author = strictObject({
|
|
|
7164
7164
|
name: nullable(text)
|
|
7165
7165
|
});
|
|
7166
7166
|
|
|
7167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7168
7168
|
var account = strictObject({
|
|
7169
7169
|
provider: text,
|
|
7170
7170
|
id,
|
|
@@ -7174,7 +7174,7 @@ var account = strictObject({
|
|
|
7174
7174
|
scope: optional(picklist(["personal", "work"]))
|
|
7175
7175
|
});
|
|
7176
7176
|
|
|
7177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7178
7178
|
var accountSession = strictObject({
|
|
7179
7179
|
current: boolean(),
|
|
7180
7180
|
client: nullable(text),
|
|
@@ -7184,7 +7184,7 @@ var accountSession = strictObject({
|
|
|
7184
7184
|
created_at: optional(nullable(time))
|
|
7185
7185
|
});
|
|
7186
7186
|
|
|
7187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7188
7188
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7189
7189
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7190
7190
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7202,7 +7202,7 @@ var accountPrivacy = strictObject({
|
|
|
7202
7202
|
});
|
|
7203
7203
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7204
7204
|
|
|
7205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7206
7206
|
var accountProfile = strictObject({
|
|
7207
7207
|
profile: id,
|
|
7208
7208
|
current: boolean(),
|
|
@@ -7214,7 +7214,7 @@ var accountProfile = strictObject({
|
|
|
7214
7214
|
bot: optional(literal(true))
|
|
7215
7215
|
});
|
|
7216
7216
|
|
|
7217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7218
7218
|
var milliseconds = pipe(number(), minValue(0));
|
|
7219
7219
|
var counterReading = strictObject({
|
|
7220
7220
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7226,7 +7226,7 @@ var counterReading = strictObject({
|
|
|
7226
7226
|
});
|
|
7227
7227
|
var selection = record(string(), unknown());
|
|
7228
7228
|
|
|
7229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7230
7230
|
var adminRow = strictObject({
|
|
7231
7231
|
ref: reference,
|
|
7232
7232
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7279,7 +7279,7 @@ var adminReport = strictObject({
|
|
|
7279
7279
|
rows: array(adminRow)
|
|
7280
7280
|
});
|
|
7281
7281
|
|
|
7282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7283
7283
|
var closeSuggestion = strictObject({
|
|
7284
7284
|
as: picklist(["done", "dismissed"]),
|
|
7285
7285
|
/** The agent's name. */
|
|
@@ -7337,7 +7337,7 @@ var task = strictObject({
|
|
|
7337
7337
|
updated_at: optional(time)
|
|
7338
7338
|
});
|
|
7339
7339
|
|
|
7340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7341
7341
|
var agendaChat = strictObject({
|
|
7342
7342
|
chat: reference,
|
|
7343
7343
|
title: nullable(text),
|
|
@@ -7407,11 +7407,11 @@ var agenda = strictObject({
|
|
|
7407
7407
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7408
7408
|
});
|
|
7409
7409
|
|
|
7410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7411
7411
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7412
7412
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7413
7413
|
|
|
7414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7415
7415
|
var attachment = strictObject({
|
|
7416
7416
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7417
7417
|
message: optional(reference),
|
|
@@ -7449,7 +7449,7 @@ var attachment = strictObject({
|
|
|
7449
7449
|
});
|
|
7450
7450
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
7451
7451
|
|
|
7452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7452
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7453
7453
|
var actionableError = objectWithRest({
|
|
7454
7454
|
code: text,
|
|
7455
7455
|
message: text,
|
|
@@ -7466,7 +7466,7 @@ var batchResult = strictObject({
|
|
|
7466
7466
|
max_error_percent: count2
|
|
7467
7467
|
});
|
|
7468
7468
|
|
|
7469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7469
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7470
7470
|
var extractionItem = strictObject({
|
|
7471
7471
|
ref: reference,
|
|
7472
7472
|
attachment: count2,
|
|
@@ -7499,7 +7499,7 @@ var extractionReport = strictObject({
|
|
|
7499
7499
|
cursor: optional(text)
|
|
7500
7500
|
});
|
|
7501
7501
|
|
|
7502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7502
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7503
7503
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7504
7504
|
var attachmentBytes = strictObject({
|
|
7505
7505
|
ref: reference,
|
|
@@ -7527,7 +7527,7 @@ var attachmentTextChange = strictObject({
|
|
|
7527
7527
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7528
7528
|
});
|
|
7529
7529
|
|
|
7530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7531
7531
|
var chart = strictObject({
|
|
7532
7532
|
version: literal(1),
|
|
7533
7533
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7542,7 +7542,7 @@ var chart = strictObject({
|
|
|
7542
7542
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7543
7543
|
});
|
|
7544
7544
|
|
|
7545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7546
7546
|
var member = strictObject({
|
|
7547
7547
|
id,
|
|
7548
7548
|
name: nullable(text),
|
|
@@ -7565,7 +7565,7 @@ var member = strictObject({
|
|
|
7565
7565
|
check: optional(record(string(), unknown()))
|
|
7566
7566
|
});
|
|
7567
7567
|
|
|
7568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7569
7569
|
var setting = optional(nullable(boolean()));
|
|
7570
7570
|
var chat = strictObject({
|
|
7571
7571
|
ref: reference,
|
|
@@ -7606,7 +7606,7 @@ var chat = strictObject({
|
|
|
7606
7606
|
members: optional(array(member))
|
|
7607
7607
|
});
|
|
7608
7608
|
|
|
7609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7610
7610
|
var named2 = strictObject({
|
|
7611
7611
|
id,
|
|
7612
7612
|
title: nullable(text),
|
|
@@ -7629,7 +7629,7 @@ var folder = strictObject({
|
|
|
7629
7629
|
excluded_chats: optional(array(named2))
|
|
7630
7630
|
});
|
|
7631
7631
|
|
|
7632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7633
7633
|
var inviteLink = strictObject({
|
|
7634
7634
|
link: text,
|
|
7635
7635
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7645,7 +7645,7 @@ var inviteLink = strictObject({
|
|
|
7645
7645
|
joined_count: optional(count2)
|
|
7646
7646
|
});
|
|
7647
7647
|
|
|
7648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7649
7649
|
var operated = { operation_id: id, chat_id: id };
|
|
7650
7650
|
var group = strictObject({
|
|
7651
7651
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7725,7 +7725,7 @@ var chatFolderOrder = strictObject({
|
|
|
7725
7725
|
folders: array(strictObject({ id, title: text }))
|
|
7726
7726
|
});
|
|
7727
7727
|
|
|
7728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7729
7729
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7730
7730
|
var chatRemoval = strictObject(operated2);
|
|
7731
7731
|
var chatMuting = strictObject({
|
|
@@ -7736,7 +7736,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7736
7736
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7737
7737
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7738
7738
|
|
|
7739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7740
7740
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7741
7741
|
var chatEvent = strictObject({
|
|
7742
7742
|
chat_id: id,
|
|
@@ -7753,7 +7753,7 @@ var chatEvent = strictObject({
|
|
|
7753
7753
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7754
7754
|
});
|
|
7755
7755
|
|
|
7756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7757
7757
|
var chatMetadata = strictObject({
|
|
7758
7758
|
chat_id: id,
|
|
7759
7759
|
title: nullable(text),
|
|
@@ -7768,7 +7768,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7768
7768
|
has_more: boolean()
|
|
7769
7769
|
});
|
|
7770
7770
|
|
|
7771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7772
7772
|
var action = picklist(["report", "delete", "remove"]);
|
|
7773
7773
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7774
7774
|
var chatRules = strictObject({
|
|
@@ -7805,7 +7805,7 @@ var chatModeration = strictObject({
|
|
|
7805
7805
|
}))
|
|
7806
7806
|
});
|
|
7807
7807
|
|
|
7808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7809
7809
|
var optionalCount = optional(count2);
|
|
7810
7810
|
var minutes = nullable(number());
|
|
7811
7811
|
var chatStats = strictObject({
|
|
@@ -7879,7 +7879,7 @@ var taskStats = strictObject({
|
|
|
7879
7879
|
}))
|
|
7880
7880
|
});
|
|
7881
7881
|
|
|
7882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7883
7883
|
var memberCount = strictObject({
|
|
7884
7884
|
day: pipe(text, isoDate()),
|
|
7885
7885
|
participants: nullable(count2),
|
|
@@ -7902,7 +7902,7 @@ var chatTracking = strictObject({
|
|
|
7902
7902
|
tracked: boolean()
|
|
7903
7903
|
});
|
|
7904
7904
|
|
|
7905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7906
7906
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7907
7907
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7908
7908
|
var profileFields = {
|
|
@@ -7940,7 +7940,7 @@ var profileFields = {
|
|
|
7940
7940
|
}))
|
|
7941
7941
|
};
|
|
7942
7942
|
|
|
7943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7944
7944
|
var contact = strictObject({
|
|
7945
7945
|
ref: reference,
|
|
7946
7946
|
id,
|
|
@@ -7971,7 +7971,7 @@ var contact = strictObject({
|
|
|
7971
7971
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7972
7972
|
});
|
|
7973
7973
|
|
|
7974
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7974
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7975
7975
|
var WEIGHTS = {
|
|
7976
7976
|
bot: 3,
|
|
7977
7977
|
scam: 3,
|
|
@@ -7996,7 +7996,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7996
7996
|
var DIGITS = /\d{5,}/;
|
|
7997
7997
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7998
7998
|
|
|
7999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8000
8000
|
var linkedIdentity = strictObject({
|
|
8001
8001
|
provider: text,
|
|
8002
8002
|
id,
|
|
@@ -8037,7 +8037,7 @@ var contactCheck = strictObject({
|
|
|
8037
8037
|
checked_at: time
|
|
8038
8038
|
});
|
|
8039
8039
|
|
|
8040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8041
8041
|
var quoted = strictObject({
|
|
8042
8042
|
id,
|
|
8043
8043
|
sender_id: nullable(id),
|
|
@@ -8156,7 +8156,7 @@ var message = strictObject({
|
|
|
8156
8156
|
provider_metadata: providerMetadata
|
|
8157
8157
|
});
|
|
8158
8158
|
|
|
8159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8160
8160
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8161
8161
|
var contextMessage = strictObject({
|
|
8162
8162
|
locator: reference,
|
|
@@ -8354,7 +8354,7 @@ var contactPreparation = strictObject({
|
|
|
8354
8354
|
})
|
|
8355
8355
|
});
|
|
8356
8356
|
|
|
8357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8358
8358
|
var contactNote = strictObject({
|
|
8359
8359
|
id,
|
|
8360
8360
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8366,13 +8366,13 @@ var contactNote = strictObject({
|
|
|
8366
8366
|
updated_at: time
|
|
8367
8367
|
});
|
|
8368
8368
|
|
|
8369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8370
8370
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8371
8371
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8372
8372
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8373
8373
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
8374
8374
|
|
|
8375
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8376
8376
|
var conversation = strictObject({
|
|
8377
8377
|
id,
|
|
8378
8378
|
chat: reference,
|
|
@@ -8387,7 +8387,7 @@ var conversation = strictObject({
|
|
|
8387
8387
|
rules_version: count2
|
|
8388
8388
|
});
|
|
8389
8389
|
|
|
8390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8391
8391
|
var conversationBuild = strictObject({
|
|
8392
8392
|
chat: id,
|
|
8393
8393
|
messages: count2,
|
|
@@ -8412,7 +8412,7 @@ var catchUpPreparation = strictObject({
|
|
|
8412
8412
|
prepared: optional(conversationPreparation)
|
|
8413
8413
|
});
|
|
8414
8414
|
|
|
8415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8416
8416
|
var conversationDetails = union([
|
|
8417
8417
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8418
8418
|
message
|
|
@@ -8502,7 +8502,7 @@ var conversationHit = strictObject({
|
|
|
8502
8502
|
stale: boolean()
|
|
8503
8503
|
});
|
|
8504
8504
|
|
|
8505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8506
8506
|
var counters = strictObject({
|
|
8507
8507
|
cutoff: time,
|
|
8508
8508
|
max_age_ms: milliseconds,
|
|
@@ -8532,7 +8532,7 @@ var counterRefresh = strictObject({
|
|
|
8532
8532
|
complete: optional(boolean())
|
|
8533
8533
|
});
|
|
8534
8534
|
|
|
8535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8536
8536
|
var document = strictObject({
|
|
8537
8537
|
ref: reference,
|
|
8538
8538
|
id,
|
|
@@ -8547,7 +8547,7 @@ var document = strictObject({
|
|
|
8547
8547
|
owners: optional(array(text))
|
|
8548
8548
|
});
|
|
8549
8549
|
|
|
8550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8551
8551
|
var documentLink = strictObject({
|
|
8552
8552
|
ref: reference,
|
|
8553
8553
|
url: text,
|
|
@@ -8558,7 +8558,7 @@ var documentLink = strictObject({
|
|
|
8558
8558
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8559
8559
|
});
|
|
8560
8560
|
|
|
8561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8562
8562
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8563
8563
|
var contribution = strictObject({
|
|
8564
8564
|
message: evidenceMessage,
|
|
@@ -8588,7 +8588,7 @@ var retentionStay = strictObject({
|
|
|
8588
8588
|
});
|
|
8589
8589
|
var evidence = union([contribution, retentionStay]);
|
|
8590
8590
|
|
|
8591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8592
8592
|
var fact = strictObject({
|
|
8593
8593
|
ref: reference,
|
|
8594
8594
|
id,
|
|
@@ -8618,7 +8618,7 @@ var fact = strictObject({
|
|
|
8618
8618
|
updated_at: time
|
|
8619
8619
|
});
|
|
8620
8620
|
|
|
8621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8622
8622
|
var hit = strictObject({
|
|
8623
8623
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8624
8624
|
ref: reference,
|
|
@@ -8656,7 +8656,7 @@ var hit = strictObject({
|
|
|
8656
8656
|
untrusted
|
|
8657
8657
|
});
|
|
8658
8658
|
|
|
8659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8660
8660
|
var identity = strictObject({
|
|
8661
8661
|
ref: reference,
|
|
8662
8662
|
provider: text,
|
|
@@ -8669,7 +8669,7 @@ var identity = strictObject({
|
|
|
8669
8669
|
person: optional(nullable(reference))
|
|
8670
8670
|
});
|
|
8671
8671
|
|
|
8672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8673
8673
|
var imageEmbedding = strictObject({
|
|
8674
8674
|
model: text,
|
|
8675
8675
|
embedded: count2,
|
|
@@ -8678,13 +8678,13 @@ var imageEmbedding = strictObject({
|
|
|
8678
8678
|
more: boolean()
|
|
8679
8679
|
});
|
|
8680
8680
|
|
|
8681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8682
8682
|
import { spawn } from "node:child_process";
|
|
8683
8683
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8684
8684
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8685
8685
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8686
8686
|
|
|
8687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8688
8688
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8689
8689
|
const total = input.total ?? null;
|
|
8690
8690
|
const updated = input.updatedAt ?? null;
|
|
@@ -8700,7 +8700,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8700
8700
|
};
|
|
8701
8701
|
}, "progressOf");
|
|
8702
8702
|
|
|
8703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8704
8704
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8705
8705
|
const run = currentRun();
|
|
8706
8706
|
const trace = traceId ?? run.traceId;
|
|
@@ -8714,7 +8714,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8714
8714
|
}));
|
|
8715
8715
|
}, "recordLogFor");
|
|
8716
8716
|
|
|
8717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8718
8718
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8719
8719
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8720
8720
|
const out = openSync(log, "a", 384);
|
|
@@ -8869,7 +8869,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8869
8869
|
return { job: id6, pid, chat: input.chat, log };
|
|
8870
8870
|
}, "startArchiveJob");
|
|
8871
8871
|
|
|
8872
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8872
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8873
8873
|
var problem = strictObject({ code: text, message: text });
|
|
8874
8874
|
var job = strictObject({
|
|
8875
8875
|
id,
|
|
@@ -8892,7 +8892,7 @@ var job = strictObject({
|
|
|
8892
8892
|
error: optional(problem)
|
|
8893
8893
|
});
|
|
8894
8894
|
|
|
8895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8896
8896
|
var joinRequest = strictObject({
|
|
8897
8897
|
person_id: id,
|
|
8898
8898
|
name: nullable(text),
|
|
@@ -8903,7 +8903,7 @@ var joinRequest = strictObject({
|
|
|
8903
8903
|
about: optional(text)
|
|
8904
8904
|
});
|
|
8905
8905
|
|
|
8906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
8907
8907
|
var organization = strictObject({
|
|
8908
8908
|
id,
|
|
8909
8909
|
ref: reference,
|
|
@@ -8933,7 +8933,7 @@ var reminder = strictObject({
|
|
|
8933
8933
|
receipt: nullable(text)
|
|
8934
8934
|
});
|
|
8935
8935
|
|
|
8936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8937
8937
|
var botProfile = strictObject({
|
|
8938
8938
|
name: text,
|
|
8939
8939
|
token: text,
|
|
@@ -9001,7 +9001,7 @@ var stickerInventory = strictObject({
|
|
|
9001
9001
|
url: optional(nullable(text))
|
|
9002
9002
|
});
|
|
9003
9003
|
|
|
9004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9005
9005
|
var pollVote = strictObject({
|
|
9006
9006
|
person_id: id,
|
|
9007
9007
|
name: nullable(text),
|
|
@@ -9011,7 +9011,7 @@ var pollVote = strictObject({
|
|
|
9011
9011
|
voted_at: time
|
|
9012
9012
|
});
|
|
9013
9013
|
|
|
9014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9015
9015
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9016
9016
|
var observation = strictObject({
|
|
9017
9017
|
value: pipe(number(), minValue(0)),
|
|
@@ -9053,7 +9053,7 @@ var serveSummary = strictObject({
|
|
|
9053
9053
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
9054
9054
|
});
|
|
9055
9055
|
|
|
9056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9057
9057
|
var mailCounts = strictObject({
|
|
9058
9058
|
by: picklist(["day", "week", "sender"]),
|
|
9059
9059
|
received: count2,
|
|
@@ -9068,7 +9068,7 @@ var mailCounts = strictObject({
|
|
|
9068
9068
|
}))
|
|
9069
9069
|
});
|
|
9070
9070
|
|
|
9071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9072
9072
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9073
9073
|
var base = { id, evidence: array(evidence2) };
|
|
9074
9074
|
var finding = variant("kind", [
|
|
@@ -9134,7 +9134,7 @@ var mailFindings = strictObject({
|
|
|
9134
9134
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
9135
9135
|
});
|
|
9136
9136
|
|
|
9137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9138
9138
|
var mediaArchive = strictObject({
|
|
9139
9139
|
directory: text,
|
|
9140
9140
|
chats: count2,
|
|
@@ -9166,7 +9166,7 @@ var mediaArchiveTimer = union([
|
|
|
9166
9166
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9167
9167
|
]);
|
|
9168
9168
|
|
|
9169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9170
9170
|
var preparationId = pipe(string(), minLength(1));
|
|
9171
9171
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9172
9172
|
var preparationTime = nullable(isoTime);
|
|
@@ -9258,7 +9258,7 @@ var preparationMeeting = strictObject({
|
|
|
9258
9258
|
updated_at: isoTime
|
|
9259
9259
|
});
|
|
9260
9260
|
|
|
9261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9262
9262
|
var meetingEvidence = preparationEvidence;
|
|
9263
9263
|
var meetingPersonContext = strictObject({
|
|
9264
9264
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9280,7 +9280,7 @@ var meetingPersonContext = strictObject({
|
|
|
9280
9280
|
})
|
|
9281
9281
|
});
|
|
9282
9282
|
|
|
9283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9284
9284
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9285
9285
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9286
9286
|
var finding2 = variant("kind", [
|
|
@@ -9318,7 +9318,7 @@ var meetingFindings = strictObject({
|
|
|
9318
9318
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9319
9319
|
});
|
|
9320
9320
|
|
|
9321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9322
9322
|
var communicationCoverage = strictObject({
|
|
9323
9323
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9324
9324
|
query: string(),
|
|
@@ -9363,7 +9363,7 @@ var preparationCommunications = strictObject({
|
|
|
9363
9363
|
}))
|
|
9364
9364
|
});
|
|
9365
9365
|
|
|
9366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9367
9367
|
var meetingPreparation = strictObject({
|
|
9368
9368
|
communications: optional(preparationCommunications),
|
|
9369
9369
|
schema_version: literal(1),
|
|
@@ -9476,7 +9476,7 @@ var meetingPreparation = strictObject({
|
|
|
9476
9476
|
})
|
|
9477
9477
|
});
|
|
9478
9478
|
|
|
9479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9480
9480
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9481
9481
|
var id3 = pipe(string(), minLength(1));
|
|
9482
9482
|
var text3 = string();
|
|
@@ -9540,7 +9540,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9540
9540
|
})
|
|
9541
9541
|
});
|
|
9542
9542
|
|
|
9543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9544
9544
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9545
9545
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9546
9546
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9570,7 +9570,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9570
9570
|
})
|
|
9571
9571
|
});
|
|
9572
9572
|
|
|
9573
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9573
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9574
9574
|
var text4 = string();
|
|
9575
9575
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9576
9576
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9587,7 +9587,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9587
9587
|
persistence: literal("proposal-only")
|
|
9588
9588
|
});
|
|
9589
9589
|
|
|
9590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9591
9591
|
var memory = strictObject({
|
|
9592
9592
|
ref: reference,
|
|
9593
9593
|
id,
|
|
@@ -9614,7 +9614,7 @@ var memory = strictObject({
|
|
|
9614
9614
|
updated_at: time
|
|
9615
9615
|
});
|
|
9616
9616
|
|
|
9617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9618
9618
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9619
9619
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9620
9620
|
var mention = strictObject({
|
|
@@ -9657,13 +9657,13 @@ var mentionRebuild = strictObject({
|
|
|
9657
9657
|
mentions: count2
|
|
9658
9658
|
});
|
|
9659
9659
|
|
|
9660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9661
9661
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9662
9662
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9663
9663
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9664
9664
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9665
9665
|
|
|
9666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9667
9667
|
var messageTranscript = strictObject({
|
|
9668
9668
|
message_id: id,
|
|
9669
9669
|
text,
|
|
@@ -9721,7 +9721,7 @@ var evidencePacket = strictObject({
|
|
|
9721
9721
|
}))
|
|
9722
9722
|
});
|
|
9723
9723
|
|
|
9724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9725
9725
|
var messageThread = strictObject({
|
|
9726
9726
|
ref: reference,
|
|
9727
9727
|
chat: id,
|
|
@@ -9738,7 +9738,7 @@ var messageThread = strictObject({
|
|
|
9738
9738
|
});
|
|
9739
9739
|
var messageContext = union([message, messageThread]);
|
|
9740
9740
|
|
|
9741
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9741
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9742
9742
|
var messageCounts = strictObject({
|
|
9743
9743
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9744
9744
|
total: count2,
|
|
@@ -9751,7 +9751,7 @@ var messageCounts = strictObject({
|
|
|
9751
9751
|
}))
|
|
9752
9752
|
});
|
|
9753
9753
|
|
|
9754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9755
9755
|
var messageLink = strictObject({
|
|
9756
9756
|
ref: reference,
|
|
9757
9757
|
url: nullable(text),
|
|
@@ -9768,7 +9768,7 @@ var messageLink = strictObject({
|
|
|
9768
9768
|
})))
|
|
9769
9769
|
});
|
|
9770
9770
|
|
|
9771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9772
9772
|
var savedMessageFile = strictObject({
|
|
9773
9773
|
kind: text,
|
|
9774
9774
|
path: text,
|
|
@@ -9855,7 +9855,7 @@ var messageSyncAll = strictObject({
|
|
|
9855
9855
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9856
9856
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9857
9857
|
|
|
9858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9859
9859
|
var messageWrite = strictObject({
|
|
9860
9860
|
operation_id: id,
|
|
9861
9861
|
message,
|
|
@@ -9870,7 +9870,7 @@ var draftWrite = strictObject({
|
|
|
9870
9870
|
});
|
|
9871
9871
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9872
9872
|
|
|
9873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9873
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9874
9874
|
var model2 = strictObject({
|
|
9875
9875
|
id,
|
|
9876
9876
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9887,7 +9887,7 @@ var model2 = strictObject({
|
|
|
9887
9887
|
path: text
|
|
9888
9888
|
});
|
|
9889
9889
|
|
|
9890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9891
9891
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9892
9892
|
var modelKey = strictObject({
|
|
9893
9893
|
provider: text,
|
|
@@ -9897,7 +9897,7 @@ var modelKey = strictObject({
|
|
|
9897
9897
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9898
9898
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9899
9899
|
|
|
9900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9900
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9901
9901
|
var link = {
|
|
9902
9902
|
target_text: nullable(text),
|
|
9903
9903
|
kind: text,
|
|
@@ -9938,7 +9938,7 @@ var note = strictObject({
|
|
|
9938
9938
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
9939
9939
|
});
|
|
9940
9940
|
|
|
9941
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9941
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9942
9942
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9943
9943
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9944
9944
|
var graph = strictObject({
|
|
@@ -9972,14 +9972,14 @@ var officialStats = strictObject({
|
|
|
9972
9972
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9973
9973
|
});
|
|
9974
9974
|
|
|
9975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9976
9976
|
var person2 = strictObject({
|
|
9977
9977
|
ref: reference,
|
|
9978
9978
|
name: nullable(text),
|
|
9979
9979
|
identities: optional(array(identity))
|
|
9980
9980
|
});
|
|
9981
9981
|
|
|
9982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9983
9983
|
var poll = strictObject({
|
|
9984
9984
|
chat_id: id,
|
|
9985
9985
|
message_id: id,
|
|
@@ -9995,11 +9995,11 @@ var poll = strictObject({
|
|
|
9995
9995
|
});
|
|
9996
9996
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9997
9997
|
|
|
9998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9999
9999
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10000
10000
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10001
10001
|
|
|
10002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10003
10003
|
var figures = record(string(), number());
|
|
10004
10004
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10005
10005
|
var rankingRow = strictObject({
|
|
@@ -10046,7 +10046,7 @@ var ranking = strictObject({
|
|
|
10046
10046
|
rows: array(rankingRow)
|
|
10047
10047
|
});
|
|
10048
10048
|
|
|
10049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10050
10050
|
var reaction = strictObject({
|
|
10051
10051
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10052
10052
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10054,7 +10054,7 @@ var reaction = strictObject({
|
|
|
10054
10054
|
reacted_at: time
|
|
10055
10055
|
});
|
|
10056
10056
|
|
|
10057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10057
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10058
10058
|
var reactionChange = strictObject({
|
|
10059
10059
|
operation_id: id,
|
|
10060
10060
|
chat_id: id,
|
|
@@ -10062,7 +10062,7 @@ var reactionChange = strictObject({
|
|
|
10062
10062
|
reaction: nullable(text)
|
|
10063
10063
|
});
|
|
10064
10064
|
|
|
10065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10066
10066
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10067
10067
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10068
10068
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10073,7 +10073,7 @@ var recipientChange = strictObject({
|
|
|
10073
10073
|
...partial(recipientOff).entries
|
|
10074
10074
|
});
|
|
10075
10075
|
|
|
10076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10077
10077
|
var events = array(record(string(), unknown()));
|
|
10078
10078
|
var recordedRun = strictObject({
|
|
10079
10079
|
run_id: id,
|
|
@@ -10145,7 +10145,7 @@ var runHit = strictObject({
|
|
|
10145
10145
|
});
|
|
10146
10146
|
var runLocation = strictObject({ path: text });
|
|
10147
10147
|
|
|
10148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10149
10149
|
var relationship = strictObject({
|
|
10150
10150
|
id,
|
|
10151
10151
|
from: reference,
|
|
@@ -10162,7 +10162,7 @@ var relationship = strictObject({
|
|
|
10162
10162
|
created_at: time
|
|
10163
10163
|
});
|
|
10164
10164
|
|
|
10165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10166
10166
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10167
10167
|
var figures2 = { replies: count2, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10168
10168
|
var responseTimes = strictObject({
|
|
@@ -10179,7 +10179,7 @@ var waitingChats = strictObject({
|
|
|
10179
10179
|
by_kind: strictObject({ private: count2, group: count2 })
|
|
10180
10180
|
});
|
|
10181
10181
|
|
|
10182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10183
10183
|
var retentionCohort = strictObject({
|
|
10184
10184
|
/** The first day of the joining day or week. */
|
|
10185
10185
|
cohort: text,
|
|
@@ -10227,7 +10227,7 @@ var retention = strictObject({
|
|
|
10227
10227
|
rows: array(retentionCohort)
|
|
10228
10228
|
});
|
|
10229
10229
|
|
|
10230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10231
10231
|
var savedSearch = strictObject({
|
|
10232
10232
|
id,
|
|
10233
10233
|
/** `null` for a run in the history. */
|
|
@@ -10244,7 +10244,7 @@ var savedSearch = strictObject({
|
|
|
10244
10244
|
});
|
|
10245
10245
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
10246
10246
|
|
|
10247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10248
10248
|
var sendAttempt = strictObject({
|
|
10249
10249
|
at: time,
|
|
10250
10250
|
profile: text,
|
|
@@ -10272,7 +10272,7 @@ var sendAttempt = strictObject({
|
|
|
10272
10272
|
error_code: optional(text)
|
|
10273
10273
|
});
|
|
10274
10274
|
|
|
10275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10276
10276
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10277
10277
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
10278
10278
|
var infoSchema = strictObject({
|
|
@@ -10480,7 +10480,7 @@ var storeRepair = union([
|
|
|
10480
10480
|
]);
|
|
10481
10481
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
10482
10482
|
|
|
10483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10484
10484
|
var range = strictObject({ from: number(), to: number() });
|
|
10485
10485
|
var storeChatStatus = strictObject({
|
|
10486
10486
|
chat_id: id,
|
|
@@ -10578,7 +10578,7 @@ var storeJobRetry = union([
|
|
|
10578
10578
|
]);
|
|
10579
10579
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10580
10580
|
|
|
10581
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10582
10582
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10583
10583
|
var storeTable = strictObject({
|
|
10584
10584
|
name: text,
|
|
@@ -10587,7 +10587,7 @@ var storeTable = strictObject({
|
|
|
10587
10587
|
bytes: optional(nullable(count2))
|
|
10588
10588
|
});
|
|
10589
10589
|
|
|
10590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10591
10591
|
var tagTarget = variant("type", [
|
|
10592
10592
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10593
10593
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10618,7 +10618,7 @@ var automaticTags = strictObject({
|
|
|
10618
10618
|
dry_run: boolean()
|
|
10619
10619
|
});
|
|
10620
10620
|
|
|
10621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10622
10622
|
var tagging = strictObject({
|
|
10623
10623
|
tag: text,
|
|
10624
10624
|
type: picklist(TAG_TYPES),
|
|
@@ -10631,7 +10631,7 @@ var tagging = strictObject({
|
|
|
10631
10631
|
created_at: time
|
|
10632
10632
|
});
|
|
10633
10633
|
|
|
10634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10635
10635
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10636
10636
|
var taskPair = strictObject({
|
|
10637
10637
|
task: nullable(side),
|
|
@@ -10654,7 +10654,7 @@ var taskPair = strictObject({
|
|
|
10654
10654
|
created_at: time
|
|
10655
10655
|
});
|
|
10656
10656
|
|
|
10657
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10658
10658
|
var nullableTime = nullable(time);
|
|
10659
10659
|
var link2 = strictObject({
|
|
10660
10660
|
id,
|
|
@@ -10824,7 +10824,7 @@ var taskReview = strictObject({
|
|
|
10824
10824
|
untrusted
|
|
10825
10825
|
});
|
|
10826
10826
|
|
|
10827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10827
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10828
10828
|
var topic = strictObject({
|
|
10829
10829
|
id,
|
|
10830
10830
|
title: text,
|
|
@@ -10838,7 +10838,7 @@ var topic = strictObject({
|
|
|
10838
10838
|
untrusted
|
|
10839
10839
|
});
|
|
10840
10840
|
|
|
10841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10842
10842
|
var ENTITIES = {
|
|
10843
10843
|
sync_progress: progress,
|
|
10844
10844
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -11120,7 +11120,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11120
11120
|
return [name, definition];
|
|
11121
11121
|
})), "entityDefinitions");
|
|
11122
11122
|
|
|
11123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11124
11124
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11125
11125
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11126
11126
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11154,7 +11154,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11154
11154
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11155
11155
|
}, "answerRow");
|
|
11156
11156
|
|
|
11157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11158
11158
|
import { join as join6 } from "node:path";
|
|
11159
11159
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11160
11160
|
var IMAGE_MODELS = [
|
|
@@ -11208,7 +11208,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11208
11208
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11209
11209
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11210
11210
|
|
|
11211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11212
11212
|
var STEPS2 = defineSteps([
|
|
11213
11213
|
...STEPS,
|
|
11214
11214
|
{
|
|
@@ -11480,7 +11480,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11480
11480
|
].join(" ");
|
|
11481
11481
|
}, "stepLine");
|
|
11482
11482
|
|
|
11483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11484
11484
|
var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
|
|
11485
11485
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11486
11486
|
var STATUS_SIGNAL_ROWS = {
|
|
@@ -11589,7 +11589,7 @@ var STATUS_ROWS = {
|
|
|
11589
11589
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11590
11590
|
};
|
|
11591
11591
|
|
|
11592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11593
11593
|
var TEXT_CHARS = 400;
|
|
11594
11594
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11595
11595
|
var messageRow = {
|
|
@@ -11925,7 +11925,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11925
11925
|
return lines.concat(footerOf(body)).join("\n");
|
|
11926
11926
|
}, "compactText");
|
|
11927
11927
|
|
|
11928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11929
11929
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11930
11930
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11931
11931
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11972,7 +11972,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11972
11972
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11973
11973
|
}, "largeAnswerSteps");
|
|
11974
11974
|
|
|
11975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11976
11976
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11977
11977
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11978
11978
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11986,7 +11986,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11986
11986
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11987
11987
|
}, "strip");
|
|
11988
11988
|
|
|
11989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11990
11990
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11991
11991
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11992
11992
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|