@wirecat/cli-memo 0.131.30 → 0.131.31
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-4XCG2A54.js → all-profiles-PFCNICOF.js} +5 -5
- package/dist/bundle/{anthropic-MAVIW4DJ.js → anthropic-QLGMYWVZ.js} +3 -3
- package/dist/bundle/{app-server-LGSYLIB3.js → app-server-QD67I7V2.js} +35 -35
- package/dist/bundle/auto-MCSKUSPU.js +86 -0
- package/dist/bundle/{bun-XWUEHWDW.js → bun-JRTUGKIJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-OSAC45TI.js → bun-sqlite-HCZP2CNO.js} +2 -2
- package/dist/bundle/{chunk-3V5JXPGK.js → chunk-2N74ZVI6.js} +1 -1
- package/dist/bundle/{chunk-Q3XFJOAY.js → chunk-2XBDA3XF.js} +1 -1
- package/dist/bundle/{chunk-SIY75R4D.js → chunk-3G44GDIZ.js} +5 -5
- package/dist/bundle/{chunk-XDQIJSJE.js → chunk-3OH5DJ6X.js} +1 -1
- package/dist/bundle/{chunk-TIU2N2SP.js → chunk-42I4XE3O.js} +20 -20
- package/dist/bundle/{chunk-RCPP2Q5O.js → chunk-4D6BG353.js} +6 -6
- package/dist/bundle/{chunk-IIXZMACE.js → chunk-54DA525P.js} +9 -9
- package/dist/bundle/{chunk-2NEXX3EI.js → chunk-5BVGJBZX.js} +1 -1
- package/dist/bundle/{chunk-5CKE7LAP.js → chunk-5JTW3LNF.js} +1 -1
- package/dist/bundle/{chunk-XV7YW65Y.js → chunk-5YVU6PXP.js} +4 -4
- package/dist/bundle/{chunk-RUWY43XR.js → chunk-63JF4E76.js} +480 -256
- package/dist/bundle/{chunk-UGV57SZH.js → chunk-7AMJFTJM.js} +1 -1
- package/dist/bundle/{chunk-MLDBSKW6.js → chunk-7JWW4YEK.js} +8 -8
- package/dist/bundle/{chunk-UVO7UNYH.js → chunk-7MKROF5R.js} +1 -1
- package/dist/bundle/{chunk-YJSCSLAT.js → chunk-A56GDMFH.js} +3 -3
- package/dist/bundle/{chunk-CYUP7HQG.js → chunk-ARVXP2UJ.js} +258 -258
- package/dist/bundle/{chunk-TIQUMRSO.js → chunk-AZGQ7ABE.js} +150 -150
- package/dist/bundle/{chunk-DYNSZDXG.js → chunk-CGI5EIIA.js} +20 -20
- package/dist/bundle/{chunk-76MMXZ3W.js → chunk-CWHGN6HC.js} +4 -4
- package/dist/bundle/{chunk-EJZKYJKO.js → chunk-FE2SLKUO.js} +2 -2
- package/dist/bundle/{chunk-HWJHWNBW.js → chunk-FGJKBQCP.js} +3 -3
- package/dist/bundle/{chunk-KJE2KFYH.js → chunk-GKZ65EOY.js} +54 -54
- package/dist/bundle/{chunk-PJM4QQBT.js → chunk-GNY5YLNY.js} +2 -2
- package/dist/bundle/{chunk-GW2KCP4G.js → chunk-H24AL555.js} +27 -27
- package/dist/bundle/{program-4UU6HJQM.js → chunk-HGXTDMKN.js} +1498 -10061
- package/dist/bundle/{chunk-6ZVN4S36.js → chunk-HLJ6IUVF.js} +2 -2
- package/dist/bundle/{chunk-VDGKBAS2.js → chunk-JTSYAO5V.js} +274 -274
- package/dist/bundle/{chunk-MHHLYRRD.js → chunk-K3CJHSLS.js} +1 -1
- package/dist/bundle/{chunk-QQBRNKHQ.js → chunk-K3TUIQZ4.js} +43 -43
- package/dist/bundle/{chunk-5R3OXHIN.js → chunk-K6ZWFP2X.js} +1 -1
- package/dist/bundle/{chunk-7VJZKUN3.js → chunk-L34KLQIU.js} +9 -9
- package/dist/bundle/{chunk-N4AWIP4D.js → chunk-MVFINUJS.js} +5 -5
- package/dist/bundle/{chunk-CNAOMV43.js → chunk-NDJUEFV2.js} +1 -1
- package/dist/bundle/{chunk-6SE6ZDBF.js → chunk-NG26I3JV.js} +1 -1
- package/dist/bundle/{chunk-U6NL7SAX.js → chunk-OS55OQ74.js} +5 -5
- package/dist/bundle/{chunk-M3REIIOH.js → chunk-PG4KORTB.js} +1 -1
- package/dist/bundle/{chunk-H52RNBPU.js → chunk-Q2ZIIXA2.js} +2 -2
- package/dist/bundle/{chunk-JHLGFPMK.js → chunk-Q3ZB4JGL.js} +2 -2
- package/dist/bundle/{chunk-GN3U74DV.js → chunk-QUQOKNAX.js} +12 -12
- package/dist/bundle/{chunk-GSCFCNGO.js → chunk-QWA3MTHH.js} +7 -7
- package/dist/bundle/{chunk-S34FLB7K.js → chunk-REUXOW2O.js} +2 -2
- package/dist/bundle/{chunk-EEKOBGQ7.js → chunk-RO4YPDGF.js} +1 -1
- package/dist/bundle/{chunk-UXGQXP5U.js → chunk-ROT4V3ZT.js} +3 -3
- package/dist/bundle/{chunk-DIQAOLWH.js → chunk-RRDXT63A.js} +1 -1
- package/dist/bundle/{chunk-WUV5O5HN.js → chunk-S3FQQRUM.js} +4 -4
- package/dist/bundle/{chunk-DIT5NA73.js → chunk-TFEXCHMC.js} +5 -5
- package/dist/bundle/{chunk-UBYCWQSV.js → chunk-URPBRYVA.js} +4 -4
- package/dist/bundle/{chunk-B6S42B6J.js → chunk-USMKR34T.js} +11 -11
- package/dist/bundle/{chunk-D6BK3H4D.js → chunk-UXA37BVT.js} +4 -4
- package/dist/bundle/{chunk-SQHIXN2N.js → chunk-W4GV42D5.js} +2 -2
- package/dist/bundle/{chunk-USLIHXWA.js → chunk-WGX6AEUP.js} +3 -3
- package/dist/bundle/{chunk-K6Z6B2CW.js → chunk-WP3J2FNH.js} +10 -10
- package/dist/bundle/{chunk-3DXTHN5C.js → chunk-X6HXGL5E.js} +7 -7
- package/dist/bundle/{chunk-NUEIRBKY.js → chunk-XUMYVRBZ.js} +1 -1
- package/dist/bundle/{chunk-Z7J7SVZJ.js → chunk-XWIRWBB5.js} +1 -1
- package/dist/bundle/{chunk-U5PEYBQT.js → chunk-ZB5ZZWFR.js} +4 -4
- package/dist/bundle/{chunk-YUEAM6ZP.js → chunk-ZHDOELM7.js} +7 -7
- package/dist/bundle/{command-contract-ZLDRM6DG.js → command-contract-DFXPO5Q7.js} +11 -11
- package/dist/bundle/{decode-Y2DWOSOW.js → decode-7NGILAKQ.js} +2 -2
- package/dist/bundle/{echarts-2ZHQHZ4R.js → echarts-JERQI2HW.js} +2 -2
- package/dist/bundle/{embed-JEER47U6.js → embed-3AO7KZXC.js} +3 -3
- package/dist/bundle/{embedder-BJQEGCE5.js → embedder-WRQ7TDDB.js} +6 -6
- package/dist/bundle/{entry-YKH7GAX7.js → entry-IBRPU7NO.js} +4 -4
- package/dist/bundle/failure-QBQMSEYX.js +66 -0
- package/dist/bundle/{first-run-ESH5B55J.js → first-run-IJOREEQM.js} +5 -5
- package/dist/bundle/{first-screen-RTATNK4S.js → first-screen-KYNY6ELY.js} +12 -12
- package/dist/bundle/{instructions-NJYYRMYK.js → instructions-BET2PLGV.js} +1 -1
- package/dist/bundle/{mcp-ZRKYZLNM.js → mcp-NUBFFPGF.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-DBNZMTJO.js → node-NCSG7QX5.js} +2 -2
- package/dist/bundle/{node-sqlite-CCNVCZSG.js → node-sqlite-QL4M5RIK.js} +3 -3
- package/dist/bundle/{oauth-UV7KBQFP.js → oauth-BGMMED35.js} +4 -4
- package/dist/bundle/{open-VTOLLLS4.js → open-YN3KJMMQ.js} +2 -2
- package/dist/bundle/{openai-RTJNHBCG.js → openai-CTZUSKUS.js} +7 -7
- package/dist/bundle/{process-TAFRBB53.js → process-DW237TK4.js} +1 -1
- package/dist/bundle/program-Q7VXEIJ7.js +9171 -0
- package/dist/bundle/{prompt-ESMCTEJI.js → prompt-EZCCUYCS.js} +2 -2
- package/dist/bundle/{recognize-V53GEY6R.js → recognize-XP3LHQD6.js} +1 -1
- package/dist/bundle/{remote-KGKRAGA6.js → remote-RLR5ZKKT.js} +4 -4
- package/dist/bundle/{rerank-DTD24I7Y.js → rerank-P7LE52AC.js} +4 -4
- package/dist/bundle/{serve-2DVSIKM7.js → serve-UA7RQDNK.js} +6 -6
- package/dist/bundle/server-N6L3LGQO.js +48 -0
- package/dist/bundle/{server-UBMV5OI7.js → server-NWCYWOPZ.js} +50 -50
- package/dist/bundle/server-XU362INX.js +61 -0
- package/dist/bundle/{state-ONT6T6PY.js → state-72Y55LBR.js} +3 -3
- package/dist/bundle/{store-TOYBDMML.js → store-PED4JCBB.js} +9 -9
- package/dist/bundle/store-maintenance-command-B364Q2O4.js +48 -0
- package/dist/bundle/update-X2A5CW5A.js +69 -0
- package/dist/config.d.ts +11 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +19 -0
- package/dist/config.js.map +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +2 -0
- package/dist/mail/review-command.js.map +1 -1
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +4 -3
- package/dist/schedule/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/mail-triage/SKILL.md +10 -2
- package/dist/bundle/auto-72Y6UJWK.js +0 -86
- package/dist/bundle/chunk-GACW4GZZ.js +0 -452
- package/dist/bundle/failure-JE2JCLGO.js +0 -66
- package/dist/bundle/server-ODWZJIRX.js +0 -48
- package/dist/bundle/server-V5YRZZID.js +0 -61
- package/dist/bundle/store-maintenance-command-HIMIMWFU.js +0 -48
- package/dist/bundle/update-AO5UWEBY.js +0 -69
- /package/dist/bundle/{chunk-G6I5A2N3.js → chunk-QPPNLE7G.js} +0 -0
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-X6HXGL5E.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-A56GDMFH.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NDJUEFV2.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RO4YPDGF.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-GKZ65EOY.js";
|
|
65
65
|
import {
|
|
66
66
|
sharedConfigPath
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-URPBRYVA.js";
|
|
68
68
|
import {
|
|
69
69
|
filesPresent,
|
|
70
70
|
sharedModelsDirectory
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-FGJKBQCP.js";
|
|
72
72
|
import {
|
|
73
73
|
storePath
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-RRDXT63A.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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/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. */
|
|
@@ -7341,7 +7341,7 @@ var task = strictObject({
|
|
|
7341
7341
|
updated_at: optional(time)
|
|
7342
7342
|
});
|
|
7343
7343
|
|
|
7344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7345
7345
|
var agendaChat = strictObject({
|
|
7346
7346
|
chat: reference,
|
|
7347
7347
|
title: nullable(text),
|
|
@@ -7411,11 +7411,11 @@ var agenda = strictObject({
|
|
|
7411
7411
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7412
7412
|
});
|
|
7413
7413
|
|
|
7414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7415
7415
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7416
7416
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7417
7417
|
|
|
7418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7419
7419
|
var attachment = strictObject({
|
|
7420
7420
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7421
7421
|
message: optional(reference),
|
|
@@ -7453,7 +7453,7 @@ var attachment = strictObject({
|
|
|
7453
7453
|
});
|
|
7454
7454
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
7455
7455
|
|
|
7456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7457
7457
|
var actionableError = objectWithRest({
|
|
7458
7458
|
code: text,
|
|
7459
7459
|
message: text,
|
|
@@ -7470,7 +7470,7 @@ var batchResult = strictObject({
|
|
|
7470
7470
|
max_error_percent: count2
|
|
7471
7471
|
});
|
|
7472
7472
|
|
|
7473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7474
7474
|
var extractionItem = strictObject({
|
|
7475
7475
|
ref: reference,
|
|
7476
7476
|
attachment: count2,
|
|
@@ -7503,7 +7503,7 @@ var extractionReport = strictObject({
|
|
|
7503
7503
|
cursor: optional(text)
|
|
7504
7504
|
});
|
|
7505
7505
|
|
|
7506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7507
7507
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7508
7508
|
var attachmentBytes = strictObject({
|
|
7509
7509
|
ref: reference,
|
|
@@ -7531,7 +7531,7 @@ var attachmentTextChange = strictObject({
|
|
|
7531
7531
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7532
7532
|
});
|
|
7533
7533
|
|
|
7534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7535
7535
|
var chart = strictObject({
|
|
7536
7536
|
version: literal(1),
|
|
7537
7537
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7546,7 +7546,7 @@ var chart = strictObject({
|
|
|
7546
7546
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7547
7547
|
});
|
|
7548
7548
|
|
|
7549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7550
7550
|
var member = strictObject({
|
|
7551
7551
|
id,
|
|
7552
7552
|
name: nullable(text),
|
|
@@ -7569,7 +7569,7 @@ var member = strictObject({
|
|
|
7569
7569
|
check: optional(record(string(), unknown()))
|
|
7570
7570
|
});
|
|
7571
7571
|
|
|
7572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7573
7573
|
var setting = optional(nullable(boolean()));
|
|
7574
7574
|
var chat = strictObject({
|
|
7575
7575
|
ref: reference,
|
|
@@ -7610,7 +7610,7 @@ var chat = strictObject({
|
|
|
7610
7610
|
members: optional(array(member))
|
|
7611
7611
|
});
|
|
7612
7612
|
|
|
7613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7614
7614
|
var named2 = strictObject({
|
|
7615
7615
|
id,
|
|
7616
7616
|
title: nullable(text),
|
|
@@ -7633,7 +7633,7 @@ var folder = strictObject({
|
|
|
7633
7633
|
excluded_chats: optional(array(named2))
|
|
7634
7634
|
});
|
|
7635
7635
|
|
|
7636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7637
7637
|
var inviteLink = strictObject({
|
|
7638
7638
|
link: text,
|
|
7639
7639
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7649,7 +7649,7 @@ var inviteLink = strictObject({
|
|
|
7649
7649
|
joined_count: optional(count2)
|
|
7650
7650
|
});
|
|
7651
7651
|
|
|
7652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7653
7653
|
var operated = { operation_id: id, chat_id: id };
|
|
7654
7654
|
var group = strictObject({
|
|
7655
7655
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7729,7 +7729,7 @@ var chatFolderOrder = strictObject({
|
|
|
7729
7729
|
folders: array(strictObject({ id, title: text }))
|
|
7730
7730
|
});
|
|
7731
7731
|
|
|
7732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7733
7733
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7734
7734
|
var chatRemoval = strictObject(operated2);
|
|
7735
7735
|
var chatMuting = strictObject({
|
|
@@ -7740,7 +7740,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7740
7740
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7741
7741
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7742
7742
|
|
|
7743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7744
7744
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7745
7745
|
var chatEvent = strictObject({
|
|
7746
7746
|
chat_id: id,
|
|
@@ -7757,7 +7757,7 @@ var chatEvent = strictObject({
|
|
|
7757
7757
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7758
7758
|
});
|
|
7759
7759
|
|
|
7760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7760
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7761
7761
|
var chatMetadata = strictObject({
|
|
7762
7762
|
chat_id: id,
|
|
7763
7763
|
title: nullable(text),
|
|
@@ -7772,7 +7772,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7772
7772
|
has_more: boolean()
|
|
7773
7773
|
});
|
|
7774
7774
|
|
|
7775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7776
7776
|
var action = picklist(["report", "delete", "remove"]);
|
|
7777
7777
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7778
7778
|
var chatRules = strictObject({
|
|
@@ -7809,7 +7809,7 @@ var chatModeration = strictObject({
|
|
|
7809
7809
|
}))
|
|
7810
7810
|
});
|
|
7811
7811
|
|
|
7812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7813
7813
|
var optionalCount = optional(count2);
|
|
7814
7814
|
var minutes = nullable(number());
|
|
7815
7815
|
var chatStats = strictObject({
|
|
@@ -7883,7 +7883,7 @@ var taskStats = strictObject({
|
|
|
7883
7883
|
}))
|
|
7884
7884
|
});
|
|
7885
7885
|
|
|
7886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7887
7887
|
var memberCount = strictObject({
|
|
7888
7888
|
day: pipe(text, isoDate()),
|
|
7889
7889
|
participants: nullable(count2),
|
|
@@ -7906,7 +7906,7 @@ var chatTracking = strictObject({
|
|
|
7906
7906
|
tracked: boolean()
|
|
7907
7907
|
});
|
|
7908
7908
|
|
|
7909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7910
7910
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7911
7911
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7912
7912
|
var profileFields = {
|
|
@@ -7944,7 +7944,7 @@ var profileFields = {
|
|
|
7944
7944
|
}))
|
|
7945
7945
|
};
|
|
7946
7946
|
|
|
7947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7948
7948
|
var contact = strictObject({
|
|
7949
7949
|
ref: reference,
|
|
7950
7950
|
id,
|
|
@@ -7975,7 +7975,7 @@ var contact = strictObject({
|
|
|
7975
7975
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7976
7976
|
});
|
|
7977
7977
|
|
|
7978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7979
7979
|
var WEIGHTS = {
|
|
7980
7980
|
bot: 3,
|
|
7981
7981
|
scam: 3,
|
|
@@ -8000,7 +8000,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8000
8000
|
var DIGITS = /\d{5,}/;
|
|
8001
8001
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8002
8002
|
|
|
8003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8003
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8004
8004
|
var linkedIdentity = strictObject({
|
|
8005
8005
|
provider: text,
|
|
8006
8006
|
id,
|
|
@@ -8041,7 +8041,7 @@ var contactCheck = strictObject({
|
|
|
8041
8041
|
checked_at: time
|
|
8042
8042
|
});
|
|
8043
8043
|
|
|
8044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8045
8045
|
var quoted = strictObject({
|
|
8046
8046
|
id,
|
|
8047
8047
|
sender_id: nullable(id),
|
|
@@ -8160,7 +8160,7 @@ var message = strictObject({
|
|
|
8160
8160
|
provider_metadata: providerMetadata
|
|
8161
8161
|
});
|
|
8162
8162
|
|
|
8163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8164
8164
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8165
8165
|
var contextMessage = strictObject({
|
|
8166
8166
|
locator: reference,
|
|
@@ -8358,7 +8358,7 @@ var contactPreparation = strictObject({
|
|
|
8358
8358
|
})
|
|
8359
8359
|
});
|
|
8360
8360
|
|
|
8361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8362
8362
|
var contactNote = strictObject({
|
|
8363
8363
|
id,
|
|
8364
8364
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8370,13 +8370,13 @@ var contactNote = strictObject({
|
|
|
8370
8370
|
updated_at: time
|
|
8371
8371
|
});
|
|
8372
8372
|
|
|
8373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8374
8374
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8375
8375
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8376
8376
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8377
8377
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
8378
8378
|
|
|
8379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8380
8380
|
var conversation = strictObject({
|
|
8381
8381
|
id,
|
|
8382
8382
|
chat: reference,
|
|
@@ -8391,7 +8391,7 @@ var conversation = strictObject({
|
|
|
8391
8391
|
rules_version: count2
|
|
8392
8392
|
});
|
|
8393
8393
|
|
|
8394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8395
8395
|
var conversationBuild = strictObject({
|
|
8396
8396
|
chat: id,
|
|
8397
8397
|
messages: count2,
|
|
@@ -8416,7 +8416,7 @@ var catchUpPreparation = strictObject({
|
|
|
8416
8416
|
prepared: optional(conversationPreparation)
|
|
8417
8417
|
});
|
|
8418
8418
|
|
|
8419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8420
8420
|
var conversationDetails = union([
|
|
8421
8421
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8422
8422
|
message
|
|
@@ -8506,7 +8506,7 @@ var conversationHit = strictObject({
|
|
|
8506
8506
|
stale: boolean()
|
|
8507
8507
|
});
|
|
8508
8508
|
|
|
8509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8510
8510
|
var counters = strictObject({
|
|
8511
8511
|
cutoff: time,
|
|
8512
8512
|
max_age_ms: milliseconds,
|
|
@@ -8536,7 +8536,7 @@ var counterRefresh = strictObject({
|
|
|
8536
8536
|
complete: optional(boolean())
|
|
8537
8537
|
});
|
|
8538
8538
|
|
|
8539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8540
8540
|
var document = strictObject({
|
|
8541
8541
|
ref: reference,
|
|
8542
8542
|
id,
|
|
@@ -8551,7 +8551,7 @@ var document = strictObject({
|
|
|
8551
8551
|
owners: optional(array(text))
|
|
8552
8552
|
});
|
|
8553
8553
|
|
|
8554
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8555
8555
|
var documentLink = strictObject({
|
|
8556
8556
|
ref: reference,
|
|
8557
8557
|
url: text,
|
|
@@ -8562,7 +8562,7 @@ var documentLink = strictObject({
|
|
|
8562
8562
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8563
8563
|
});
|
|
8564
8564
|
|
|
8565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8566
8566
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8567
8567
|
var contribution = strictObject({
|
|
8568
8568
|
message: evidenceMessage,
|
|
@@ -8592,7 +8592,7 @@ var retentionStay = strictObject({
|
|
|
8592
8592
|
});
|
|
8593
8593
|
var evidence = union([contribution, retentionStay]);
|
|
8594
8594
|
|
|
8595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8595
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8596
8596
|
var fact = strictObject({
|
|
8597
8597
|
ref: reference,
|
|
8598
8598
|
id,
|
|
@@ -8622,7 +8622,7 @@ var fact = strictObject({
|
|
|
8622
8622
|
updated_at: time
|
|
8623
8623
|
});
|
|
8624
8624
|
|
|
8625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8626
8626
|
var hit = strictObject({
|
|
8627
8627
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8628
8628
|
ref: reference,
|
|
@@ -8660,7 +8660,7 @@ var hit = strictObject({
|
|
|
8660
8660
|
untrusted
|
|
8661
8661
|
});
|
|
8662
8662
|
|
|
8663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8664
8664
|
var identity = strictObject({
|
|
8665
8665
|
ref: reference,
|
|
8666
8666
|
provider: text,
|
|
@@ -8673,7 +8673,7 @@ var identity = strictObject({
|
|
|
8673
8673
|
person: optional(nullable(reference))
|
|
8674
8674
|
});
|
|
8675
8675
|
|
|
8676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8677
8677
|
var imageEmbedding = strictObject({
|
|
8678
8678
|
model: text,
|
|
8679
8679
|
embedded: count2,
|
|
@@ -8682,13 +8682,13 @@ var imageEmbedding = strictObject({
|
|
|
8682
8682
|
more: boolean()
|
|
8683
8683
|
});
|
|
8684
8684
|
|
|
8685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8686
8686
|
import { spawn } from "node:child_process";
|
|
8687
8687
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8688
8688
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8689
8689
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8690
8690
|
|
|
8691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8692
8692
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8693
8693
|
const total = input.total ?? null;
|
|
8694
8694
|
const updated = input.updatedAt ?? null;
|
|
@@ -8704,7 +8704,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8704
8704
|
};
|
|
8705
8705
|
}, "progressOf");
|
|
8706
8706
|
|
|
8707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8708
8708
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8709
8709
|
const run = currentRun();
|
|
8710
8710
|
const trace = traceId ?? run.traceId;
|
|
@@ -8718,7 +8718,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8718
8718
|
}));
|
|
8719
8719
|
}, "recordLogFor");
|
|
8720
8720
|
|
|
8721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8722
8722
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8723
8723
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8724
8724
|
const out = openSync(log, "a", 384);
|
|
@@ -8873,7 +8873,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8873
8873
|
return { job: id6, pid, chat: input.chat, log };
|
|
8874
8874
|
}, "startArchiveJob");
|
|
8875
8875
|
|
|
8876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8876
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8877
8877
|
var problem = strictObject({ code: text, message: text });
|
|
8878
8878
|
var job = strictObject({
|
|
8879
8879
|
id,
|
|
@@ -8896,7 +8896,7 @@ var job = strictObject({
|
|
|
8896
8896
|
error: optional(problem)
|
|
8897
8897
|
});
|
|
8898
8898
|
|
|
8899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8900
8900
|
var joinRequest = strictObject({
|
|
8901
8901
|
person_id: id,
|
|
8902
8902
|
name: nullable(text),
|
|
@@ -8907,7 +8907,7 @@ var joinRequest = strictObject({
|
|
|
8907
8907
|
about: optional(text)
|
|
8908
8908
|
});
|
|
8909
8909
|
|
|
8910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
8911
8911
|
var organization = strictObject({
|
|
8912
8912
|
id,
|
|
8913
8913
|
ref: reference,
|
|
@@ -8937,7 +8937,7 @@ var reminder = strictObject({
|
|
|
8937
8937
|
receipt: nullable(text)
|
|
8938
8938
|
});
|
|
8939
8939
|
|
|
8940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8941
8941
|
var botProfile = strictObject({
|
|
8942
8942
|
name: text,
|
|
8943
8943
|
token: text,
|
|
@@ -9005,7 +9005,7 @@ var stickerInventory = strictObject({
|
|
|
9005
9005
|
url: optional(nullable(text))
|
|
9006
9006
|
});
|
|
9007
9007
|
|
|
9008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9009
9009
|
var pollVote = strictObject({
|
|
9010
9010
|
person_id: id,
|
|
9011
9011
|
name: nullable(text),
|
|
@@ -9015,7 +9015,7 @@ var pollVote = strictObject({
|
|
|
9015
9015
|
voted_at: time
|
|
9016
9016
|
});
|
|
9017
9017
|
|
|
9018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9019
9019
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9020
9020
|
var observation = strictObject({
|
|
9021
9021
|
value: pipe(number(), minValue(0)),
|
|
@@ -9057,7 +9057,7 @@ var serveSummary = strictObject({
|
|
|
9057
9057
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
9058
9058
|
});
|
|
9059
9059
|
|
|
9060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9061
9061
|
var mailCounts = strictObject({
|
|
9062
9062
|
by: picklist(["day", "week", "sender"]),
|
|
9063
9063
|
received: count2,
|
|
@@ -9072,7 +9072,7 @@ var mailCounts = strictObject({
|
|
|
9072
9072
|
}))
|
|
9073
9073
|
});
|
|
9074
9074
|
|
|
9075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9076
9076
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9077
9077
|
var base = { id, evidence: array(evidence2) };
|
|
9078
9078
|
var finding = variant("kind", [
|
|
@@ -9198,7 +9198,7 @@ var mailFindings = strictObject({
|
|
|
9198
9198
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
9199
9199
|
});
|
|
9200
9200
|
|
|
9201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9202
9202
|
var mediaArchive = strictObject({
|
|
9203
9203
|
directory: text,
|
|
9204
9204
|
chats: count2,
|
|
@@ -9230,7 +9230,7 @@ var mediaArchiveTimer = union([
|
|
|
9230
9230
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9231
9231
|
]);
|
|
9232
9232
|
|
|
9233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9234
9234
|
var preparationId = pipe(string(), minLength(1));
|
|
9235
9235
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9236
9236
|
var preparationTime = nullable(isoTime);
|
|
@@ -9322,7 +9322,7 @@ var preparationMeeting = strictObject({
|
|
|
9322
9322
|
updated_at: isoTime
|
|
9323
9323
|
});
|
|
9324
9324
|
|
|
9325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9326
9326
|
var meetingEvidence = preparationEvidence;
|
|
9327
9327
|
var meetingPersonContext = strictObject({
|
|
9328
9328
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9344,7 +9344,7 @@ var meetingPersonContext = strictObject({
|
|
|
9344
9344
|
})
|
|
9345
9345
|
});
|
|
9346
9346
|
|
|
9347
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9348
9348
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9349
9349
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9350
9350
|
var finding2 = variant("kind", [
|
|
@@ -9382,7 +9382,7 @@ var meetingFindings = strictObject({
|
|
|
9382
9382
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9383
9383
|
});
|
|
9384
9384
|
|
|
9385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9386
9386
|
var communicationCoverage = strictObject({
|
|
9387
9387
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9388
9388
|
query: string(),
|
|
@@ -9427,7 +9427,7 @@ var preparationCommunications = strictObject({
|
|
|
9427
9427
|
}))
|
|
9428
9428
|
});
|
|
9429
9429
|
|
|
9430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9430
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9431
9431
|
var meetingPreparation = strictObject({
|
|
9432
9432
|
communications: optional(preparationCommunications),
|
|
9433
9433
|
schema_version: literal(1),
|
|
@@ -9540,7 +9540,7 @@ var meetingPreparation = strictObject({
|
|
|
9540
9540
|
})
|
|
9541
9541
|
});
|
|
9542
9542
|
|
|
9543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9544
9544
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9545
9545
|
var id3 = pipe(string(), minLength(1));
|
|
9546
9546
|
var text3 = string();
|
|
@@ -9604,7 +9604,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9604
9604
|
})
|
|
9605
9605
|
});
|
|
9606
9606
|
|
|
9607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9608
9608
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9609
9609
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9610
9610
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9634,7 +9634,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9634
9634
|
})
|
|
9635
9635
|
});
|
|
9636
9636
|
|
|
9637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9638
9638
|
var text4 = string();
|
|
9639
9639
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9640
9640
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9651,7 +9651,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9651
9651
|
persistence: literal("proposal-only")
|
|
9652
9652
|
});
|
|
9653
9653
|
|
|
9654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9655
9655
|
var memory = strictObject({
|
|
9656
9656
|
ref: reference,
|
|
9657
9657
|
id,
|
|
@@ -9678,7 +9678,7 @@ var memory = strictObject({
|
|
|
9678
9678
|
updated_at: time
|
|
9679
9679
|
});
|
|
9680
9680
|
|
|
9681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9682
9682
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9683
9683
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9684
9684
|
var mention = strictObject({
|
|
@@ -9721,13 +9721,13 @@ var mentionRebuild = strictObject({
|
|
|
9721
9721
|
mentions: count2
|
|
9722
9722
|
});
|
|
9723
9723
|
|
|
9724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9725
9725
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9726
9726
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9727
9727
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9728
9728
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9729
9729
|
|
|
9730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9731
9731
|
var messageTranscript = strictObject({
|
|
9732
9732
|
message_id: id,
|
|
9733
9733
|
text,
|
|
@@ -9785,7 +9785,7 @@ var evidencePacket = strictObject({
|
|
|
9785
9785
|
}))
|
|
9786
9786
|
});
|
|
9787
9787
|
|
|
9788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9789
9789
|
var messageThread = strictObject({
|
|
9790
9790
|
ref: reference,
|
|
9791
9791
|
chat: id,
|
|
@@ -9802,7 +9802,7 @@ var messageThread = strictObject({
|
|
|
9802
9802
|
});
|
|
9803
9803
|
var messageContext = union([message, messageThread]);
|
|
9804
9804
|
|
|
9805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9806
9806
|
var messageCounts = strictObject({
|
|
9807
9807
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9808
9808
|
total: count2,
|
|
@@ -9815,7 +9815,7 @@ var messageCounts = strictObject({
|
|
|
9815
9815
|
}))
|
|
9816
9816
|
});
|
|
9817
9817
|
|
|
9818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9819
9819
|
var messageLink = strictObject({
|
|
9820
9820
|
ref: reference,
|
|
9821
9821
|
url: nullable(text),
|
|
@@ -9832,7 +9832,7 @@ var messageLink = strictObject({
|
|
|
9832
9832
|
})))
|
|
9833
9833
|
});
|
|
9834
9834
|
|
|
9835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9836
9836
|
var savedMessageFile = strictObject({
|
|
9837
9837
|
kind: text,
|
|
9838
9838
|
path: text,
|
|
@@ -9919,7 +9919,7 @@ var messageSyncAll = strictObject({
|
|
|
9919
9919
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9920
9920
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9921
9921
|
|
|
9922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9923
9923
|
var messageWrite = strictObject({
|
|
9924
9924
|
operation_id: id,
|
|
9925
9925
|
message,
|
|
@@ -9934,7 +9934,7 @@ var draftWrite = strictObject({
|
|
|
9934
9934
|
});
|
|
9935
9935
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9936
9936
|
|
|
9937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9938
9938
|
var model2 = strictObject({
|
|
9939
9939
|
id,
|
|
9940
9940
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9951,7 +9951,7 @@ var model2 = strictObject({
|
|
|
9951
9951
|
path: text
|
|
9952
9952
|
});
|
|
9953
9953
|
|
|
9954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9955
9955
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9956
9956
|
var modelKey = strictObject({
|
|
9957
9957
|
provider: text,
|
|
@@ -9961,7 +9961,7 @@ var modelKey = strictObject({
|
|
|
9961
9961
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9962
9962
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9963
9963
|
|
|
9964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9965
9965
|
var link = {
|
|
9966
9966
|
target_text: nullable(text),
|
|
9967
9967
|
kind: text,
|
|
@@ -10002,7 +10002,7 @@ var note = strictObject({
|
|
|
10002
10002
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10003
10003
|
});
|
|
10004
10004
|
|
|
10005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10006
10006
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10007
10007
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10008
10008
|
var graph = strictObject({
|
|
@@ -10036,14 +10036,14 @@ var officialStats = strictObject({
|
|
|
10036
10036
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10037
10037
|
});
|
|
10038
10038
|
|
|
10039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10040
10040
|
var person2 = strictObject({
|
|
10041
10041
|
ref: reference,
|
|
10042
10042
|
name: nullable(text),
|
|
10043
10043
|
identities: optional(array(identity))
|
|
10044
10044
|
});
|
|
10045
10045
|
|
|
10046
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10047
10047
|
var poll = strictObject({
|
|
10048
10048
|
chat_id: id,
|
|
10049
10049
|
message_id: id,
|
|
@@ -10059,11 +10059,11 @@ var poll = strictObject({
|
|
|
10059
10059
|
});
|
|
10060
10060
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10061
10061
|
|
|
10062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10063
10063
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10064
10064
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10065
10065
|
|
|
10066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10067
10067
|
var figures = record(string(), number());
|
|
10068
10068
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10069
10069
|
var rankingRow = strictObject({
|
|
@@ -10110,7 +10110,7 @@ var ranking = strictObject({
|
|
|
10110
10110
|
rows: array(rankingRow)
|
|
10111
10111
|
});
|
|
10112
10112
|
|
|
10113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10114
10114
|
var reaction = strictObject({
|
|
10115
10115
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10116
10116
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10118,7 +10118,7 @@ var reaction = strictObject({
|
|
|
10118
10118
|
reacted_at: time
|
|
10119
10119
|
});
|
|
10120
10120
|
|
|
10121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10122
10122
|
var reactionChange = strictObject({
|
|
10123
10123
|
operation_id: id,
|
|
10124
10124
|
chat_id: id,
|
|
@@ -10126,7 +10126,7 @@ var reactionChange = strictObject({
|
|
|
10126
10126
|
reaction: nullable(text)
|
|
10127
10127
|
});
|
|
10128
10128
|
|
|
10129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10130
10130
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10131
10131
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10132
10132
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10137,7 +10137,7 @@ var recipientChange = strictObject({
|
|
|
10137
10137
|
...partial(recipientOff).entries
|
|
10138
10138
|
});
|
|
10139
10139
|
|
|
10140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10141
10141
|
var events = array(record(string(), unknown()));
|
|
10142
10142
|
var recordedRun = strictObject({
|
|
10143
10143
|
run_id: id,
|
|
@@ -10209,7 +10209,7 @@ var runHit = strictObject({
|
|
|
10209
10209
|
});
|
|
10210
10210
|
var runLocation = strictObject({ path: text });
|
|
10211
10211
|
|
|
10212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10213
10213
|
var relationship = strictObject({
|
|
10214
10214
|
id,
|
|
10215
10215
|
from: reference,
|
|
@@ -10226,7 +10226,7 @@ var relationship = strictObject({
|
|
|
10226
10226
|
created_at: time
|
|
10227
10227
|
});
|
|
10228
10228
|
|
|
10229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10230
10230
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10231
10231
|
var figures2 = { replies: count2, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10232
10232
|
var responseTimes = strictObject({
|
|
@@ -10243,7 +10243,7 @@ var waitingChats = strictObject({
|
|
|
10243
10243
|
by_kind: strictObject({ private: count2, group: count2 })
|
|
10244
10244
|
});
|
|
10245
10245
|
|
|
10246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10246
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10247
10247
|
var retentionCohort = strictObject({
|
|
10248
10248
|
/** The first day of the joining day or week. */
|
|
10249
10249
|
cohort: text,
|
|
@@ -10291,7 +10291,7 @@ var retention = strictObject({
|
|
|
10291
10291
|
rows: array(retentionCohort)
|
|
10292
10292
|
});
|
|
10293
10293
|
|
|
10294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10295
10295
|
var savedSearch = strictObject({
|
|
10296
10296
|
id,
|
|
10297
10297
|
/** `null` for a run in the history. */
|
|
@@ -10308,7 +10308,7 @@ var savedSearch = strictObject({
|
|
|
10308
10308
|
});
|
|
10309
10309
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
10310
10310
|
|
|
10311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10312
10312
|
var sendAttempt = strictObject({
|
|
10313
10313
|
at: time,
|
|
10314
10314
|
profile: text,
|
|
@@ -10336,7 +10336,7 @@ var sendAttempt = strictObject({
|
|
|
10336
10336
|
error_code: optional(text)
|
|
10337
10337
|
});
|
|
10338
10338
|
|
|
10339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10340
10340
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10341
10341
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
10342
10342
|
var infoSchema = strictObject({
|
|
@@ -10544,7 +10544,7 @@ var storeRepair = union([
|
|
|
10544
10544
|
]);
|
|
10545
10545
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
10546
10546
|
|
|
10547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10548
10548
|
var range = strictObject({ from: number(), to: number() });
|
|
10549
10549
|
var storeChatStatus = strictObject({
|
|
10550
10550
|
chat_id: id,
|
|
@@ -10642,7 +10642,7 @@ var storeJobRetry = union([
|
|
|
10642
10642
|
]);
|
|
10643
10643
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10644
10644
|
|
|
10645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10645
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10646
10646
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10647
10647
|
var storeTable = strictObject({
|
|
10648
10648
|
name: text,
|
|
@@ -10651,7 +10651,7 @@ var storeTable = strictObject({
|
|
|
10651
10651
|
bytes: optional(nullable(count2))
|
|
10652
10652
|
});
|
|
10653
10653
|
|
|
10654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10655
10655
|
var tagTarget = variant("type", [
|
|
10656
10656
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10657
10657
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10682,7 +10682,7 @@ var automaticTags = strictObject({
|
|
|
10682
10682
|
dry_run: boolean()
|
|
10683
10683
|
});
|
|
10684
10684
|
|
|
10685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10686
10686
|
var tagging = strictObject({
|
|
10687
10687
|
tag: text,
|
|
10688
10688
|
type: picklist(TAG_TYPES),
|
|
@@ -10695,7 +10695,7 @@ var tagging = strictObject({
|
|
|
10695
10695
|
created_at: time
|
|
10696
10696
|
});
|
|
10697
10697
|
|
|
10698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10699
10699
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10700
10700
|
var taskPair = strictObject({
|
|
10701
10701
|
task: nullable(side),
|
|
@@ -10718,7 +10718,7 @@ var taskPair = strictObject({
|
|
|
10718
10718
|
created_at: time
|
|
10719
10719
|
});
|
|
10720
10720
|
|
|
10721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10722
10722
|
var nullableTime = nullable(time);
|
|
10723
10723
|
var link2 = strictObject({
|
|
10724
10724
|
id,
|
|
@@ -10888,7 +10888,7 @@ var taskReview = strictObject({
|
|
|
10888
10888
|
untrusted
|
|
10889
10889
|
});
|
|
10890
10890
|
|
|
10891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10892
10892
|
var topic = strictObject({
|
|
10893
10893
|
id,
|
|
10894
10894
|
title: text,
|
|
@@ -10902,7 +10902,7 @@ var topic = strictObject({
|
|
|
10902
10902
|
untrusted
|
|
10903
10903
|
});
|
|
10904
10904
|
|
|
10905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10906
10906
|
var ENTITIES = {
|
|
10907
10907
|
sync_progress: progress,
|
|
10908
10908
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -11184,7 +11184,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11184
11184
|
return [name, definition];
|
|
11185
11185
|
})), "entityDefinitions");
|
|
11186
11186
|
|
|
11187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11188
11188
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11189
11189
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11190
11190
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11218,7 +11218,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11218
11218
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11219
11219
|
}, "answerRow");
|
|
11220
11220
|
|
|
11221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11222
11222
|
import { join as join6 } from "node:path";
|
|
11223
11223
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11224
11224
|
var IMAGE_MODELS = [
|
|
@@ -11272,7 +11272,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11272
11272
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11273
11273
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11274
11274
|
|
|
11275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11276
11276
|
var STEPS2 = defineSteps([
|
|
11277
11277
|
...STEPS,
|
|
11278
11278
|
{
|
|
@@ -11544,7 +11544,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11544
11544
|
].join(" ");
|
|
11545
11545
|
}, "stepLine");
|
|
11546
11546
|
|
|
11547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11548
11548
|
var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
|
|
11549
11549
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11550
11550
|
var STATUS_SIGNAL_ROWS = {
|
|
@@ -11653,7 +11653,7 @@ var STATUS_ROWS = {
|
|
|
11653
11653
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11654
11654
|
};
|
|
11655
11655
|
|
|
11656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11657
11657
|
var TEXT_CHARS = 400;
|
|
11658
11658
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11659
11659
|
var messageRow = {
|
|
@@ -11989,7 +11989,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11989
11989
|
return lines.concat(footerOf(body)).join("\n");
|
|
11990
11990
|
}, "compactText");
|
|
11991
11991
|
|
|
11992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11992
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11993
11993
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11994
11994
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11995
11995
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12036,7 +12036,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12036
12036
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12037
12037
|
}, "largeAnswerSteps");
|
|
12038
12038
|
|
|
12039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12040
12040
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12041
12041
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12042
12042
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12050,7 +12050,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12050
12050
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12051
12051
|
}, "strip");
|
|
12052
12052
|
|
|
12053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12054
12054
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12055
12055
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12056
12056
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|