@wirecat/cli-memo 0.131.50 → 0.131.52
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/author.d.ts +6 -3
- package/dist/author.d.ts.map +1 -1
- package/dist/author.js +9 -4
- package/dist/author.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-3HADTQZA.js → all-profiles-ZFVBLT2D.js} +9 -9
- package/dist/bundle/{anthropic-RI4DWC3G.js → anthropic-UG2YHOT7.js} +6 -6
- package/dist/bundle/{app-server-6EKWAYJI.js → app-server-AQYA4TB6.js} +42 -42
- package/dist/bundle/auto-2AY6K6DI.js +86 -0
- package/dist/bundle/{bun-HUHQD76Z.js → bun-QJUFWKEZ.js} +2 -2
- package/dist/bundle/{bun-sqlite-RPSKGB4O.js → bun-sqlite-GWVRHYF4.js} +5 -5
- package/dist/bundle/{chunk-N6IHOYMT.js → chunk-2CBOPOC7.js} +165 -37
- package/dist/bundle/{chunk-6N6BVPVX.js → chunk-2GEV2TXW.js} +4 -4
- package/dist/bundle/{chunk-2OIGV355.js → chunk-3O46NA2H.js} +105 -63
- package/dist/bundle/{chunk-UDJTRFRV.js → chunk-4ISZPK6D.js} +1 -1
- package/dist/bundle/{chunk-BXTDAGM4.js → chunk-4ZW6ZJ2V.js} +2 -2
- package/dist/bundle/{chunk-ZDHNEYKO.js → chunk-55GFDV24.js} +8 -8
- package/dist/bundle/{chunk-NJDGZRF5.js → chunk-5WT6SEXS.js} +30 -14
- package/dist/bundle/{chunk-EBNNONF5.js → chunk-64JCY7XJ.js} +8 -8
- package/dist/bundle/{chunk-LZWXGO3G.js → chunk-65576OCE.js} +2 -2
- package/dist/bundle/{chunk-57LMWEDK.js → chunk-6BVWU2UM.js} +3 -3
- package/dist/bundle/{chunk-VW6BF6M7.js → chunk-6G53ZFUT.js} +1 -1
- package/dist/bundle/{chunk-DVA6MQWK.js → chunk-6GF4TIVM.js} +1 -1
- package/dist/bundle/{chunk-LUPJB7ZD.js → chunk-6PQIXQFD.js} +9 -9
- package/dist/bundle/{chunk-S7F4ZDFU.js → chunk-6ZQK3L35.js} +3 -3
- package/dist/bundle/{chunk-SSPSNSC5.js → chunk-7SVHEGRO.js} +1 -1
- package/dist/bundle/{chunk-PUTGTW6W.js → chunk-A36ASW3I.js} +1 -1
- package/dist/bundle/{chunk-5TWUUDKP.js → chunk-A7DXLOMS.js} +2 -2
- package/dist/bundle/{chunk-UAR6UMFL.js → chunk-AGOUP5AH.js} +5 -5
- package/dist/bundle/{chunk-P2LMXIHL.js → chunk-AU5GAMGM.js} +415 -359
- package/dist/bundle/{chunk-QOGYHU3Q.js → chunk-EBDX6DNB.js} +61 -21
- package/dist/bundle/{chunk-ND6D4A6H.js → chunk-EEEZGK2J.js} +3 -3
- package/dist/bundle/{chunk-XZZFHQGM.js → chunk-EKQNL6VJ.js} +25 -23
- package/dist/bundle/{chunk-7ZLOZGIC.js → chunk-EQUPZVV6.js} +6 -6
- package/dist/bundle/{chunk-RKFKRCOH.js → chunk-ERZBEQAY.js} +276 -268
- package/dist/bundle/{chunk-D5KGXYG6.js → chunk-ETYAJPIT.js} +22 -22
- package/dist/bundle/{chunk-PYRHU35W.js → chunk-FWCFEJWD.js} +179 -159
- package/dist/bundle/{chunk-IXXBPSXO.js → chunk-G4Z4WSIG.js} +2 -2
- package/dist/bundle/{chunk-OT23U5LT.js → chunk-G52Y3KOO.js} +2 -2
- package/dist/bundle/{chunk-KVOHC4ZM.js → chunk-G7K4J3NS.js} +4 -4
- package/dist/bundle/{chunk-UJLYVXP6.js → chunk-GJWNHWG7.js} +34 -34
- package/dist/bundle/{chunk-2HPYP3ZT.js → chunk-I4LXP4HQ.js} +4 -4
- package/dist/bundle/{chunk-PEYCLVIO.js → chunk-IALGFO44.js} +2 -2
- package/dist/bundle/{chunk-P3ASN72F.js → chunk-IK6KH3RE.js} +1 -1
- package/dist/bundle/{chunk-FOM7WE2C.js → chunk-IKG2OPHU.js} +8 -16
- package/dist/bundle/{chunk-HCMXUHHF.js → chunk-KGPD3OCD.js} +180 -67
- package/dist/bundle/{chunk-2MFBZ2UM.js → chunk-LUHMRW3P.js} +9 -6
- package/dist/bundle/{chunk-SLIF5EMS.js → chunk-LX65W7IK.js} +7 -7
- package/dist/bundle/{chunk-DJRBSOWH.js → chunk-M64NVDB4.js} +4 -4
- package/dist/bundle/{chunk-QCPUC3HW.js → chunk-MICF3K6S.js} +13 -13
- package/dist/bundle/{chunk-7RNHFNHX.js → chunk-MZMJALJT.js} +4 -4
- package/dist/bundle/{chunk-PJMGQJAX.js → chunk-N5J6GT7C.js} +7 -7
- package/dist/bundle/{chunk-Y6VH7IRN.js → chunk-NIUWQP7F.js} +32 -30
- package/dist/bundle/{chunk-355PHJYX.js → chunk-NNUP36UQ.js} +1 -1
- package/dist/bundle/{chunk-GV6XJMUW.js → chunk-NOEXRGYH.js} +12 -12
- package/dist/bundle/{chunk-RYMYE5PF.js → chunk-NUQ3N3V3.js} +8 -8
- package/dist/bundle/{chunk-O3KOW7RG.js → chunk-NZKDNBYE.js} +8 -8
- package/dist/bundle/{chunk-AKD62EUH.js → chunk-OIPJYDLZ.js} +2 -2
- package/dist/bundle/{chunk-ZA7FKGB7.js → chunk-OWS67HTV.js} +2 -2
- package/dist/bundle/{chunk-GIDZGGAD.js → chunk-PBM5GH7S.js} +4 -4
- package/dist/bundle/{chunk-EJDV5IIF.js → chunk-PKVXZZTM.js} +58 -1
- package/dist/bundle/{chunk-5JVA43HX.js → chunk-RYY4YRKQ.js} +6 -6
- package/dist/bundle/{chunk-W6JQNNJ5.js → chunk-S7X5ZMQN.js} +3 -3
- package/dist/bundle/{chunk-P2TISY3R.js → chunk-TM6R3Z45.js} +1 -1
- package/dist/bundle/{chunk-4VQPPX47.js → chunk-TQS6ZKC3.js} +487 -406
- package/dist/bundle/{chunk-TSUNLSIN.js → chunk-U4ZD5SYO.js} +2 -2
- package/dist/bundle/{chunk-XXGBXCBQ.js → chunk-U6E3BGHO.js} +11 -11
- package/dist/bundle/{chunk-HXOAPH47.js → chunk-VOWEZBOJ.js} +1 -1
- package/dist/bundle/{chunk-O3ZOYXH3.js → chunk-WLKDS65F.js} +20 -20
- package/dist/bundle/{chunk-NTQUBSIJ.js → chunk-X6XIW76O.js} +6 -6
- package/dist/bundle/{chunk-5RVL7GYA.js → chunk-XIHQOSCT.js} +2 -2
- package/dist/bundle/{chunk-XH6K2B5L.js → chunk-ZKXIZD4C.js} +4 -4
- package/dist/bundle/{chunk-V2DMJ6ES.js → chunk-ZVJAZXME.js} +6 -6
- package/dist/bundle/{chunk-3BG5VYMV.js → chunk-ZVR6S4XB.js} +10 -10
- package/dist/bundle/{chunk-QCRJNWJZ.js → chunk-ZYQEWB6P.js} +3 -3
- package/dist/bundle/command-contract-7AADJ3UC.js +32 -0
- package/dist/bundle/{decode-IYWZ3X7X.js → decode-XMIBTI5O.js} +5 -5
- package/dist/bundle/{dispatch-HCRXCPCF.js → dispatch-W4ZVXTJT.js} +10 -10
- package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-W7DPDJA5.js} +2 -2
- package/dist/bundle/{embed-EGY2R4FN.js → embed-EP3KKO6Y.js} +6 -6
- package/dist/bundle/{embedder-K2BGPWNX.js → embedder-ENGCALJ7.js} +9 -9
- package/dist/bundle/{entry-NMAZNDNU.js → entry-BGSKREOS.js} +7 -7
- package/dist/bundle/{failure-G4DCTWFD.js → failure-GQHAQVGH.js} +2 -2
- package/dist/bundle/failure-ZKQVXWAB.js +66 -0
- package/dist/bundle/{first-run-QDCSWX3N.js → first-run-4EBMV2EM.js} +11 -11
- package/dist/bundle/first-screen-2TM3BF2Y.js +30 -0
- package/dist/bundle/{instructions-P72XX4AK.js → instructions-A42XETMK.js} +1 -1
- package/dist/bundle/mcp-5LAWRSJK.js +90 -0
- package/dist/bundle/{mcp-M4QN2E7R.js → mcp-RKJG22KM.js} +2 -2
- package/dist/bundle/memo.js +41 -17
- package/dist/bundle/{node-ZB4RNICS.js → node-IRL66JK2.js} +2 -2
- package/dist/bundle/{node-sqlite-7XJ4J4E5.js → node-sqlite-SOGTH72B.js} +6 -6
- package/dist/bundle/{oauth-FMH3JIPT.js → oauth-RB5W3AC7.js} +7 -7
- package/dist/bundle/{open-PRCTOHHL.js → open-552EJ4JC.js} +5 -5
- package/dist/bundle/{openai-VW4W6SIO.js → openai-ZLOHEEDH.js} +10 -10
- package/dist/bundle/{process-XNN4WG6N.js → process-46SUXGWW.js} +1 -1
- package/dist/bundle/{program-TVT22XUQ.js → program-ZLWKMT65.js} +72 -65
- package/dist/bundle/{prompt-RT55UZGB.js → prompt-2NHJSYKX.js} +5 -5
- package/dist/bundle/{recognize-AQ2UXUC2.js → recognize-2LDM6KHL.js} +4 -4
- package/dist/bundle/{remote-T3P5OWRR.js → remote-DBYHHENF.js} +7 -7
- package/dist/bundle/{rerank-743T3675.js → rerank-N5T2TIIY.js} +7 -7
- package/dist/bundle/{serve-BSKOU4FJ.js → serve-S6B54R2F.js} +9 -9
- package/dist/bundle/server-KZZHFPTZ.js +61 -0
- package/dist/bundle/{server-ECOTCYJ3.js → server-QH6AKPRV.js} +58 -58
- package/dist/bundle/server-WAIPBBM7.js +48 -0
- package/dist/bundle/{state-MDMI3I2Z.js → state-ZXZGIIJW.js} +6 -6
- package/dist/bundle/{store-I3DIZALN.js → store-PNJNDMQ4.js} +13 -13
- package/dist/bundle/store-maintenance-command-2ZVV3DGA.js +48 -0
- package/dist/bundle/update-6HXLLGTQ.js +69 -0
- package/dist/doctor/command.d.ts +30 -0
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +1 -1
- package/dist/doctor/command.js.map +1 -1
- package/dist/failure.js +2 -2
- package/dist/failure.js.map +1 -1
- package/dist/knowledge/relationships-scan.d.ts.map +1 -1
- package/dist/knowledge/relationships-scan.js +4 -3
- package/dist/knowledge/relationships-scan.js.map +1 -1
- package/dist/mcp/catalogue.js +1 -1
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -1
- package/dist/people/command.js.map +1 -1
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +3 -2
- package/dist/run/import.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/cli-memo/SKILL.md +1 -1
- package/skills/cli-memo/topics/proposals.md +2 -2
- package/skills/mail-triage/SKILL.md +1 -1
- package/skills/morning-digest/SKILL.md +1 -1
- package/dist/bundle/auto-C7G3WVRU.js +0 -86
- package/dist/bundle/command-contract-MRLLZQ4M.js +0 -32
- package/dist/bundle/failure-FW4NJI7G.js +0 -66
- package/dist/bundle/first-screen-YABO6OZ7.js +0 -30
- package/dist/bundle/mcp-QRZ2HSON.js +0 -90
- package/dist/bundle/server-VMWVYGK7.js +0 -48
- package/dist/bundle/server-ZFHSK6TT.js +0 -61
- package/dist/bundle/store-maintenance-command-HZPQPOK7.js +0 -48
- package/dist/bundle/update-ZIZAU5RE.js +0 -69
- /package/dist/bundle/{chunk-CDFNOKPG.js → chunk-DPRGC5YX.js} +0 -0
- /package/dist/bundle/{chunk-VOXIGICJ.js → chunk-SW6C6WH5.js} +0 -0
|
@@ -5,23 +5,22 @@ import {
|
|
|
5
5
|
endpointTemplate,
|
|
6
6
|
errorDetailOf,
|
|
7
7
|
framesOf,
|
|
8
|
-
isCliFailure,
|
|
9
8
|
keepsSuccess,
|
|
10
9
|
providerErrorKey,
|
|
11
10
|
renderEvent,
|
|
12
11
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IKG2OPHU.js";
|
|
14
13
|
import {
|
|
15
14
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M64NVDB4.js";
|
|
17
16
|
import {
|
|
18
17
|
envName,
|
|
19
18
|
readOnlyLockOf,
|
|
20
19
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-G52Y3KOO.js";
|
|
22
21
|
import {
|
|
23
22
|
carries
|
|
24
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6GF4TIVM.js";
|
|
25
24
|
import {
|
|
26
25
|
FACT_STATUSES,
|
|
27
26
|
FACT_TYPES,
|
|
@@ -52,6 +51,7 @@ import {
|
|
|
52
51
|
event,
|
|
53
52
|
evidenceSource,
|
|
54
53
|
id,
|
|
54
|
+
markStoreDamaged,
|
|
55
55
|
meeting,
|
|
56
56
|
meetingCounts,
|
|
57
57
|
meetingDetails,
|
|
@@ -72,17 +72,21 @@ import {
|
|
|
72
72
|
text,
|
|
73
73
|
time,
|
|
74
74
|
untrusted
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-KGPD3OCD.js";
|
|
76
|
+
import {
|
|
77
|
+
isCliFailure,
|
|
78
|
+
storeDamaged
|
|
79
|
+
} from "./chunk-PKVXZZTM.js";
|
|
76
80
|
import {
|
|
77
81
|
sharedConfigPath
|
|
78
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ZVJAZXME.js";
|
|
79
83
|
import {
|
|
80
84
|
filesPresent,
|
|
81
85
|
sharedModelsDirectory
|
|
82
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-G7K4J3NS.js";
|
|
83
87
|
import {
|
|
84
88
|
storePath
|
|
85
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-65576OCE.js";
|
|
86
90
|
import {
|
|
87
91
|
configFilePath,
|
|
88
92
|
createRecordLog,
|
|
@@ -95,7 +99,7 @@ import {
|
|
|
95
99
|
saveConfigFile,
|
|
96
100
|
traceIdOf,
|
|
97
101
|
writeSecurely
|
|
98
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-WLKDS65F.js";
|
|
99
103
|
import {
|
|
100
104
|
COMPACT_FLAG,
|
|
101
105
|
EXIT_CODES,
|
|
@@ -149,18 +153,18 @@ import {
|
|
|
149
153
|
unwrap,
|
|
150
154
|
variant,
|
|
151
155
|
writes
|
|
152
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-64JCY7XJ.js";
|
|
153
157
|
import {
|
|
154
158
|
CliError,
|
|
155
159
|
isCliError,
|
|
156
160
|
singleLine,
|
|
157
161
|
visibleControls
|
|
158
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-4ZW6ZJ2V.js";
|
|
159
163
|
import {
|
|
160
164
|
__name
|
|
161
165
|
} from "./chunk-ZVVMGPBJ.js";
|
|
162
166
|
|
|
163
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
167
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
164
168
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
165
169
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
166
170
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3661,7 +3665,7 @@ __name(useColor, "useColor");
|
|
|
3661
3665
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3662
3666
|
var program = new Command();
|
|
3663
3667
|
|
|
3664
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3668
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3665
3669
|
import { isDeepStrictEqual } from "node:util";
|
|
3666
3670
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3667
3671
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3863,7 +3867,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3863
3867
|
return command;
|
|
3864
3868
|
}, "customizeSharedCommand");
|
|
3865
3869
|
|
|
3866
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3870
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3867
3871
|
var argumentInfoSchema = object({
|
|
3868
3872
|
name: string(),
|
|
3869
3873
|
required: boolean(),
|
|
@@ -3946,7 +3950,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3946
3950
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3947
3951
|
}), "commandsDocument");
|
|
3948
3952
|
|
|
3949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3950
3954
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3951
3955
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3952
3956
|
messageId: message2.id,
|
|
@@ -4052,7 +4056,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4052
4056
|
}, "guardedWrite");
|
|
4053
4057
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4054
4058
|
|
|
4055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4056
4060
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4057
4061
|
try {
|
|
4058
4062
|
return work();
|
|
@@ -4079,7 +4083,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4079
4083
|
return projectFields(value, fields);
|
|
4080
4084
|
}), "projectFields");
|
|
4081
4085
|
|
|
4082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4083
4087
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4084
4088
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4085
4089
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4101,7 +4105,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4101
4105
|
}
|
|
4102
4106
|
}, "withAbort");
|
|
4103
4107
|
|
|
4104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4105
4109
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4106
4110
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4107
4111
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4497,7 +4501,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4497
4501
|
}
|
|
4498
4502
|
}, "assertRetentionEvidenceRead");
|
|
4499
4503
|
|
|
4500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4504
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4501
4505
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4502
4506
|
import { join } from "node:path";
|
|
4503
4507
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4519,12 +4523,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4519
4523
|
}, "profilesWithAccounts");
|
|
4520
4524
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4521
4525
|
|
|
4522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4523
4527
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4524
4528
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4525
4529
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4526
4530
|
|
|
4527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4528
4532
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4529
4533
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4530
4534
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4560,7 +4564,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4560
4564
|
return value;
|
|
4561
4565
|
}, "atDetail");
|
|
4562
4566
|
|
|
4563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/output.js
|
|
4564
4568
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4565
4569
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4566
4570
|
if (other)
|
|
@@ -4624,7 +4628,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4624
4628
|
}, "warn")
|
|
4625
4629
|
}), "silence");
|
|
4626
4630
|
|
|
4627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4628
4632
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4629
4633
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4630
4634
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4658,7 +4662,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4658
4662
|
cache: "cache.answered"
|
|
4659
4663
|
};
|
|
4660
4664
|
|
|
4661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4662
4666
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4663
4667
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4664
4668
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4671,13 +4675,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4671
4675
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4672
4676
|
}), "snakeLogger");
|
|
4673
4677
|
|
|
4674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4675
4679
|
import { randomUUID } from "node:crypto";
|
|
4676
4680
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4677
4681
|
import { userInfo } from "node:os";
|
|
4678
4682
|
import { join as join2, sep } from "node:path";
|
|
4679
4683
|
|
|
4680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4681
4685
|
var diagnostic = {
|
|
4682
4686
|
event: true,
|
|
4683
4687
|
operation: true,
|
|
@@ -4747,7 +4751,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4747
4751
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4748
4752
|
].sort();
|
|
4749
4753
|
|
|
4750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4751
4755
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4752
4756
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4753
4757
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5100,7 +5104,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5100
5104
|
};
|
|
5101
5105
|
}, "metadataOf");
|
|
5102
5106
|
|
|
5103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5104
5108
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5105
5109
|
import { randomBytes } from "node:crypto";
|
|
5106
5110
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5135,7 +5139,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5135
5139
|
var attempts = new AsyncLocalStorage2();
|
|
5136
5140
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5137
5141
|
|
|
5138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5139
5143
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5140
5144
|
const recording = startRecording(options);
|
|
5141
5145
|
try {
|
|
@@ -5226,7 +5230,14 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
5226
5230
|
...partial2 ? { partial: partial2 } : {}
|
|
5227
5231
|
});
|
|
5228
5232
|
}, "succeed"),
|
|
5229
|
-
fail: /* @__PURE__ */ __name(async (
|
|
5233
|
+
fail: /* @__PURE__ */ __name(async (thrown) => {
|
|
5234
|
+
const error = storeDamaged(thrown);
|
|
5235
|
+
markStoreDamaged(thrown, {
|
|
5236
|
+
store: storePath(options.env),
|
|
5237
|
+
command: `${options.app.command} ${options.command}`,
|
|
5238
|
+
version: options.app.version,
|
|
5239
|
+
runId
|
|
5240
|
+
});
|
|
5230
5241
|
const failed = run ?? (held ? keep(open({ startedAt })) : void 0);
|
|
5231
5242
|
if (failed) {
|
|
5232
5243
|
if (!isCliFailure(error))
|
|
@@ -5241,8 +5252,8 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
5241
5252
|
...run ? {} : { keptBecauseFailed: true }
|
|
5242
5253
|
});
|
|
5243
5254
|
}
|
|
5244
|
-
if (typeof
|
|
5245
|
-
settled.add(
|
|
5255
|
+
if (typeof thrown === "object" && thrown !== null)
|
|
5256
|
+
settled.add(thrown);
|
|
5246
5257
|
}, "fail")
|
|
5247
5258
|
};
|
|
5248
5259
|
}, "startRecording");
|
|
@@ -5320,7 +5331,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5320
5331
|
return void 0;
|
|
5321
5332
|
}, "partialOutcome");
|
|
5322
5333
|
|
|
5323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5324
5335
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5325
5336
|
if (ms2 === void 0)
|
|
5326
5337
|
return body();
|
|
@@ -5346,7 +5357,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5346
5357
|
}
|
|
5347
5358
|
}, "withDeadline");
|
|
5348
5359
|
|
|
5349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5350
5361
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5351
5362
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5352
5363
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5388,10 +5399,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5388
5399
|
return root;
|
|
5389
5400
|
}, "rootOf");
|
|
5390
5401
|
|
|
5391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5392
5403
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5393
5404
|
|
|
5394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5395
5406
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5396
5407
|
try {
|
|
5397
5408
|
const url2 = new URL(value);
|
|
@@ -5401,7 +5412,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5401
5412
|
}
|
|
5402
5413
|
}, "endpoint");
|
|
5403
5414
|
|
|
5404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5405
5416
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5406
5417
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5407
5418
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5470,7 +5481,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5470
5481
|
};
|
|
5471
5482
|
}, "modelTarget");
|
|
5472
5483
|
|
|
5473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5474
5485
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5475
5486
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5476
5487
|
var AI_FIELDS = {
|
|
@@ -5514,7 +5525,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5514
5525
|
};
|
|
5515
5526
|
}, "resolveAISettings");
|
|
5516
5527
|
|
|
5517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5518
5529
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5519
5530
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5520
5531
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5528,7 +5539,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5528
5539
|
return ms2;
|
|
5529
5540
|
}, "parseDuration");
|
|
5530
5541
|
|
|
5531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5532
5543
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5533
5544
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5534
5545
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5687,7 +5698,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5687
5698
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5688
5699
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5689
5700
|
|
|
5690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5691
5702
|
var HISTORY_MAX_DAYS = 1095;
|
|
5692
5703
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5693
5704
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5734,7 +5745,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5734
5745
|
return { batch: { ...batch, messages }, skipped };
|
|
5735
5746
|
}, "limitBatch");
|
|
5736
5747
|
|
|
5737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5738
5749
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5739
5750
|
import { join as join3 } from "node:path";
|
|
5740
5751
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5823,10 +5834,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5823
5834
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5824
5835
|
}, "registryProfiles");
|
|
5825
5836
|
|
|
5826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5827
5838
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5828
5839
|
|
|
5829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5830
5841
|
var REPAIR_WORDS = {
|
|
5831
5842
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5832
5843
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6067,7 +6078,7 @@ ${parts.join(",\n")}
|
|
|
6067
6078
|
${indent}${close}`;
|
|
6068
6079
|
}, "serialise");
|
|
6069
6080
|
|
|
6070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6081
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6071
6082
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6072
6083
|
var SECTIONS = ["personal", "bot"];
|
|
6073
6084
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6362,7 +6373,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6362
6373
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6363
6374
|
}, "readConfigFile");
|
|
6364
6375
|
|
|
6365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6366
6377
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6367
6378
|
import { dirname, join as join4 } from "node:path";
|
|
6368
6379
|
var DEFAULT_CONFIG = {
|
|
@@ -6391,7 +6402,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6391
6402
|
}
|
|
6392
6403
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6393
6404
|
|
|
6394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6395
6406
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6396
6407
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6397
6408
|
const path2 = key.split(".");
|
|
@@ -6424,7 +6435,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6424
6435
|
};
|
|
6425
6436
|
}), "settingRows");
|
|
6426
6437
|
|
|
6427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6428
6439
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6429
6440
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6430
6441
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6934,7 +6945,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6934
6945
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6935
6946
|
}, "given");
|
|
6936
6947
|
|
|
6937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6948
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6938
6949
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6939
6950
|
const slot = environmentOf(command).exit;
|
|
6940
6951
|
if (slot)
|
|
@@ -7056,7 +7067,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7056
7067
|
return words.join(" ");
|
|
7057
7068
|
}, "commandPath");
|
|
7058
7069
|
|
|
7059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7060
7071
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7061
7072
|
var FETCH = { remote: "read", local: "write" };
|
|
7062
7073
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7171,7 +7182,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7171
7182
|
throw readOnlyRefusal(lock, what);
|
|
7172
7183
|
}, "refuseUnderReadOnly");
|
|
7173
7184
|
|
|
7174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7175
7186
|
var account = strictObject({
|
|
7176
7187
|
provider: text,
|
|
7177
7188
|
id,
|
|
@@ -7181,7 +7192,7 @@ var account = strictObject({
|
|
|
7181
7192
|
scope: optional(picklist(["personal", "work"]))
|
|
7182
7193
|
});
|
|
7183
7194
|
|
|
7184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7185
7196
|
var accountSession = strictObject({
|
|
7186
7197
|
current: boolean(),
|
|
7187
7198
|
client: nullable(text),
|
|
@@ -7191,7 +7202,7 @@ var accountSession = strictObject({
|
|
|
7191
7202
|
created_at: optional(nullable(time))
|
|
7192
7203
|
});
|
|
7193
7204
|
|
|
7194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7195
7206
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7196
7207
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7197
7208
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7209,7 +7220,7 @@ var accountPrivacy = strictObject({
|
|
|
7209
7220
|
});
|
|
7210
7221
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7211
7222
|
|
|
7212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7223
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7213
7224
|
var accountProfile = strictObject({
|
|
7214
7225
|
profile: id,
|
|
7215
7226
|
current: boolean(),
|
|
@@ -7221,7 +7232,7 @@ var accountProfile = strictObject({
|
|
|
7221
7232
|
bot: optional(literal(true))
|
|
7222
7233
|
});
|
|
7223
7234
|
|
|
7224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7225
7236
|
var milliseconds = pipe(number(), minValue(0));
|
|
7226
7237
|
var counterReading = strictObject({
|
|
7227
7238
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7233,7 +7244,7 @@ var counterReading = strictObject({
|
|
|
7233
7244
|
});
|
|
7234
7245
|
var selection = record(string(), unknown());
|
|
7235
7246
|
|
|
7236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7237
7248
|
var adminRow = strictObject({
|
|
7238
7249
|
ref: reference,
|
|
7239
7250
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7286,7 +7297,7 @@ var adminReport = strictObject({
|
|
|
7286
7297
|
rows: array(adminRow)
|
|
7287
7298
|
});
|
|
7288
7299
|
|
|
7289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7290
7301
|
var closeSuggestion = strictObject({
|
|
7291
7302
|
as: picklist(["done", "dismissed"]),
|
|
7292
7303
|
/** The agent's name. */
|
|
@@ -7348,7 +7359,7 @@ var task = strictObject({
|
|
|
7348
7359
|
updated_at: optional(time)
|
|
7349
7360
|
});
|
|
7350
7361
|
|
|
7351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7352
7363
|
var agendaChat = strictObject({
|
|
7353
7364
|
chat: reference,
|
|
7354
7365
|
title: nullable(text),
|
|
@@ -7418,11 +7429,11 @@ var agenda = strictObject({
|
|
|
7418
7429
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7419
7430
|
});
|
|
7420
7431
|
|
|
7421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7422
7433
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7423
7434
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7424
7435
|
|
|
7425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7426
7437
|
var attachment = strictObject({
|
|
7427
7438
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7428
7439
|
message: optional(reference),
|
|
@@ -7460,7 +7471,7 @@ var attachment = strictObject({
|
|
|
7460
7471
|
});
|
|
7461
7472
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7462
7473
|
|
|
7463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7464
7475
|
var actionableError = objectWithRest({
|
|
7465
7476
|
code: text,
|
|
7466
7477
|
message: text,
|
|
@@ -7477,7 +7488,7 @@ var batchResult = strictObject({
|
|
|
7477
7488
|
max_error_percent: count
|
|
7478
7489
|
});
|
|
7479
7490
|
|
|
7480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7481
7492
|
var extractionItem = strictObject({
|
|
7482
7493
|
ref: reference,
|
|
7483
7494
|
attachment: count,
|
|
@@ -7510,7 +7521,7 @@ var extractionReport = strictObject({
|
|
|
7510
7521
|
cursor: optional(text)
|
|
7511
7522
|
});
|
|
7512
7523
|
|
|
7513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7514
7525
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7515
7526
|
var attachmentBytes = strictObject({
|
|
7516
7527
|
ref: reference,
|
|
@@ -7538,7 +7549,7 @@ var attachmentTextChange = strictObject({
|
|
|
7538
7549
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7539
7550
|
});
|
|
7540
7551
|
|
|
7541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7542
7553
|
var chart = strictObject({
|
|
7543
7554
|
version: literal(1),
|
|
7544
7555
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7553,7 +7564,7 @@ var chart = strictObject({
|
|
|
7553
7564
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7554
7565
|
});
|
|
7555
7566
|
|
|
7556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7557
7568
|
var member = strictObject({
|
|
7558
7569
|
id,
|
|
7559
7570
|
name: nullable(text),
|
|
@@ -7576,7 +7587,7 @@ var member = strictObject({
|
|
|
7576
7587
|
check: optional(record(string(), unknown()))
|
|
7577
7588
|
});
|
|
7578
7589
|
|
|
7579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7580
7591
|
var setting = optional(nullable(boolean()));
|
|
7581
7592
|
var chat = strictObject({
|
|
7582
7593
|
ref: reference,
|
|
@@ -7617,7 +7628,7 @@ var chat = strictObject({
|
|
|
7617
7628
|
members: optional(array(member))
|
|
7618
7629
|
});
|
|
7619
7630
|
|
|
7620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7621
7632
|
var named2 = strictObject({
|
|
7622
7633
|
id,
|
|
7623
7634
|
title: nullable(text),
|
|
@@ -7640,7 +7651,7 @@ var folder = strictObject({
|
|
|
7640
7651
|
excluded_chats: optional(array(named2))
|
|
7641
7652
|
});
|
|
7642
7653
|
|
|
7643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7644
7655
|
var inviteLink = strictObject({
|
|
7645
7656
|
link: text,
|
|
7646
7657
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7656,7 +7667,7 @@ var inviteLink = strictObject({
|
|
|
7656
7667
|
joined_count: optional(count)
|
|
7657
7668
|
});
|
|
7658
7669
|
|
|
7659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7660
7671
|
var operated = { operation_id: id, chat_id: id };
|
|
7661
7672
|
var group = strictObject({
|
|
7662
7673
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7736,7 +7747,7 @@ var chatFolderOrder = strictObject({
|
|
|
7736
7747
|
folders: array(strictObject({ id, title: text }))
|
|
7737
7748
|
});
|
|
7738
7749
|
|
|
7739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7740
7751
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7741
7752
|
var chatRemoval = strictObject(operated2);
|
|
7742
7753
|
var chatMuting = strictObject({
|
|
@@ -7747,7 +7758,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7747
7758
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7748
7759
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7749
7760
|
|
|
7750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7751
7762
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7752
7763
|
var chatEvent = strictObject({
|
|
7753
7764
|
chat_id: id,
|
|
@@ -7764,7 +7775,7 @@ var chatEvent = strictObject({
|
|
|
7764
7775
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7765
7776
|
});
|
|
7766
7777
|
|
|
7767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7768
7779
|
var chatMetadata = strictObject({
|
|
7769
7780
|
chat_id: id,
|
|
7770
7781
|
title: nullable(text),
|
|
@@ -7779,7 +7790,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7779
7790
|
has_more: boolean()
|
|
7780
7791
|
});
|
|
7781
7792
|
|
|
7782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7783
7794
|
var action = picklist(["report", "delete", "remove"]);
|
|
7784
7795
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7785
7796
|
var chatRules = strictObject({
|
|
@@ -7816,7 +7827,7 @@ var chatModeration = strictObject({
|
|
|
7816
7827
|
}))
|
|
7817
7828
|
});
|
|
7818
7829
|
|
|
7819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7820
7831
|
var optionalCount = optional(count);
|
|
7821
7832
|
var minutes = nullable(number());
|
|
7822
7833
|
var chatStats = strictObject({
|
|
@@ -7890,7 +7901,7 @@ var taskStats = strictObject({
|
|
|
7890
7901
|
}))
|
|
7891
7902
|
});
|
|
7892
7903
|
|
|
7893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7904
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7894
7905
|
var memberCount = strictObject({
|
|
7895
7906
|
day: pipe(text, isoDate()),
|
|
7896
7907
|
participants: nullable(count),
|
|
@@ -7913,7 +7924,7 @@ var chatTracking = strictObject({
|
|
|
7913
7924
|
tracked: boolean()
|
|
7914
7925
|
});
|
|
7915
7926
|
|
|
7916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7917
7928
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7918
7929
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7919
7930
|
var profileFields = {
|
|
@@ -7951,7 +7962,7 @@ var profileFields = {
|
|
|
7951
7962
|
}))
|
|
7952
7963
|
};
|
|
7953
7964
|
|
|
7954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7955
7966
|
var contact = strictObject({
|
|
7956
7967
|
ref: reference,
|
|
7957
7968
|
id,
|
|
@@ -7982,7 +7993,7 @@ var contact = strictObject({
|
|
|
7982
7993
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7983
7994
|
});
|
|
7984
7995
|
|
|
7985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7986
7997
|
var WEIGHTS = {
|
|
7987
7998
|
bot: 3,
|
|
7988
7999
|
scam: 3,
|
|
@@ -8007,7 +8018,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8007
8018
|
var DIGITS = /\d{5,}/;
|
|
8008
8019
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8009
8020
|
|
|
8010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8021
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8011
8022
|
var linkedIdentity = strictObject({
|
|
8012
8023
|
provider: text,
|
|
8013
8024
|
id,
|
|
@@ -8015,6 +8026,7 @@ var linkedIdentity = strictObject({
|
|
|
8015
8026
|
username: nullable(text),
|
|
8016
8027
|
is_bot: nullable(boolean()),
|
|
8017
8028
|
accounts: array(id),
|
|
8029
|
+
seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
|
|
8018
8030
|
method: text,
|
|
8019
8031
|
linked_by: text,
|
|
8020
8032
|
linked_at: time
|
|
@@ -8048,7 +8060,7 @@ var contactCheck = strictObject({
|
|
|
8048
8060
|
checked_at: time
|
|
8049
8061
|
});
|
|
8050
8062
|
|
|
8051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8052
8064
|
var quoted = strictObject({
|
|
8053
8065
|
id,
|
|
8054
8066
|
sender_id: nullable(id),
|
|
@@ -8167,7 +8179,7 @@ var message = strictObject({
|
|
|
8167
8179
|
provider_metadata: providerMetadata
|
|
8168
8180
|
});
|
|
8169
8181
|
|
|
8170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8171
8183
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8172
8184
|
var contextMessage = strictObject({
|
|
8173
8185
|
locator: reference,
|
|
@@ -8201,6 +8213,8 @@ var contextEvent = strictObject({
|
|
|
8201
8213
|
});
|
|
8202
8214
|
var context = strictObject({
|
|
8203
8215
|
person: contextPerson,
|
|
8216
|
+
/** The accounts read: only those of the scopes the caller may read. */
|
|
8217
|
+
accounts: array(strictObject({ provider: text, account: id, scope: picklist(["personal", "work"]) })),
|
|
8204
8218
|
shared: array(sharedChat),
|
|
8205
8219
|
last: strictObject({
|
|
8206
8220
|
from_them: nullable(contextMessage),
|
|
@@ -8365,7 +8379,7 @@ var contactPreparation = strictObject({
|
|
|
8365
8379
|
})
|
|
8366
8380
|
});
|
|
8367
8381
|
|
|
8368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8369
8383
|
var contactNote = strictObject({
|
|
8370
8384
|
id,
|
|
8371
8385
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8377,13 +8391,13 @@ var contactNote = strictObject({
|
|
|
8377
8391
|
updated_at: time
|
|
8378
8392
|
});
|
|
8379
8393
|
|
|
8380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8381
8395
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8382
8396
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8383
8397
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8384
8398
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8385
8399
|
|
|
8386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8387
8401
|
var conversation = strictObject({
|
|
8388
8402
|
id,
|
|
8389
8403
|
chat: reference,
|
|
@@ -8398,7 +8412,7 @@ var conversation = strictObject({
|
|
|
8398
8412
|
rules_version: count
|
|
8399
8413
|
});
|
|
8400
8414
|
|
|
8401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8402
8416
|
var conversationBuild = strictObject({
|
|
8403
8417
|
chat: id,
|
|
8404
8418
|
messages: count,
|
|
@@ -8423,7 +8437,7 @@ var catchUpPreparation = strictObject({
|
|
|
8423
8437
|
prepared: optional(conversationPreparation)
|
|
8424
8438
|
});
|
|
8425
8439
|
|
|
8426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8427
8441
|
var conversationDetails = union([
|
|
8428
8442
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8429
8443
|
message
|
|
@@ -8513,7 +8527,7 @@ var conversationHit = strictObject({
|
|
|
8513
8527
|
stale: boolean()
|
|
8514
8528
|
});
|
|
8515
8529
|
|
|
8516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8517
8531
|
var counters = strictObject({
|
|
8518
8532
|
cutoff: time,
|
|
8519
8533
|
max_age_ms: milliseconds,
|
|
@@ -8543,7 +8557,7 @@ var counterRefresh = strictObject({
|
|
|
8543
8557
|
complete: optional(boolean())
|
|
8544
8558
|
});
|
|
8545
8559
|
|
|
8546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8547
8561
|
var nullableText = nullable(text);
|
|
8548
8562
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8549
8563
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8630,7 +8644,7 @@ var stage = strictObject({
|
|
|
8630
8644
|
untrusted
|
|
8631
8645
|
});
|
|
8632
8646
|
|
|
8633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8634
8648
|
var document = strictObject({
|
|
8635
8649
|
ref: reference,
|
|
8636
8650
|
id,
|
|
@@ -8645,7 +8659,7 @@ var document = strictObject({
|
|
|
8645
8659
|
owners: optional(array(text))
|
|
8646
8660
|
});
|
|
8647
8661
|
|
|
8648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8649
8663
|
var documentLink = strictObject({
|
|
8650
8664
|
ref: reference,
|
|
8651
8665
|
url: text,
|
|
@@ -8656,7 +8670,7 @@ var documentLink = strictObject({
|
|
|
8656
8670
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8657
8671
|
});
|
|
8658
8672
|
|
|
8659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8660
8674
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8661
8675
|
var contribution = strictObject({
|
|
8662
8676
|
message: evidenceMessage,
|
|
@@ -8686,7 +8700,7 @@ var retentionStay = strictObject({
|
|
|
8686
8700
|
});
|
|
8687
8701
|
var evidence = union([contribution, retentionStay]);
|
|
8688
8702
|
|
|
8689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8690
8704
|
var fact = strictObject({
|
|
8691
8705
|
ref: reference,
|
|
8692
8706
|
id,
|
|
@@ -8716,7 +8730,7 @@ var fact = strictObject({
|
|
|
8716
8730
|
updated_at: time
|
|
8717
8731
|
});
|
|
8718
8732
|
|
|
8719
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8720
8734
|
var hit = strictObject({
|
|
8721
8735
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8722
8736
|
ref: reference,
|
|
@@ -8754,7 +8768,7 @@ var hit = strictObject({
|
|
|
8754
8768
|
untrusted
|
|
8755
8769
|
});
|
|
8756
8770
|
|
|
8757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8758
8772
|
var identity = strictObject({
|
|
8759
8773
|
ref: reference,
|
|
8760
8774
|
provider: text,
|
|
@@ -8767,7 +8781,7 @@ var identity = strictObject({
|
|
|
8767
8781
|
person: optional(nullable(reference))
|
|
8768
8782
|
});
|
|
8769
8783
|
|
|
8770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8771
8785
|
var imageEmbedding = strictObject({
|
|
8772
8786
|
model: text,
|
|
8773
8787
|
embedded: count,
|
|
@@ -8776,13 +8790,13 @@ var imageEmbedding = strictObject({
|
|
|
8776
8790
|
more: boolean()
|
|
8777
8791
|
});
|
|
8778
8792
|
|
|
8779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8780
8794
|
import { spawn } from "node:child_process";
|
|
8781
8795
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8782
8796
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8783
8797
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8784
8798
|
|
|
8785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8786
8800
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8787
8801
|
const total = input.total ?? null;
|
|
8788
8802
|
const updated = input.updatedAt ?? null;
|
|
@@ -8798,7 +8812,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8798
8812
|
};
|
|
8799
8813
|
}, "progressOf");
|
|
8800
8814
|
|
|
8801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8802
8816
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8803
8817
|
const run = currentRun();
|
|
8804
8818
|
const trace = traceId ?? run.traceId;
|
|
@@ -8812,7 +8826,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8812
8826
|
}));
|
|
8813
8827
|
}, "recordLogFor");
|
|
8814
8828
|
|
|
8815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8816
8830
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8817
8831
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8818
8832
|
const out = openSync(log, "a", 384);
|
|
@@ -8967,7 +8981,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8967
8981
|
return { job: id6, pid, chat: input.chat, log };
|
|
8968
8982
|
}, "startArchiveJob");
|
|
8969
8983
|
|
|
8970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8971
8985
|
var problem = strictObject({ code: text, message: text });
|
|
8972
8986
|
var job = strictObject({
|
|
8973
8987
|
id,
|
|
@@ -8990,7 +9004,7 @@ var job = strictObject({
|
|
|
8990
9004
|
error: optional(problem)
|
|
8991
9005
|
});
|
|
8992
9006
|
|
|
8993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8994
9008
|
var joinRequest = strictObject({
|
|
8995
9009
|
person_id: id,
|
|
8996
9010
|
name: nullable(text),
|
|
@@ -9001,7 +9015,7 @@ var joinRequest = strictObject({
|
|
|
9001
9015
|
about: optional(text)
|
|
9002
9016
|
});
|
|
9003
9017
|
|
|
9004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
9005
9019
|
var botProfile = strictObject({
|
|
9006
9020
|
name: text,
|
|
9007
9021
|
token: text,
|
|
@@ -9094,7 +9108,7 @@ var stickerInventory = strictObject({
|
|
|
9094
9108
|
url: optional(nullable(text))
|
|
9095
9109
|
});
|
|
9096
9110
|
|
|
9097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9098
9112
|
var pollVote = strictObject({
|
|
9099
9113
|
person_id: id,
|
|
9100
9114
|
name: nullable(text),
|
|
@@ -9104,7 +9118,7 @@ var pollVote = strictObject({
|
|
|
9104
9118
|
voted_at: time
|
|
9105
9119
|
});
|
|
9106
9120
|
|
|
9107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9108
9122
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9109
9123
|
var observation = strictObject({
|
|
9110
9124
|
value: pipe(number(), minValue(0)),
|
|
@@ -9146,7 +9160,7 @@ var serveSummary = strictObject({
|
|
|
9146
9160
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9147
9161
|
});
|
|
9148
9162
|
|
|
9149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9150
9164
|
var mailCounts = strictObject({
|
|
9151
9165
|
by: picklist(["day", "week", "sender"]),
|
|
9152
9166
|
received: count,
|
|
@@ -9161,7 +9175,7 @@ var mailCounts = strictObject({
|
|
|
9161
9175
|
}))
|
|
9162
9176
|
});
|
|
9163
9177
|
|
|
9164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9165
9179
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9166
9180
|
var base = { id, evidence: array(evidence2) };
|
|
9167
9181
|
var finding = variant("kind", [
|
|
@@ -9305,7 +9319,7 @@ var mailFindings = strictObject({
|
|
|
9305
9319
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9306
9320
|
});
|
|
9307
9321
|
|
|
9308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9309
9323
|
var mediaArchive = strictObject({
|
|
9310
9324
|
directory: text,
|
|
9311
9325
|
chats: count,
|
|
@@ -9337,7 +9351,7 @@ var mediaArchiveTimer = union([
|
|
|
9337
9351
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9338
9352
|
]);
|
|
9339
9353
|
|
|
9340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9341
9355
|
var preparationId = pipe(string(), minLength(1));
|
|
9342
9356
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9343
9357
|
var preparationTime = nullable(isoTime);
|
|
@@ -9429,7 +9443,7 @@ var preparationMeeting = strictObject({
|
|
|
9429
9443
|
updated_at: isoTime
|
|
9430
9444
|
});
|
|
9431
9445
|
|
|
9432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9433
9447
|
var meetingEvidence = preparationEvidence;
|
|
9434
9448
|
var meetingPersonContext = strictObject({
|
|
9435
9449
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9451,7 +9465,7 @@ var meetingPersonContext = strictObject({
|
|
|
9451
9465
|
})
|
|
9452
9466
|
});
|
|
9453
9467
|
|
|
9454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9455
9469
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9456
9470
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9457
9471
|
var finding2 = variant("kind", [
|
|
@@ -9489,7 +9503,7 @@ var meetingFindings = strictObject({
|
|
|
9489
9503
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9490
9504
|
});
|
|
9491
9505
|
|
|
9492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9493
9507
|
var communicationCoverage = strictObject({
|
|
9494
9508
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9495
9509
|
query: string(),
|
|
@@ -9534,7 +9548,7 @@ var preparationCommunications = strictObject({
|
|
|
9534
9548
|
}))
|
|
9535
9549
|
});
|
|
9536
9550
|
|
|
9537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9538
9552
|
var meetingPreparation = strictObject({
|
|
9539
9553
|
communications: optional(preparationCommunications),
|
|
9540
9554
|
schema_version: literal(1),
|
|
@@ -9647,7 +9661,7 @@ var meetingPreparation = strictObject({
|
|
|
9647
9661
|
})
|
|
9648
9662
|
});
|
|
9649
9663
|
|
|
9650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9651
9665
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9652
9666
|
var id3 = pipe(string(), minLength(1));
|
|
9653
9667
|
var text3 = string();
|
|
@@ -9711,7 +9725,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9711
9725
|
})
|
|
9712
9726
|
});
|
|
9713
9727
|
|
|
9714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9715
9729
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9716
9730
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9717
9731
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9741,7 +9755,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9741
9755
|
})
|
|
9742
9756
|
});
|
|
9743
9757
|
|
|
9744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9745
9759
|
var text4 = string();
|
|
9746
9760
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9747
9761
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9758,7 +9772,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9758
9772
|
persistence: literal("proposal-only")
|
|
9759
9773
|
});
|
|
9760
9774
|
|
|
9761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9762
9776
|
var memory = strictObject({
|
|
9763
9777
|
ref: reference,
|
|
9764
9778
|
id,
|
|
@@ -9785,7 +9799,7 @@ var memory = strictObject({
|
|
|
9785
9799
|
updated_at: time
|
|
9786
9800
|
});
|
|
9787
9801
|
|
|
9788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9789
9803
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9790
9804
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9791
9805
|
var mention = strictObject({
|
|
@@ -9828,13 +9842,13 @@ var mentionRebuild = strictObject({
|
|
|
9828
9842
|
mentions: count
|
|
9829
9843
|
});
|
|
9830
9844
|
|
|
9831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9832
9846
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9833
9847
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9834
9848
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9835
9849
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9836
9850
|
|
|
9837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9851
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9838
9852
|
var messageTranscript = strictObject({
|
|
9839
9853
|
message_id: id,
|
|
9840
9854
|
text,
|
|
@@ -9892,7 +9906,7 @@ var evidencePacket = strictObject({
|
|
|
9892
9906
|
}))
|
|
9893
9907
|
});
|
|
9894
9908
|
|
|
9895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9896
9910
|
var messageThread = strictObject({
|
|
9897
9911
|
ref: reference,
|
|
9898
9912
|
chat: id,
|
|
@@ -9909,7 +9923,7 @@ var messageThread = strictObject({
|
|
|
9909
9923
|
});
|
|
9910
9924
|
var messageContext = union([message, messageThread]);
|
|
9911
9925
|
|
|
9912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9913
9927
|
var messageCounts = strictObject({
|
|
9914
9928
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9915
9929
|
total: count,
|
|
@@ -9922,7 +9936,7 @@ var messageCounts = strictObject({
|
|
|
9922
9936
|
}))
|
|
9923
9937
|
});
|
|
9924
9938
|
|
|
9925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9926
9940
|
var messageLink = strictObject({
|
|
9927
9941
|
ref: reference,
|
|
9928
9942
|
url: nullable(text),
|
|
@@ -9939,7 +9953,7 @@ var messageLink = strictObject({
|
|
|
9939
9953
|
})))
|
|
9940
9954
|
});
|
|
9941
9955
|
|
|
9942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9943
9957
|
var savedMessageFile = strictObject({
|
|
9944
9958
|
kind: text,
|
|
9945
9959
|
path: text,
|
|
@@ -10026,7 +10040,7 @@ var messageSyncAll = strictObject({
|
|
|
10026
10040
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10027
10041
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10028
10042
|
|
|
10029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10030
10044
|
var messageWrite = strictObject({
|
|
10031
10045
|
operation_id: id,
|
|
10032
10046
|
message,
|
|
@@ -10041,7 +10055,7 @@ var draftWrite = strictObject({
|
|
|
10041
10055
|
});
|
|
10042
10056
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10043
10057
|
|
|
10044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10045
10059
|
var model2 = strictObject({
|
|
10046
10060
|
id,
|
|
10047
10061
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10058,7 +10072,7 @@ var model2 = strictObject({
|
|
|
10058
10072
|
path: text
|
|
10059
10073
|
});
|
|
10060
10074
|
|
|
10061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10062
10076
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10063
10077
|
var modelKey = strictObject({
|
|
10064
10078
|
provider: text,
|
|
@@ -10068,7 +10082,7 @@ var modelKey = strictObject({
|
|
|
10068
10082
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10069
10083
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10070
10084
|
|
|
10071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10072
10086
|
var link = {
|
|
10073
10087
|
target_text: nullable(text),
|
|
10074
10088
|
kind: text,
|
|
@@ -10109,7 +10123,7 @@ var note = strictObject({
|
|
|
10109
10123
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10110
10124
|
});
|
|
10111
10125
|
|
|
10112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10113
10127
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10114
10128
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10115
10129
|
var graph = strictObject({
|
|
@@ -10143,14 +10157,14 @@ var officialStats = strictObject({
|
|
|
10143
10157
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10144
10158
|
});
|
|
10145
10159
|
|
|
10146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10147
10161
|
var person2 = strictObject({
|
|
10148
10162
|
ref: reference,
|
|
10149
10163
|
name: nullable(text),
|
|
10150
10164
|
identities: optional(array(identity))
|
|
10151
10165
|
});
|
|
10152
10166
|
|
|
10153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10154
10168
|
var poll = strictObject({
|
|
10155
10169
|
chat_id: id,
|
|
10156
10170
|
message_id: id,
|
|
@@ -10166,11 +10180,11 @@ var poll = strictObject({
|
|
|
10166
10180
|
});
|
|
10167
10181
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10168
10182
|
|
|
10169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10170
10184
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10171
10185
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10172
10186
|
|
|
10173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10174
10188
|
var figures = record(string(), number());
|
|
10175
10189
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10176
10190
|
var rankingRow = strictObject({
|
|
@@ -10217,7 +10231,7 @@ var ranking = strictObject({
|
|
|
10217
10231
|
rows: array(rankingRow)
|
|
10218
10232
|
});
|
|
10219
10233
|
|
|
10220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10221
10235
|
var reaction = strictObject({
|
|
10222
10236
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10223
10237
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10225,7 +10239,7 @@ var reaction = strictObject({
|
|
|
10225
10239
|
reacted_at: time
|
|
10226
10240
|
});
|
|
10227
10241
|
|
|
10228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10229
10243
|
var reactionChange = strictObject({
|
|
10230
10244
|
operation_id: id,
|
|
10231
10245
|
chat_id: id,
|
|
@@ -10233,7 +10247,7 @@ var reactionChange = strictObject({
|
|
|
10233
10247
|
reaction: nullable(text)
|
|
10234
10248
|
});
|
|
10235
10249
|
|
|
10236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10237
10251
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10238
10252
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10239
10253
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10244,7 +10258,7 @@ var recipientChange = strictObject({
|
|
|
10244
10258
|
...partial(recipientOff).entries
|
|
10245
10259
|
});
|
|
10246
10260
|
|
|
10247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10248
10262
|
var events = array(record(string(), unknown()));
|
|
10249
10263
|
var recordedRun = strictObject({
|
|
10250
10264
|
run_id: id,
|
|
@@ -10316,7 +10330,7 @@ var runHit = strictObject({
|
|
|
10316
10330
|
});
|
|
10317
10331
|
var runLocation = strictObject({ path: text });
|
|
10318
10332
|
|
|
10319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10320
10334
|
var relationship = strictObject({
|
|
10321
10335
|
id,
|
|
10322
10336
|
from: reference,
|
|
@@ -10333,7 +10347,7 @@ var relationship = strictObject({
|
|
|
10333
10347
|
created_at: time
|
|
10334
10348
|
});
|
|
10335
10349
|
|
|
10336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10350
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10337
10351
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10338
10352
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10339
10353
|
var responseTimes = strictObject({
|
|
@@ -10350,7 +10364,7 @@ var waitingChats = strictObject({
|
|
|
10350
10364
|
by_kind: strictObject({ private: count, group: count })
|
|
10351
10365
|
});
|
|
10352
10366
|
|
|
10353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10354
10368
|
var retentionCohort = strictObject({
|
|
10355
10369
|
/** The first day of the joining day or week. */
|
|
10356
10370
|
cohort: text,
|
|
@@ -10398,7 +10412,7 @@ var retention = strictObject({
|
|
|
10398
10412
|
rows: array(retentionCohort)
|
|
10399
10413
|
});
|
|
10400
10414
|
|
|
10401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10402
10416
|
var savedSearch = strictObject({
|
|
10403
10417
|
id,
|
|
10404
10418
|
/** `null` for a run in the history. */
|
|
@@ -10415,7 +10429,7 @@ var savedSearch = strictObject({
|
|
|
10415
10429
|
});
|
|
10416
10430
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10417
10431
|
|
|
10418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10419
10433
|
var sendAttempt = strictObject({
|
|
10420
10434
|
at: time,
|
|
10421
10435
|
profile: text,
|
|
@@ -10443,7 +10457,7 @@ var sendAttempt = strictObject({
|
|
|
10443
10457
|
error_code: optional(text)
|
|
10444
10458
|
});
|
|
10445
10459
|
|
|
10446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10447
10461
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10448
10462
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10449
10463
|
var infoSchema = strictObject({
|
|
@@ -10664,7 +10678,7 @@ var storeRepair = union([
|
|
|
10664
10678
|
]);
|
|
10665
10679
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10666
10680
|
|
|
10667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10668
10682
|
var range = strictObject({ from: number(), to: number() });
|
|
10669
10683
|
var storeChatStatus = strictObject({
|
|
10670
10684
|
chat_id: id,
|
|
@@ -10762,7 +10776,7 @@ var storeJobRetry = union([
|
|
|
10762
10776
|
]);
|
|
10763
10777
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10764
10778
|
|
|
10765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10766
10780
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10767
10781
|
var storeTable = strictObject({
|
|
10768
10782
|
name: text,
|
|
@@ -10771,7 +10785,7 @@ var storeTable = strictObject({
|
|
|
10771
10785
|
bytes: optional(nullable(count))
|
|
10772
10786
|
});
|
|
10773
10787
|
|
|
10774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10775
10789
|
var tagTarget = variant("type", [
|
|
10776
10790
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10777
10791
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10802,7 +10816,7 @@ var automaticTags = strictObject({
|
|
|
10802
10816
|
dry_run: boolean()
|
|
10803
10817
|
});
|
|
10804
10818
|
|
|
10805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10806
10820
|
var tagging = strictObject({
|
|
10807
10821
|
tag: text,
|
|
10808
10822
|
type: picklist(TAG_TYPES),
|
|
@@ -10815,7 +10829,7 @@ var tagging = strictObject({
|
|
|
10815
10829
|
created_at: time
|
|
10816
10830
|
});
|
|
10817
10831
|
|
|
10818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10819
10833
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10820
10834
|
var taskPair = strictObject({
|
|
10821
10835
|
task: nullable(side),
|
|
@@ -10838,7 +10852,7 @@ var taskPair = strictObject({
|
|
|
10838
10852
|
created_at: time
|
|
10839
10853
|
});
|
|
10840
10854
|
|
|
10841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10855
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10842
10856
|
var nullableTime = nullable(time);
|
|
10843
10857
|
var link2 = strictObject({
|
|
10844
10858
|
id,
|
|
@@ -11012,7 +11026,7 @@ var taskReview = strictObject({
|
|
|
11012
11026
|
untrusted
|
|
11013
11027
|
});
|
|
11014
11028
|
|
|
11015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11016
11030
|
var topic = strictObject({
|
|
11017
11031
|
id,
|
|
11018
11032
|
title: text,
|
|
@@ -11026,7 +11040,7 @@ var topic = strictObject({
|
|
|
11026
11040
|
untrusted
|
|
11027
11041
|
});
|
|
11028
11042
|
|
|
11029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11030
11044
|
var ENTITIES = {
|
|
11031
11045
|
sync_progress: progress,
|
|
11032
11046
|
deal,
|
|
@@ -11312,7 +11326,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11312
11326
|
return [name, definition];
|
|
11313
11327
|
})), "entityDefinitions");
|
|
11314
11328
|
|
|
11315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11316
11330
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11317
11331
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11318
11332
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11346,7 +11360,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11346
11360
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11347
11361
|
}, "answerRow");
|
|
11348
11362
|
|
|
11349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11363
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11350
11364
|
import { join as join6 } from "node:path";
|
|
11351
11365
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11352
11366
|
var IMAGE_MODELS = [
|
|
@@ -11400,7 +11414,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11400
11414
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11401
11415
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11402
11416
|
|
|
11403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11404
11418
|
var STEPS2 = defineSteps([
|
|
11405
11419
|
...STEPS,
|
|
11406
11420
|
{
|
|
@@ -11614,6 +11628,12 @@ var STEPS2 = defineSteps([
|
|
|
11614
11628
|
],
|
|
11615
11629
|
why: "once the tasks these {shown} messages hold are opened, updated or closed, so the next review starts after them"
|
|
11616
11630
|
},
|
|
11631
|
+
{
|
|
11632
|
+
id: "store.recover",
|
|
11633
|
+
command: "store recover",
|
|
11634
|
+
args: [],
|
|
11635
|
+
why: "the store file is damaged; this says what is lost and the commands that recover it"
|
|
11636
|
+
},
|
|
11617
11637
|
{
|
|
11618
11638
|
id: "search.meetings",
|
|
11619
11639
|
command: "*",
|
|
@@ -11672,7 +11692,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11672
11692
|
].join(" ");
|
|
11673
11693
|
}, "stepLine");
|
|
11674
11694
|
|
|
11675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11676
11696
|
var where = [{ field: "ref" }];
|
|
11677
11697
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11678
11698
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11764,7 +11784,7 @@ var STATUS_ROWS = {
|
|
|
11764
11784
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11765
11785
|
};
|
|
11766
11786
|
|
|
11767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11768
11788
|
var TEXT_CHARS = 400;
|
|
11769
11789
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11770
11790
|
var messageRow = {
|
|
@@ -12130,7 +12150,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12130
12150
|
return lines.concat(footerOf(body)).join("\n");
|
|
12131
12151
|
}, "compactText");
|
|
12132
12152
|
|
|
12133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12134
12154
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12135
12155
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12136
12156
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12177,7 +12197,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12177
12197
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12178
12198
|
}, "largeAnswerSteps");
|
|
12179
12199
|
|
|
12180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12181
12201
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12182
12202
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12183
12203
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12191,7 +12211,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12191
12211
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12192
12212
|
}, "strip");
|
|
12193
12213
|
|
|
12194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12195
12215
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12196
12216
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12197
12217
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|