@wirecat/cli-memo 0.131.52 → 0.131.54
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-ZFVBLT2D.js → all-profiles-PJR2VHDP.js} +5 -5
- package/dist/bundle/{anthropic-UG2YHOT7.js → anthropic-ZUDIWREK.js} +3 -3
- package/dist/bundle/{app-server-AQYA4TB6.js → app-server-EYNQ4L2V.js} +35 -35
- package/dist/bundle/auto-3IGKVB3G.js +86 -0
- package/dist/bundle/{bun-QJUFWKEZ.js → bun-W2ZP6I6Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-GWVRHYF4.js → bun-sqlite-T2CTJ6AR.js} +2 -2
- package/dist/bundle/{chunk-RYY4YRKQ.js → chunk-26QKDK5P.js} +5 -5
- package/dist/bundle/{chunk-EEEZGK2J.js → chunk-2NVP4FZH.js} +1 -1
- package/dist/bundle/{chunk-NNUP36UQ.js → chunk-34GJQ4ZR.js} +1 -1
- package/dist/bundle/{chunk-6PQIXQFD.js → chunk-3MWNNJII.js} +8 -8
- package/dist/bundle/{chunk-AU5GAMGM.js → chunk-4335SGVD.js} +2170 -1265
- package/dist/bundle/{chunk-M64NVDB4.js → chunk-4VQ7FPNW.js} +3 -3
- package/dist/bundle/{chunk-6BVWU2UM.js → chunk-5UM2OEOR.js} +2 -2
- package/dist/bundle/{chunk-S7X5ZMQN.js → chunk-643B3X4D.js} +2 -2
- package/dist/bundle/{chunk-G52Y3KOO.js → chunk-6NJ5OI2S.js} +1 -1
- package/dist/bundle/{chunk-X6XIW76O.js → chunk-7ZO2LAFF.js} +5 -5
- package/dist/bundle/{chunk-4ISZPK6D.js → chunk-AF2ZDP3M.js} +1 -1
- package/dist/bundle/{chunk-6GF4TIVM.js → chunk-AYY5CYJJ.js} +1 -1
- package/dist/bundle/{chunk-2CBOPOC7.js → chunk-B5VQSSL2.js} +12 -12
- package/dist/bundle/{chunk-G4Z4WSIG.js → chunk-BC7N6IQ6.js} +1 -1
- package/dist/bundle/{chunk-3O46NA2H.js → chunk-BEO6VJ2E.js} +47 -47
- package/dist/bundle/{chunk-NIUWQP7F.js → chunk-CADGAURO.js} +28 -28
- package/dist/bundle/{chunk-ETYAJPIT.js → chunk-DDD3CXHR.js} +20 -20
- package/dist/bundle/{chunk-ERZBEQAY.js → chunk-DIFRVXKQ.js} +297 -261
- package/dist/bundle/{chunk-U4ZD5SYO.js → chunk-FUINFNUC.js} +1 -1
- package/dist/bundle/{chunk-IALGFO44.js → chunk-GESLAB4N.js} +2 -2
- package/dist/bundle/{chunk-LUHMRW3P.js → chunk-HIF4YBD7.js} +4 -4
- package/dist/bundle/{chunk-FWCFEJWD.js → chunk-IRFHHNSX.js} +159 -151
- package/dist/bundle/{chunk-VOWEZBOJ.js → chunk-IVDBHH3N.js} +1 -1
- package/dist/bundle/{chunk-7SVHEGRO.js → chunk-JB43Q2QL.js} +1 -1
- package/dist/bundle/{chunk-ZVR6S4XB.js → chunk-JBQP2M7J.js} +7 -7
- package/dist/bundle/{chunk-MICF3K6S.js → chunk-JGY2PJ3N.js} +12 -12
- package/dist/bundle/{chunk-55GFDV24.js → chunk-JI4LJ563.js} +5 -5
- package/dist/bundle/{chunk-N5J6GT7C.js → chunk-K236JZLF.js} +4 -4
- package/dist/bundle/{chunk-NZKDNBYE.js → chunk-KK2ATSEC.js} +6 -6
- package/dist/bundle/{chunk-XIHQOSCT.js → chunk-KTVYCPJW.js} +1 -1
- package/dist/bundle/{chunk-ZKXIZD4C.js → chunk-LCE5LBZC.js} +4 -4
- package/dist/bundle/{chunk-EQUPZVV6.js → chunk-ME5RFKKD.js} +5 -5
- package/dist/bundle/{chunk-EKQNL6VJ.js → chunk-MFVZXEQN.js} +21 -21
- package/dist/bundle/{chunk-IKG2OPHU.js → chunk-MGDBKE7E.js} +6 -6
- package/dist/bundle/{chunk-6ZQK3L35.js → chunk-MU4MPJCU.js} +2 -2
- package/dist/bundle/{chunk-A36ASW3I.js → chunk-MV5W4FLV.js} +1 -1
- package/dist/bundle/{chunk-AGOUP5AH.js → chunk-O7CBAY6J.js} +4 -4
- package/dist/bundle/{chunk-I4LXP4HQ.js → chunk-OKERVM3M.js} +4 -4
- package/dist/bundle/{chunk-LX65W7IK.js → chunk-OQVLH2BS.js} +4 -4
- package/dist/bundle/{chunk-G7K4J3NS.js → chunk-OSPAMIIY.js} +3 -3
- package/dist/bundle/{chunk-5WT6SEXS.js → chunk-P3MKPY7D.js} +21 -9
- package/dist/bundle/{chunk-PKVXZZTM.js → chunk-P5UTNYA7.js} +2 -2
- package/dist/bundle/{chunk-2GEV2TXW.js → chunk-PHP3T567.js} +3 -3
- package/dist/bundle/{chunk-OIPJYDLZ.js → chunk-PSJB456T.js} +1 -1
- package/dist/bundle/{chunk-65576OCE.js → chunk-RSBROHX4.js} +1 -1
- package/dist/bundle/{chunk-NUQ3N3V3.js → chunk-RX6JTLKD.js} +7 -7
- package/dist/bundle/{chunk-KGPD3OCD.js → chunk-SR3ZNX24.js} +259 -154
- package/dist/bundle/{chunk-NOEXRGYH.js → chunk-T5WGWLY2.js} +10 -10
- package/dist/bundle/{chunk-ZVJAZXME.js → chunk-UBZN4EWJ.js} +4 -4
- package/dist/bundle/{chunk-OWS67HTV.js → chunk-VBYV6XQI.js} +2 -2
- package/dist/bundle/{chunk-ZYQEWB6P.js → chunk-VPCNLTME.js} +2 -2
- package/dist/bundle/{chunk-TM6R3Z45.js → chunk-VQTU4ILC.js} +1 -1
- package/dist/bundle/{chunk-PBM5GH7S.js → chunk-VXZ7FWKU.js} +2 -2
- package/dist/bundle/{chunk-TQS6ZKC3.js → chunk-WYZDNDQ5.js} +266 -265
- package/dist/bundle/{chunk-GJWNHWG7.js → chunk-YHHR7NQ3.js} +51 -36
- package/dist/bundle/{chunk-A7DXLOMS.js → chunk-ZRBXOHNH.js} +1 -1
- package/dist/bundle/{chunk-U6E3BGHO.js → chunk-ZTM4UUCP.js} +9 -9
- package/dist/bundle/{command-contract-7AADJ3UC.js → command-contract-EWPKHGAZ.js} +11 -11
- package/dist/bundle/{decode-XMIBTI5O.js → decode-UWT3Y66W.js} +2 -2
- package/dist/bundle/{echarts-W7DPDJA5.js → echarts-7VGTR45R.js} +2 -2
- package/dist/bundle/{embed-EP3KKO6Y.js → embed-CM2QSTNK.js} +3 -3
- package/dist/bundle/{embedder-ENGCALJ7.js → embedder-CDCAMVV7.js} +6 -6
- package/dist/bundle/{entry-BGSKREOS.js → entry-WHEWBNJL.js} +4 -4
- package/dist/bundle/failure-LGDSH47N.js +66 -0
- package/dist/bundle/{first-run-4EBMV2EM.js → first-run-ZBIQO5RZ.js} +5 -5
- package/dist/bundle/{first-screen-2TM3BF2Y.js → first-screen-CUAY5N6E.js} +12 -12
- package/dist/bundle/{instructions-A42XETMK.js → instructions-LYKSTUGQ.js} +1 -1
- package/dist/bundle/{mcp-5LAWRSJK.js → mcp-I72UY3QP.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-IRL66JK2.js → node-LFRTSZBZ.js} +2 -2
- package/dist/bundle/{node-sqlite-SOGTH72B.js → node-sqlite-Y47T5FTT.js} +3 -3
- package/dist/bundle/{oauth-RB5W3AC7.js → oauth-YM5C6VS3.js} +4 -4
- package/dist/bundle/{open-552EJ4JC.js → open-WPA4DW5G.js} +2 -2
- package/dist/bundle/{openai-ZLOHEEDH.js → openai-RCPT23DA.js} +7 -7
- package/dist/bundle/{process-46SUXGWW.js → process-P2X2KFMR.js} +1 -1
- package/dist/bundle/{program-ZLWKMT65.js → program-AJPT7C4I.js} +190 -106
- package/dist/bundle/{prompt-2NHJSYKX.js → prompt-65WPTVYC.js} +2 -2
- package/dist/bundle/{recognize-2LDM6KHL.js → recognize-MEFMK7HT.js} +1 -1
- package/dist/bundle/{remote-DBYHHENF.js → remote-4XIR3ZYK.js} +4 -4
- package/dist/bundle/{rerank-N5T2TIIY.js → rerank-YRLAXFFL.js} +4 -4
- package/dist/bundle/{serve-S6B54R2F.js → serve-6SPZH6CY.js} +6 -6
- package/dist/bundle/server-FB75UHSF.js +48 -0
- package/dist/bundle/server-IELXA6S2.js +61 -0
- package/dist/bundle/{server-QH6AKPRV.js → server-ISFSZGGI.js} +50 -50
- package/dist/bundle/{state-ZXZGIIJW.js → state-G34NVZ7F.js} +3 -3
- package/dist/bundle/{store-PNJNDMQ4.js → store-6U4SYK4Q.js} +17 -9
- package/dist/bundle/store-maintenance-command-ONVPBZLT.js +48 -0
- package/dist/bundle/update-SAJHFRB2.js +69 -0
- package/dist/knowledge/relationships.d.ts +5 -1
- package/dist/knowledge/relationships.d.ts.map +1 -1
- package/dist/schedule/mail-triage-input.d.ts +21 -5
- package/dist/schedule/mail-triage-input.d.ts.map +1 -1
- package/dist/schedule/mail-triage-input.js +111 -12
- package/dist/schedule/mail-triage-input.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/morning-digest/SKILL.md +38 -13
- package/dist/bundle/auto-2AY6K6DI.js +0 -86
- package/dist/bundle/failure-ZKQVXWAB.js +0 -66
- package/dist/bundle/server-KZZHFPTZ.js +0 -61
- package/dist/bundle/server-WAIPBBM7.js +0 -48
- package/dist/bundle/store-maintenance-command-2ZVV3DGA.js +0 -48
- package/dist/bundle/update-6HXLLGTQ.js +0 -69
- /package/dist/bundle/{chunk-DPRGC5YX.js → chunk-2H36DXV7.js} +0 -0
|
@@ -9,19 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MGDBKE7E.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4VQ7FPNW.js";
|
|
16
16
|
import {
|
|
17
17
|
envName,
|
|
18
18
|
readOnlyLockOf,
|
|
19
19
|
readOnlyRefusal
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6NJ5OI2S.js";
|
|
21
21
|
import {
|
|
22
22
|
carries
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AYY5CYJJ.js";
|
|
24
24
|
import {
|
|
25
|
+
DEAL_ROLES,
|
|
25
26
|
FACT_STATUSES,
|
|
26
27
|
FACT_TYPES,
|
|
27
28
|
FIELD_TYPES,
|
|
@@ -38,6 +39,7 @@ import {
|
|
|
38
39
|
PRIORITY_LABELS,
|
|
39
40
|
QUERY_BACKENDS,
|
|
40
41
|
RELATION_KINDS,
|
|
42
|
+
STANDINGS,
|
|
41
43
|
TAG_TYPES,
|
|
42
44
|
TASK_KINDS,
|
|
43
45
|
TASK_ORIGINS,
|
|
@@ -72,21 +74,21 @@ import {
|
|
|
72
74
|
text,
|
|
73
75
|
time,
|
|
74
76
|
untrusted
|
|
75
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-SR3ZNX24.js";
|
|
76
78
|
import {
|
|
77
79
|
isCliFailure,
|
|
78
80
|
storeDamaged
|
|
79
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-P5UTNYA7.js";
|
|
80
82
|
import {
|
|
81
83
|
sharedConfigPath
|
|
82
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-UBZN4EWJ.js";
|
|
83
85
|
import {
|
|
84
86
|
filesPresent,
|
|
85
87
|
sharedModelsDirectory
|
|
86
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-OSPAMIIY.js";
|
|
87
89
|
import {
|
|
88
90
|
storePath
|
|
89
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-RSBROHX4.js";
|
|
90
92
|
import {
|
|
91
93
|
configFilePath,
|
|
92
94
|
createRecordLog,
|
|
@@ -3950,7 +3952,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3950
3952
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3951
3953
|
}), "commandsDocument");
|
|
3952
3954
|
|
|
3953
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3954
3956
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3955
3957
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3956
3958
|
messageId: message2.id,
|
|
@@ -4056,7 +4058,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4056
4058
|
}, "guardedWrite");
|
|
4057
4059
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4058
4060
|
|
|
4059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4060
4062
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4061
4063
|
try {
|
|
4062
4064
|
return work();
|
|
@@ -4083,7 +4085,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4083
4085
|
return projectFields(value, fields);
|
|
4084
4086
|
}), "projectFields");
|
|
4085
4087
|
|
|
4086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4087
4089
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4088
4090
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4089
4091
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4105,7 +4107,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4105
4107
|
}
|
|
4106
4108
|
}, "withAbort");
|
|
4107
4109
|
|
|
4108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4109
4111
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4110
4112
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4111
4113
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4501,7 +4503,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4501
4503
|
}
|
|
4502
4504
|
}, "assertRetentionEvidenceRead");
|
|
4503
4505
|
|
|
4504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4505
4507
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4506
4508
|
import { join } from "node:path";
|
|
4507
4509
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4523,12 +4525,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4523
4525
|
}, "profilesWithAccounts");
|
|
4524
4526
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4525
4527
|
|
|
4526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4527
4529
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4528
4530
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4529
4531
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4530
4532
|
|
|
4531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4533
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4532
4534
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4533
4535
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4534
4536
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4564,7 +4566,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4564
4566
|
return value;
|
|
4565
4567
|
}, "atDetail");
|
|
4566
4568
|
|
|
4567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/output.js
|
|
4568
4570
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4569
4571
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4570
4572
|
if (other)
|
|
@@ -4628,7 +4630,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4628
4630
|
}, "warn")
|
|
4629
4631
|
}), "silence");
|
|
4630
4632
|
|
|
4631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4632
4634
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4633
4635
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4634
4636
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4662,7 +4664,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4662
4664
|
cache: "cache.answered"
|
|
4663
4665
|
};
|
|
4664
4666
|
|
|
4665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4666
4668
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4667
4669
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4668
4670
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4675,13 +4677,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4675
4677
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4676
4678
|
}), "snakeLogger");
|
|
4677
4679
|
|
|
4678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4679
4681
|
import { randomUUID } from "node:crypto";
|
|
4680
4682
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4681
4683
|
import { userInfo } from "node:os";
|
|
4682
4684
|
import { join as join2, sep } from "node:path";
|
|
4683
4685
|
|
|
4684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4685
4687
|
var diagnostic = {
|
|
4686
4688
|
event: true,
|
|
4687
4689
|
operation: true,
|
|
@@ -4751,7 +4753,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4751
4753
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4752
4754
|
].sort();
|
|
4753
4755
|
|
|
4754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4755
4757
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4756
4758
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4757
4759
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5104,7 +5106,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5104
5106
|
};
|
|
5105
5107
|
}, "metadataOf");
|
|
5106
5108
|
|
|
5107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5108
5110
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5109
5111
|
import { randomBytes } from "node:crypto";
|
|
5110
5112
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5139,7 +5141,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5139
5141
|
var attempts = new AsyncLocalStorage2();
|
|
5140
5142
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5141
5143
|
|
|
5142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5143
5145
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5144
5146
|
const recording = startRecording(options);
|
|
5145
5147
|
try {
|
|
@@ -5331,7 +5333,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5331
5333
|
return void 0;
|
|
5332
5334
|
}, "partialOutcome");
|
|
5333
5335
|
|
|
5334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5335
5337
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5336
5338
|
if (ms2 === void 0)
|
|
5337
5339
|
return body();
|
|
@@ -5357,7 +5359,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5357
5359
|
}
|
|
5358
5360
|
}, "withDeadline");
|
|
5359
5361
|
|
|
5360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5361
5363
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5362
5364
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5363
5365
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5399,10 +5401,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5399
5401
|
return root;
|
|
5400
5402
|
}, "rootOf");
|
|
5401
5403
|
|
|
5402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5403
5405
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5404
5406
|
|
|
5405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5406
5408
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5407
5409
|
try {
|
|
5408
5410
|
const url2 = new URL(value);
|
|
@@ -5412,7 +5414,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5412
5414
|
}
|
|
5413
5415
|
}, "endpoint");
|
|
5414
5416
|
|
|
5415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5416
5418
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5417
5419
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5418
5420
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5481,7 +5483,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5481
5483
|
};
|
|
5482
5484
|
}, "modelTarget");
|
|
5483
5485
|
|
|
5484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5485
5487
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5486
5488
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5487
5489
|
var AI_FIELDS = {
|
|
@@ -5525,7 +5527,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5525
5527
|
};
|
|
5526
5528
|
}, "resolveAISettings");
|
|
5527
5529
|
|
|
5528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5529
5531
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5530
5532
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5531
5533
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5539,7 +5541,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5539
5541
|
return ms2;
|
|
5540
5542
|
}, "parseDuration");
|
|
5541
5543
|
|
|
5542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5543
5545
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5544
5546
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5545
5547
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5698,7 +5700,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5698
5700
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5699
5701
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5700
5702
|
|
|
5701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5702
5704
|
var HISTORY_MAX_DAYS = 1095;
|
|
5703
5705
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5704
5706
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5745,7 +5747,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5745
5747
|
return { batch: { ...batch, messages }, skipped };
|
|
5746
5748
|
}, "limitBatch");
|
|
5747
5749
|
|
|
5748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5749
5751
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5750
5752
|
import { join as join3 } from "node:path";
|
|
5751
5753
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5834,10 +5836,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5834
5836
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5835
5837
|
}, "registryProfiles");
|
|
5836
5838
|
|
|
5837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5838
5840
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5839
5841
|
|
|
5840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5841
5843
|
var REPAIR_WORDS = {
|
|
5842
5844
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5843
5845
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6078,7 +6080,7 @@ ${parts.join(",\n")}
|
|
|
6078
6080
|
${indent}${close}`;
|
|
6079
6081
|
}, "serialise");
|
|
6080
6082
|
|
|
6081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6082
6084
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6083
6085
|
var SECTIONS = ["personal", "bot"];
|
|
6084
6086
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6373,7 +6375,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6373
6375
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6374
6376
|
}, "readConfigFile");
|
|
6375
6377
|
|
|
6376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6377
6379
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6378
6380
|
import { dirname, join as join4 } from "node:path";
|
|
6379
6381
|
var DEFAULT_CONFIG = {
|
|
@@ -6402,7 +6404,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6402
6404
|
}
|
|
6403
6405
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6404
6406
|
|
|
6405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6406
6408
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6407
6409
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6408
6410
|
const path2 = key.split(".");
|
|
@@ -6435,7 +6437,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6435
6437
|
};
|
|
6436
6438
|
}), "settingRows");
|
|
6437
6439
|
|
|
6438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6439
6441
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6440
6442
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6441
6443
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6945,7 +6947,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6945
6947
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6946
6948
|
}, "given");
|
|
6947
6949
|
|
|
6948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6949
6951
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6950
6952
|
const slot = environmentOf(command).exit;
|
|
6951
6953
|
if (slot)
|
|
@@ -7067,7 +7069,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7067
7069
|
return words.join(" ");
|
|
7068
7070
|
}, "commandPath");
|
|
7069
7071
|
|
|
7070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7071
7073
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7072
7074
|
var FETCH = { remote: "read", local: "write" };
|
|
7073
7075
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7182,7 +7184,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7182
7184
|
throw readOnlyRefusal(lock, what);
|
|
7183
7185
|
}, "refuseUnderReadOnly");
|
|
7184
7186
|
|
|
7185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7186
7188
|
var account = strictObject({
|
|
7187
7189
|
provider: text,
|
|
7188
7190
|
id,
|
|
@@ -7192,7 +7194,7 @@ var account = strictObject({
|
|
|
7192
7194
|
scope: optional(picklist(["personal", "work"]))
|
|
7193
7195
|
});
|
|
7194
7196
|
|
|
7195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7197
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7196
7198
|
var accountSession = strictObject({
|
|
7197
7199
|
current: boolean(),
|
|
7198
7200
|
client: nullable(text),
|
|
@@ -7202,7 +7204,7 @@ var accountSession = strictObject({
|
|
|
7202
7204
|
created_at: optional(nullable(time))
|
|
7203
7205
|
});
|
|
7204
7206
|
|
|
7205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7206
7208
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7207
7209
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7208
7210
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7220,7 +7222,7 @@ var accountPrivacy = strictObject({
|
|
|
7220
7222
|
});
|
|
7221
7223
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7222
7224
|
|
|
7223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7224
7226
|
var accountProfile = strictObject({
|
|
7225
7227
|
profile: id,
|
|
7226
7228
|
current: boolean(),
|
|
@@ -7232,7 +7234,7 @@ var accountProfile = strictObject({
|
|
|
7232
7234
|
bot: optional(literal(true))
|
|
7233
7235
|
});
|
|
7234
7236
|
|
|
7235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7236
7238
|
var milliseconds = pipe(number(), minValue(0));
|
|
7237
7239
|
var counterReading = strictObject({
|
|
7238
7240
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7244,7 +7246,7 @@ var counterReading = strictObject({
|
|
|
7244
7246
|
});
|
|
7245
7247
|
var selection = record(string(), unknown());
|
|
7246
7248
|
|
|
7247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7248
7250
|
var adminRow = strictObject({
|
|
7249
7251
|
ref: reference,
|
|
7250
7252
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7297,7 +7299,7 @@ var adminReport = strictObject({
|
|
|
7297
7299
|
rows: array(adminRow)
|
|
7298
7300
|
});
|
|
7299
7301
|
|
|
7300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7301
7303
|
var closeSuggestion = strictObject({
|
|
7302
7304
|
as: picklist(["done", "dismissed"]),
|
|
7303
7305
|
/** The agent's name. */
|
|
@@ -7359,7 +7361,7 @@ var task = strictObject({
|
|
|
7359
7361
|
updated_at: optional(time)
|
|
7360
7362
|
});
|
|
7361
7363
|
|
|
7362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7364
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7363
7365
|
var agendaChat = strictObject({
|
|
7364
7366
|
chat: reference,
|
|
7365
7367
|
title: nullable(text),
|
|
@@ -7429,11 +7431,11 @@ var agenda = strictObject({
|
|
|
7429
7431
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7430
7432
|
});
|
|
7431
7433
|
|
|
7432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7433
7435
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7434
7436
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7435
7437
|
|
|
7436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7437
7439
|
var attachment = strictObject({
|
|
7438
7440
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7439
7441
|
message: optional(reference),
|
|
@@ -7471,7 +7473,7 @@ var attachment = strictObject({
|
|
|
7471
7473
|
});
|
|
7472
7474
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7473
7475
|
|
|
7474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7475
7477
|
var actionableError = objectWithRest({
|
|
7476
7478
|
code: text,
|
|
7477
7479
|
message: text,
|
|
@@ -7488,7 +7490,7 @@ var batchResult = strictObject({
|
|
|
7488
7490
|
max_error_percent: count
|
|
7489
7491
|
});
|
|
7490
7492
|
|
|
7491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7492
7494
|
var extractionItem = strictObject({
|
|
7493
7495
|
ref: reference,
|
|
7494
7496
|
attachment: count,
|
|
@@ -7521,7 +7523,7 @@ var extractionReport = strictObject({
|
|
|
7521
7523
|
cursor: optional(text)
|
|
7522
7524
|
});
|
|
7523
7525
|
|
|
7524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7525
7527
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7526
7528
|
var attachmentBytes = strictObject({
|
|
7527
7529
|
ref: reference,
|
|
@@ -7549,7 +7551,7 @@ var attachmentTextChange = strictObject({
|
|
|
7549
7551
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7550
7552
|
});
|
|
7551
7553
|
|
|
7552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7553
7555
|
var chart = strictObject({
|
|
7554
7556
|
version: literal(1),
|
|
7555
7557
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7564,7 +7566,7 @@ var chart = strictObject({
|
|
|
7564
7566
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7565
7567
|
});
|
|
7566
7568
|
|
|
7567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7568
7570
|
var member = strictObject({
|
|
7569
7571
|
id,
|
|
7570
7572
|
name: nullable(text),
|
|
@@ -7587,7 +7589,7 @@ var member = strictObject({
|
|
|
7587
7589
|
check: optional(record(string(), unknown()))
|
|
7588
7590
|
});
|
|
7589
7591
|
|
|
7590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7591
7593
|
var setting = optional(nullable(boolean()));
|
|
7592
7594
|
var chat = strictObject({
|
|
7593
7595
|
ref: reference,
|
|
@@ -7628,7 +7630,7 @@ var chat = strictObject({
|
|
|
7628
7630
|
members: optional(array(member))
|
|
7629
7631
|
});
|
|
7630
7632
|
|
|
7631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7632
7634
|
var named2 = strictObject({
|
|
7633
7635
|
id,
|
|
7634
7636
|
title: nullable(text),
|
|
@@ -7651,7 +7653,7 @@ var folder = strictObject({
|
|
|
7651
7653
|
excluded_chats: optional(array(named2))
|
|
7652
7654
|
});
|
|
7653
7655
|
|
|
7654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7655
7657
|
var inviteLink = strictObject({
|
|
7656
7658
|
link: text,
|
|
7657
7659
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7667,7 +7669,7 @@ var inviteLink = strictObject({
|
|
|
7667
7669
|
joined_count: optional(count)
|
|
7668
7670
|
});
|
|
7669
7671
|
|
|
7670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7671
7673
|
var operated = { operation_id: id, chat_id: id };
|
|
7672
7674
|
var group = strictObject({
|
|
7673
7675
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7747,7 +7749,7 @@ var chatFolderOrder = strictObject({
|
|
|
7747
7749
|
folders: array(strictObject({ id, title: text }))
|
|
7748
7750
|
});
|
|
7749
7751
|
|
|
7750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7751
7753
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7752
7754
|
var chatRemoval = strictObject(operated2);
|
|
7753
7755
|
var chatMuting = strictObject({
|
|
@@ -7758,7 +7760,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7758
7760
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7759
7761
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7760
7762
|
|
|
7761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7762
7764
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7763
7765
|
var chatEvent = strictObject({
|
|
7764
7766
|
chat_id: id,
|
|
@@ -7775,7 +7777,7 @@ var chatEvent = strictObject({
|
|
|
7775
7777
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7776
7778
|
});
|
|
7777
7779
|
|
|
7778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7779
7781
|
var chatMetadata = strictObject({
|
|
7780
7782
|
chat_id: id,
|
|
7781
7783
|
title: nullable(text),
|
|
@@ -7790,7 +7792,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7790
7792
|
has_more: boolean()
|
|
7791
7793
|
});
|
|
7792
7794
|
|
|
7793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7794
7796
|
var action = picklist(["report", "delete", "remove"]);
|
|
7795
7797
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7796
7798
|
var chatRules = strictObject({
|
|
@@ -7827,7 +7829,7 @@ var chatModeration = strictObject({
|
|
|
7827
7829
|
}))
|
|
7828
7830
|
});
|
|
7829
7831
|
|
|
7830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7831
7833
|
var optionalCount = optional(count);
|
|
7832
7834
|
var minutes = nullable(number());
|
|
7833
7835
|
var chatStats = strictObject({
|
|
@@ -7901,7 +7903,7 @@ var taskStats = strictObject({
|
|
|
7901
7903
|
}))
|
|
7902
7904
|
});
|
|
7903
7905
|
|
|
7904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7905
7907
|
var memberCount = strictObject({
|
|
7906
7908
|
day: pipe(text, isoDate()),
|
|
7907
7909
|
participants: nullable(count),
|
|
@@ -7924,7 +7926,7 @@ var chatTracking = strictObject({
|
|
|
7924
7926
|
tracked: boolean()
|
|
7925
7927
|
});
|
|
7926
7928
|
|
|
7927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7928
7930
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7929
7931
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7930
7932
|
var profileFields = {
|
|
@@ -7962,7 +7964,7 @@ var profileFields = {
|
|
|
7962
7964
|
}))
|
|
7963
7965
|
};
|
|
7964
7966
|
|
|
7965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7966
7968
|
var contact = strictObject({
|
|
7967
7969
|
ref: reference,
|
|
7968
7970
|
id,
|
|
@@ -7993,7 +7995,7 @@ var contact = strictObject({
|
|
|
7993
7995
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7994
7996
|
});
|
|
7995
7997
|
|
|
7996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7997
7999
|
var WEIGHTS = {
|
|
7998
8000
|
bot: 3,
|
|
7999
8001
|
scam: 3,
|
|
@@ -8018,7 +8020,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8018
8020
|
var DIGITS = /\d{5,}/;
|
|
8019
8021
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8020
8022
|
|
|
8021
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8022
8024
|
var linkedIdentity = strictObject({
|
|
8023
8025
|
provider: text,
|
|
8024
8026
|
id,
|
|
@@ -8060,7 +8062,7 @@ var contactCheck = strictObject({
|
|
|
8060
8062
|
checked_at: time
|
|
8061
8063
|
});
|
|
8062
8064
|
|
|
8063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8064
8066
|
var quoted = strictObject({
|
|
8065
8067
|
id,
|
|
8066
8068
|
sender_id: nullable(id),
|
|
@@ -8179,7 +8181,7 @@ var message = strictObject({
|
|
|
8179
8181
|
provider_metadata: providerMetadata
|
|
8180
8182
|
});
|
|
8181
8183
|
|
|
8182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8183
8185
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8184
8186
|
var contextMessage = strictObject({
|
|
8185
8187
|
locator: reference,
|
|
@@ -8379,7 +8381,7 @@ var contactPreparation = strictObject({
|
|
|
8379
8381
|
})
|
|
8380
8382
|
});
|
|
8381
8383
|
|
|
8382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8383
8385
|
var contactNote = strictObject({
|
|
8384
8386
|
id,
|
|
8385
8387
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8391,13 +8393,13 @@ var contactNote = strictObject({
|
|
|
8391
8393
|
updated_at: time
|
|
8392
8394
|
});
|
|
8393
8395
|
|
|
8394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8395
8397
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8396
8398
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8397
8399
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8398
8400
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8399
8401
|
|
|
8400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8401
8403
|
var conversation = strictObject({
|
|
8402
8404
|
id,
|
|
8403
8405
|
chat: reference,
|
|
@@ -8412,7 +8414,7 @@ var conversation = strictObject({
|
|
|
8412
8414
|
rules_version: count
|
|
8413
8415
|
});
|
|
8414
8416
|
|
|
8415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8416
8418
|
var conversationBuild = strictObject({
|
|
8417
8419
|
chat: id,
|
|
8418
8420
|
messages: count,
|
|
@@ -8437,7 +8439,7 @@ var catchUpPreparation = strictObject({
|
|
|
8437
8439
|
prepared: optional(conversationPreparation)
|
|
8438
8440
|
});
|
|
8439
8441
|
|
|
8440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8441
8443
|
var conversationDetails = union([
|
|
8442
8444
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8443
8445
|
message
|
|
@@ -8527,7 +8529,7 @@ var conversationHit = strictObject({
|
|
|
8527
8529
|
stale: boolean()
|
|
8528
8530
|
});
|
|
8529
8531
|
|
|
8530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8531
8533
|
var counters = strictObject({
|
|
8532
8534
|
cutoff: time,
|
|
8533
8535
|
max_age_ms: milliseconds,
|
|
@@ -8557,7 +8559,7 @@ var counterRefresh = strictObject({
|
|
|
8557
8559
|
complete: optional(boolean())
|
|
8558
8560
|
});
|
|
8559
8561
|
|
|
8560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8561
8563
|
var nullableText = nullable(text);
|
|
8562
8564
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8563
8565
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8594,7 +8596,7 @@ var deal = strictObject({
|
|
|
8594
8596
|
value: unknown(),
|
|
8595
8597
|
option_id: optional(union([string(), array(string())]))
|
|
8596
8598
|
})),
|
|
8597
|
-
people: array(strictObject({ ...party.entries, role: picklist(
|
|
8599
|
+
people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
|
|
8598
8600
|
author: strictObject({
|
|
8599
8601
|
type: picklist(["person", "bot"]),
|
|
8600
8602
|
id,
|
|
@@ -8644,7 +8646,7 @@ var stage = strictObject({
|
|
|
8644
8646
|
untrusted
|
|
8645
8647
|
});
|
|
8646
8648
|
|
|
8647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8648
8650
|
var document = strictObject({
|
|
8649
8651
|
ref: reference,
|
|
8650
8652
|
id,
|
|
@@ -8659,7 +8661,7 @@ var document = strictObject({
|
|
|
8659
8661
|
owners: optional(array(text))
|
|
8660
8662
|
});
|
|
8661
8663
|
|
|
8662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8663
8665
|
var documentLink = strictObject({
|
|
8664
8666
|
ref: reference,
|
|
8665
8667
|
url: text,
|
|
@@ -8670,7 +8672,7 @@ var documentLink = strictObject({
|
|
|
8670
8672
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8671
8673
|
});
|
|
8672
8674
|
|
|
8673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8674
8676
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8675
8677
|
var contribution = strictObject({
|
|
8676
8678
|
message: evidenceMessage,
|
|
@@ -8700,7 +8702,7 @@ var retentionStay = strictObject({
|
|
|
8700
8702
|
});
|
|
8701
8703
|
var evidence = union([contribution, retentionStay]);
|
|
8702
8704
|
|
|
8703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8704
8706
|
var fact = strictObject({
|
|
8705
8707
|
ref: reference,
|
|
8706
8708
|
id,
|
|
@@ -8730,7 +8732,7 @@ var fact = strictObject({
|
|
|
8730
8732
|
updated_at: time
|
|
8731
8733
|
});
|
|
8732
8734
|
|
|
8733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8734
8736
|
var hit = strictObject({
|
|
8735
8737
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8736
8738
|
ref: reference,
|
|
@@ -8768,7 +8770,7 @@ var hit = strictObject({
|
|
|
8768
8770
|
untrusted
|
|
8769
8771
|
});
|
|
8770
8772
|
|
|
8771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8772
8774
|
var identity = strictObject({
|
|
8773
8775
|
ref: reference,
|
|
8774
8776
|
provider: text,
|
|
@@ -8781,7 +8783,7 @@ var identity = strictObject({
|
|
|
8781
8783
|
person: optional(nullable(reference))
|
|
8782
8784
|
});
|
|
8783
8785
|
|
|
8784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8785
8787
|
var imageEmbedding = strictObject({
|
|
8786
8788
|
model: text,
|
|
8787
8789
|
embedded: count,
|
|
@@ -8790,13 +8792,13 @@ var imageEmbedding = strictObject({
|
|
|
8790
8792
|
more: boolean()
|
|
8791
8793
|
});
|
|
8792
8794
|
|
|
8793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8794
8796
|
import { spawn } from "node:child_process";
|
|
8795
8797
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8796
8798
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8797
8799
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8798
8800
|
|
|
8799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8800
8802
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8801
8803
|
const total = input.total ?? null;
|
|
8802
8804
|
const updated = input.updatedAt ?? null;
|
|
@@ -8812,7 +8814,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8812
8814
|
};
|
|
8813
8815
|
}, "progressOf");
|
|
8814
8816
|
|
|
8815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8816
8818
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8817
8819
|
const run = currentRun();
|
|
8818
8820
|
const trace = traceId ?? run.traceId;
|
|
@@ -8826,7 +8828,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8826
8828
|
}));
|
|
8827
8829
|
}, "recordLogFor");
|
|
8828
8830
|
|
|
8829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8830
8832
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8831
8833
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8832
8834
|
const out = openSync(log, "a", 384);
|
|
@@ -8981,7 +8983,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8981
8983
|
return { job: id6, pid, chat: input.chat, log };
|
|
8982
8984
|
}, "startArchiveJob");
|
|
8983
8985
|
|
|
8984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8985
8987
|
var problem = strictObject({ code: text, message: text });
|
|
8986
8988
|
var job = strictObject({
|
|
8987
8989
|
id,
|
|
@@ -9004,7 +9006,7 @@ var job = strictObject({
|
|
|
9004
9006
|
error: optional(problem)
|
|
9005
9007
|
});
|
|
9006
9008
|
|
|
9007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9009
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
9008
9010
|
var joinRequest = strictObject({
|
|
9009
9011
|
person_id: id,
|
|
9010
9012
|
name: nullable(text),
|
|
@@ -9015,7 +9017,7 @@ var joinRequest = strictObject({
|
|
|
9015
9017
|
about: optional(text)
|
|
9016
9018
|
});
|
|
9017
9019
|
|
|
9018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
9019
9021
|
var botProfile = strictObject({
|
|
9020
9022
|
name: text,
|
|
9021
9023
|
token: text,
|
|
@@ -9108,7 +9110,7 @@ var stickerInventory = strictObject({
|
|
|
9108
9110
|
url: optional(nullable(text))
|
|
9109
9111
|
});
|
|
9110
9112
|
|
|
9111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9112
9114
|
var pollVote = strictObject({
|
|
9113
9115
|
person_id: id,
|
|
9114
9116
|
name: nullable(text),
|
|
@@ -9118,7 +9120,7 @@ var pollVote = strictObject({
|
|
|
9118
9120
|
voted_at: time
|
|
9119
9121
|
});
|
|
9120
9122
|
|
|
9121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9122
9124
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9123
9125
|
var observation = strictObject({
|
|
9124
9126
|
value: pipe(number(), minValue(0)),
|
|
@@ -9160,7 +9162,7 @@ var serveSummary = strictObject({
|
|
|
9160
9162
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9161
9163
|
});
|
|
9162
9164
|
|
|
9163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9164
9166
|
var mailCounts = strictObject({
|
|
9165
9167
|
by: picklist(["day", "week", "sender"]),
|
|
9166
9168
|
received: count,
|
|
@@ -9175,7 +9177,7 @@ var mailCounts = strictObject({
|
|
|
9175
9177
|
}))
|
|
9176
9178
|
});
|
|
9177
9179
|
|
|
9178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9179
9181
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9180
9182
|
var base = { id, evidence: array(evidence2) };
|
|
9181
9183
|
var finding = variant("kind", [
|
|
@@ -9319,7 +9321,7 @@ var mailFindings = strictObject({
|
|
|
9319
9321
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9320
9322
|
});
|
|
9321
9323
|
|
|
9322
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9323
9325
|
var mediaArchive = strictObject({
|
|
9324
9326
|
directory: text,
|
|
9325
9327
|
chats: count,
|
|
@@ -9351,7 +9353,7 @@ var mediaArchiveTimer = union([
|
|
|
9351
9353
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9352
9354
|
]);
|
|
9353
9355
|
|
|
9354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9356
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9355
9357
|
var preparationId = pipe(string(), minLength(1));
|
|
9356
9358
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9357
9359
|
var preparationTime = nullable(isoTime);
|
|
@@ -9443,7 +9445,7 @@ var preparationMeeting = strictObject({
|
|
|
9443
9445
|
updated_at: isoTime
|
|
9444
9446
|
});
|
|
9445
9447
|
|
|
9446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9447
9449
|
var meetingEvidence = preparationEvidence;
|
|
9448
9450
|
var meetingPersonContext = strictObject({
|
|
9449
9451
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9465,7 +9467,7 @@ var meetingPersonContext = strictObject({
|
|
|
9465
9467
|
})
|
|
9466
9468
|
});
|
|
9467
9469
|
|
|
9468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9469
9471
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9470
9472
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9471
9473
|
var finding2 = variant("kind", [
|
|
@@ -9503,7 +9505,7 @@ var meetingFindings = strictObject({
|
|
|
9503
9505
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9504
9506
|
});
|
|
9505
9507
|
|
|
9506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9507
9509
|
var communicationCoverage = strictObject({
|
|
9508
9510
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9509
9511
|
query: string(),
|
|
@@ -9548,7 +9550,7 @@ var preparationCommunications = strictObject({
|
|
|
9548
9550
|
}))
|
|
9549
9551
|
});
|
|
9550
9552
|
|
|
9551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9552
9554
|
var meetingPreparation = strictObject({
|
|
9553
9555
|
communications: optional(preparationCommunications),
|
|
9554
9556
|
schema_version: literal(1),
|
|
@@ -9661,7 +9663,7 @@ var meetingPreparation = strictObject({
|
|
|
9661
9663
|
})
|
|
9662
9664
|
});
|
|
9663
9665
|
|
|
9664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9665
9667
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9666
9668
|
var id3 = pipe(string(), minLength(1));
|
|
9667
9669
|
var text3 = string();
|
|
@@ -9725,7 +9727,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9725
9727
|
})
|
|
9726
9728
|
});
|
|
9727
9729
|
|
|
9728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9729
9731
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9730
9732
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9731
9733
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9755,7 +9757,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9755
9757
|
})
|
|
9756
9758
|
});
|
|
9757
9759
|
|
|
9758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9760
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9759
9761
|
var text4 = string();
|
|
9760
9762
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9761
9763
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9772,7 +9774,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9772
9774
|
persistence: literal("proposal-only")
|
|
9773
9775
|
});
|
|
9774
9776
|
|
|
9775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9777
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9776
9778
|
var memory = strictObject({
|
|
9777
9779
|
ref: reference,
|
|
9778
9780
|
id,
|
|
@@ -9799,7 +9801,7 @@ var memory = strictObject({
|
|
|
9799
9801
|
updated_at: time
|
|
9800
9802
|
});
|
|
9801
9803
|
|
|
9802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9803
9805
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9804
9806
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9805
9807
|
var mention = strictObject({
|
|
@@ -9842,13 +9844,13 @@ var mentionRebuild = strictObject({
|
|
|
9842
9844
|
mentions: count
|
|
9843
9845
|
});
|
|
9844
9846
|
|
|
9845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9846
9848
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9847
9849
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9848
9850
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9849
9851
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9850
9852
|
|
|
9851
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9852
9854
|
var messageTranscript = strictObject({
|
|
9853
9855
|
message_id: id,
|
|
9854
9856
|
text,
|
|
@@ -9906,7 +9908,7 @@ var evidencePacket = strictObject({
|
|
|
9906
9908
|
}))
|
|
9907
9909
|
});
|
|
9908
9910
|
|
|
9909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9910
9912
|
var messageThread = strictObject({
|
|
9911
9913
|
ref: reference,
|
|
9912
9914
|
chat: id,
|
|
@@ -9923,7 +9925,7 @@ var messageThread = strictObject({
|
|
|
9923
9925
|
});
|
|
9924
9926
|
var messageContext = union([message, messageThread]);
|
|
9925
9927
|
|
|
9926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9927
9929
|
var messageCounts = strictObject({
|
|
9928
9930
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9929
9931
|
total: count,
|
|
@@ -9936,7 +9938,7 @@ var messageCounts = strictObject({
|
|
|
9936
9938
|
}))
|
|
9937
9939
|
});
|
|
9938
9940
|
|
|
9939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9941
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9940
9942
|
var messageLink = strictObject({
|
|
9941
9943
|
ref: reference,
|
|
9942
9944
|
url: nullable(text),
|
|
@@ -9953,7 +9955,7 @@ var messageLink = strictObject({
|
|
|
9953
9955
|
})))
|
|
9954
9956
|
});
|
|
9955
9957
|
|
|
9956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9957
9959
|
var savedMessageFile = strictObject({
|
|
9958
9960
|
kind: text,
|
|
9959
9961
|
path: text,
|
|
@@ -10040,7 +10042,7 @@ var messageSyncAll = strictObject({
|
|
|
10040
10042
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10041
10043
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10042
10044
|
|
|
10043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10044
10046
|
var messageWrite = strictObject({
|
|
10045
10047
|
operation_id: id,
|
|
10046
10048
|
message,
|
|
@@ -10055,7 +10057,7 @@ var draftWrite = strictObject({
|
|
|
10055
10057
|
});
|
|
10056
10058
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10057
10059
|
|
|
10058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10059
10061
|
var model2 = strictObject({
|
|
10060
10062
|
id,
|
|
10061
10063
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10072,7 +10074,7 @@ var model2 = strictObject({
|
|
|
10072
10074
|
path: text
|
|
10073
10075
|
});
|
|
10074
10076
|
|
|
10075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10076
10078
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10077
10079
|
var modelKey = strictObject({
|
|
10078
10080
|
provider: text,
|
|
@@ -10082,7 +10084,7 @@ var modelKey = strictObject({
|
|
|
10082
10084
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10083
10085
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10084
10086
|
|
|
10085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10086
10088
|
var link = {
|
|
10087
10089
|
target_text: nullable(text),
|
|
10088
10090
|
kind: text,
|
|
@@ -10123,7 +10125,7 @@ var note = strictObject({
|
|
|
10123
10125
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10124
10126
|
});
|
|
10125
10127
|
|
|
10126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10127
10129
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10128
10130
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10129
10131
|
var graph = strictObject({
|
|
@@ -10157,14 +10159,14 @@ var officialStats = strictObject({
|
|
|
10157
10159
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10158
10160
|
});
|
|
10159
10161
|
|
|
10160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10161
10163
|
var person2 = strictObject({
|
|
10162
10164
|
ref: reference,
|
|
10163
10165
|
name: nullable(text),
|
|
10164
10166
|
identities: optional(array(identity))
|
|
10165
10167
|
});
|
|
10166
10168
|
|
|
10167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10168
10170
|
var poll = strictObject({
|
|
10169
10171
|
chat_id: id,
|
|
10170
10172
|
message_id: id,
|
|
@@ -10180,11 +10182,11 @@ var poll = strictObject({
|
|
|
10180
10182
|
});
|
|
10181
10183
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10182
10184
|
|
|
10183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10184
10186
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10185
10187
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10186
10188
|
|
|
10187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10188
10190
|
var figures = record(string(), number());
|
|
10189
10191
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10190
10192
|
var rankingRow = strictObject({
|
|
@@ -10231,7 +10233,7 @@ var ranking = strictObject({
|
|
|
10231
10233
|
rows: array(rankingRow)
|
|
10232
10234
|
});
|
|
10233
10235
|
|
|
10234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10235
10237
|
var reaction = strictObject({
|
|
10236
10238
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10237
10239
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10239,7 +10241,7 @@ var reaction = strictObject({
|
|
|
10239
10241
|
reacted_at: time
|
|
10240
10242
|
});
|
|
10241
10243
|
|
|
10242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10244
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10243
10245
|
var reactionChange = strictObject({
|
|
10244
10246
|
operation_id: id,
|
|
10245
10247
|
chat_id: id,
|
|
@@ -10247,7 +10249,7 @@ var reactionChange = strictObject({
|
|
|
10247
10249
|
reaction: nullable(text)
|
|
10248
10250
|
});
|
|
10249
10251
|
|
|
10250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10251
10253
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10252
10254
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10253
10255
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10258,7 +10260,7 @@ var recipientChange = strictObject({
|
|
|
10258
10260
|
...partial(recipientOff).entries
|
|
10259
10261
|
});
|
|
10260
10262
|
|
|
10261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10262
10264
|
var events = array(record(string(), unknown()));
|
|
10263
10265
|
var recordedRun = strictObject({
|
|
10264
10266
|
run_id: id,
|
|
@@ -10330,7 +10332,7 @@ var runHit = strictObject({
|
|
|
10330
10332
|
});
|
|
10331
10333
|
var runLocation = strictObject({ path: text });
|
|
10332
10334
|
|
|
10333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10334
10336
|
var relationship = strictObject({
|
|
10335
10337
|
id,
|
|
10336
10338
|
from: reference,
|
|
@@ -10344,10 +10346,16 @@ var relationship = strictObject({
|
|
|
10344
10346
|
confirmed: boolean(),
|
|
10345
10347
|
provenance: nullable(text),
|
|
10346
10348
|
confidence_category: picklist(["owner-confirmed", "weak"]),
|
|
10349
|
+
/** `reported`: a CRM account says so and nobody confirmed it; `ended`: it no longer holds. */
|
|
10350
|
+
standing: picklist(STANDINGS),
|
|
10351
|
+
/** A job title beside it, never its role. */
|
|
10352
|
+
position: nullable(text),
|
|
10353
|
+
starts_at: nullable(time),
|
|
10354
|
+
ends_at: nullable(time),
|
|
10347
10355
|
created_at: time
|
|
10348
10356
|
});
|
|
10349
10357
|
|
|
10350
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10351
10359
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10352
10360
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10353
10361
|
var responseTimes = strictObject({
|
|
@@ -10364,7 +10372,7 @@ var waitingChats = strictObject({
|
|
|
10364
10372
|
by_kind: strictObject({ private: count, group: count })
|
|
10365
10373
|
});
|
|
10366
10374
|
|
|
10367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10368
10376
|
var retentionCohort = strictObject({
|
|
10369
10377
|
/** The first day of the joining day or week. */
|
|
10370
10378
|
cohort: text,
|
|
@@ -10412,7 +10420,7 @@ var retention = strictObject({
|
|
|
10412
10420
|
rows: array(retentionCohort)
|
|
10413
10421
|
});
|
|
10414
10422
|
|
|
10415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10416
10424
|
var savedSearch = strictObject({
|
|
10417
10425
|
id,
|
|
10418
10426
|
/** `null` for a run in the history. */
|
|
@@ -10429,7 +10437,7 @@ var savedSearch = strictObject({
|
|
|
10429
10437
|
});
|
|
10430
10438
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10431
10439
|
|
|
10432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10433
10441
|
var sendAttempt = strictObject({
|
|
10434
10442
|
at: time,
|
|
10435
10443
|
profile: text,
|
|
@@ -10457,7 +10465,7 @@ var sendAttempt = strictObject({
|
|
|
10457
10465
|
error_code: optional(text)
|
|
10458
10466
|
});
|
|
10459
10467
|
|
|
10460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10461
10469
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10462
10470
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10463
10471
|
var infoSchema = strictObject({
|
|
@@ -10678,7 +10686,7 @@ var storeRepair = union([
|
|
|
10678
10686
|
]);
|
|
10679
10687
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10680
10688
|
|
|
10681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10682
10690
|
var range = strictObject({ from: number(), to: number() });
|
|
10683
10691
|
var storeChatStatus = strictObject({
|
|
10684
10692
|
chat_id: id,
|
|
@@ -10776,7 +10784,7 @@ var storeJobRetry = union([
|
|
|
10776
10784
|
]);
|
|
10777
10785
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10778
10786
|
|
|
10779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10780
10788
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10781
10789
|
var storeTable = strictObject({
|
|
10782
10790
|
name: text,
|
|
@@ -10785,7 +10793,7 @@ var storeTable = strictObject({
|
|
|
10785
10793
|
bytes: optional(nullable(count))
|
|
10786
10794
|
});
|
|
10787
10795
|
|
|
10788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10789
10797
|
var tagTarget = variant("type", [
|
|
10790
10798
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10791
10799
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10816,7 +10824,7 @@ var automaticTags = strictObject({
|
|
|
10816
10824
|
dry_run: boolean()
|
|
10817
10825
|
});
|
|
10818
10826
|
|
|
10819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10827
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10820
10828
|
var tagging = strictObject({
|
|
10821
10829
|
tag: text,
|
|
10822
10830
|
type: picklist(TAG_TYPES),
|
|
@@ -10829,7 +10837,7 @@ var tagging = strictObject({
|
|
|
10829
10837
|
created_at: time
|
|
10830
10838
|
});
|
|
10831
10839
|
|
|
10832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10833
10841
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10834
10842
|
var taskPair = strictObject({
|
|
10835
10843
|
task: nullable(side),
|
|
@@ -10852,7 +10860,7 @@ var taskPair = strictObject({
|
|
|
10852
10860
|
created_at: time
|
|
10853
10861
|
});
|
|
10854
10862
|
|
|
10855
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10856
10864
|
var nullableTime = nullable(time);
|
|
10857
10865
|
var link2 = strictObject({
|
|
10858
10866
|
id,
|
|
@@ -11026,7 +11034,7 @@ var taskReview = strictObject({
|
|
|
11026
11034
|
untrusted
|
|
11027
11035
|
});
|
|
11028
11036
|
|
|
11029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11030
11038
|
var topic = strictObject({
|
|
11031
11039
|
id,
|
|
11032
11040
|
title: text,
|
|
@@ -11040,7 +11048,7 @@ var topic = strictObject({
|
|
|
11040
11048
|
untrusted
|
|
11041
11049
|
});
|
|
11042
11050
|
|
|
11043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11044
11052
|
var ENTITIES = {
|
|
11045
11053
|
sync_progress: progress,
|
|
11046
11054
|
deal,
|
|
@@ -11326,7 +11334,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11326
11334
|
return [name, definition];
|
|
11327
11335
|
})), "entityDefinitions");
|
|
11328
11336
|
|
|
11329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11330
11338
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11331
11339
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11332
11340
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11360,7 +11368,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11360
11368
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11361
11369
|
}, "answerRow");
|
|
11362
11370
|
|
|
11363
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11364
11372
|
import { join as join6 } from "node:path";
|
|
11365
11373
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11366
11374
|
var IMAGE_MODELS = [
|
|
@@ -11414,7 +11422,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11414
11422
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11415
11423
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11416
11424
|
|
|
11417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11418
11426
|
var STEPS2 = defineSteps([
|
|
11419
11427
|
...STEPS,
|
|
11420
11428
|
{
|
|
@@ -11692,7 +11700,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11692
11700
|
].join(" ");
|
|
11693
11701
|
}, "stepLine");
|
|
11694
11702
|
|
|
11695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11696
11704
|
var where = [{ field: "ref" }];
|
|
11697
11705
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11698
11706
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11784,7 +11792,7 @@ var STATUS_ROWS = {
|
|
|
11784
11792
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11785
11793
|
};
|
|
11786
11794
|
|
|
11787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11788
11796
|
var TEXT_CHARS = 400;
|
|
11789
11797
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11790
11798
|
var messageRow = {
|
|
@@ -12150,7 +12158,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12150
12158
|
return lines.concat(footerOf(body)).join("\n");
|
|
12151
12159
|
}, "compactText");
|
|
12152
12160
|
|
|
12153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12154
12162
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12155
12163
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12156
12164
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12197,7 +12205,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12197
12205
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12198
12206
|
}, "largeAnswerSteps");
|
|
12199
12207
|
|
|
12200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12201
12209
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12202
12210
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12203
12211
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12211,7 +12219,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12211
12219
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12212
12220
|
}, "strip");
|
|
12213
12221
|
|
|
12214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12215
12223
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12216
12224
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12217
12225
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|