@wirecat/cli-memo 0.131.32 → 0.131.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-PFCNICOF.js → all-profiles-I67AQBML.js} +5 -5
- package/dist/bundle/{anthropic-QLGMYWVZ.js → anthropic-TAN7BXEI.js} +3 -3
- package/dist/bundle/{app-server-QD67I7V2.js → app-server-BB6D3T5A.js} +35 -35
- package/dist/bundle/auto-6555QOPH.js +86 -0
- package/dist/bundle/{bun-JRTUGKIJ.js → bun-UQEFISW2.js} +2 -2
- package/dist/bundle/{bun-sqlite-HCZP2CNO.js → bun-sqlite-2QF3TO47.js} +2 -2
- package/dist/bundle/{chunk-HLJ6IUVF.js → chunk-2S5YZCD4.js} +2 -2
- package/dist/bundle/{chunk-3G44GDIZ.js → chunk-2Y2UWMJX.js} +5 -5
- package/dist/bundle/{chunk-GNY5YLNY.js → chunk-3CVPUL6V.js} +2 -2
- package/dist/bundle/{chunk-X3GQJTTF.js → chunk-3DDGDOTM.js} +5 -5
- package/dist/bundle/{chunk-XWIRWBB5.js → chunk-3TEBUFO4.js} +1 -1
- package/dist/bundle/{chunk-5OYZNBE7.js → chunk-4BDZUM4Z.js} +7 -1
- package/dist/bundle/{chunk-NG26I3JV.js → chunk-536BN5HJ.js} +1 -1
- package/dist/bundle/{chunk-7AMJFTJM.js → chunk-5DEHFWR4.js} +1 -1
- package/dist/bundle/{chunk-X6HXGL5E.js → chunk-5JAYP233.js} +7 -7
- package/dist/bundle/{chunk-63JF4E76.js → chunk-5M4CW3PM.js} +330 -247
- package/dist/bundle/{chunk-4D6BG353.js → chunk-62H5HS77.js} +6 -6
- package/dist/bundle/{chunk-ARVXP2UJ.js → chunk-6MDFXQ3P.js} +258 -258
- package/dist/bundle/{chunk-W4GV42D5.js → chunk-7OSMWDV3.js} +2 -2
- package/dist/bundle/{chunk-ZHDOELM7.js → chunk-ABORNS53.js} +7 -7
- package/dist/bundle/{chunk-CGI5EIIA.js → chunk-AFCZMG3T.js} +20 -20
- package/dist/bundle/{chunk-S3FQQRUM.js → chunk-AP3AG2BB.js} +4 -4
- package/dist/bundle/{chunk-FGJKBQCP.js → chunk-BFLYYQZ7.js} +3 -3
- package/dist/bundle/{chunk-CV5EXF7J.js → chunk-BSPNSDJR.js} +4 -4
- package/dist/bundle/{chunk-GKZ65EOY.js → chunk-BT6ZZUXC.js} +54 -54
- package/dist/bundle/{chunk-NDJUEFV2.js → chunk-BUYST3RY.js} +1 -1
- package/dist/bundle/{chunk-L34KLQIU.js → chunk-DUQGOBGY.js} +9 -9
- package/dist/bundle/{chunk-Q2ZIIXA2.js → chunk-EN3D3M3X.js} +2 -2
- package/dist/bundle/{chunk-JTSYAO5V.js → chunk-FQ23ENBP.js} +350 -280
- package/dist/bundle/{chunk-WGX6AEUP.js → chunk-FZXOHGOA.js} +3 -3
- package/dist/bundle/{chunk-RTFU72GD.js → chunk-GUCICZ5E.js} +4 -4
- package/dist/bundle/{chunk-RO4YPDGF.js → chunk-HU2UNNN5.js} +1 -1
- package/dist/bundle/{chunk-RRDXT63A.js → chunk-IT5OORGL.js} +1 -1
- package/dist/bundle/{chunk-K6ZWFP2X.js → chunk-JCFO4LQL.js} +1 -1
- package/dist/bundle/{chunk-AZGQ7ABE.js → chunk-JOUN3RQQ.js} +165 -151
- package/dist/bundle/{chunk-42I4XE3O.js → chunk-KBSN3KOJ.js} +20 -20
- package/dist/bundle/{chunk-A56GDMFH.js → chunk-KJBKP66D.js} +3 -3
- package/dist/bundle/{chunk-PG4KORTB.js → chunk-KTGIARY4.js} +1 -1
- package/dist/bundle/{chunk-XUMYVRBZ.js → chunk-L5XW7SRP.js} +1 -1
- package/dist/bundle/{chunk-H24AL555.js → chunk-LDEPGWLS.js} +27 -27
- package/dist/bundle/{chunk-FE2SLKUO.js → chunk-LJZAVL4S.js} +2 -2
- package/dist/bundle/{chunk-5JTW3LNF.js → chunk-LUX5CPKS.js} +1 -1
- package/dist/bundle/{chunk-2N74ZVI6.js → chunk-MF2IXW4D.js} +1 -1
- package/dist/bundle/{chunk-CWHGN6HC.js → chunk-MI6OKBKQ.js} +4 -4
- package/dist/bundle/{chunk-7JWW4YEK.js → chunk-MZMKZ3FS.js} +8 -8
- package/dist/bundle/{chunk-2XBDA3XF.js → chunk-N75EWKKC.js} +1 -1
- package/dist/bundle/{chunk-TFEXCHMC.js → chunk-NAKJLG6G.js} +5 -5
- package/dist/bundle/{chunk-REUXOW2O.js → chunk-NOBWIWEE.js} +2 -2
- package/dist/bundle/{chunk-7MKROF5R.js → chunk-OGOMIZVL.js} +1 -1
- package/dist/bundle/{chunk-5BVGJBZX.js → chunk-P7AWDFQW.js} +1 -1
- package/dist/bundle/{chunk-MG2JNBUV.js → chunk-PI5XHH3B.js} +6 -5
- package/dist/bundle/{chunk-QWA3MTHH.js → chunk-PVKETTTH.js} +7 -7
- package/dist/bundle/{chunk-Q3ZB4JGL.js → chunk-QMK5MB3I.js} +2 -2
- package/dist/bundle/{chunk-USMKR34T.js → chunk-R37MXUSP.js} +11 -11
- package/dist/bundle/{chunk-HGXTDMKN.js → chunk-RRLIMG4U.js} +85 -32
- package/dist/bundle/{chunk-K3CJHSLS.js → chunk-S6HHL43A.js} +1 -1
- package/dist/bundle/{chunk-UXA37BVT.js → chunk-SLY3522P.js} +4 -4
- package/dist/bundle/{chunk-QUQOKNAX.js → chunk-SN3VTCKM.js} +12 -12
- package/dist/bundle/{chunk-CUT72KGN.js → chunk-UMWPJXNA.js} +3 -3
- package/dist/bundle/{chunk-K3TUIQZ4.js → chunk-WSSMVWI6.js} +43 -43
- package/dist/bundle/{chunk-54DA525P.js → chunk-X5WJDJ7B.js} +14 -9
- package/dist/bundle/{chunk-URPBRYVA.js → chunk-YBSILL43.js} +4 -4
- package/dist/bundle/{chunk-WP3J2FNH.js → chunk-YGKZOBRU.js} +10 -10
- package/dist/bundle/{command-contract-DFXPO5Q7.js → command-contract-LRGVHRDS.js} +11 -11
- package/dist/bundle/{decode-7NGILAKQ.js → decode-AC2QFP22.js} +2 -2
- package/dist/bundle/{echarts-JERQI2HW.js → echarts-2LGYCSJM.js} +2 -2
- package/dist/bundle/{embed-3AO7KZXC.js → embed-5G5NJRTM.js} +3 -3
- package/dist/bundle/{embedder-WRQ7TDDB.js → embedder-AWGIIEIK.js} +6 -6
- package/dist/bundle/{entry-IBRPU7NO.js → entry-J2G7NST5.js} +4 -4
- package/dist/bundle/failure-7SDDOWOC.js +66 -0
- package/dist/bundle/{first-run-IJOREEQM.js → first-run-CIE4REGV.js} +5 -5
- package/dist/bundle/{first-screen-KYNY6ELY.js → first-screen-PLNL6V5J.js} +12 -12
- package/dist/bundle/{instructions-BET2PLGV.js → instructions-5236MVDG.js} +1 -1
- package/dist/bundle/{mcp-NUBFFPGF.js → mcp-IRYWZZMF.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-NCSG7QX5.js → node-7746MVI2.js} +2 -2
- package/dist/bundle/{node-sqlite-QL4M5RIK.js → node-sqlite-2JD5RF5A.js} +3 -3
- package/dist/bundle/{oauth-BGMMED35.js → oauth-BUMW77DB.js} +4 -4
- package/dist/bundle/{open-YN3KJMMQ.js → open-CXUGW7QC.js} +2 -2
- package/dist/bundle/{openai-CTZUSKUS.js → openai-ORFEPFYD.js} +7 -7
- package/dist/bundle/{process-DW237TK4.js → process-JXXYNYHP.js} +1 -1
- package/dist/bundle/{program-RAUHPTRG.js → program-4RYVZYD2.js} +89 -67
- package/dist/bundle/{prompt-EZCCUYCS.js → prompt-EHLY4L77.js} +2 -2
- package/dist/bundle/{recognize-XP3LHQD6.js → recognize-ES7MH57V.js} +1 -1
- package/dist/bundle/{remote-RLR5ZKKT.js → remote-EZ76X2VI.js} +4 -4
- package/dist/bundle/{rerank-P7LE52AC.js → rerank-CDIZ6AA6.js} +4 -4
- package/dist/bundle/{serve-UA7RQDNK.js → serve-YRSGBTJY.js} +6 -6
- package/dist/bundle/server-EUYRPM4X.js +48 -0
- package/dist/bundle/{server-XM4LNODP.js → server-MW5247KA.js} +50 -50
- package/dist/bundle/server-OHIH2CMF.js +61 -0
- package/dist/bundle/{state-72Y55LBR.js → state-S6A5VAWR.js} +3 -3
- package/dist/bundle/{store-PED4JCBB.js → store-O5CDNS3U.js} +9 -9
- package/dist/bundle/store-maintenance-command-3OFVJT4R.js +48 -0
- package/dist/bundle/update-RC5CLYFY.js +69 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +6 -0
- package/dist/examples.js.map +1 -1
- package/dist/findings-input.d.ts.map +1 -1
- package/dist/findings-input.js +13 -3
- package/dist/findings-input.js.map +1 -1
- package/dist/knowledge/project-actions.d.ts +2 -0
- package/dist/knowledge/project-actions.d.ts.map +1 -1
- package/dist/mail/review-command.d.ts +4 -3
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +9 -5
- package/dist/mail/review-command.js.map +1 -1
- package/dist/mcp/permissions.d.ts +1 -1
- package/dist/mcp/permissions.d.ts.map +1 -1
- package/dist/mcp/permissions.js +1 -0
- package/dist/mcp/permissions.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/tasks/command.d.ts.map +1 -1
- package/dist/tasks/command.js +2 -0
- package/dist/tasks/command.js.map +1 -1
- package/dist/tasks/list.d.ts.map +1 -1
- package/dist/tasks/list.js +2 -0
- package/dist/tasks/list.js.map +1 -1
- package/dist/tasks/tasks.d.ts +4 -0
- package/dist/tasks/tasks.d.ts.map +1 -1
- package/dist/tasks/tasks.js +2 -0
- package/dist/tasks/tasks.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/topics/mail.md +2 -1
- package/skills/mail-triage/SKILL.md +24 -3
- package/dist/bundle/auto-PZKJQ3FL.js +0 -86
- package/dist/bundle/failure-46JTICYP.js +0 -66
- package/dist/bundle/server-N6L3LGQO.js +0 -48
- package/dist/bundle/server-XU362INX.js +0 -61
- package/dist/bundle/store-maintenance-command-B364Q2O4.js +0 -48
- package/dist/bundle/update-IWJYYYRI.js +0 -69
- /package/dist/bundle/{chunk-QPPNLE7G.js → chunk-JB5P5WSQ.js} +0 -0
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5JAYP233.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KJBKP66D.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BUYST3RY.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HU2UNNN5.js";
|
|
25
25
|
import {
|
|
26
26
|
FACT_STATUSES,
|
|
27
27
|
FACT_TYPES,
|
|
@@ -61,17 +61,17 @@ import {
|
|
|
61
61
|
meetingStats,
|
|
62
62
|
meetingSummary,
|
|
63
63
|
meetingTranscript
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-BT6ZZUXC.js";
|
|
65
65
|
import {
|
|
66
66
|
sharedConfigPath
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-YBSILL43.js";
|
|
68
68
|
import {
|
|
69
69
|
filesPresent,
|
|
70
70
|
sharedModelsDirectory
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-BFLYYQZ7.js";
|
|
72
72
|
import {
|
|
73
73
|
storePath
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-IT5OORGL.js";
|
|
75
75
|
import {
|
|
76
76
|
configFilePath,
|
|
77
77
|
createRecordLog,
|
|
@@ -3936,7 +3936,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3936
3936
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3937
3937
|
}), "commandsDocument");
|
|
3938
3938
|
|
|
3939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3940
3940
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3941
3941
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3942
3942
|
messageId: message2.id,
|
|
@@ -4042,7 +4042,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4042
4042
|
}, "guardedWrite");
|
|
4043
4043
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4044
4044
|
|
|
4045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4046
4046
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4047
4047
|
try {
|
|
4048
4048
|
return work();
|
|
@@ -4069,7 +4069,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4069
4069
|
return projectFields(value, fields);
|
|
4070
4070
|
}), "projectFields");
|
|
4071
4071
|
|
|
4072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4073
4073
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4074
4074
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4075
4075
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4091,7 +4091,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4091
4091
|
}
|
|
4092
4092
|
}, "withAbort");
|
|
4093
4093
|
|
|
4094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4095
4095
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4096
4096
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4097
4097
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4487,7 +4487,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4487
4487
|
}
|
|
4488
4488
|
}, "assertRetentionEvidenceRead");
|
|
4489
4489
|
|
|
4490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4491
4491
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4492
4492
|
import { join } from "node:path";
|
|
4493
4493
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4509,12 +4509,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4509
4509
|
}, "profilesWithAccounts");
|
|
4510
4510
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4511
4511
|
|
|
4512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4513
4513
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4514
4514
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4515
4515
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4516
4516
|
|
|
4517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4518
4518
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4519
4519
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4520
4520
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4550,7 +4550,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4550
4550
|
return value;
|
|
4551
4551
|
}, "atDetail");
|
|
4552
4552
|
|
|
4553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/output.js
|
|
4554
4554
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4555
4555
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4556
4556
|
if (other)
|
|
@@ -4614,7 +4614,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4614
4614
|
}, "warn")
|
|
4615
4615
|
}), "silence");
|
|
4616
4616
|
|
|
4617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4618
4618
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4619
4619
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4620
4620
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4648,7 +4648,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4648
4648
|
cache: "cache.answered"
|
|
4649
4649
|
};
|
|
4650
4650
|
|
|
4651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4652
4652
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4653
4653
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4654
4654
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4661,13 +4661,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4661
4661
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4662
4662
|
}), "snakeLogger");
|
|
4663
4663
|
|
|
4664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4665
4665
|
import { randomUUID } from "node:crypto";
|
|
4666
4666
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4667
4667
|
import { userInfo } from "node:os";
|
|
4668
4668
|
import { join as join2, sep } from "node:path";
|
|
4669
4669
|
|
|
4670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4671
4671
|
var diagnostic = {
|
|
4672
4672
|
event: true,
|
|
4673
4673
|
operation: true,
|
|
@@ -4737,7 +4737,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4737
4737
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4738
4738
|
].sort();
|
|
4739
4739
|
|
|
4740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4741
4741
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4742
4742
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4743
4743
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5090,7 +5090,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5090
5090
|
};
|
|
5091
5091
|
}, "metadataOf");
|
|
5092
5092
|
|
|
5093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5094
5094
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5095
5095
|
import { randomBytes } from "node:crypto";
|
|
5096
5096
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5125,7 +5125,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5125
5125
|
var attempts = new AsyncLocalStorage2();
|
|
5126
5126
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5127
5127
|
|
|
5128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5129
5129
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5130
5130
|
const recording = startRecording(options);
|
|
5131
5131
|
try {
|
|
@@ -5310,7 +5310,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5310
5310
|
return void 0;
|
|
5311
5311
|
}, "partialOutcome");
|
|
5312
5312
|
|
|
5313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5314
5314
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5315
5315
|
if (ms2 === void 0)
|
|
5316
5316
|
return body();
|
|
@@ -5336,7 +5336,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5336
5336
|
}
|
|
5337
5337
|
}, "withDeadline");
|
|
5338
5338
|
|
|
5339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5340
5340
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5341
5341
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5342
5342
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5378,10 +5378,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5378
5378
|
return root;
|
|
5379
5379
|
}, "rootOf");
|
|
5380
5380
|
|
|
5381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5382
5382
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5383
5383
|
|
|
5384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5385
5385
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5386
5386
|
try {
|
|
5387
5387
|
const url2 = new URL(value);
|
|
@@ -5391,7 +5391,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5391
5391
|
}
|
|
5392
5392
|
}, "endpoint");
|
|
5393
5393
|
|
|
5394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5395
5395
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5396
5396
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5397
5397
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5460,7 +5460,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5460
5460
|
};
|
|
5461
5461
|
}, "modelTarget");
|
|
5462
5462
|
|
|
5463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5463
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5464
5464
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5465
5465
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5466
5466
|
var AI_FIELDS = {
|
|
@@ -5504,7 +5504,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5504
5504
|
};
|
|
5505
5505
|
}, "resolveAISettings");
|
|
5506
5506
|
|
|
5507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5508
5508
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5509
5509
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5510
5510
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5518,7 +5518,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5518
5518
|
return ms2;
|
|
5519
5519
|
}, "parseDuration");
|
|
5520
5520
|
|
|
5521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5522
5522
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5523
5523
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5524
5524
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5677,7 +5677,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5677
5677
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5678
5678
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5679
5679
|
|
|
5680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5681
5681
|
var HISTORY_MAX_DAYS = 1095;
|
|
5682
5682
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5683
5683
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5724,7 +5724,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5724
5724
|
return { batch: { ...batch, messages }, skipped };
|
|
5725
5725
|
}, "limitBatch");
|
|
5726
5726
|
|
|
5727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5728
5728
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5729
5729
|
import { join as join3 } from "node:path";
|
|
5730
5730
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5813,10 +5813,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5813
5813
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5814
5814
|
}, "registryProfiles");
|
|
5815
5815
|
|
|
5816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5817
5817
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5818
5818
|
|
|
5819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5820
5820
|
var REPAIR_WORDS = {
|
|
5821
5821
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5822
5822
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6057,7 +6057,7 @@ ${parts.join(",\n")}
|
|
|
6057
6057
|
${indent}${close}`;
|
|
6058
6058
|
}, "serialise");
|
|
6059
6059
|
|
|
6060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6061
6061
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6062
6062
|
var SECTIONS = ["personal", "bot"];
|
|
6063
6063
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6352,7 +6352,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6352
6352
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6353
6353
|
}, "readConfigFile");
|
|
6354
6354
|
|
|
6355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6356
6356
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6357
6357
|
import { dirname, join as join4 } from "node:path";
|
|
6358
6358
|
var DEFAULT_CONFIG = {
|
|
@@ -6381,7 +6381,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6381
6381
|
}
|
|
6382
6382
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6383
6383
|
|
|
6384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6385
6385
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6386
6386
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6387
6387
|
const path2 = key.split(".");
|
|
@@ -6414,7 +6414,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6414
6414
|
};
|
|
6415
6415
|
}), "settingRows");
|
|
6416
6416
|
|
|
6417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6418
6418
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6419
6419
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6420
6420
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6924,7 +6924,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6924
6924
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6925
6925
|
}, "given");
|
|
6926
6926
|
|
|
6927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6928
6928
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6929
6929
|
const slot = environmentOf(command).exit;
|
|
6930
6930
|
if (slot)
|
|
@@ -7037,7 +7037,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7037
7037
|
return words.join(" ");
|
|
7038
7038
|
}, "commandPath");
|
|
7039
7039
|
|
|
7040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7041
7041
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7042
7042
|
var FETCH = { remote: "read", local: "write" };
|
|
7043
7043
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7144,7 +7144,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7144
7144
|
throw readOnlyRefusal(lock, what);
|
|
7145
7145
|
}, "refuseUnderReadOnly");
|
|
7146
7146
|
|
|
7147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
7148
7148
|
var text = string();
|
|
7149
7149
|
var id = pipe(string(), minLength(1));
|
|
7150
7150
|
var time = isoTime;
|
|
@@ -7168,7 +7168,7 @@ var author = strictObject({
|
|
|
7168
7168
|
name: nullable(text)
|
|
7169
7169
|
});
|
|
7170
7170
|
|
|
7171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7172
7172
|
var account = strictObject({
|
|
7173
7173
|
provider: text,
|
|
7174
7174
|
id,
|
|
@@ -7178,7 +7178,7 @@ var account = strictObject({
|
|
|
7178
7178
|
scope: optional(picklist(["personal", "work"]))
|
|
7179
7179
|
});
|
|
7180
7180
|
|
|
7181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7182
7182
|
var accountSession = strictObject({
|
|
7183
7183
|
current: boolean(),
|
|
7184
7184
|
client: nullable(text),
|
|
@@ -7188,7 +7188,7 @@ var accountSession = strictObject({
|
|
|
7188
7188
|
created_at: optional(nullable(time))
|
|
7189
7189
|
});
|
|
7190
7190
|
|
|
7191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7192
7192
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7193
7193
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7194
7194
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7206,7 +7206,7 @@ var accountPrivacy = strictObject({
|
|
|
7206
7206
|
});
|
|
7207
7207
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7208
7208
|
|
|
7209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7210
7210
|
var accountProfile = strictObject({
|
|
7211
7211
|
profile: id,
|
|
7212
7212
|
current: boolean(),
|
|
@@ -7218,7 +7218,7 @@ var accountProfile = strictObject({
|
|
|
7218
7218
|
bot: optional(literal(true))
|
|
7219
7219
|
});
|
|
7220
7220
|
|
|
7221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7222
7222
|
var milliseconds = pipe(number(), minValue(0));
|
|
7223
7223
|
var counterReading = strictObject({
|
|
7224
7224
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7230,7 +7230,7 @@ var counterReading = strictObject({
|
|
|
7230
7230
|
});
|
|
7231
7231
|
var selection = record(string(), unknown());
|
|
7232
7232
|
|
|
7233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7234
7234
|
var adminRow = strictObject({
|
|
7235
7235
|
ref: reference,
|
|
7236
7236
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7283,7 +7283,7 @@ var adminReport = strictObject({
|
|
|
7283
7283
|
rows: array(adminRow)
|
|
7284
7284
|
});
|
|
7285
7285
|
|
|
7286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7287
7287
|
var closeSuggestion = strictObject({
|
|
7288
7288
|
as: picklist(["done", "dismissed"]),
|
|
7289
7289
|
/** The agent's name. */
|
|
@@ -7314,6 +7314,10 @@ var task = strictObject({
|
|
|
7314
7314
|
chat: optional(nullable(reference)),
|
|
7315
7315
|
/** The message it came from. */
|
|
7316
7316
|
source_message: optional(nullable(reference)),
|
|
7317
|
+
/** `<service>:<id>`, its id in an outside service, such as `avito:4512345678`. */
|
|
7318
|
+
external_id: optional(nullable(text)),
|
|
7319
|
+
/** The http or https page it is about, such as an Avito ad. */
|
|
7320
|
+
source_url: optional(nullable(text)),
|
|
7317
7321
|
/** 0 to 1, higher first; `priority_label` reads it as low, medium, high or critical. */
|
|
7318
7322
|
priority: optional(nullable(number())),
|
|
7319
7323
|
priority_label: optional(nullable(picklist(PRIORITY_LABELS))),
|
|
@@ -7341,7 +7345,7 @@ var task = strictObject({
|
|
|
7341
7345
|
updated_at: optional(time)
|
|
7342
7346
|
});
|
|
7343
7347
|
|
|
7344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7345
7349
|
var agendaChat = strictObject({
|
|
7346
7350
|
chat: reference,
|
|
7347
7351
|
title: nullable(text),
|
|
@@ -7411,11 +7415,11 @@ var agenda = strictObject({
|
|
|
7411
7415
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7412
7416
|
});
|
|
7413
7417
|
|
|
7414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7415
7419
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7416
7420
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7417
7421
|
|
|
7418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7419
7423
|
var attachment = strictObject({
|
|
7420
7424
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7421
7425
|
message: optional(reference),
|
|
@@ -7453,7 +7457,7 @@ var attachment = strictObject({
|
|
|
7453
7457
|
});
|
|
7454
7458
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
7455
7459
|
|
|
7456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7457
7461
|
var actionableError = objectWithRest({
|
|
7458
7462
|
code: text,
|
|
7459
7463
|
message: text,
|
|
@@ -7470,7 +7474,7 @@ var batchResult = strictObject({
|
|
|
7470
7474
|
max_error_percent: count2
|
|
7471
7475
|
});
|
|
7472
7476
|
|
|
7473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7474
7478
|
var extractionItem = strictObject({
|
|
7475
7479
|
ref: reference,
|
|
7476
7480
|
attachment: count2,
|
|
@@ -7503,7 +7507,7 @@ var extractionReport = strictObject({
|
|
|
7503
7507
|
cursor: optional(text)
|
|
7504
7508
|
});
|
|
7505
7509
|
|
|
7506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7507
7511
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7508
7512
|
var attachmentBytes = strictObject({
|
|
7509
7513
|
ref: reference,
|
|
@@ -7531,7 +7535,7 @@ var attachmentTextChange = strictObject({
|
|
|
7531
7535
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7532
7536
|
});
|
|
7533
7537
|
|
|
7534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7535
7539
|
var chart = strictObject({
|
|
7536
7540
|
version: literal(1),
|
|
7537
7541
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7546,7 +7550,7 @@ var chart = strictObject({
|
|
|
7546
7550
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7547
7551
|
});
|
|
7548
7552
|
|
|
7549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7550
7554
|
var member = strictObject({
|
|
7551
7555
|
id,
|
|
7552
7556
|
name: nullable(text),
|
|
@@ -7569,7 +7573,7 @@ var member = strictObject({
|
|
|
7569
7573
|
check: optional(record(string(), unknown()))
|
|
7570
7574
|
});
|
|
7571
7575
|
|
|
7572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7573
7577
|
var setting = optional(nullable(boolean()));
|
|
7574
7578
|
var chat = strictObject({
|
|
7575
7579
|
ref: reference,
|
|
@@ -7610,7 +7614,7 @@ var chat = strictObject({
|
|
|
7610
7614
|
members: optional(array(member))
|
|
7611
7615
|
});
|
|
7612
7616
|
|
|
7613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7614
7618
|
var named2 = strictObject({
|
|
7615
7619
|
id,
|
|
7616
7620
|
title: nullable(text),
|
|
@@ -7633,7 +7637,7 @@ var folder = strictObject({
|
|
|
7633
7637
|
excluded_chats: optional(array(named2))
|
|
7634
7638
|
});
|
|
7635
7639
|
|
|
7636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7637
7641
|
var inviteLink = strictObject({
|
|
7638
7642
|
link: text,
|
|
7639
7643
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7649,7 +7653,7 @@ var inviteLink = strictObject({
|
|
|
7649
7653
|
joined_count: optional(count2)
|
|
7650
7654
|
});
|
|
7651
7655
|
|
|
7652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7653
7657
|
var operated = { operation_id: id, chat_id: id };
|
|
7654
7658
|
var group = strictObject({
|
|
7655
7659
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7729,7 +7733,7 @@ var chatFolderOrder = strictObject({
|
|
|
7729
7733
|
folders: array(strictObject({ id, title: text }))
|
|
7730
7734
|
});
|
|
7731
7735
|
|
|
7732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7733
7737
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7734
7738
|
var chatRemoval = strictObject(operated2);
|
|
7735
7739
|
var chatMuting = strictObject({
|
|
@@ -7740,7 +7744,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7740
7744
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7741
7745
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7742
7746
|
|
|
7743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7744
7748
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7745
7749
|
var chatEvent = strictObject({
|
|
7746
7750
|
chat_id: id,
|
|
@@ -7757,7 +7761,7 @@ var chatEvent = strictObject({
|
|
|
7757
7761
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7758
7762
|
});
|
|
7759
7763
|
|
|
7760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7761
7765
|
var chatMetadata = strictObject({
|
|
7762
7766
|
chat_id: id,
|
|
7763
7767
|
title: nullable(text),
|
|
@@ -7772,7 +7776,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7772
7776
|
has_more: boolean()
|
|
7773
7777
|
});
|
|
7774
7778
|
|
|
7775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7776
7780
|
var action = picklist(["report", "delete", "remove"]);
|
|
7777
7781
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7778
7782
|
var chatRules = strictObject({
|
|
@@ -7809,7 +7813,7 @@ var chatModeration = strictObject({
|
|
|
7809
7813
|
}))
|
|
7810
7814
|
});
|
|
7811
7815
|
|
|
7812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7813
7817
|
var optionalCount = optional(count2);
|
|
7814
7818
|
var minutes = nullable(number());
|
|
7815
7819
|
var chatStats = strictObject({
|
|
@@ -7883,7 +7887,7 @@ var taskStats = strictObject({
|
|
|
7883
7887
|
}))
|
|
7884
7888
|
});
|
|
7885
7889
|
|
|
7886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7887
7891
|
var memberCount = strictObject({
|
|
7888
7892
|
day: pipe(text, isoDate()),
|
|
7889
7893
|
participants: nullable(count2),
|
|
@@ -7906,7 +7910,7 @@ var chatTracking = strictObject({
|
|
|
7906
7910
|
tracked: boolean()
|
|
7907
7911
|
});
|
|
7908
7912
|
|
|
7909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7910
7914
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7911
7915
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7912
7916
|
var profileFields = {
|
|
@@ -7944,7 +7948,7 @@ var profileFields = {
|
|
|
7944
7948
|
}))
|
|
7945
7949
|
};
|
|
7946
7950
|
|
|
7947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7948
7952
|
var contact = strictObject({
|
|
7949
7953
|
ref: reference,
|
|
7950
7954
|
id,
|
|
@@ -7975,7 +7979,7 @@ var contact = strictObject({
|
|
|
7975
7979
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7976
7980
|
});
|
|
7977
7981
|
|
|
7978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7979
7983
|
var WEIGHTS = {
|
|
7980
7984
|
bot: 3,
|
|
7981
7985
|
scam: 3,
|
|
@@ -8000,7 +8004,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8000
8004
|
var DIGITS = /\d{5,}/;
|
|
8001
8005
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8002
8006
|
|
|
8003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8004
8008
|
var linkedIdentity = strictObject({
|
|
8005
8009
|
provider: text,
|
|
8006
8010
|
id,
|
|
@@ -8041,7 +8045,7 @@ var contactCheck = strictObject({
|
|
|
8041
8045
|
checked_at: time
|
|
8042
8046
|
});
|
|
8043
8047
|
|
|
8044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8045
8049
|
var quoted = strictObject({
|
|
8046
8050
|
id,
|
|
8047
8051
|
sender_id: nullable(id),
|
|
@@ -8160,7 +8164,7 @@ var message = strictObject({
|
|
|
8160
8164
|
provider_metadata: providerMetadata
|
|
8161
8165
|
});
|
|
8162
8166
|
|
|
8163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8164
8168
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8165
8169
|
var contextMessage = strictObject({
|
|
8166
8170
|
locator: reference,
|
|
@@ -8358,7 +8362,7 @@ var contactPreparation = strictObject({
|
|
|
8358
8362
|
})
|
|
8359
8363
|
});
|
|
8360
8364
|
|
|
8361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8362
8366
|
var contactNote = strictObject({
|
|
8363
8367
|
id,
|
|
8364
8368
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8370,13 +8374,13 @@ var contactNote = strictObject({
|
|
|
8370
8374
|
updated_at: time
|
|
8371
8375
|
});
|
|
8372
8376
|
|
|
8373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8374
8378
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8375
8379
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8376
8380
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8377
8381
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
8378
8382
|
|
|
8379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8380
8384
|
var conversation = strictObject({
|
|
8381
8385
|
id,
|
|
8382
8386
|
chat: reference,
|
|
@@ -8391,7 +8395,7 @@ var conversation = strictObject({
|
|
|
8391
8395
|
rules_version: count2
|
|
8392
8396
|
});
|
|
8393
8397
|
|
|
8394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8395
8399
|
var conversationBuild = strictObject({
|
|
8396
8400
|
chat: id,
|
|
8397
8401
|
messages: count2,
|
|
@@ -8416,7 +8420,7 @@ var catchUpPreparation = strictObject({
|
|
|
8416
8420
|
prepared: optional(conversationPreparation)
|
|
8417
8421
|
});
|
|
8418
8422
|
|
|
8419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8420
8424
|
var conversationDetails = union([
|
|
8421
8425
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8422
8426
|
message
|
|
@@ -8506,7 +8510,7 @@ var conversationHit = strictObject({
|
|
|
8506
8510
|
stale: boolean()
|
|
8507
8511
|
});
|
|
8508
8512
|
|
|
8509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8510
8514
|
var counters = strictObject({
|
|
8511
8515
|
cutoff: time,
|
|
8512
8516
|
max_age_ms: milliseconds,
|
|
@@ -8536,7 +8540,7 @@ var counterRefresh = strictObject({
|
|
|
8536
8540
|
complete: optional(boolean())
|
|
8537
8541
|
});
|
|
8538
8542
|
|
|
8539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8540
8544
|
var document = strictObject({
|
|
8541
8545
|
ref: reference,
|
|
8542
8546
|
id,
|
|
@@ -8551,7 +8555,7 @@ var document = strictObject({
|
|
|
8551
8555
|
owners: optional(array(text))
|
|
8552
8556
|
});
|
|
8553
8557
|
|
|
8554
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8555
8559
|
var documentLink = strictObject({
|
|
8556
8560
|
ref: reference,
|
|
8557
8561
|
url: text,
|
|
@@ -8562,7 +8566,7 @@ var documentLink = strictObject({
|
|
|
8562
8566
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8563
8567
|
});
|
|
8564
8568
|
|
|
8565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8566
8570
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8567
8571
|
var contribution = strictObject({
|
|
8568
8572
|
message: evidenceMessage,
|
|
@@ -8592,7 +8596,7 @@ var retentionStay = strictObject({
|
|
|
8592
8596
|
});
|
|
8593
8597
|
var evidence = union([contribution, retentionStay]);
|
|
8594
8598
|
|
|
8595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8596
8600
|
var fact = strictObject({
|
|
8597
8601
|
ref: reference,
|
|
8598
8602
|
id,
|
|
@@ -8622,7 +8626,7 @@ var fact = strictObject({
|
|
|
8622
8626
|
updated_at: time
|
|
8623
8627
|
});
|
|
8624
8628
|
|
|
8625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8626
8630
|
var hit = strictObject({
|
|
8627
8631
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8628
8632
|
ref: reference,
|
|
@@ -8660,7 +8664,7 @@ var hit = strictObject({
|
|
|
8660
8664
|
untrusted
|
|
8661
8665
|
});
|
|
8662
8666
|
|
|
8663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8664
8668
|
var identity = strictObject({
|
|
8665
8669
|
ref: reference,
|
|
8666
8670
|
provider: text,
|
|
@@ -8673,7 +8677,7 @@ var identity = strictObject({
|
|
|
8673
8677
|
person: optional(nullable(reference))
|
|
8674
8678
|
});
|
|
8675
8679
|
|
|
8676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8677
8681
|
var imageEmbedding = strictObject({
|
|
8678
8682
|
model: text,
|
|
8679
8683
|
embedded: count2,
|
|
@@ -8682,13 +8686,13 @@ var imageEmbedding = strictObject({
|
|
|
8682
8686
|
more: boolean()
|
|
8683
8687
|
});
|
|
8684
8688
|
|
|
8685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8686
8690
|
import { spawn } from "node:child_process";
|
|
8687
8691
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8688
8692
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8689
8693
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8690
8694
|
|
|
8691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8692
8696
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8693
8697
|
const total = input.total ?? null;
|
|
8694
8698
|
const updated = input.updatedAt ?? null;
|
|
@@ -8704,7 +8708,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8704
8708
|
};
|
|
8705
8709
|
}, "progressOf");
|
|
8706
8710
|
|
|
8707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8711
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8708
8712
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8709
8713
|
const run = currentRun();
|
|
8710
8714
|
const trace = traceId ?? run.traceId;
|
|
@@ -8718,7 +8722,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8718
8722
|
}));
|
|
8719
8723
|
}, "recordLogFor");
|
|
8720
8724
|
|
|
8721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8722
8726
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8723
8727
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8724
8728
|
const out = openSync(log, "a", 384);
|
|
@@ -8873,7 +8877,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8873
8877
|
return { job: id6, pid, chat: input.chat, log };
|
|
8874
8878
|
}, "startArchiveJob");
|
|
8875
8879
|
|
|
8876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8877
8881
|
var problem = strictObject({ code: text, message: text });
|
|
8878
8882
|
var job = strictObject({
|
|
8879
8883
|
id,
|
|
@@ -8896,7 +8900,7 @@ var job = strictObject({
|
|
|
8896
8900
|
error: optional(problem)
|
|
8897
8901
|
});
|
|
8898
8902
|
|
|
8899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8900
8904
|
var joinRequest = strictObject({
|
|
8901
8905
|
person_id: id,
|
|
8902
8906
|
name: nullable(text),
|
|
@@ -8907,7 +8911,7 @@ var joinRequest = strictObject({
|
|
|
8907
8911
|
about: optional(text)
|
|
8908
8912
|
});
|
|
8909
8913
|
|
|
8910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
8911
8915
|
var organization = strictObject({
|
|
8912
8916
|
id,
|
|
8913
8917
|
ref: reference,
|
|
@@ -8937,7 +8941,7 @@ var reminder = strictObject({
|
|
|
8937
8941
|
receipt: nullable(text)
|
|
8938
8942
|
});
|
|
8939
8943
|
|
|
8940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8941
8945
|
var botProfile = strictObject({
|
|
8942
8946
|
name: text,
|
|
8943
8947
|
token: text,
|
|
@@ -9005,7 +9009,7 @@ var stickerInventory = strictObject({
|
|
|
9005
9009
|
url: optional(nullable(text))
|
|
9006
9010
|
});
|
|
9007
9011
|
|
|
9008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9009
9013
|
var pollVote = strictObject({
|
|
9010
9014
|
person_id: id,
|
|
9011
9015
|
name: nullable(text),
|
|
@@ -9015,7 +9019,7 @@ var pollVote = strictObject({
|
|
|
9015
9019
|
voted_at: time
|
|
9016
9020
|
});
|
|
9017
9021
|
|
|
9018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9019
9023
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9020
9024
|
var observation = strictObject({
|
|
9021
9025
|
value: pipe(number(), minValue(0)),
|
|
@@ -9057,7 +9061,7 @@ var serveSummary = strictObject({
|
|
|
9057
9061
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
9058
9062
|
});
|
|
9059
9063
|
|
|
9060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9061
9065
|
var mailCounts = strictObject({
|
|
9062
9066
|
by: picklist(["day", "week", "sender"]),
|
|
9063
9067
|
received: count2,
|
|
@@ -9072,7 +9076,7 @@ var mailCounts = strictObject({
|
|
|
9072
9076
|
}))
|
|
9073
9077
|
});
|
|
9074
9078
|
|
|
9075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9076
9080
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9077
9081
|
var base = { id, evidence: array(evidence2) };
|
|
9078
9082
|
var finding = variant("kind", [
|
|
@@ -9087,7 +9091,11 @@ var finding = variant("kind", [
|
|
|
9087
9091
|
due_at: optional(time),
|
|
9088
9092
|
due_evidence: optional(array(reference)),
|
|
9089
9093
|
assignee: optional(reference),
|
|
9090
|
-
assignee_evidence: optional(array(reference))
|
|
9094
|
+
assignee_evidence: optional(array(reference)),
|
|
9095
|
+
/** `<service>:<id>` in the outside service the mail came from, such as `avito:4512345678`. */
|
|
9096
|
+
external_id: optional(text),
|
|
9097
|
+
/** The http or https page the task is about, such as the conversation the mail links to. */
|
|
9098
|
+
source_url: optional(text)
|
|
9091
9099
|
}),
|
|
9092
9100
|
strictObject({
|
|
9093
9101
|
...base,
|
|
@@ -9166,6 +9174,8 @@ var finding = variant("kind", [
|
|
|
9166
9174
|
invoice: optional(reference),
|
|
9167
9175
|
payment: optional(reference),
|
|
9168
9176
|
project: optional(reference),
|
|
9177
|
+
/** The order's page at the shop, http or https. */
|
|
9178
|
+
source_url: optional(text),
|
|
9169
9179
|
reason: text
|
|
9170
9180
|
}),
|
|
9171
9181
|
strictObject({
|
|
@@ -9198,7 +9208,7 @@ var mailFindings = strictObject({
|
|
|
9198
9208
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
9199
9209
|
});
|
|
9200
9210
|
|
|
9201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9202
9212
|
var mediaArchive = strictObject({
|
|
9203
9213
|
directory: text,
|
|
9204
9214
|
chats: count2,
|
|
@@ -9230,7 +9240,7 @@ var mediaArchiveTimer = union([
|
|
|
9230
9240
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9231
9241
|
]);
|
|
9232
9242
|
|
|
9233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9234
9244
|
var preparationId = pipe(string(), minLength(1));
|
|
9235
9245
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9236
9246
|
var preparationTime = nullable(isoTime);
|
|
@@ -9322,7 +9332,7 @@ var preparationMeeting = strictObject({
|
|
|
9322
9332
|
updated_at: isoTime
|
|
9323
9333
|
});
|
|
9324
9334
|
|
|
9325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9326
9336
|
var meetingEvidence = preparationEvidence;
|
|
9327
9337
|
var meetingPersonContext = strictObject({
|
|
9328
9338
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9344,7 +9354,7 @@ var meetingPersonContext = strictObject({
|
|
|
9344
9354
|
})
|
|
9345
9355
|
});
|
|
9346
9356
|
|
|
9347
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9348
9358
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9349
9359
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9350
9360
|
var finding2 = variant("kind", [
|
|
@@ -9382,7 +9392,7 @@ var meetingFindings = strictObject({
|
|
|
9382
9392
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9383
9393
|
});
|
|
9384
9394
|
|
|
9385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9386
9396
|
var communicationCoverage = strictObject({
|
|
9387
9397
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9388
9398
|
query: string(),
|
|
@@ -9427,7 +9437,7 @@ var preparationCommunications = strictObject({
|
|
|
9427
9437
|
}))
|
|
9428
9438
|
});
|
|
9429
9439
|
|
|
9430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9431
9441
|
var meetingPreparation = strictObject({
|
|
9432
9442
|
communications: optional(preparationCommunications),
|
|
9433
9443
|
schema_version: literal(1),
|
|
@@ -9540,7 +9550,7 @@ var meetingPreparation = strictObject({
|
|
|
9540
9550
|
})
|
|
9541
9551
|
});
|
|
9542
9552
|
|
|
9543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9544
9554
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9545
9555
|
var id3 = pipe(string(), minLength(1));
|
|
9546
9556
|
var text3 = string();
|
|
@@ -9604,7 +9614,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9604
9614
|
})
|
|
9605
9615
|
});
|
|
9606
9616
|
|
|
9607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9608
9618
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9609
9619
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9610
9620
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9634,7 +9644,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9634
9644
|
})
|
|
9635
9645
|
});
|
|
9636
9646
|
|
|
9637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9638
9648
|
var text4 = string();
|
|
9639
9649
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9640
9650
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9651,7 +9661,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9651
9661
|
persistence: literal("proposal-only")
|
|
9652
9662
|
});
|
|
9653
9663
|
|
|
9654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9655
9665
|
var memory = strictObject({
|
|
9656
9666
|
ref: reference,
|
|
9657
9667
|
id,
|
|
@@ -9678,7 +9688,7 @@ var memory = strictObject({
|
|
|
9678
9688
|
updated_at: time
|
|
9679
9689
|
});
|
|
9680
9690
|
|
|
9681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9682
9692
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9683
9693
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9684
9694
|
var mention = strictObject({
|
|
@@ -9721,13 +9731,13 @@ var mentionRebuild = strictObject({
|
|
|
9721
9731
|
mentions: count2
|
|
9722
9732
|
});
|
|
9723
9733
|
|
|
9724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9725
9735
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9726
9736
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9727
9737
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9728
9738
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9729
9739
|
|
|
9730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9731
9741
|
var messageTranscript = strictObject({
|
|
9732
9742
|
message_id: id,
|
|
9733
9743
|
text,
|
|
@@ -9785,7 +9795,7 @@ var evidencePacket = strictObject({
|
|
|
9785
9795
|
}))
|
|
9786
9796
|
});
|
|
9787
9797
|
|
|
9788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9789
9799
|
var messageThread = strictObject({
|
|
9790
9800
|
ref: reference,
|
|
9791
9801
|
chat: id,
|
|
@@ -9802,7 +9812,7 @@ var messageThread = strictObject({
|
|
|
9802
9812
|
});
|
|
9803
9813
|
var messageContext = union([message, messageThread]);
|
|
9804
9814
|
|
|
9805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9806
9816
|
var messageCounts = strictObject({
|
|
9807
9817
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9808
9818
|
total: count2,
|
|
@@ -9815,7 +9825,7 @@ var messageCounts = strictObject({
|
|
|
9815
9825
|
}))
|
|
9816
9826
|
});
|
|
9817
9827
|
|
|
9818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9819
9829
|
var messageLink = strictObject({
|
|
9820
9830
|
ref: reference,
|
|
9821
9831
|
url: nullable(text),
|
|
@@ -9832,7 +9842,7 @@ var messageLink = strictObject({
|
|
|
9832
9842
|
})))
|
|
9833
9843
|
});
|
|
9834
9844
|
|
|
9835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9836
9846
|
var savedMessageFile = strictObject({
|
|
9837
9847
|
kind: text,
|
|
9838
9848
|
path: text,
|
|
@@ -9919,7 +9929,7 @@ var messageSyncAll = strictObject({
|
|
|
9919
9929
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9920
9930
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9921
9931
|
|
|
9922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9923
9933
|
var messageWrite = strictObject({
|
|
9924
9934
|
operation_id: id,
|
|
9925
9935
|
message,
|
|
@@ -9934,7 +9944,7 @@ var draftWrite = strictObject({
|
|
|
9934
9944
|
});
|
|
9935
9945
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9936
9946
|
|
|
9937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9938
9948
|
var model2 = strictObject({
|
|
9939
9949
|
id,
|
|
9940
9950
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9951,7 +9961,7 @@ var model2 = strictObject({
|
|
|
9951
9961
|
path: text
|
|
9952
9962
|
});
|
|
9953
9963
|
|
|
9954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9955
9965
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9956
9966
|
var modelKey = strictObject({
|
|
9957
9967
|
provider: text,
|
|
@@ -9961,7 +9971,7 @@ var modelKey = strictObject({
|
|
|
9961
9971
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9962
9972
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9963
9973
|
|
|
9964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9974
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9965
9975
|
var link = {
|
|
9966
9976
|
target_text: nullable(text),
|
|
9967
9977
|
kind: text,
|
|
@@ -10002,7 +10012,7 @@ var note = strictObject({
|
|
|
10002
10012
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10003
10013
|
});
|
|
10004
10014
|
|
|
10005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10006
10016
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10007
10017
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10008
10018
|
var graph = strictObject({
|
|
@@ -10036,14 +10046,14 @@ var officialStats = strictObject({
|
|
|
10036
10046
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10037
10047
|
});
|
|
10038
10048
|
|
|
10039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10040
10050
|
var person2 = strictObject({
|
|
10041
10051
|
ref: reference,
|
|
10042
10052
|
name: nullable(text),
|
|
10043
10053
|
identities: optional(array(identity))
|
|
10044
10054
|
});
|
|
10045
10055
|
|
|
10046
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10047
10057
|
var poll = strictObject({
|
|
10048
10058
|
chat_id: id,
|
|
10049
10059
|
message_id: id,
|
|
@@ -10059,11 +10069,11 @@ var poll = strictObject({
|
|
|
10059
10069
|
});
|
|
10060
10070
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10061
10071
|
|
|
10062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10063
10073
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10064
10074
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10065
10075
|
|
|
10066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10067
10077
|
var figures = record(string(), number());
|
|
10068
10078
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10069
10079
|
var rankingRow = strictObject({
|
|
@@ -10110,7 +10120,7 @@ var ranking = strictObject({
|
|
|
10110
10120
|
rows: array(rankingRow)
|
|
10111
10121
|
});
|
|
10112
10122
|
|
|
10113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10114
10124
|
var reaction = strictObject({
|
|
10115
10125
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10116
10126
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10118,7 +10128,7 @@ var reaction = strictObject({
|
|
|
10118
10128
|
reacted_at: time
|
|
10119
10129
|
});
|
|
10120
10130
|
|
|
10121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10122
10132
|
var reactionChange = strictObject({
|
|
10123
10133
|
operation_id: id,
|
|
10124
10134
|
chat_id: id,
|
|
@@ -10126,7 +10136,7 @@ var reactionChange = strictObject({
|
|
|
10126
10136
|
reaction: nullable(text)
|
|
10127
10137
|
});
|
|
10128
10138
|
|
|
10129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10130
10140
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10131
10141
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10132
10142
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10137,7 +10147,7 @@ var recipientChange = strictObject({
|
|
|
10137
10147
|
...partial(recipientOff).entries
|
|
10138
10148
|
});
|
|
10139
10149
|
|
|
10140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10141
10151
|
var events = array(record(string(), unknown()));
|
|
10142
10152
|
var recordedRun = strictObject({
|
|
10143
10153
|
run_id: id,
|
|
@@ -10209,7 +10219,7 @@ var runHit = strictObject({
|
|
|
10209
10219
|
});
|
|
10210
10220
|
var runLocation = strictObject({ path: text });
|
|
10211
10221
|
|
|
10212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10213
10223
|
var relationship = strictObject({
|
|
10214
10224
|
id,
|
|
10215
10225
|
from: reference,
|
|
@@ -10226,7 +10236,7 @@ var relationship = strictObject({
|
|
|
10226
10236
|
created_at: time
|
|
10227
10237
|
});
|
|
10228
10238
|
|
|
10229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10239
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10230
10240
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10231
10241
|
var figures2 = { replies: count2, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10232
10242
|
var responseTimes = strictObject({
|
|
@@ -10243,7 +10253,7 @@ var waitingChats = strictObject({
|
|
|
10243
10253
|
by_kind: strictObject({ private: count2, group: count2 })
|
|
10244
10254
|
});
|
|
10245
10255
|
|
|
10246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10247
10257
|
var retentionCohort = strictObject({
|
|
10248
10258
|
/** The first day of the joining day or week. */
|
|
10249
10259
|
cohort: text,
|
|
@@ -10291,7 +10301,7 @@ var retention = strictObject({
|
|
|
10291
10301
|
rows: array(retentionCohort)
|
|
10292
10302
|
});
|
|
10293
10303
|
|
|
10294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10295
10305
|
var savedSearch = strictObject({
|
|
10296
10306
|
id,
|
|
10297
10307
|
/** `null` for a run in the history. */
|
|
@@ -10308,7 +10318,7 @@ var savedSearch = strictObject({
|
|
|
10308
10318
|
});
|
|
10309
10319
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
10310
10320
|
|
|
10311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10312
10322
|
var sendAttempt = strictObject({
|
|
10313
10323
|
at: time,
|
|
10314
10324
|
profile: text,
|
|
@@ -10336,7 +10346,7 @@ var sendAttempt = strictObject({
|
|
|
10336
10346
|
error_code: optional(text)
|
|
10337
10347
|
});
|
|
10338
10348
|
|
|
10339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10340
10350
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10341
10351
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
10342
10352
|
var infoSchema = strictObject({
|
|
@@ -10544,7 +10554,7 @@ var storeRepair = union([
|
|
|
10544
10554
|
]);
|
|
10545
10555
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
10546
10556
|
|
|
10547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10548
10558
|
var range = strictObject({ from: number(), to: number() });
|
|
10549
10559
|
var storeChatStatus = strictObject({
|
|
10550
10560
|
chat_id: id,
|
|
@@ -10642,7 +10652,7 @@ var storeJobRetry = union([
|
|
|
10642
10652
|
]);
|
|
10643
10653
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10644
10654
|
|
|
10645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10646
10656
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10647
10657
|
var storeTable = strictObject({
|
|
10648
10658
|
name: text,
|
|
@@ -10651,7 +10661,7 @@ var storeTable = strictObject({
|
|
|
10651
10661
|
bytes: optional(nullable(count2))
|
|
10652
10662
|
});
|
|
10653
10663
|
|
|
10654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10655
10665
|
var tagTarget = variant("type", [
|
|
10656
10666
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10657
10667
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10682,7 +10692,7 @@ var automaticTags = strictObject({
|
|
|
10682
10692
|
dry_run: boolean()
|
|
10683
10693
|
});
|
|
10684
10694
|
|
|
10685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10686
10696
|
var tagging = strictObject({
|
|
10687
10697
|
tag: text,
|
|
10688
10698
|
type: picklist(TAG_TYPES),
|
|
@@ -10695,7 +10705,7 @@ var tagging = strictObject({
|
|
|
10695
10705
|
created_at: time
|
|
10696
10706
|
});
|
|
10697
10707
|
|
|
10698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10699
10709
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10700
10710
|
var taskPair = strictObject({
|
|
10701
10711
|
task: nullable(side),
|
|
@@ -10718,7 +10728,7 @@ var taskPair = strictObject({
|
|
|
10718
10728
|
created_at: time
|
|
10719
10729
|
});
|
|
10720
10730
|
|
|
10721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10722
10732
|
var nullableTime = nullable(time);
|
|
10723
10733
|
var link2 = strictObject({
|
|
10724
10734
|
id,
|
|
@@ -10753,6 +10763,10 @@ var taskCard = strictObject({
|
|
|
10753
10763
|
revision: number(),
|
|
10754
10764
|
parent: nullable(reference),
|
|
10755
10765
|
source: nullable(text),
|
|
10766
|
+
/** `<service>:<id>`, its id in an outside service, such as `avito:4512345678`. */
|
|
10767
|
+
external_id: nullable(text),
|
|
10768
|
+
/** The http or https page it is about, such as an Avito ad. */
|
|
10769
|
+
source_url: nullable(text),
|
|
10756
10770
|
due_at: nullableTime,
|
|
10757
10771
|
next_check_at: nullableTime,
|
|
10758
10772
|
closed_at: nullableTime,
|
|
@@ -10888,7 +10902,7 @@ var taskReview = strictObject({
|
|
|
10888
10902
|
untrusted
|
|
10889
10903
|
});
|
|
10890
10904
|
|
|
10891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10892
10906
|
var topic = strictObject({
|
|
10893
10907
|
id,
|
|
10894
10908
|
title: text,
|
|
@@ -10902,7 +10916,7 @@ var topic = strictObject({
|
|
|
10902
10916
|
untrusted
|
|
10903
10917
|
});
|
|
10904
10918
|
|
|
10905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10906
10920
|
var ENTITIES = {
|
|
10907
10921
|
sync_progress: progress,
|
|
10908
10922
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -11184,7 +11198,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11184
11198
|
return [name, definition];
|
|
11185
11199
|
})), "entityDefinitions");
|
|
11186
11200
|
|
|
11187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11188
11202
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11189
11203
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11190
11204
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11218,7 +11232,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11218
11232
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11219
11233
|
}, "answerRow");
|
|
11220
11234
|
|
|
11221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11222
11236
|
import { join as join6 } from "node:path";
|
|
11223
11237
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11224
11238
|
var IMAGE_MODELS = [
|
|
@@ -11272,7 +11286,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11272
11286
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11273
11287
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11274
11288
|
|
|
11275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11276
11290
|
var STEPS2 = defineSteps([
|
|
11277
11291
|
...STEPS,
|
|
11278
11292
|
{
|
|
@@ -11544,7 +11558,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11544
11558
|
].join(" ");
|
|
11545
11559
|
}, "stepLine");
|
|
11546
11560
|
|
|
11547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11548
11562
|
var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
|
|
11549
11563
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11550
11564
|
var STATUS_SIGNAL_ROWS = {
|
|
@@ -11653,7 +11667,7 @@ var STATUS_ROWS = {
|
|
|
11653
11667
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11654
11668
|
};
|
|
11655
11669
|
|
|
11656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11657
11671
|
var TEXT_CHARS = 400;
|
|
11658
11672
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11659
11673
|
var messageRow = {
|
|
@@ -11989,7 +12003,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11989
12003
|
return lines.concat(footerOf(body)).join("\n");
|
|
11990
12004
|
}, "compactText");
|
|
11991
12005
|
|
|
11992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11993
12007
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11994
12008
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11995
12009
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12036,7 +12050,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12036
12050
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12037
12051
|
}, "largeAnswerSteps");
|
|
12038
12052
|
|
|
12039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12040
12054
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12041
12055
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12042
12056
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12050,7 +12064,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12050
12064
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12051
12065
|
}, "strip");
|
|
12052
12066
|
|
|
12053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12054
12068
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12055
12069
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12056
12070
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|