@wirecat/cli-memo 0.131.29 → 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-HXT2KPB6.js → all-profiles-PFCNICOF.js} +5 -5
- package/dist/bundle/{anthropic-C6H35WZP.js → anthropic-QLGMYWVZ.js} +3 -3
- package/dist/bundle/{app-server-Y6JGICRB.js → app-server-QD67I7V2.js} +35 -35
- package/dist/bundle/auto-MCSKUSPU.js +86 -0
- package/dist/bundle/{bun-K5H33WQK.js → bun-JRTUGKIJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-2NGQT7HH.js → bun-sqlite-HCZP2CNO.js} +2 -2
- package/dist/bundle/{chunk-P5FETWRW.js → chunk-2N74ZVI6.js} +1 -1
- package/dist/bundle/{chunk-NIEWG4OY.js → chunk-2XBDA3XF.js} +1 -1
- package/dist/bundle/{chunk-6BS3FHTC.js → chunk-3G44GDIZ.js} +5 -5
- package/dist/bundle/{chunk-W7T2JSKY.js → chunk-3OH5DJ6X.js} +1 -1
- package/dist/bundle/{chunk-SZUYOU6U.js → chunk-42I4XE3O.js} +20 -20
- package/dist/bundle/{chunk-IIM3FF5L.js → chunk-4D6BG353.js} +6 -6
- package/dist/bundle/{chunk-XHHSQ4FN.js → chunk-54DA525P.js} +14 -9
- package/dist/bundle/{chunk-7OYQFT5N.js → chunk-5BVGJBZX.js} +1 -1
- package/dist/bundle/{chunk-WFQPCCM2.js → chunk-5JTW3LNF.js} +1 -1
- package/dist/bundle/{chunk-KCQPEY6C.js → chunk-5YVU6PXP.js} +4 -4
- package/dist/bundle/{chunk-6IJ7XNK5.js → chunk-63JF4E76.js} +487 -257
- package/dist/bundle/{chunk-S67KFN67.js → chunk-7AMJFTJM.js} +1 -1
- package/dist/bundle/{chunk-2WGR73KL.js → chunk-7JWW4YEK.js} +8 -8
- package/dist/bundle/{chunk-KCAELZXB.js → chunk-7MKROF5R.js} +1 -1
- package/dist/bundle/{chunk-ZW44VJNY.js → chunk-A56GDMFH.js} +3 -3
- package/dist/bundle/{chunk-MJF6VGW4.js → chunk-ARVXP2UJ.js} +421 -360
- package/dist/bundle/{chunk-KIJ7UJHD.js → chunk-AZGQ7ABE.js} +215 -151
- package/dist/bundle/{chunk-SQ6OFUHW.js → chunk-CGI5EIIA.js} +20 -20
- package/dist/bundle/{chunk-RGPCN63U.js → chunk-CWHGN6HC.js} +4 -4
- package/dist/bundle/{chunk-QVFB2MVU.js → chunk-FE2SLKUO.js} +2 -2
- package/dist/bundle/{chunk-FUMGREBO.js → chunk-FGJKBQCP.js} +3 -3
- package/dist/bundle/{chunk-H3NMOWPB.js → chunk-GKZ65EOY.js} +198 -52
- package/dist/bundle/{chunk-M3VBB37S.js → chunk-GNY5YLNY.js} +2 -2
- package/dist/bundle/{chunk-46ACMQUU.js → chunk-H24AL555.js} +27 -27
- package/dist/bundle/{program-6E2SWPCU.js → chunk-HGXTDMKN.js} +1499 -9957
- package/dist/bundle/{chunk-7PH33JE4.js → chunk-HLJ6IUVF.js} +2 -2
- package/dist/bundle/{chunk-ERZLVE54.js → chunk-JTSYAO5V.js} +1038 -670
- package/dist/bundle/{chunk-HVD2CTPH.js → chunk-K3CJHSLS.js} +1 -1
- package/dist/bundle/{chunk-IQEEOXBV.js → chunk-K3TUIQZ4.js} +51 -50
- package/dist/bundle/{chunk-ERRC42BB.js → chunk-K6ZWFP2X.js} +1 -1
- package/dist/bundle/{chunk-PUQYCAEP.js → chunk-L34KLQIU.js} +9 -9
- package/dist/bundle/{chunk-GVYOICNB.js → chunk-MVFINUJS.js} +5 -5
- package/dist/bundle/{chunk-XNV2JTJ4.js → chunk-NDJUEFV2.js} +1 -1
- package/dist/bundle/{chunk-H6JNEHUC.js → chunk-NG26I3JV.js} +1 -1
- package/dist/bundle/{chunk-YLVSSQJP.js → chunk-OS55OQ74.js} +5 -5
- package/dist/bundle/{chunk-UZUNSDGN.js → chunk-PG4KORTB.js} +1 -1
- package/dist/bundle/{chunk-65YDJ3Z4.js → chunk-Q2ZIIXA2.js} +2 -2
- package/dist/bundle/{chunk-G62DN6QY.js → chunk-Q3ZB4JGL.js} +2 -2
- package/dist/bundle/{chunk-DXCBZT4T.js → chunk-QUQOKNAX.js} +12 -12
- package/dist/bundle/{chunk-MPNDEGMC.js → chunk-QWA3MTHH.js} +7 -7
- package/dist/bundle/{chunk-KJEJOWJY.js → chunk-REUXOW2O.js} +2 -2
- package/dist/bundle/{chunk-2O2RWKUT.js → chunk-RO4YPDGF.js} +1 -1
- package/dist/bundle/{chunk-Q63L5WS2.js → chunk-ROT4V3ZT.js} +3 -3
- package/dist/bundle/{chunk-R7XIZMM5.js → chunk-RRDXT63A.js} +1 -1
- package/dist/bundle/{chunk-6NGLATFQ.js → chunk-S3FQQRUM.js} +4 -4
- package/dist/bundle/{chunk-5ZWRS2JY.js → chunk-TFEXCHMC.js} +5 -5
- package/dist/bundle/{chunk-7ACGYEGV.js → chunk-URPBRYVA.js} +4 -4
- package/dist/bundle/{chunk-HBKYPSX3.js → chunk-USMKR34T.js} +11 -11
- package/dist/bundle/{chunk-BWQMZNDC.js → chunk-UXA37BVT.js} +4 -4
- package/dist/bundle/{chunk-FJXFU7NN.js → chunk-W4GV42D5.js} +2 -2
- package/dist/bundle/{chunk-5FEJKSQJ.js → chunk-WGX6AEUP.js} +3 -3
- package/dist/bundle/{chunk-XUHVJGIL.js → chunk-WP3J2FNH.js} +10 -10
- package/dist/bundle/{chunk-WI7KTIMF.js → chunk-X6HXGL5E.js} +7 -7
- package/dist/bundle/{chunk-6YDPWVDH.js → chunk-XUMYVRBZ.js} +1 -1
- package/dist/bundle/{chunk-FBSY3DVN.js → chunk-XWIRWBB5.js} +1 -1
- package/dist/bundle/{chunk-YZKHWANJ.js → chunk-ZB5ZZWFR.js} +4 -4
- package/dist/bundle/{chunk-HAC3CWPB.js → chunk-ZHDOELM7.js} +7 -7
- package/dist/bundle/{command-contract-AFUDV7JM.js → command-contract-DFXPO5Q7.js} +11 -11
- package/dist/bundle/{decode-P5SEK56D.js → decode-7NGILAKQ.js} +2 -2
- package/dist/bundle/{echarts-CLHJYMDK.js → echarts-JERQI2HW.js} +2 -2
- package/dist/bundle/{embed-X6H74LGP.js → embed-3AO7KZXC.js} +3 -3
- package/dist/bundle/{embedder-H5SWOSEL.js → embedder-WRQ7TDDB.js} +6 -6
- package/dist/bundle/{entry-66SEZMKI.js → entry-IBRPU7NO.js} +4 -4
- package/dist/bundle/failure-QBQMSEYX.js +66 -0
- package/dist/bundle/{first-run-S7EW77F6.js → first-run-IJOREEQM.js} +5 -5
- package/dist/bundle/{first-screen-6GA36WQT.js → first-screen-KYNY6ELY.js} +12 -12
- package/dist/bundle/{instructions-IUUSY6DO.js → instructions-BET2PLGV.js} +1 -1
- package/dist/bundle/{mcp-7SDVTKCE.js → mcp-NUBFFPGF.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-6T5LUBAE.js → node-NCSG7QX5.js} +2 -2
- package/dist/bundle/{node-sqlite-ZTDWPRJU.js → node-sqlite-QL4M5RIK.js} +3 -3
- package/dist/bundle/{oauth-G4TCULLQ.js → oauth-BGMMED35.js} +4 -4
- package/dist/bundle/{open-DRJ24C7U.js → open-YN3KJMMQ.js} +2 -2
- package/dist/bundle/{openai-3DSR7Z4Z.js → openai-CTZUSKUS.js} +7 -7
- package/dist/bundle/{process-IPM3OJDN.js → process-DW237TK4.js} +1 -1
- package/dist/bundle/program-Q7VXEIJ7.js +9171 -0
- package/dist/bundle/{prompt-XKR6EQAT.js → prompt-EZCCUYCS.js} +2 -2
- package/dist/bundle/{recognize-GZXAXTEH.js → recognize-XP3LHQD6.js} +1 -1
- package/dist/bundle/{remote-Y5ML6KR4.js → remote-RLR5ZKKT.js} +4 -4
- package/dist/bundle/{rerank-FNNXUTMN.js → rerank-P7LE52AC.js} +4 -4
- package/dist/bundle/{serve-BGU5ERNX.js → serve-UA7RQDNK.js} +6 -6
- package/dist/bundle/server-N6L3LGQO.js +48 -0
- package/dist/bundle/{server-3L4FHYFM.js → server-NWCYWOPZ.js} +50 -50
- package/dist/bundle/server-XU362INX.js +61 -0
- package/dist/bundle/{state-WAMVO34N.js → state-72Y55LBR.js} +3 -3
- package/dist/bundle/{store-PVY4UTTR.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/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +1 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +6 -0
- package/dist/examples.js.map +1 -1
- package/dist/finance/orders-command.d.ts +12 -0
- package/dist/finance/orders-command.d.ts.map +1 -0
- package/dist/finance/orders-command.js +92 -0
- package/dist/finance/orders-command.js.map +1 -0
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +7 -2
- package/dist/mail/findings-command.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/program.d.ts.map +1 -1
- package/dist/program.js +30 -0
- package/dist/program.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +1 -0
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +1 -0
- package/dist/review/review.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 +40 -6
- package/dist/bundle/auto-A2Y225YZ.js +0 -86
- package/dist/bundle/chunk-KFSZAV5L.js +0 -452
- package/dist/bundle/failure-PNTFMNKK.js +0 -66
- package/dist/bundle/server-5F3GJPG3.js +0 -48
- package/dist/bundle/server-JX5TWAAW.js +0 -61
- package/dist/bundle/store-maintenance-command-RGZJWNE2.js +0 -48
- package/dist/bundle/update-VJLZT6ER.js +0 -69
- /package/dist/bundle/{chunk-XGTIABPY.js → chunk-QPPNLE7G.js} +0 -0
|
@@ -10,28 +10,32 @@ 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,
|
|
28
28
|
FIELD_TYPES,
|
|
29
|
+
INVOICE_DIRECTIONS,
|
|
29
30
|
LINK_KINDS,
|
|
30
31
|
LINK_SOURCES,
|
|
31
32
|
MEETING_RESULT_ENTITIES,
|
|
32
33
|
MEMORY_KINDS,
|
|
33
34
|
MEMORY_SCOPES,
|
|
34
35
|
MEMORY_STATUSES,
|
|
36
|
+
MONEY_DIRECTIONS,
|
|
37
|
+
ORDER_PURPOSES,
|
|
38
|
+
ORDER_STATUSES,
|
|
35
39
|
PRIORITY_LABELS,
|
|
36
40
|
QUERY_BACKENDS,
|
|
37
41
|
RELATION_KINDS,
|
|
@@ -57,17 +61,17 @@ import {
|
|
|
57
61
|
meetingStats,
|
|
58
62
|
meetingSummary,
|
|
59
63
|
meetingTranscript
|
|
60
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-GKZ65EOY.js";
|
|
61
65
|
import {
|
|
62
66
|
sharedConfigPath
|
|
63
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-URPBRYVA.js";
|
|
64
68
|
import {
|
|
65
69
|
filesPresent,
|
|
66
70
|
sharedModelsDirectory
|
|
67
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-FGJKBQCP.js";
|
|
68
72
|
import {
|
|
69
73
|
storePath
|
|
70
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-RRDXT63A.js";
|
|
71
75
|
import {
|
|
72
76
|
configFilePath,
|
|
73
77
|
createRecordLog,
|
|
@@ -3932,7 +3936,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3932
3936
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3933
3937
|
}), "commandsDocument");
|
|
3934
3938
|
|
|
3935
|
-
// 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
|
|
3936
3940
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3937
3941
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3938
3942
|
messageId: message2.id,
|
|
@@ -4038,7 +4042,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4038
4042
|
}, "guardedWrite");
|
|
4039
4043
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4040
4044
|
|
|
4041
|
-
// 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
|
|
4042
4046
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4043
4047
|
try {
|
|
4044
4048
|
return work();
|
|
@@ -4065,7 +4069,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4065
4069
|
return projectFields(value, fields);
|
|
4066
4070
|
}), "projectFields");
|
|
4067
4071
|
|
|
4068
|
-
// 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
|
|
4069
4073
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4070
4074
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4071
4075
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4087,7 +4091,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4087
4091
|
}
|
|
4088
4092
|
}, "withAbort");
|
|
4089
4093
|
|
|
4090
|
-
// 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
|
|
4091
4095
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4092
4096
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4093
4097
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4483,7 +4487,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4483
4487
|
}
|
|
4484
4488
|
}, "assertRetentionEvidenceRead");
|
|
4485
4489
|
|
|
4486
|
-
// 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
|
|
4487
4491
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4488
4492
|
import { join } from "node:path";
|
|
4489
4493
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4505,12 +4509,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4505
4509
|
}, "profilesWithAccounts");
|
|
4506
4510
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4507
4511
|
|
|
4508
|
-
// 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
|
|
4509
4513
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4510
4514
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4511
4515
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4512
4516
|
|
|
4513
|
-
// 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
|
|
4514
4518
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4515
4519
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4516
4520
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4546,7 +4550,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4546
4550
|
return value;
|
|
4547
4551
|
}, "atDetail");
|
|
4548
4552
|
|
|
4549
|
-
// 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
|
|
4550
4554
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4551
4555
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4552
4556
|
if (other)
|
|
@@ -4610,7 +4614,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4610
4614
|
}, "warn")
|
|
4611
4615
|
}), "silence");
|
|
4612
4616
|
|
|
4613
|
-
// 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
|
|
4614
4618
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4615
4619
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4616
4620
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4644,7 +4648,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4644
4648
|
cache: "cache.answered"
|
|
4645
4649
|
};
|
|
4646
4650
|
|
|
4647
|
-
// 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
|
|
4648
4652
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4649
4653
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4650
4654
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4657,13 +4661,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4657
4661
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4658
4662
|
}), "snakeLogger");
|
|
4659
4663
|
|
|
4660
|
-
// 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
|
|
4661
4665
|
import { randomUUID } from "node:crypto";
|
|
4662
4666
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4663
4667
|
import { userInfo } from "node:os";
|
|
4664
4668
|
import { join as join2, sep } from "node:path";
|
|
4665
4669
|
|
|
4666
|
-
// 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
|
|
4667
4671
|
var diagnostic = {
|
|
4668
4672
|
event: true,
|
|
4669
4673
|
operation: true,
|
|
@@ -4733,7 +4737,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4733
4737
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4734
4738
|
].sort();
|
|
4735
4739
|
|
|
4736
|
-
// 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
|
|
4737
4741
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4738
4742
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4739
4743
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5086,7 +5090,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5086
5090
|
};
|
|
5087
5091
|
}, "metadataOf");
|
|
5088
5092
|
|
|
5089
|
-
// 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
|
|
5090
5094
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5091
5095
|
import { randomBytes } from "node:crypto";
|
|
5092
5096
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5121,7 +5125,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5121
5125
|
var attempts = new AsyncLocalStorage2();
|
|
5122
5126
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5123
5127
|
|
|
5124
|
-
// 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
|
|
5125
5129
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5126
5130
|
const recording = startRecording(options);
|
|
5127
5131
|
try {
|
|
@@ -5306,7 +5310,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5306
5310
|
return void 0;
|
|
5307
5311
|
}, "partialOutcome");
|
|
5308
5312
|
|
|
5309
|
-
// 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
|
|
5310
5314
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5311
5315
|
if (ms2 === void 0)
|
|
5312
5316
|
return body();
|
|
@@ -5332,7 +5336,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5332
5336
|
}
|
|
5333
5337
|
}, "withDeadline");
|
|
5334
5338
|
|
|
5335
|
-
// 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
|
|
5336
5340
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5337
5341
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5338
5342
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5374,10 +5378,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5374
5378
|
return root;
|
|
5375
5379
|
}, "rootOf");
|
|
5376
5380
|
|
|
5377
|
-
// 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
|
|
5378
5382
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5379
5383
|
|
|
5380
|
-
// 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
|
|
5381
5385
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5382
5386
|
try {
|
|
5383
5387
|
const url2 = new URL(value);
|
|
@@ -5387,7 +5391,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5387
5391
|
}
|
|
5388
5392
|
}, "endpoint");
|
|
5389
5393
|
|
|
5390
|
-
// 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
|
|
5391
5395
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5392
5396
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5393
5397
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5456,7 +5460,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5456
5460
|
};
|
|
5457
5461
|
}, "modelTarget");
|
|
5458
5462
|
|
|
5459
|
-
// 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
|
|
5460
5464
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5461
5465
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5462
5466
|
var AI_FIELDS = {
|
|
@@ -5500,7 +5504,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5500
5504
|
};
|
|
5501
5505
|
}, "resolveAISettings");
|
|
5502
5506
|
|
|
5503
|
-
// 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
|
|
5504
5508
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5505
5509
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5506
5510
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5514,7 +5518,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5514
5518
|
return ms2;
|
|
5515
5519
|
}, "parseDuration");
|
|
5516
5520
|
|
|
5517
|
-
// 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
|
|
5518
5522
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5519
5523
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5520
5524
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5673,7 +5677,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5673
5677
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5674
5678
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5675
5679
|
|
|
5676
|
-
// 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
|
|
5677
5681
|
var HISTORY_MAX_DAYS = 1095;
|
|
5678
5682
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5679
5683
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5720,7 +5724,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5720
5724
|
return { batch: { ...batch, messages }, skipped };
|
|
5721
5725
|
}, "limitBatch");
|
|
5722
5726
|
|
|
5723
|
-
// 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
|
|
5724
5728
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5725
5729
|
import { join as join3 } from "node:path";
|
|
5726
5730
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5809,10 +5813,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5809
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));
|
|
5810
5814
|
}, "registryProfiles");
|
|
5811
5815
|
|
|
5812
|
-
// 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
|
|
5813
5817
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5814
5818
|
|
|
5815
|
-
// 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
|
|
5816
5820
|
var REPAIR_WORDS = {
|
|
5817
5821
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5818
5822
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6053,7 +6057,7 @@ ${parts.join(",\n")}
|
|
|
6053
6057
|
${indent}${close}`;
|
|
6054
6058
|
}, "serialise");
|
|
6055
6059
|
|
|
6056
|
-
// 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
|
|
6057
6061
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6058
6062
|
var SECTIONS = ["personal", "bot"];
|
|
6059
6063
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6348,7 +6352,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6348
6352
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6349
6353
|
}, "readConfigFile");
|
|
6350
6354
|
|
|
6351
|
-
// 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
|
|
6352
6356
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6353
6357
|
import { dirname, join as join4 } from "node:path";
|
|
6354
6358
|
var DEFAULT_CONFIG = {
|
|
@@ -6377,7 +6381,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6377
6381
|
}
|
|
6378
6382
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6379
6383
|
|
|
6380
|
-
// 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
|
|
6381
6385
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6382
6386
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6383
6387
|
const path2 = key.split(".");
|
|
@@ -6410,7 +6414,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6410
6414
|
};
|
|
6411
6415
|
}), "settingRows");
|
|
6412
6416
|
|
|
6413
|
-
// 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
|
|
6414
6418
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6415
6419
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6416
6420
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6920,7 +6924,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6920
6924
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6921
6925
|
}, "given");
|
|
6922
6926
|
|
|
6923
|
-
// 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
|
|
6924
6928
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6925
6929
|
const slot = environmentOf(command).exit;
|
|
6926
6930
|
if (slot)
|
|
@@ -7033,7 +7037,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7033
7037
|
return words.join(" ");
|
|
7034
7038
|
}, "commandPath");
|
|
7035
7039
|
|
|
7036
|
-
// 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
|
|
7037
7041
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7038
7042
|
var FETCH = { remote: "read", local: "write" };
|
|
7039
7043
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7140,7 +7144,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7140
7144
|
throw readOnlyRefusal(lock, what);
|
|
7141
7145
|
}, "refuseUnderReadOnly");
|
|
7142
7146
|
|
|
7143
|
-
// 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
|
|
7144
7148
|
var text = string();
|
|
7145
7149
|
var id = pipe(string(), minLength(1));
|
|
7146
7150
|
var time = isoTime;
|
|
@@ -7164,7 +7168,7 @@ var author = strictObject({
|
|
|
7164
7168
|
name: nullable(text)
|
|
7165
7169
|
});
|
|
7166
7170
|
|
|
7167
|
-
// 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
|
|
7168
7172
|
var account = strictObject({
|
|
7169
7173
|
provider: text,
|
|
7170
7174
|
id,
|
|
@@ -7174,7 +7178,7 @@ var account = strictObject({
|
|
|
7174
7178
|
scope: optional(picklist(["personal", "work"]))
|
|
7175
7179
|
});
|
|
7176
7180
|
|
|
7177
|
-
// 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
|
|
7178
7182
|
var accountSession = strictObject({
|
|
7179
7183
|
current: boolean(),
|
|
7180
7184
|
client: nullable(text),
|
|
@@ -7184,7 +7188,7 @@ var accountSession = strictObject({
|
|
|
7184
7188
|
created_at: optional(nullable(time))
|
|
7185
7189
|
});
|
|
7186
7190
|
|
|
7187
|
-
// 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
|
|
7188
7192
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7189
7193
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7190
7194
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7202,7 +7206,7 @@ var accountPrivacy = strictObject({
|
|
|
7202
7206
|
});
|
|
7203
7207
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7204
7208
|
|
|
7205
|
-
// 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
|
|
7206
7210
|
var accountProfile = strictObject({
|
|
7207
7211
|
profile: id,
|
|
7208
7212
|
current: boolean(),
|
|
@@ -7214,7 +7218,7 @@ var accountProfile = strictObject({
|
|
|
7214
7218
|
bot: optional(literal(true))
|
|
7215
7219
|
});
|
|
7216
7220
|
|
|
7217
|
-
// 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
|
|
7218
7222
|
var milliseconds = pipe(number(), minValue(0));
|
|
7219
7223
|
var counterReading = strictObject({
|
|
7220
7224
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7226,7 +7230,7 @@ var counterReading = strictObject({
|
|
|
7226
7230
|
});
|
|
7227
7231
|
var selection = record(string(), unknown());
|
|
7228
7232
|
|
|
7229
|
-
// 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
|
|
7230
7234
|
var adminRow = strictObject({
|
|
7231
7235
|
ref: reference,
|
|
7232
7236
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7279,7 +7283,7 @@ var adminReport = strictObject({
|
|
|
7279
7283
|
rows: array(adminRow)
|
|
7280
7284
|
});
|
|
7281
7285
|
|
|
7282
|
-
// 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
|
|
7283
7287
|
var closeSuggestion = strictObject({
|
|
7284
7288
|
as: picklist(["done", "dismissed"]),
|
|
7285
7289
|
/** The agent's name. */
|
|
@@ -7337,7 +7341,7 @@ var task = strictObject({
|
|
|
7337
7341
|
updated_at: optional(time)
|
|
7338
7342
|
});
|
|
7339
7343
|
|
|
7340
|
-
// 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
|
|
7341
7345
|
var agendaChat = strictObject({
|
|
7342
7346
|
chat: reference,
|
|
7343
7347
|
title: nullable(text),
|
|
@@ -7407,11 +7411,11 @@ var agenda = strictObject({
|
|
|
7407
7411
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7408
7412
|
});
|
|
7409
7413
|
|
|
7410
|
-
// 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
|
|
7411
7415
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7412
7416
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7413
7417
|
|
|
7414
|
-
// 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
|
|
7415
7419
|
var attachment = strictObject({
|
|
7416
7420
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7417
7421
|
message: optional(reference),
|
|
@@ -7449,7 +7453,7 @@ var attachment = strictObject({
|
|
|
7449
7453
|
});
|
|
7450
7454
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
7451
7455
|
|
|
7452
|
-
// 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
|
|
7453
7457
|
var actionableError = objectWithRest({
|
|
7454
7458
|
code: text,
|
|
7455
7459
|
message: text,
|
|
@@ -7466,7 +7470,7 @@ var batchResult = strictObject({
|
|
|
7466
7470
|
max_error_percent: count2
|
|
7467
7471
|
});
|
|
7468
7472
|
|
|
7469
|
-
// 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
|
|
7470
7474
|
var extractionItem = strictObject({
|
|
7471
7475
|
ref: reference,
|
|
7472
7476
|
attachment: count2,
|
|
@@ -7499,7 +7503,7 @@ var extractionReport = strictObject({
|
|
|
7499
7503
|
cursor: optional(text)
|
|
7500
7504
|
});
|
|
7501
7505
|
|
|
7502
|
-
// 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
|
|
7503
7507
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7504
7508
|
var attachmentBytes = strictObject({
|
|
7505
7509
|
ref: reference,
|
|
@@ -7527,7 +7531,7 @@ var attachmentTextChange = strictObject({
|
|
|
7527
7531
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7528
7532
|
});
|
|
7529
7533
|
|
|
7530
|
-
// 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
|
|
7531
7535
|
var chart = strictObject({
|
|
7532
7536
|
version: literal(1),
|
|
7533
7537
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7542,7 +7546,7 @@ var chart = strictObject({
|
|
|
7542
7546
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7543
7547
|
});
|
|
7544
7548
|
|
|
7545
|
-
// 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
|
|
7546
7550
|
var member = strictObject({
|
|
7547
7551
|
id,
|
|
7548
7552
|
name: nullable(text),
|
|
@@ -7565,7 +7569,7 @@ var member = strictObject({
|
|
|
7565
7569
|
check: optional(record(string(), unknown()))
|
|
7566
7570
|
});
|
|
7567
7571
|
|
|
7568
|
-
// 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
|
|
7569
7573
|
var setting = optional(nullable(boolean()));
|
|
7570
7574
|
var chat = strictObject({
|
|
7571
7575
|
ref: reference,
|
|
@@ -7606,7 +7610,7 @@ var chat = strictObject({
|
|
|
7606
7610
|
members: optional(array(member))
|
|
7607
7611
|
});
|
|
7608
7612
|
|
|
7609
|
-
// 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
|
|
7610
7614
|
var named2 = strictObject({
|
|
7611
7615
|
id,
|
|
7612
7616
|
title: nullable(text),
|
|
@@ -7629,7 +7633,7 @@ var folder = strictObject({
|
|
|
7629
7633
|
excluded_chats: optional(array(named2))
|
|
7630
7634
|
});
|
|
7631
7635
|
|
|
7632
|
-
// 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
|
|
7633
7637
|
var inviteLink = strictObject({
|
|
7634
7638
|
link: text,
|
|
7635
7639
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7645,7 +7649,7 @@ var inviteLink = strictObject({
|
|
|
7645
7649
|
joined_count: optional(count2)
|
|
7646
7650
|
});
|
|
7647
7651
|
|
|
7648
|
-
// 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
|
|
7649
7653
|
var operated = { operation_id: id, chat_id: id };
|
|
7650
7654
|
var group = strictObject({
|
|
7651
7655
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7725,7 +7729,7 @@ var chatFolderOrder = strictObject({
|
|
|
7725
7729
|
folders: array(strictObject({ id, title: text }))
|
|
7726
7730
|
});
|
|
7727
7731
|
|
|
7728
|
-
// 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
|
|
7729
7733
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7730
7734
|
var chatRemoval = strictObject(operated2);
|
|
7731
7735
|
var chatMuting = strictObject({
|
|
@@ -7736,7 +7740,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7736
7740
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7737
7741
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7738
7742
|
|
|
7739
|
-
// 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
|
|
7740
7744
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7741
7745
|
var chatEvent = strictObject({
|
|
7742
7746
|
chat_id: id,
|
|
@@ -7753,7 +7757,7 @@ var chatEvent = strictObject({
|
|
|
7753
7757
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7754
7758
|
});
|
|
7755
7759
|
|
|
7756
|
-
// 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
|
|
7757
7761
|
var chatMetadata = strictObject({
|
|
7758
7762
|
chat_id: id,
|
|
7759
7763
|
title: nullable(text),
|
|
@@ -7768,7 +7772,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7768
7772
|
has_more: boolean()
|
|
7769
7773
|
});
|
|
7770
7774
|
|
|
7771
|
-
// 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
|
|
7772
7776
|
var action = picklist(["report", "delete", "remove"]);
|
|
7773
7777
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7774
7778
|
var chatRules = strictObject({
|
|
@@ -7805,7 +7809,7 @@ var chatModeration = strictObject({
|
|
|
7805
7809
|
}))
|
|
7806
7810
|
});
|
|
7807
7811
|
|
|
7808
|
-
// 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
|
|
7809
7813
|
var optionalCount = optional(count2);
|
|
7810
7814
|
var minutes = nullable(number());
|
|
7811
7815
|
var chatStats = strictObject({
|
|
@@ -7879,7 +7883,7 @@ var taskStats = strictObject({
|
|
|
7879
7883
|
}))
|
|
7880
7884
|
});
|
|
7881
7885
|
|
|
7882
|
-
// 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
|
|
7883
7887
|
var memberCount = strictObject({
|
|
7884
7888
|
day: pipe(text, isoDate()),
|
|
7885
7889
|
participants: nullable(count2),
|
|
@@ -7902,7 +7906,7 @@ var chatTracking = strictObject({
|
|
|
7902
7906
|
tracked: boolean()
|
|
7903
7907
|
});
|
|
7904
7908
|
|
|
7905
|
-
// 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
|
|
7906
7910
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7907
7911
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7908
7912
|
var profileFields = {
|
|
@@ -7940,7 +7944,7 @@ var profileFields = {
|
|
|
7940
7944
|
}))
|
|
7941
7945
|
};
|
|
7942
7946
|
|
|
7943
|
-
// 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
|
|
7944
7948
|
var contact = strictObject({
|
|
7945
7949
|
ref: reference,
|
|
7946
7950
|
id,
|
|
@@ -7971,7 +7975,7 @@ var contact = strictObject({
|
|
|
7971
7975
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7972
7976
|
});
|
|
7973
7977
|
|
|
7974
|
-
// 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
|
|
7975
7979
|
var WEIGHTS = {
|
|
7976
7980
|
bot: 3,
|
|
7977
7981
|
scam: 3,
|
|
@@ -7996,7 +8000,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7996
8000
|
var DIGITS = /\d{5,}/;
|
|
7997
8001
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7998
8002
|
|
|
7999
|
-
// 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
|
|
8000
8004
|
var linkedIdentity = strictObject({
|
|
8001
8005
|
provider: text,
|
|
8002
8006
|
id,
|
|
@@ -8037,7 +8041,7 @@ var contactCheck = strictObject({
|
|
|
8037
8041
|
checked_at: time
|
|
8038
8042
|
});
|
|
8039
8043
|
|
|
8040
|
-
// 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
|
|
8041
8045
|
var quoted = strictObject({
|
|
8042
8046
|
id,
|
|
8043
8047
|
sender_id: nullable(id),
|
|
@@ -8156,7 +8160,7 @@ var message = strictObject({
|
|
|
8156
8160
|
provider_metadata: providerMetadata
|
|
8157
8161
|
});
|
|
8158
8162
|
|
|
8159
|
-
// 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
|
|
8160
8164
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8161
8165
|
var contextMessage = strictObject({
|
|
8162
8166
|
locator: reference,
|
|
@@ -8354,7 +8358,7 @@ var contactPreparation = strictObject({
|
|
|
8354
8358
|
})
|
|
8355
8359
|
});
|
|
8356
8360
|
|
|
8357
|
-
// 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
|
|
8358
8362
|
var contactNote = strictObject({
|
|
8359
8363
|
id,
|
|
8360
8364
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8366,13 +8370,13 @@ var contactNote = strictObject({
|
|
|
8366
8370
|
updated_at: time
|
|
8367
8371
|
});
|
|
8368
8372
|
|
|
8369
|
-
// 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
|
|
8370
8374
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8371
8375
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8372
8376
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8373
8377
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
8374
8378
|
|
|
8375
|
-
// 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
|
|
8376
8380
|
var conversation = strictObject({
|
|
8377
8381
|
id,
|
|
8378
8382
|
chat: reference,
|
|
@@ -8387,7 +8391,7 @@ var conversation = strictObject({
|
|
|
8387
8391
|
rules_version: count2
|
|
8388
8392
|
});
|
|
8389
8393
|
|
|
8390
|
-
// 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
|
|
8391
8395
|
var conversationBuild = strictObject({
|
|
8392
8396
|
chat: id,
|
|
8393
8397
|
messages: count2,
|
|
@@ -8412,7 +8416,7 @@ var catchUpPreparation = strictObject({
|
|
|
8412
8416
|
prepared: optional(conversationPreparation)
|
|
8413
8417
|
});
|
|
8414
8418
|
|
|
8415
|
-
// 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
|
|
8416
8420
|
var conversationDetails = union([
|
|
8417
8421
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8418
8422
|
message
|
|
@@ -8502,7 +8506,7 @@ var conversationHit = strictObject({
|
|
|
8502
8506
|
stale: boolean()
|
|
8503
8507
|
});
|
|
8504
8508
|
|
|
8505
|
-
// 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
|
|
8506
8510
|
var counters = strictObject({
|
|
8507
8511
|
cutoff: time,
|
|
8508
8512
|
max_age_ms: milliseconds,
|
|
@@ -8532,7 +8536,7 @@ var counterRefresh = strictObject({
|
|
|
8532
8536
|
complete: optional(boolean())
|
|
8533
8537
|
});
|
|
8534
8538
|
|
|
8535
|
-
// 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
|
|
8536
8540
|
var document = strictObject({
|
|
8537
8541
|
ref: reference,
|
|
8538
8542
|
id,
|
|
@@ -8547,7 +8551,7 @@ var document = strictObject({
|
|
|
8547
8551
|
owners: optional(array(text))
|
|
8548
8552
|
});
|
|
8549
8553
|
|
|
8550
|
-
// 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
|
|
8551
8555
|
var documentLink = strictObject({
|
|
8552
8556
|
ref: reference,
|
|
8553
8557
|
url: text,
|
|
@@ -8558,7 +8562,7 @@ var documentLink = strictObject({
|
|
|
8558
8562
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8559
8563
|
});
|
|
8560
8564
|
|
|
8561
|
-
// 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
|
|
8562
8566
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8563
8567
|
var contribution = strictObject({
|
|
8564
8568
|
message: evidenceMessage,
|
|
@@ -8588,7 +8592,7 @@ var retentionStay = strictObject({
|
|
|
8588
8592
|
});
|
|
8589
8593
|
var evidence = union([contribution, retentionStay]);
|
|
8590
8594
|
|
|
8591
|
-
// 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
|
|
8592
8596
|
var fact = strictObject({
|
|
8593
8597
|
ref: reference,
|
|
8594
8598
|
id,
|
|
@@ -8618,7 +8622,7 @@ var fact = strictObject({
|
|
|
8618
8622
|
updated_at: time
|
|
8619
8623
|
});
|
|
8620
8624
|
|
|
8621
|
-
// 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
|
|
8622
8626
|
var hit = strictObject({
|
|
8623
8627
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8624
8628
|
ref: reference,
|
|
@@ -8656,7 +8660,7 @@ var hit = strictObject({
|
|
|
8656
8660
|
untrusted
|
|
8657
8661
|
});
|
|
8658
8662
|
|
|
8659
|
-
// 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
|
|
8660
8664
|
var identity = strictObject({
|
|
8661
8665
|
ref: reference,
|
|
8662
8666
|
provider: text,
|
|
@@ -8669,7 +8673,7 @@ var identity = strictObject({
|
|
|
8669
8673
|
person: optional(nullable(reference))
|
|
8670
8674
|
});
|
|
8671
8675
|
|
|
8672
|
-
// 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
|
|
8673
8677
|
var imageEmbedding = strictObject({
|
|
8674
8678
|
model: text,
|
|
8675
8679
|
embedded: count2,
|
|
@@ -8678,13 +8682,13 @@ var imageEmbedding = strictObject({
|
|
|
8678
8682
|
more: boolean()
|
|
8679
8683
|
});
|
|
8680
8684
|
|
|
8681
|
-
// 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
|
|
8682
8686
|
import { spawn } from "node:child_process";
|
|
8683
8687
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8684
8688
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8685
8689
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8686
8690
|
|
|
8687
|
-
// 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
|
|
8688
8692
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8689
8693
|
const total = input.total ?? null;
|
|
8690
8694
|
const updated = input.updatedAt ?? null;
|
|
@@ -8700,7 +8704,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8700
8704
|
};
|
|
8701
8705
|
}, "progressOf");
|
|
8702
8706
|
|
|
8703
|
-
// 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
|
|
8704
8708
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8705
8709
|
const run = currentRun();
|
|
8706
8710
|
const trace = traceId ?? run.traceId;
|
|
@@ -8714,7 +8718,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8714
8718
|
}));
|
|
8715
8719
|
}, "recordLogFor");
|
|
8716
8720
|
|
|
8717
|
-
// 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
|
|
8718
8722
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8719
8723
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8720
8724
|
const out = openSync(log, "a", 384);
|
|
@@ -8869,7 +8873,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8869
8873
|
return { job: id6, pid, chat: input.chat, log };
|
|
8870
8874
|
}, "startArchiveJob");
|
|
8871
8875
|
|
|
8872
|
-
// 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
|
|
8873
8877
|
var problem = strictObject({ code: text, message: text });
|
|
8874
8878
|
var job = strictObject({
|
|
8875
8879
|
id,
|
|
@@ -8892,7 +8896,7 @@ var job = strictObject({
|
|
|
8892
8896
|
error: optional(problem)
|
|
8893
8897
|
});
|
|
8894
8898
|
|
|
8895
|
-
// 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
|
|
8896
8900
|
var joinRequest = strictObject({
|
|
8897
8901
|
person_id: id,
|
|
8898
8902
|
name: nullable(text),
|
|
@@ -8903,7 +8907,7 @@ var joinRequest = strictObject({
|
|
|
8903
8907
|
about: optional(text)
|
|
8904
8908
|
});
|
|
8905
8909
|
|
|
8906
|
-
// 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
|
|
8907
8911
|
var organization = strictObject({
|
|
8908
8912
|
id,
|
|
8909
8913
|
ref: reference,
|
|
@@ -8933,7 +8937,7 @@ var reminder = strictObject({
|
|
|
8933
8937
|
receipt: nullable(text)
|
|
8934
8938
|
});
|
|
8935
8939
|
|
|
8936
|
-
// 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
|
|
8937
8941
|
var botProfile = strictObject({
|
|
8938
8942
|
name: text,
|
|
8939
8943
|
token: text,
|
|
@@ -9001,7 +9005,7 @@ var stickerInventory = strictObject({
|
|
|
9001
9005
|
url: optional(nullable(text))
|
|
9002
9006
|
});
|
|
9003
9007
|
|
|
9004
|
-
// 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
|
|
9005
9009
|
var pollVote = strictObject({
|
|
9006
9010
|
person_id: id,
|
|
9007
9011
|
name: nullable(text),
|
|
@@ -9011,7 +9015,7 @@ var pollVote = strictObject({
|
|
|
9011
9015
|
voted_at: time
|
|
9012
9016
|
});
|
|
9013
9017
|
|
|
9014
|
-
// 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
|
|
9015
9019
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9016
9020
|
var observation = strictObject({
|
|
9017
9021
|
value: pipe(number(), minValue(0)),
|
|
@@ -9053,7 +9057,7 @@ var serveSummary = strictObject({
|
|
|
9053
9057
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
9054
9058
|
});
|
|
9055
9059
|
|
|
9056
|
-
// 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
|
|
9057
9061
|
var mailCounts = strictObject({
|
|
9058
9062
|
by: picklist(["day", "week", "sender"]),
|
|
9059
9063
|
received: count2,
|
|
@@ -9068,7 +9072,7 @@ var mailCounts = strictObject({
|
|
|
9068
9072
|
}))
|
|
9069
9073
|
});
|
|
9070
9074
|
|
|
9071
|
-
// 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
|
|
9072
9076
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9073
9077
|
var base = { id, evidence: array(evidence2) };
|
|
9074
9078
|
var finding = variant("kind", [
|
|
@@ -9112,7 +9116,67 @@ var finding = variant("kind", [
|
|
|
9112
9116
|
project: optional(reference)
|
|
9113
9117
|
}),
|
|
9114
9118
|
strictObject({ ...base, kind: literal("link"), from: reference, to: reference, reason: text }),
|
|
9115
|
-
strictObject({ ...base, kind: literal("new_contact"), address: text, name: text, reason: optional(text) })
|
|
9119
|
+
strictObject({ ...base, kind: literal("new_contact"), address: text, name: text, reason: optional(text) }),
|
|
9120
|
+
strictObject({
|
|
9121
|
+
...base,
|
|
9122
|
+
kind: literal("invoice"),
|
|
9123
|
+
direction: picklist(INVOICE_DIRECTIONS),
|
|
9124
|
+
counterparty: reference,
|
|
9125
|
+
currency: text,
|
|
9126
|
+
lines: array(strictObject({
|
|
9127
|
+
description: text,
|
|
9128
|
+
quantity: optional(text),
|
|
9129
|
+
unit_price: optional(text),
|
|
9130
|
+
amount: optional(text)
|
|
9131
|
+
})),
|
|
9132
|
+
total: optional(text),
|
|
9133
|
+
number: optional(text),
|
|
9134
|
+
issue_date: optional(text),
|
|
9135
|
+
due_date: optional(text),
|
|
9136
|
+
project: optional(reference),
|
|
9137
|
+
reason: text
|
|
9138
|
+
}),
|
|
9139
|
+
strictObject({
|
|
9140
|
+
...base,
|
|
9141
|
+
kind: literal("payment"),
|
|
9142
|
+
direction: picklist(MONEY_DIRECTIONS),
|
|
9143
|
+
payer: optional(reference),
|
|
9144
|
+
payee: optional(reference),
|
|
9145
|
+
amount: text,
|
|
9146
|
+
currency: text,
|
|
9147
|
+
date: text,
|
|
9148
|
+
reference: optional(text),
|
|
9149
|
+
allocations: optional(array(strictObject({ invoice: reference, amount: text }))),
|
|
9150
|
+
project: optional(reference),
|
|
9151
|
+
reason: text
|
|
9152
|
+
}),
|
|
9153
|
+
strictObject({
|
|
9154
|
+
...base,
|
|
9155
|
+
kind: literal("order"),
|
|
9156
|
+
purpose: picklist(ORDER_PURPOSES),
|
|
9157
|
+
customer: optional(reference),
|
|
9158
|
+
supplier: optional(reference),
|
|
9159
|
+
supplier_name: text,
|
|
9160
|
+
number: optional(text),
|
|
9161
|
+
total: optional(text),
|
|
9162
|
+
currency: optional(text),
|
|
9163
|
+
status: optional(picklist(ORDER_STATUSES)),
|
|
9164
|
+
order_date: optional(text),
|
|
9165
|
+
fulfilled_date: optional(text),
|
|
9166
|
+
invoice: optional(reference),
|
|
9167
|
+
payment: optional(reference),
|
|
9168
|
+
project: optional(reference),
|
|
9169
|
+
reason: text
|
|
9170
|
+
}),
|
|
9171
|
+
strictObject({
|
|
9172
|
+
...base,
|
|
9173
|
+
kind: literal("order_update"),
|
|
9174
|
+
supplier_name: text,
|
|
9175
|
+
number: text,
|
|
9176
|
+
status: picklist(ORDER_STATUSES),
|
|
9177
|
+
date: optional(text),
|
|
9178
|
+
reason: text
|
|
9179
|
+
})
|
|
9116
9180
|
]);
|
|
9117
9181
|
var outcome = strictObject({
|
|
9118
9182
|
id,
|
|
@@ -9134,7 +9198,7 @@ var mailFindings = strictObject({
|
|
|
9134
9198
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
9135
9199
|
});
|
|
9136
9200
|
|
|
9137
|
-
// 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
|
|
9138
9202
|
var mediaArchive = strictObject({
|
|
9139
9203
|
directory: text,
|
|
9140
9204
|
chats: count2,
|
|
@@ -9166,7 +9230,7 @@ var mediaArchiveTimer = union([
|
|
|
9166
9230
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9167
9231
|
]);
|
|
9168
9232
|
|
|
9169
|
-
// 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
|
|
9170
9234
|
var preparationId = pipe(string(), minLength(1));
|
|
9171
9235
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9172
9236
|
var preparationTime = nullable(isoTime);
|
|
@@ -9258,7 +9322,7 @@ var preparationMeeting = strictObject({
|
|
|
9258
9322
|
updated_at: isoTime
|
|
9259
9323
|
});
|
|
9260
9324
|
|
|
9261
|
-
// 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
|
|
9262
9326
|
var meetingEvidence = preparationEvidence;
|
|
9263
9327
|
var meetingPersonContext = strictObject({
|
|
9264
9328
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9280,7 +9344,7 @@ var meetingPersonContext = strictObject({
|
|
|
9280
9344
|
})
|
|
9281
9345
|
});
|
|
9282
9346
|
|
|
9283
|
-
// 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
|
|
9284
9348
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9285
9349
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9286
9350
|
var finding2 = variant("kind", [
|
|
@@ -9318,7 +9382,7 @@ var meetingFindings = strictObject({
|
|
|
9318
9382
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9319
9383
|
});
|
|
9320
9384
|
|
|
9321
|
-
// 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
|
|
9322
9386
|
var communicationCoverage = strictObject({
|
|
9323
9387
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9324
9388
|
query: string(),
|
|
@@ -9363,7 +9427,7 @@ var preparationCommunications = strictObject({
|
|
|
9363
9427
|
}))
|
|
9364
9428
|
});
|
|
9365
9429
|
|
|
9366
|
-
// 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
|
|
9367
9431
|
var meetingPreparation = strictObject({
|
|
9368
9432
|
communications: optional(preparationCommunications),
|
|
9369
9433
|
schema_version: literal(1),
|
|
@@ -9476,7 +9540,7 @@ var meetingPreparation = strictObject({
|
|
|
9476
9540
|
})
|
|
9477
9541
|
});
|
|
9478
9542
|
|
|
9479
|
-
// 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
|
|
9480
9544
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9481
9545
|
var id3 = pipe(string(), minLength(1));
|
|
9482
9546
|
var text3 = string();
|
|
@@ -9540,7 +9604,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9540
9604
|
})
|
|
9541
9605
|
});
|
|
9542
9606
|
|
|
9543
|
-
// 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
|
|
9544
9608
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9545
9609
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9546
9610
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9570,7 +9634,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9570
9634
|
})
|
|
9571
9635
|
});
|
|
9572
9636
|
|
|
9573
|
-
// 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
|
|
9574
9638
|
var text4 = string();
|
|
9575
9639
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9576
9640
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9587,7 +9651,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9587
9651
|
persistence: literal("proposal-only")
|
|
9588
9652
|
});
|
|
9589
9653
|
|
|
9590
|
-
// 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
|
|
9591
9655
|
var memory = strictObject({
|
|
9592
9656
|
ref: reference,
|
|
9593
9657
|
id,
|
|
@@ -9614,7 +9678,7 @@ var memory = strictObject({
|
|
|
9614
9678
|
updated_at: time
|
|
9615
9679
|
});
|
|
9616
9680
|
|
|
9617
|
-
// 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
|
|
9618
9682
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9619
9683
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9620
9684
|
var mention = strictObject({
|
|
@@ -9657,13 +9721,13 @@ var mentionRebuild = strictObject({
|
|
|
9657
9721
|
mentions: count2
|
|
9658
9722
|
});
|
|
9659
9723
|
|
|
9660
|
-
// 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
|
|
9661
9725
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9662
9726
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9663
9727
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9664
9728
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9665
9729
|
|
|
9666
|
-
// 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
|
|
9667
9731
|
var messageTranscript = strictObject({
|
|
9668
9732
|
message_id: id,
|
|
9669
9733
|
text,
|
|
@@ -9721,7 +9785,7 @@ var evidencePacket = strictObject({
|
|
|
9721
9785
|
}))
|
|
9722
9786
|
});
|
|
9723
9787
|
|
|
9724
|
-
// 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
|
|
9725
9789
|
var messageThread = strictObject({
|
|
9726
9790
|
ref: reference,
|
|
9727
9791
|
chat: id,
|
|
@@ -9738,7 +9802,7 @@ var messageThread = strictObject({
|
|
|
9738
9802
|
});
|
|
9739
9803
|
var messageContext = union([message, messageThread]);
|
|
9740
9804
|
|
|
9741
|
-
// 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
|
|
9742
9806
|
var messageCounts = strictObject({
|
|
9743
9807
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9744
9808
|
total: count2,
|
|
@@ -9751,7 +9815,7 @@ var messageCounts = strictObject({
|
|
|
9751
9815
|
}))
|
|
9752
9816
|
});
|
|
9753
9817
|
|
|
9754
|
-
// 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
|
|
9755
9819
|
var messageLink = strictObject({
|
|
9756
9820
|
ref: reference,
|
|
9757
9821
|
url: nullable(text),
|
|
@@ -9768,7 +9832,7 @@ var messageLink = strictObject({
|
|
|
9768
9832
|
})))
|
|
9769
9833
|
});
|
|
9770
9834
|
|
|
9771
|
-
// 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
|
|
9772
9836
|
var savedMessageFile = strictObject({
|
|
9773
9837
|
kind: text,
|
|
9774
9838
|
path: text,
|
|
@@ -9855,7 +9919,7 @@ var messageSyncAll = strictObject({
|
|
|
9855
9919
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9856
9920
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9857
9921
|
|
|
9858
|
-
// 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
|
|
9859
9923
|
var messageWrite = strictObject({
|
|
9860
9924
|
operation_id: id,
|
|
9861
9925
|
message,
|
|
@@ -9870,7 +9934,7 @@ var draftWrite = strictObject({
|
|
|
9870
9934
|
});
|
|
9871
9935
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9872
9936
|
|
|
9873
|
-
// 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
|
|
9874
9938
|
var model2 = strictObject({
|
|
9875
9939
|
id,
|
|
9876
9940
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9887,7 +9951,7 @@ var model2 = strictObject({
|
|
|
9887
9951
|
path: text
|
|
9888
9952
|
});
|
|
9889
9953
|
|
|
9890
|
-
// 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
|
|
9891
9955
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9892
9956
|
var modelKey = strictObject({
|
|
9893
9957
|
provider: text,
|
|
@@ -9897,7 +9961,7 @@ var modelKey = strictObject({
|
|
|
9897
9961
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9898
9962
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9899
9963
|
|
|
9900
|
-
// 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
|
|
9901
9965
|
var link = {
|
|
9902
9966
|
target_text: nullable(text),
|
|
9903
9967
|
kind: text,
|
|
@@ -9938,7 +10002,7 @@ var note = strictObject({
|
|
|
9938
10002
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
9939
10003
|
});
|
|
9940
10004
|
|
|
9941
|
-
// 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
|
|
9942
10006
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9943
10007
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9944
10008
|
var graph = strictObject({
|
|
@@ -9972,14 +10036,14 @@ var officialStats = strictObject({
|
|
|
9972
10036
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9973
10037
|
});
|
|
9974
10038
|
|
|
9975
|
-
// 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
|
|
9976
10040
|
var person2 = strictObject({
|
|
9977
10041
|
ref: reference,
|
|
9978
10042
|
name: nullable(text),
|
|
9979
10043
|
identities: optional(array(identity))
|
|
9980
10044
|
});
|
|
9981
10045
|
|
|
9982
|
-
// 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
|
|
9983
10047
|
var poll = strictObject({
|
|
9984
10048
|
chat_id: id,
|
|
9985
10049
|
message_id: id,
|
|
@@ -9995,11 +10059,11 @@ var poll = strictObject({
|
|
|
9995
10059
|
});
|
|
9996
10060
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9997
10061
|
|
|
9998
|
-
// 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
|
|
9999
10063
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10000
10064
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10001
10065
|
|
|
10002
|
-
// 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
|
|
10003
10067
|
var figures = record(string(), number());
|
|
10004
10068
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10005
10069
|
var rankingRow = strictObject({
|
|
@@ -10046,7 +10110,7 @@ var ranking = strictObject({
|
|
|
10046
10110
|
rows: array(rankingRow)
|
|
10047
10111
|
});
|
|
10048
10112
|
|
|
10049
|
-
// 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
|
|
10050
10114
|
var reaction = strictObject({
|
|
10051
10115
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10052
10116
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10054,7 +10118,7 @@ var reaction = strictObject({
|
|
|
10054
10118
|
reacted_at: time
|
|
10055
10119
|
});
|
|
10056
10120
|
|
|
10057
|
-
// 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
|
|
10058
10122
|
var reactionChange = strictObject({
|
|
10059
10123
|
operation_id: id,
|
|
10060
10124
|
chat_id: id,
|
|
@@ -10062,7 +10126,7 @@ var reactionChange = strictObject({
|
|
|
10062
10126
|
reaction: nullable(text)
|
|
10063
10127
|
});
|
|
10064
10128
|
|
|
10065
|
-
// 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
|
|
10066
10130
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10067
10131
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10068
10132
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10073,7 +10137,7 @@ var recipientChange = strictObject({
|
|
|
10073
10137
|
...partial(recipientOff).entries
|
|
10074
10138
|
});
|
|
10075
10139
|
|
|
10076
|
-
// 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
|
|
10077
10141
|
var events = array(record(string(), unknown()));
|
|
10078
10142
|
var recordedRun = strictObject({
|
|
10079
10143
|
run_id: id,
|
|
@@ -10145,7 +10209,7 @@ var runHit = strictObject({
|
|
|
10145
10209
|
});
|
|
10146
10210
|
var runLocation = strictObject({ path: text });
|
|
10147
10211
|
|
|
10148
|
-
// 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
|
|
10149
10213
|
var relationship = strictObject({
|
|
10150
10214
|
id,
|
|
10151
10215
|
from: reference,
|
|
@@ -10162,7 +10226,7 @@ var relationship = strictObject({
|
|
|
10162
10226
|
created_at: time
|
|
10163
10227
|
});
|
|
10164
10228
|
|
|
10165
|
-
// 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
|
|
10166
10230
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10167
10231
|
var figures2 = { replies: count2, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10168
10232
|
var responseTimes = strictObject({
|
|
@@ -10179,7 +10243,7 @@ var waitingChats = strictObject({
|
|
|
10179
10243
|
by_kind: strictObject({ private: count2, group: count2 })
|
|
10180
10244
|
});
|
|
10181
10245
|
|
|
10182
|
-
// 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
|
|
10183
10247
|
var retentionCohort = strictObject({
|
|
10184
10248
|
/** The first day of the joining day or week. */
|
|
10185
10249
|
cohort: text,
|
|
@@ -10227,7 +10291,7 @@ var retention = strictObject({
|
|
|
10227
10291
|
rows: array(retentionCohort)
|
|
10228
10292
|
});
|
|
10229
10293
|
|
|
10230
|
-
// 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
|
|
10231
10295
|
var savedSearch = strictObject({
|
|
10232
10296
|
id,
|
|
10233
10297
|
/** `null` for a run in the history. */
|
|
@@ -10244,7 +10308,7 @@ var savedSearch = strictObject({
|
|
|
10244
10308
|
});
|
|
10245
10309
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
10246
10310
|
|
|
10247
|
-
// 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
|
|
10248
10312
|
var sendAttempt = strictObject({
|
|
10249
10313
|
at: time,
|
|
10250
10314
|
profile: text,
|
|
@@ -10272,7 +10336,7 @@ var sendAttempt = strictObject({
|
|
|
10272
10336
|
error_code: optional(text)
|
|
10273
10337
|
});
|
|
10274
10338
|
|
|
10275
|
-
// 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
|
|
10276
10340
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10277
10341
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
10278
10342
|
var infoSchema = strictObject({
|
|
@@ -10480,7 +10544,7 @@ var storeRepair = union([
|
|
|
10480
10544
|
]);
|
|
10481
10545
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
10482
10546
|
|
|
10483
|
-
// 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
|
|
10484
10548
|
var range = strictObject({ from: number(), to: number() });
|
|
10485
10549
|
var storeChatStatus = strictObject({
|
|
10486
10550
|
chat_id: id,
|
|
@@ -10578,7 +10642,7 @@ var storeJobRetry = union([
|
|
|
10578
10642
|
]);
|
|
10579
10643
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10580
10644
|
|
|
10581
|
-
// 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
|
|
10582
10646
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10583
10647
|
var storeTable = strictObject({
|
|
10584
10648
|
name: text,
|
|
@@ -10587,7 +10651,7 @@ var storeTable = strictObject({
|
|
|
10587
10651
|
bytes: optional(nullable(count2))
|
|
10588
10652
|
});
|
|
10589
10653
|
|
|
10590
|
-
// 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
|
|
10591
10655
|
var tagTarget = variant("type", [
|
|
10592
10656
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10593
10657
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10618,7 +10682,7 @@ var automaticTags = strictObject({
|
|
|
10618
10682
|
dry_run: boolean()
|
|
10619
10683
|
});
|
|
10620
10684
|
|
|
10621
|
-
// 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
|
|
10622
10686
|
var tagging = strictObject({
|
|
10623
10687
|
tag: text,
|
|
10624
10688
|
type: picklist(TAG_TYPES),
|
|
@@ -10631,7 +10695,7 @@ var tagging = strictObject({
|
|
|
10631
10695
|
created_at: time
|
|
10632
10696
|
});
|
|
10633
10697
|
|
|
10634
|
-
// 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
|
|
10635
10699
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10636
10700
|
var taskPair = strictObject({
|
|
10637
10701
|
task: nullable(side),
|
|
@@ -10654,7 +10718,7 @@ var taskPair = strictObject({
|
|
|
10654
10718
|
created_at: time
|
|
10655
10719
|
});
|
|
10656
10720
|
|
|
10657
|
-
// 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
|
|
10658
10722
|
var nullableTime = nullable(time);
|
|
10659
10723
|
var link2 = strictObject({
|
|
10660
10724
|
id,
|
|
@@ -10824,7 +10888,7 @@ var taskReview = strictObject({
|
|
|
10824
10888
|
untrusted
|
|
10825
10889
|
});
|
|
10826
10890
|
|
|
10827
|
-
// 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
|
|
10828
10892
|
var topic = strictObject({
|
|
10829
10893
|
id,
|
|
10830
10894
|
title: text,
|
|
@@ -10838,7 +10902,7 @@ var topic = strictObject({
|
|
|
10838
10902
|
untrusted
|
|
10839
10903
|
});
|
|
10840
10904
|
|
|
10841
|
-
// 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
|
|
10842
10906
|
var ENTITIES = {
|
|
10843
10907
|
sync_progress: progress,
|
|
10844
10908
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -11120,7 +11184,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11120
11184
|
return [name, definition];
|
|
11121
11185
|
})), "entityDefinitions");
|
|
11122
11186
|
|
|
11123
|
-
// 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
|
|
11124
11188
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11125
11189
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11126
11190
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11154,7 +11218,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11154
11218
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11155
11219
|
}, "answerRow");
|
|
11156
11220
|
|
|
11157
|
-
// 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
|
|
11158
11222
|
import { join as join6 } from "node:path";
|
|
11159
11223
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11160
11224
|
var IMAGE_MODELS = [
|
|
@@ -11208,7 +11272,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11208
11272
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11209
11273
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11210
11274
|
|
|
11211
|
-
// 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
|
|
11212
11276
|
var STEPS2 = defineSteps([
|
|
11213
11277
|
...STEPS,
|
|
11214
11278
|
{
|
|
@@ -11480,7 +11544,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11480
11544
|
].join(" ");
|
|
11481
11545
|
}, "stepLine");
|
|
11482
11546
|
|
|
11483
|
-
// 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
|
|
11484
11548
|
var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
|
|
11485
11549
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11486
11550
|
var STATUS_SIGNAL_ROWS = {
|
|
@@ -11589,7 +11653,7 @@ var STATUS_ROWS = {
|
|
|
11589
11653
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11590
11654
|
};
|
|
11591
11655
|
|
|
11592
|
-
// 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
|
|
11593
11657
|
var TEXT_CHARS = 400;
|
|
11594
11658
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11595
11659
|
var messageRow = {
|
|
@@ -11925,7 +11989,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11925
11989
|
return lines.concat(footerOf(body)).join("\n");
|
|
11926
11990
|
}, "compactText");
|
|
11927
11991
|
|
|
11928
|
-
// 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
|
|
11929
11993
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11930
11994
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11931
11995
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11972,7 +12036,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11972
12036
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11973
12037
|
}, "largeAnswerSteps");
|
|
11974
12038
|
|
|
11975
|
-
// 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
|
|
11976
12040
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11977
12041
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11978
12042
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11986,7 +12050,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11986
12050
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11987
12051
|
}, "strip");
|
|
11988
12052
|
|
|
11989
|
-
// 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
|
|
11990
12054
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11991
12055
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11992
12056
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|