@wirecat/cli-memo 0.131.34 → 0.131.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-GPFKMOBB.js → all-profiles-AVDSOFZL.js} +9 -9
- package/dist/bundle/{anthropic-ASHT7U76.js → anthropic-CRPI5XLD.js} +6 -6
- package/dist/bundle/{app-server-D3IL4M6V.js → app-server-PIXX4CXT.js} +42 -42
- package/dist/bundle/auto-QK6SSRWW.js +86 -0
- package/dist/bundle/{bun-EIOFQKTA.js → bun-JOD7BLWG.js} +2 -2
- package/dist/bundle/{bun-sqlite-YIX2BVSZ.js → bun-sqlite-IW42RA6B.js} +5 -5
- package/dist/bundle/{chunk-BRG5MJLL.js → chunk-2JZKVNFL.js} +2 -2
- package/dist/bundle/{chunk-TZ7WDQPD.js → chunk-2R2Z2VWL.js} +20 -20
- package/dist/bundle/{chunk-VE2NDXFO.js → chunk-34BMGIFI.js} +5 -5
- package/dist/bundle/{chunk-H7N5JMQN.js → chunk-4AMCA6VQ.js} +3 -3
- package/dist/bundle/{chunk-MQ7IHK4Z.js → chunk-4BWAVNRU.js} +344 -290
- package/dist/bundle/{chunk-6PTJTITL.js → chunk-6J6OO4BJ.js} +4 -4
- package/dist/bundle/{chunk-L43BXXBS.js → chunk-6Z5SDRME.js} +6 -6
- package/dist/bundle/{chunk-E7NEGYRF.js → chunk-7U7U2UZV.js} +2 -2
- package/dist/bundle/{chunk-G7TQ5W5Z.js → chunk-AOZMZXFQ.js} +9 -9
- package/dist/bundle/{chunk-XZ3XUN4R.js → chunk-BFKNZMRN.js} +166 -157
- package/dist/bundle/{chunk-AQQSOZ57.js → chunk-BRMII52T.js} +11 -11
- package/dist/bundle/{chunk-DOXKMSML.js → chunk-CBFO5NLX.js} +4 -4
- package/dist/bundle/{chunk-EGB2R53R.js → chunk-CC2EUMMM.js} +2 -2
- package/dist/bundle/{chunk-KV4267S4.js → chunk-CID4MNRQ.js} +1 -1
- package/dist/bundle/{chunk-D5LDALYF.js → chunk-CIWU756L.js} +31 -23
- package/dist/bundle/{chunk-NPLZ67KU.js → chunk-D57K44OV.js} +2 -2
- package/dist/bundle/{chunk-47KEZ3AX.js → chunk-E7IJTHAC.js} +13 -13
- package/dist/bundle/{chunk-WROCO6RJ.js → chunk-EFF5JJRJ.js} +4 -4
- package/dist/bundle/{chunk-SMAODNHO.js → chunk-EUZGV5UK.js} +1 -1
- package/dist/bundle/{chunk-ZWBLSTFE.js → chunk-EW2T73CA.js} +265 -255
- package/dist/bundle/{chunk-7PQZBIBH.js → chunk-FKRD3KGN.js} +81 -67
- package/dist/bundle/{chunk-I4SJXEDS.js → chunk-G4N6CIFO.js} +6 -6
- package/dist/bundle/{chunk-7YECAMPV.js → chunk-G7N3ID6S.js} +46 -46
- package/dist/bundle/{chunk-BN5H2M75.js → chunk-GAC4FF6K.js} +2 -2
- package/dist/bundle/{chunk-LC5SAWVM.js → chunk-GZZQDHUT.js} +29 -29
- package/dist/bundle/{chunk-EQR2QVP3.js → chunk-HPUUJVTP.js} +5 -5
- package/dist/bundle/{chunk-UBUKFDMN.js → chunk-HQJBQWFQ.js} +1 -1
- package/dist/bundle/{chunk-DU6LCIHP.js → chunk-JBMSXV2A.js} +1 -1
- package/dist/bundle/{chunk-ZE5HUZJV.js → chunk-JPVAIMPJ.js} +18 -14
- package/dist/bundle/{chunk-26I6JRFH.js → chunk-JU5Q3AZD.js} +4 -4
- package/dist/bundle/{chunk-I7PL5WX2.js → chunk-JY34MQW4.js} +4 -4
- package/dist/bundle/{chunk-UW2FRDLZ.js → chunk-KAODXBUF.js} +3 -3
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-LER7G4XY.js} +1 -1
- package/dist/bundle/{chunk-GY27B6XK.js → chunk-LTP2EEXM.js} +3 -3
- package/dist/bundle/{chunk-KG7APWFM.js → chunk-PWKO36K4.js} +1 -1
- package/dist/bundle/{chunk-C7AXGHGM.js → chunk-PXOZGHXR.js} +1 -1
- package/dist/bundle/{chunk-Y3XTA24Z.js → chunk-QIRO6B6C.js} +7 -7
- package/dist/bundle/chunk-QRYSVOUH.js +7577 -0
- package/dist/bundle/{chunk-YZU5HNYY.js → chunk-RDXN52I6.js} +10406 -377
- package/dist/bundle/{chunk-IAFUPD2G.js → chunk-RPZQ3DSX.js} +6 -6
- package/dist/bundle/{chunk-EB2IULWB.js → chunk-RZ54DSVU.js} +2 -2
- package/dist/bundle/{chunk-EVD3X6HS.js → chunk-RZLEQP2H.js} +8 -8
- package/dist/bundle/{chunk-G2BB5WY5.js → chunk-SN63VOE6.js} +8 -8
- package/dist/bundle/{chunk-RTPTCTH6.js → chunk-T5IRZA25.js} +4 -4
- package/dist/bundle/{chunk-RQVC4ETN.js → chunk-T676QOXT.js} +3 -3
- package/dist/bundle/{chunk-3W4HD6ZQ.js → chunk-TW5YX26Q.js} +6 -6
- package/dist/bundle/{chunk-BWVE7V4A.js → chunk-UKIZBDD3.js} +12 -12
- package/dist/bundle/{chunk-D22HTXOR.js → chunk-UKSL7QZD.js} +10 -10
- package/dist/bundle/{chunk-XV4E2XGC.js → chunk-VBAAW3FK.js} +4 -4
- package/dist/bundle/{chunk-YJMQBJWU.js → chunk-VIWOYM4L.js} +22 -22
- package/dist/bundle/{chunk-TVHCOWJD.js → chunk-VR6FNEFZ.js} +7 -7
- package/dist/bundle/{chunk-4VJJEIVC.js → chunk-VWWUJKLO.js} +8 -8
- package/dist/bundle/{chunk-2RDJLWOY.js → chunk-WGLE4R45.js} +3 -3
- package/dist/bundle/{chunk-5OCV4UG5.js → chunk-WORCFDZN.js} +2 -2
- package/dist/bundle/{chunk-Y3NJODLW.js → chunk-WUF3P4DX.js} +2 -2
- package/dist/bundle/{chunk-5HVQTBDA.js → chunk-WVJFUHQS.js} +22 -22
- package/dist/bundle/{chunk-ZV2K5I2G.js → chunk-X3WEAVIH.js} +1 -1
- package/dist/bundle/{chunk-NECGI52P.js → chunk-XCO6NBTE.js} +9 -9
- package/dist/bundle/{chunk-CL6MHRXX.js → chunk-XSS6U6VL.js} +2 -2
- package/dist/bundle/{chunk-XBIPSSKI.js → chunk-Y5CAKD4X.js} +4 -4
- package/dist/bundle/{chunk-JD4EEKNA.js → chunk-YCLV7AAF.js} +2 -2
- package/dist/bundle/{chunk-S62WXHPD.js → chunk-YVYOZY5K.js} +8 -8
- package/dist/bundle/{chunk-GWMA7EU5.js → chunk-ZFIBNKLW.js} +1 -1
- package/dist/bundle/{chunk-NDEA2YAQ.js → chunk-ZLFFEGX6.js} +1 -1
- package/dist/bundle/command-contract-BAHAQIPW.js +32 -0
- package/dist/bundle/{decode-BF5RUGSR.js → decode-ANYCY5PK.js} +5 -5
- package/dist/bundle/{dispatch-CU5KGRQL.js → dispatch-MLRETSNQ.js} +8 -8
- package/dist/bundle/{echarts-ADL7T3Q3.js → echarts-NH42736V.js} +2 -2
- package/dist/bundle/{embed-DOTUACTV.js → embed-34XKENNN.js} +6 -6
- package/dist/bundle/{embedder-TMR4UP7L.js → embedder-GMTQ6CUJ.js} +9 -9
- package/dist/bundle/{entry-RPG5J5UQ.js → entry-W2JUZTXL.js} +7 -7
- package/dist/bundle/{failure-TUXXI6JT.js → failure-UJBGB2GP.js} +2 -2
- package/dist/bundle/failure-UOGNX3CX.js +66 -0
- package/dist/bundle/{first-run-ONCIVD42.js → first-run-MAHEEKHT.js} +11 -11
- package/dist/bundle/first-screen-X4SVIRMT.js +30 -0
- package/dist/bundle/{instructions-QVBHRTPG.js → instructions-YOSNFLTK.js} +1 -1
- package/dist/bundle/mcp-CAMU2OWN.js +90 -0
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-YMXA6IH6.js} +2 -2
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-6OXRSWHH.js → node-O3XV2354.js} +2 -2
- package/dist/bundle/{node-sqlite-TG4H4T3L.js → node-sqlite-MJDZN4PN.js} +6 -6
- package/dist/bundle/{oauth-OXKNZOKZ.js → oauth-KEGXZT2C.js} +7 -7
- package/dist/bundle/{open-WW3W42QS.js → open-I3I57V2N.js} +5 -5
- package/dist/bundle/{openai-MNHTZHBT.js → openai-VCEX4PW3.js} +10 -10
- package/dist/bundle/{process-TCXURVHD.js → process-BAT3Q3LY.js} +1 -1
- package/dist/bundle/{program-GYW7IHWQ.js → program-IH6EXRJR.js} +110 -78
- package/dist/bundle/{prompt-TGGJDYAS.js → prompt-3AD7X52P.js} +5 -5
- package/dist/bundle/{recognize-WV4MK35T.js → recognize-AMFTP45O.js} +4 -4
- package/dist/bundle/{remote-RQVV5MFO.js → remote-Z5V5EKS4.js} +7 -7
- package/dist/bundle/{rerank-OJPVJGX5.js → rerank-PUDPLKON.js} +7 -7
- package/dist/bundle/{serve-KG7HPG5B.js → serve-ZRBPK4GW.js} +9 -9
- package/dist/bundle/server-423F624R.js +48 -0
- package/dist/bundle/{server-ESYNVVQC.js → server-CJ5CMNEO.js} +57 -57
- package/dist/bundle/server-GHZF2UHL.js +61 -0
- package/dist/bundle/{state-G7KN3S6X.js → state-BVVIF6M3.js} +6 -6
- package/dist/bundle/{store-GI2FLGUI.js → store-2U3EY4N5.js} +13 -13
- package/dist/bundle/store-maintenance-command-MSYIPYY3.js +48 -0
- package/dist/bundle/update-NQNVV57J.js +69 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +6 -2
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +23 -8
- package/dist/knowledge/command.js.map +1 -1
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +29 -8
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/mail-triage/SKILL.md +38 -19
- package/dist/bundle/auto-BL5FF576.js +0 -86
- package/dist/bundle/chunk-ONEW2BND.js +0 -17421
- package/dist/bundle/command-contract-X3I3J4AF.js +0 -32
- package/dist/bundle/failure-4CTYFX6P.js +0 -66
- package/dist/bundle/first-screen-4LRYED7X.js +0 -30
- package/dist/bundle/mcp-4AFVFHYE.js +0 -90
- package/dist/bundle/server-TQVOXRHP.js +0 -48
- package/dist/bundle/server-YKMBFXQ4.js +0 -61
- package/dist/bundle/store-maintenance-command-CQ3KI7LW.js +0 -48
- package/dist/bundle/update-NP3I4GCG.js +0 -69
- /package/dist/bundle/{chunk-3RFXKBZA.js → chunk-2HSW646W.js} +0 -0
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-AT5Y62SD.js} +0 -0
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AOZMZXFQ.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VBAAW3FK.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7U7U2UZV.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-X3WEAVIH.js";
|
|
25
25
|
import {
|
|
26
26
|
FACT_STATUSES,
|
|
27
27
|
FACT_TYPES,
|
|
@@ -61,17 +61,17 @@ import {
|
|
|
61
61
|
meetingStats,
|
|
62
62
|
meetingSummary,
|
|
63
63
|
meetingTranscript
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FKRD3KGN.js";
|
|
65
65
|
import {
|
|
66
66
|
sharedConfigPath
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-6Z5SDRME.js";
|
|
68
68
|
import {
|
|
69
69
|
filesPresent,
|
|
70
70
|
sharedModelsDirectory
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-6J6OO4BJ.js";
|
|
72
72
|
import {
|
|
73
73
|
storePath
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-D57K44OV.js";
|
|
75
75
|
import {
|
|
76
76
|
configFilePath,
|
|
77
77
|
createRecordLog,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
saveConfigFile,
|
|
85
85
|
traceIdOf,
|
|
86
86
|
writeSecurely
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-2R2Z2VWL.js";
|
|
88
88
|
import {
|
|
89
89
|
COMPACT_FLAG,
|
|
90
90
|
EXIT_CODES,
|
|
@@ -139,18 +139,18 @@ import {
|
|
|
139
139
|
unwrap,
|
|
140
140
|
variant,
|
|
141
141
|
writes
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-SN63VOE6.js";
|
|
143
143
|
import {
|
|
144
144
|
CliError,
|
|
145
145
|
isCliError,
|
|
146
146
|
singleLine,
|
|
147
147
|
visibleControls
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-RZ54DSVU.js";
|
|
149
149
|
import {
|
|
150
150
|
__name
|
|
151
151
|
} from "./chunk-ZVVMGPBJ.js";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
154
154
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
155
155
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
156
156
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3651,7 +3651,7 @@ __name(useColor, "useColor");
|
|
|
3651
3651
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3652
3652
|
var program = new Command();
|
|
3653
3653
|
|
|
3654
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3654
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
3655
3655
|
import { isDeepStrictEqual } from "node:util";
|
|
3656
3656
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3657
3657
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3853,7 +3853,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3853
3853
|
return command;
|
|
3854
3854
|
}, "customizeSharedCommand");
|
|
3855
3855
|
|
|
3856
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3856
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
3857
3857
|
var argumentInfoSchema = object({
|
|
3858
3858
|
name: string(),
|
|
3859
3859
|
required: boolean(),
|
|
@@ -3936,7 +3936,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3936
3936
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3937
3937
|
}), "commandsDocument");
|
|
3938
3938
|
|
|
3939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3940
3940
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3941
3941
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3942
3942
|
messageId: message2.id,
|
|
@@ -4042,7 +4042,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4042
4042
|
}, "guardedWrite");
|
|
4043
4043
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4044
4044
|
|
|
4045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4046
4046
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4047
4047
|
try {
|
|
4048
4048
|
return work();
|
|
@@ -4069,7 +4069,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4069
4069
|
return projectFields(value, fields);
|
|
4070
4070
|
}), "projectFields");
|
|
4071
4071
|
|
|
4072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4073
4073
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4074
4074
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4075
4075
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4091,7 +4091,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4091
4091
|
}
|
|
4092
4092
|
}, "withAbort");
|
|
4093
4093
|
|
|
4094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4095
4095
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4096
4096
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4097
4097
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4487,7 +4487,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4487
4487
|
}
|
|
4488
4488
|
}, "assertRetentionEvidenceRead");
|
|
4489
4489
|
|
|
4490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4491
4491
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4492
4492
|
import { join } from "node:path";
|
|
4493
4493
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4509,12 +4509,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4509
4509
|
}, "profilesWithAccounts");
|
|
4510
4510
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4511
4511
|
|
|
4512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4513
4513
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4514
4514
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4515
4515
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4516
4516
|
|
|
4517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4518
4518
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4519
4519
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4520
4520
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4550,7 +4550,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4550
4550
|
return value;
|
|
4551
4551
|
}, "atDetail");
|
|
4552
4552
|
|
|
4553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/output.js
|
|
4554
4554
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4555
4555
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4556
4556
|
if (other)
|
|
@@ -4614,7 +4614,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4614
4614
|
}, "warn")
|
|
4615
4615
|
}), "silence");
|
|
4616
4616
|
|
|
4617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4618
4618
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4619
4619
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4620
4620
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4648,7 +4648,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4648
4648
|
cache: "cache.answered"
|
|
4649
4649
|
};
|
|
4650
4650
|
|
|
4651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4652
4652
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4653
4653
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4654
4654
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4661,13 +4661,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4661
4661
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4662
4662
|
}), "snakeLogger");
|
|
4663
4663
|
|
|
4664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4665
4665
|
import { randomUUID } from "node:crypto";
|
|
4666
4666
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4667
4667
|
import { userInfo } from "node:os";
|
|
4668
4668
|
import { join as join2, sep } from "node:path";
|
|
4669
4669
|
|
|
4670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4671
4671
|
var diagnostic = {
|
|
4672
4672
|
event: true,
|
|
4673
4673
|
operation: true,
|
|
@@ -4737,7 +4737,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4737
4737
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4738
4738
|
].sort();
|
|
4739
4739
|
|
|
4740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4741
4741
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4742
4742
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4743
4743
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5090,7 +5090,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5090
5090
|
};
|
|
5091
5091
|
}, "metadataOf");
|
|
5092
5092
|
|
|
5093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5094
5094
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5095
5095
|
import { randomBytes } from "node:crypto";
|
|
5096
5096
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5125,7 +5125,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5125
5125
|
var attempts = new AsyncLocalStorage2();
|
|
5126
5126
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5127
5127
|
|
|
5128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5129
5129
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5130
5130
|
const recording = startRecording(options);
|
|
5131
5131
|
try {
|
|
@@ -5310,7 +5310,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5310
5310
|
return void 0;
|
|
5311
5311
|
}, "partialOutcome");
|
|
5312
5312
|
|
|
5313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5314
5314
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5315
5315
|
if (ms2 === void 0)
|
|
5316
5316
|
return body();
|
|
@@ -5336,7 +5336,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5336
5336
|
}
|
|
5337
5337
|
}, "withDeadline");
|
|
5338
5338
|
|
|
5339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5340
5340
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5341
5341
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5342
5342
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5378,10 +5378,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5378
5378
|
return root;
|
|
5379
5379
|
}, "rootOf");
|
|
5380
5380
|
|
|
5381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5382
5382
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5383
5383
|
|
|
5384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5385
5385
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5386
5386
|
try {
|
|
5387
5387
|
const url2 = new URL(value);
|
|
@@ -5391,7 +5391,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5391
5391
|
}
|
|
5392
5392
|
}, "endpoint");
|
|
5393
5393
|
|
|
5394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5395
5395
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5396
5396
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5397
5397
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5460,7 +5460,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5460
5460
|
};
|
|
5461
5461
|
}, "modelTarget");
|
|
5462
5462
|
|
|
5463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5463
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5464
5464
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5465
5465
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5466
5466
|
var AI_FIELDS = {
|
|
@@ -5504,7 +5504,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5504
5504
|
};
|
|
5505
5505
|
}, "resolveAISettings");
|
|
5506
5506
|
|
|
5507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5508
5508
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5509
5509
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5510
5510
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5518,7 +5518,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5518
5518
|
return ms2;
|
|
5519
5519
|
}, "parseDuration");
|
|
5520
5520
|
|
|
5521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5522
5522
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5523
5523
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5524
5524
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5677,7 +5677,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5677
5677
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5678
5678
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5679
5679
|
|
|
5680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5681
5681
|
var HISTORY_MAX_DAYS = 1095;
|
|
5682
5682
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5683
5683
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5724,7 +5724,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5724
5724
|
return { batch: { ...batch, messages }, skipped };
|
|
5725
5725
|
}, "limitBatch");
|
|
5726
5726
|
|
|
5727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5728
5728
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5729
5729
|
import { join as join3 } from "node:path";
|
|
5730
5730
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5813,10 +5813,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5813
5813
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5814
5814
|
}, "registryProfiles");
|
|
5815
5815
|
|
|
5816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5817
5817
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5818
5818
|
|
|
5819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5820
5820
|
var REPAIR_WORDS = {
|
|
5821
5821
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5822
5822
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6057,7 +6057,7 @@ ${parts.join(",\n")}
|
|
|
6057
6057
|
${indent}${close}`;
|
|
6058
6058
|
}, "serialise");
|
|
6059
6059
|
|
|
6060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6061
6061
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6062
6062
|
var SECTIONS = ["personal", "bot"];
|
|
6063
6063
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6352,7 +6352,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6352
6352
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6353
6353
|
}, "readConfigFile");
|
|
6354
6354
|
|
|
6355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6356
6356
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6357
6357
|
import { dirname, join as join4 } from "node:path";
|
|
6358
6358
|
var DEFAULT_CONFIG = {
|
|
@@ -6381,7 +6381,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6381
6381
|
}
|
|
6382
6382
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6383
6383
|
|
|
6384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6385
6385
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6386
6386
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6387
6387
|
const path2 = key.split(".");
|
|
@@ -6414,7 +6414,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6414
6414
|
};
|
|
6415
6415
|
}), "settingRows");
|
|
6416
6416
|
|
|
6417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6418
6418
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6419
6419
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6420
6420
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6924,7 +6924,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6924
6924
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6925
6925
|
}, "given");
|
|
6926
6926
|
|
|
6927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6928
6928
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6929
6929
|
const slot = environmentOf(command).exit;
|
|
6930
6930
|
if (slot)
|
|
@@ -7037,7 +7037,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7037
7037
|
return words.join(" ");
|
|
7038
7038
|
}, "commandPath");
|
|
7039
7039
|
|
|
7040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7041
7041
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7042
7042
|
var FETCH = { remote: "read", local: "write" };
|
|
7043
7043
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7144,7 +7144,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7144
7144
|
throw readOnlyRefusal(lock, what);
|
|
7145
7145
|
}, "refuseUnderReadOnly");
|
|
7146
7146
|
|
|
7147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
7148
7148
|
var text = string();
|
|
7149
7149
|
var id = pipe(string(), minLength(1));
|
|
7150
7150
|
var time = isoTime;
|
|
@@ -7168,7 +7168,7 @@ var author = strictObject({
|
|
|
7168
7168
|
name: nullable(text)
|
|
7169
7169
|
});
|
|
7170
7170
|
|
|
7171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7172
7172
|
var account = strictObject({
|
|
7173
7173
|
provider: text,
|
|
7174
7174
|
id,
|
|
@@ -7178,7 +7178,7 @@ var account = strictObject({
|
|
|
7178
7178
|
scope: optional(picklist(["personal", "work"]))
|
|
7179
7179
|
});
|
|
7180
7180
|
|
|
7181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7182
7182
|
var accountSession = strictObject({
|
|
7183
7183
|
current: boolean(),
|
|
7184
7184
|
client: nullable(text),
|
|
@@ -7188,7 +7188,7 @@ var accountSession = strictObject({
|
|
|
7188
7188
|
created_at: optional(nullable(time))
|
|
7189
7189
|
});
|
|
7190
7190
|
|
|
7191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7192
7192
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7193
7193
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7194
7194
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7206,7 +7206,7 @@ var accountPrivacy = strictObject({
|
|
|
7206
7206
|
});
|
|
7207
7207
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7208
7208
|
|
|
7209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7210
7210
|
var accountProfile = strictObject({
|
|
7211
7211
|
profile: id,
|
|
7212
7212
|
current: boolean(),
|
|
@@ -7218,7 +7218,7 @@ var accountProfile = strictObject({
|
|
|
7218
7218
|
bot: optional(literal(true))
|
|
7219
7219
|
});
|
|
7220
7220
|
|
|
7221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7222
7222
|
var milliseconds = pipe(number(), minValue(0));
|
|
7223
7223
|
var counterReading = strictObject({
|
|
7224
7224
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7230,7 +7230,7 @@ var counterReading = strictObject({
|
|
|
7230
7230
|
});
|
|
7231
7231
|
var selection = record(string(), unknown());
|
|
7232
7232
|
|
|
7233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7234
7234
|
var adminRow = strictObject({
|
|
7235
7235
|
ref: reference,
|
|
7236
7236
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7283,7 +7283,7 @@ var adminReport = strictObject({
|
|
|
7283
7283
|
rows: array(adminRow)
|
|
7284
7284
|
});
|
|
7285
7285
|
|
|
7286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7287
7287
|
var closeSuggestion = strictObject({
|
|
7288
7288
|
as: picklist(["done", "dismissed"]),
|
|
7289
7289
|
/** The agent's name. */
|
|
@@ -7345,7 +7345,7 @@ var task = strictObject({
|
|
|
7345
7345
|
updated_at: optional(time)
|
|
7346
7346
|
});
|
|
7347
7347
|
|
|
7348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7349
7349
|
var agendaChat = strictObject({
|
|
7350
7350
|
chat: reference,
|
|
7351
7351
|
title: nullable(text),
|
|
@@ -7415,11 +7415,11 @@ var agenda = strictObject({
|
|
|
7415
7415
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7416
7416
|
});
|
|
7417
7417
|
|
|
7418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7419
7419
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7420
7420
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7421
7421
|
|
|
7422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7423
7423
|
var attachment = strictObject({
|
|
7424
7424
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7425
7425
|
message: optional(reference),
|
|
@@ -7457,7 +7457,7 @@ var attachment = strictObject({
|
|
|
7457
7457
|
});
|
|
7458
7458
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
7459
7459
|
|
|
7460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7461
7461
|
var actionableError = objectWithRest({
|
|
7462
7462
|
code: text,
|
|
7463
7463
|
message: text,
|
|
@@ -7474,7 +7474,7 @@ var batchResult = strictObject({
|
|
|
7474
7474
|
max_error_percent: count2
|
|
7475
7475
|
});
|
|
7476
7476
|
|
|
7477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7478
7478
|
var extractionItem = strictObject({
|
|
7479
7479
|
ref: reference,
|
|
7480
7480
|
attachment: count2,
|
|
@@ -7507,7 +7507,7 @@ var extractionReport = strictObject({
|
|
|
7507
7507
|
cursor: optional(text)
|
|
7508
7508
|
});
|
|
7509
7509
|
|
|
7510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7511
7511
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7512
7512
|
var attachmentBytes = strictObject({
|
|
7513
7513
|
ref: reference,
|
|
@@ -7535,7 +7535,7 @@ var attachmentTextChange = strictObject({
|
|
|
7535
7535
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7536
7536
|
});
|
|
7537
7537
|
|
|
7538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7539
7539
|
var chart = strictObject({
|
|
7540
7540
|
version: literal(1),
|
|
7541
7541
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7550,7 +7550,7 @@ var chart = strictObject({
|
|
|
7550
7550
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7551
7551
|
});
|
|
7552
7552
|
|
|
7553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7554
7554
|
var member = strictObject({
|
|
7555
7555
|
id,
|
|
7556
7556
|
name: nullable(text),
|
|
@@ -7573,7 +7573,7 @@ var member = strictObject({
|
|
|
7573
7573
|
check: optional(record(string(), unknown()))
|
|
7574
7574
|
});
|
|
7575
7575
|
|
|
7576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7577
7577
|
var setting = optional(nullable(boolean()));
|
|
7578
7578
|
var chat = strictObject({
|
|
7579
7579
|
ref: reference,
|
|
@@ -7614,7 +7614,7 @@ var chat = strictObject({
|
|
|
7614
7614
|
members: optional(array(member))
|
|
7615
7615
|
});
|
|
7616
7616
|
|
|
7617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7618
7618
|
var named2 = strictObject({
|
|
7619
7619
|
id,
|
|
7620
7620
|
title: nullable(text),
|
|
@@ -7637,7 +7637,7 @@ var folder = strictObject({
|
|
|
7637
7637
|
excluded_chats: optional(array(named2))
|
|
7638
7638
|
});
|
|
7639
7639
|
|
|
7640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7641
7641
|
var inviteLink = strictObject({
|
|
7642
7642
|
link: text,
|
|
7643
7643
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7653,7 +7653,7 @@ var inviteLink = strictObject({
|
|
|
7653
7653
|
joined_count: optional(count2)
|
|
7654
7654
|
});
|
|
7655
7655
|
|
|
7656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7657
7657
|
var operated = { operation_id: id, chat_id: id };
|
|
7658
7658
|
var group = strictObject({
|
|
7659
7659
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7733,7 +7733,7 @@ var chatFolderOrder = strictObject({
|
|
|
7733
7733
|
folders: array(strictObject({ id, title: text }))
|
|
7734
7734
|
});
|
|
7735
7735
|
|
|
7736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7737
7737
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7738
7738
|
var chatRemoval = strictObject(operated2);
|
|
7739
7739
|
var chatMuting = strictObject({
|
|
@@ -7744,7 +7744,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7744
7744
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7745
7745
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7746
7746
|
|
|
7747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7748
7748
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7749
7749
|
var chatEvent = strictObject({
|
|
7750
7750
|
chat_id: id,
|
|
@@ -7761,7 +7761,7 @@ var chatEvent = strictObject({
|
|
|
7761
7761
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7762
7762
|
});
|
|
7763
7763
|
|
|
7764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7765
7765
|
var chatMetadata = strictObject({
|
|
7766
7766
|
chat_id: id,
|
|
7767
7767
|
title: nullable(text),
|
|
@@ -7776,7 +7776,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7776
7776
|
has_more: boolean()
|
|
7777
7777
|
});
|
|
7778
7778
|
|
|
7779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7780
7780
|
var action = picklist(["report", "delete", "remove"]);
|
|
7781
7781
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7782
7782
|
var chatRules = strictObject({
|
|
@@ -7813,7 +7813,7 @@ var chatModeration = strictObject({
|
|
|
7813
7813
|
}))
|
|
7814
7814
|
});
|
|
7815
7815
|
|
|
7816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7817
7817
|
var optionalCount = optional(count2);
|
|
7818
7818
|
var minutes = nullable(number());
|
|
7819
7819
|
var chatStats = strictObject({
|
|
@@ -7887,7 +7887,7 @@ var taskStats = strictObject({
|
|
|
7887
7887
|
}))
|
|
7888
7888
|
});
|
|
7889
7889
|
|
|
7890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7891
7891
|
var memberCount = strictObject({
|
|
7892
7892
|
day: pipe(text, isoDate()),
|
|
7893
7893
|
participants: nullable(count2),
|
|
@@ -7910,7 +7910,7 @@ var chatTracking = strictObject({
|
|
|
7910
7910
|
tracked: boolean()
|
|
7911
7911
|
});
|
|
7912
7912
|
|
|
7913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7914
7914
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7915
7915
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7916
7916
|
var profileFields = {
|
|
@@ -7948,7 +7948,7 @@ var profileFields = {
|
|
|
7948
7948
|
}))
|
|
7949
7949
|
};
|
|
7950
7950
|
|
|
7951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7952
7952
|
var contact = strictObject({
|
|
7953
7953
|
ref: reference,
|
|
7954
7954
|
id,
|
|
@@ -7979,7 +7979,7 @@ var contact = strictObject({
|
|
|
7979
7979
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7980
7980
|
});
|
|
7981
7981
|
|
|
7982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7983
7983
|
var WEIGHTS = {
|
|
7984
7984
|
bot: 3,
|
|
7985
7985
|
scam: 3,
|
|
@@ -8004,7 +8004,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8004
8004
|
var DIGITS = /\d{5,}/;
|
|
8005
8005
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8006
8006
|
|
|
8007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8008
8008
|
var linkedIdentity = strictObject({
|
|
8009
8009
|
provider: text,
|
|
8010
8010
|
id,
|
|
@@ -8045,7 +8045,7 @@ var contactCheck = strictObject({
|
|
|
8045
8045
|
checked_at: time
|
|
8046
8046
|
});
|
|
8047
8047
|
|
|
8048
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8049
8049
|
var quoted = strictObject({
|
|
8050
8050
|
id,
|
|
8051
8051
|
sender_id: nullable(id),
|
|
@@ -8164,7 +8164,7 @@ var message = strictObject({
|
|
|
8164
8164
|
provider_metadata: providerMetadata
|
|
8165
8165
|
});
|
|
8166
8166
|
|
|
8167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8168
8168
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8169
8169
|
var contextMessage = strictObject({
|
|
8170
8170
|
locator: reference,
|
|
@@ -8362,7 +8362,7 @@ var contactPreparation = strictObject({
|
|
|
8362
8362
|
})
|
|
8363
8363
|
});
|
|
8364
8364
|
|
|
8365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8366
8366
|
var contactNote = strictObject({
|
|
8367
8367
|
id,
|
|
8368
8368
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8374,13 +8374,13 @@ var contactNote = strictObject({
|
|
|
8374
8374
|
updated_at: time
|
|
8375
8375
|
});
|
|
8376
8376
|
|
|
8377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8378
8378
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8379
8379
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8380
8380
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8381
8381
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
8382
8382
|
|
|
8383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8384
8384
|
var conversation = strictObject({
|
|
8385
8385
|
id,
|
|
8386
8386
|
chat: reference,
|
|
@@ -8395,7 +8395,7 @@ var conversation = strictObject({
|
|
|
8395
8395
|
rules_version: count2
|
|
8396
8396
|
});
|
|
8397
8397
|
|
|
8398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8399
8399
|
var conversationBuild = strictObject({
|
|
8400
8400
|
chat: id,
|
|
8401
8401
|
messages: count2,
|
|
@@ -8420,7 +8420,7 @@ var catchUpPreparation = strictObject({
|
|
|
8420
8420
|
prepared: optional(conversationPreparation)
|
|
8421
8421
|
});
|
|
8422
8422
|
|
|
8423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8424
8424
|
var conversationDetails = union([
|
|
8425
8425
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8426
8426
|
message
|
|
@@ -8510,7 +8510,7 @@ var conversationHit = strictObject({
|
|
|
8510
8510
|
stale: boolean()
|
|
8511
8511
|
});
|
|
8512
8512
|
|
|
8513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8514
8514
|
var counters = strictObject({
|
|
8515
8515
|
cutoff: time,
|
|
8516
8516
|
max_age_ms: milliseconds,
|
|
@@ -8540,7 +8540,7 @@ var counterRefresh = strictObject({
|
|
|
8540
8540
|
complete: optional(boolean())
|
|
8541
8541
|
});
|
|
8542
8542
|
|
|
8543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8544
8544
|
var document = strictObject({
|
|
8545
8545
|
ref: reference,
|
|
8546
8546
|
id,
|
|
@@ -8555,7 +8555,7 @@ var document = strictObject({
|
|
|
8555
8555
|
owners: optional(array(text))
|
|
8556
8556
|
});
|
|
8557
8557
|
|
|
8558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8559
8559
|
var documentLink = strictObject({
|
|
8560
8560
|
ref: reference,
|
|
8561
8561
|
url: text,
|
|
@@ -8566,7 +8566,7 @@ var documentLink = strictObject({
|
|
|
8566
8566
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8567
8567
|
});
|
|
8568
8568
|
|
|
8569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8570
8570
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8571
8571
|
var contribution = strictObject({
|
|
8572
8572
|
message: evidenceMessage,
|
|
@@ -8596,7 +8596,7 @@ var retentionStay = strictObject({
|
|
|
8596
8596
|
});
|
|
8597
8597
|
var evidence = union([contribution, retentionStay]);
|
|
8598
8598
|
|
|
8599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8600
8600
|
var fact = strictObject({
|
|
8601
8601
|
ref: reference,
|
|
8602
8602
|
id,
|
|
@@ -8626,7 +8626,7 @@ var fact = strictObject({
|
|
|
8626
8626
|
updated_at: time
|
|
8627
8627
|
});
|
|
8628
8628
|
|
|
8629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8630
8630
|
var hit = strictObject({
|
|
8631
8631
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8632
8632
|
ref: reference,
|
|
@@ -8664,7 +8664,7 @@ var hit = strictObject({
|
|
|
8664
8664
|
untrusted
|
|
8665
8665
|
});
|
|
8666
8666
|
|
|
8667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8668
8668
|
var identity = strictObject({
|
|
8669
8669
|
ref: reference,
|
|
8670
8670
|
provider: text,
|
|
@@ -8677,7 +8677,7 @@ var identity = strictObject({
|
|
|
8677
8677
|
person: optional(nullable(reference))
|
|
8678
8678
|
});
|
|
8679
8679
|
|
|
8680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8681
8681
|
var imageEmbedding = strictObject({
|
|
8682
8682
|
model: text,
|
|
8683
8683
|
embedded: count2,
|
|
@@ -8686,13 +8686,13 @@ var imageEmbedding = strictObject({
|
|
|
8686
8686
|
more: boolean()
|
|
8687
8687
|
});
|
|
8688
8688
|
|
|
8689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8690
8690
|
import { spawn } from "node:child_process";
|
|
8691
8691
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8692
8692
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8693
8693
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8694
8694
|
|
|
8695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8696
8696
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8697
8697
|
const total = input.total ?? null;
|
|
8698
8698
|
const updated = input.updatedAt ?? null;
|
|
@@ -8708,7 +8708,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8708
8708
|
};
|
|
8709
8709
|
}, "progressOf");
|
|
8710
8710
|
|
|
8711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8711
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8712
8712
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8713
8713
|
const run = currentRun();
|
|
8714
8714
|
const trace = traceId ?? run.traceId;
|
|
@@ -8722,7 +8722,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8722
8722
|
}));
|
|
8723
8723
|
}, "recordLogFor");
|
|
8724
8724
|
|
|
8725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8726
8726
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8727
8727
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8728
8728
|
const out = openSync(log, "a", 384);
|
|
@@ -8877,7 +8877,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8877
8877
|
return { job: id6, pid, chat: input.chat, log };
|
|
8878
8878
|
}, "startArchiveJob");
|
|
8879
8879
|
|
|
8880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8881
8881
|
var problem = strictObject({ code: text, message: text });
|
|
8882
8882
|
var job = strictObject({
|
|
8883
8883
|
id,
|
|
@@ -8900,7 +8900,7 @@ var job = strictObject({
|
|
|
8900
8900
|
error: optional(problem)
|
|
8901
8901
|
});
|
|
8902
8902
|
|
|
8903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8904
8904
|
var joinRequest = strictObject({
|
|
8905
8905
|
person_id: id,
|
|
8906
8906
|
name: nullable(text),
|
|
@@ -8911,7 +8911,7 @@ var joinRequest = strictObject({
|
|
|
8911
8911
|
about: optional(text)
|
|
8912
8912
|
});
|
|
8913
8913
|
|
|
8914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
8915
8915
|
var organization = strictObject({
|
|
8916
8916
|
id,
|
|
8917
8917
|
ref: reference,
|
|
@@ -8941,7 +8941,7 @@ var reminder = strictObject({
|
|
|
8941
8941
|
receipt: nullable(text)
|
|
8942
8942
|
});
|
|
8943
8943
|
|
|
8944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8945
8945
|
var botProfile = strictObject({
|
|
8946
8946
|
name: text,
|
|
8947
8947
|
token: text,
|
|
@@ -9009,7 +9009,7 @@ var stickerInventory = strictObject({
|
|
|
9009
9009
|
url: optional(nullable(text))
|
|
9010
9010
|
});
|
|
9011
9011
|
|
|
9012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9013
9013
|
var pollVote = strictObject({
|
|
9014
9014
|
person_id: id,
|
|
9015
9015
|
name: nullable(text),
|
|
@@ -9019,7 +9019,7 @@ var pollVote = strictObject({
|
|
|
9019
9019
|
voted_at: time
|
|
9020
9020
|
});
|
|
9021
9021
|
|
|
9022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9023
9023
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9024
9024
|
var observation = strictObject({
|
|
9025
9025
|
value: pipe(number(), minValue(0)),
|
|
@@ -9061,7 +9061,7 @@ var serveSummary = strictObject({
|
|
|
9061
9061
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
9062
9062
|
});
|
|
9063
9063
|
|
|
9064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9065
9065
|
var mailCounts = strictObject({
|
|
9066
9066
|
by: picklist(["day", "week", "sender"]),
|
|
9067
9067
|
received: count2,
|
|
@@ -9076,7 +9076,7 @@ var mailCounts = strictObject({
|
|
|
9076
9076
|
}))
|
|
9077
9077
|
});
|
|
9078
9078
|
|
|
9079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9080
9080
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9081
9081
|
var base = { id, evidence: array(evidence2) };
|
|
9082
9082
|
var finding = variant("kind", [
|
|
@@ -9129,7 +9129,10 @@ var finding = variant("kind", [
|
|
|
9129
9129
|
...base,
|
|
9130
9130
|
kind: literal("invoice"),
|
|
9131
9131
|
direction: picklist(INVOICE_DIRECTIONS),
|
|
9132
|
-
counterparty: reference,
|
|
9132
|
+
counterparty: optional(reference),
|
|
9133
|
+
/** A counterparty the store may not hold yet; the owner's accept finds its organization or makes one. */
|
|
9134
|
+
counterparty_name: optional(text),
|
|
9135
|
+
counterparty_email: optional(text),
|
|
9133
9136
|
currency: text,
|
|
9134
9137
|
lines: array(strictObject({
|
|
9135
9138
|
description: text,
|
|
@@ -9149,7 +9152,11 @@ var finding = variant("kind", [
|
|
|
9149
9152
|
kind: literal("payment"),
|
|
9150
9153
|
direction: picklist(MONEY_DIRECTIONS),
|
|
9151
9154
|
payer: optional(reference),
|
|
9155
|
+
payer_name: optional(text),
|
|
9156
|
+
payer_email: optional(text),
|
|
9152
9157
|
payee: optional(reference),
|
|
9158
|
+
payee_name: optional(text),
|
|
9159
|
+
payee_email: optional(text),
|
|
9153
9160
|
amount: text,
|
|
9154
9161
|
currency: text,
|
|
9155
9162
|
date: text,
|
|
@@ -9163,6 +9170,8 @@ var finding = variant("kind", [
|
|
|
9163
9170
|
kind: literal("order"),
|
|
9164
9171
|
purpose: picklist(ORDER_PURPOSES),
|
|
9165
9172
|
customer: optional(reference),
|
|
9173
|
+
customer_name: optional(text),
|
|
9174
|
+
customer_email: optional(text),
|
|
9166
9175
|
supplier: optional(reference),
|
|
9167
9176
|
supplier_name: text,
|
|
9168
9177
|
number: optional(text),
|
|
@@ -9208,7 +9217,7 @@ var mailFindings = strictObject({
|
|
|
9208
9217
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
9209
9218
|
});
|
|
9210
9219
|
|
|
9211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9212
9221
|
var mediaArchive = strictObject({
|
|
9213
9222
|
directory: text,
|
|
9214
9223
|
chats: count2,
|
|
@@ -9240,7 +9249,7 @@ var mediaArchiveTimer = union([
|
|
|
9240
9249
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9241
9250
|
]);
|
|
9242
9251
|
|
|
9243
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9244
9253
|
var preparationId = pipe(string(), minLength(1));
|
|
9245
9254
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9246
9255
|
var preparationTime = nullable(isoTime);
|
|
@@ -9332,7 +9341,7 @@ var preparationMeeting = strictObject({
|
|
|
9332
9341
|
updated_at: isoTime
|
|
9333
9342
|
});
|
|
9334
9343
|
|
|
9335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9336
9345
|
var meetingEvidence = preparationEvidence;
|
|
9337
9346
|
var meetingPersonContext = strictObject({
|
|
9338
9347
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9354,7 +9363,7 @@ var meetingPersonContext = strictObject({
|
|
|
9354
9363
|
})
|
|
9355
9364
|
});
|
|
9356
9365
|
|
|
9357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9358
9367
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9359
9368
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9360
9369
|
var finding2 = variant("kind", [
|
|
@@ -9392,7 +9401,7 @@ var meetingFindings = strictObject({
|
|
|
9392
9401
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9393
9402
|
});
|
|
9394
9403
|
|
|
9395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9396
9405
|
var communicationCoverage = strictObject({
|
|
9397
9406
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9398
9407
|
query: string(),
|
|
@@ -9437,7 +9446,7 @@ var preparationCommunications = strictObject({
|
|
|
9437
9446
|
}))
|
|
9438
9447
|
});
|
|
9439
9448
|
|
|
9440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9441
9450
|
var meetingPreparation = strictObject({
|
|
9442
9451
|
communications: optional(preparationCommunications),
|
|
9443
9452
|
schema_version: literal(1),
|
|
@@ -9550,7 +9559,7 @@ var meetingPreparation = strictObject({
|
|
|
9550
9559
|
})
|
|
9551
9560
|
});
|
|
9552
9561
|
|
|
9553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9554
9563
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9555
9564
|
var id3 = pipe(string(), minLength(1));
|
|
9556
9565
|
var text3 = string();
|
|
@@ -9614,7 +9623,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9614
9623
|
})
|
|
9615
9624
|
});
|
|
9616
9625
|
|
|
9617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9618
9627
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9619
9628
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9620
9629
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9644,7 +9653,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9644
9653
|
})
|
|
9645
9654
|
});
|
|
9646
9655
|
|
|
9647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9648
9657
|
var text4 = string();
|
|
9649
9658
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9650
9659
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9661,7 +9670,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9661
9670
|
persistence: literal("proposal-only")
|
|
9662
9671
|
});
|
|
9663
9672
|
|
|
9664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9665
9674
|
var memory = strictObject({
|
|
9666
9675
|
ref: reference,
|
|
9667
9676
|
id,
|
|
@@ -9688,7 +9697,7 @@ var memory = strictObject({
|
|
|
9688
9697
|
updated_at: time
|
|
9689
9698
|
});
|
|
9690
9699
|
|
|
9691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9692
9701
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9693
9702
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9694
9703
|
var mention = strictObject({
|
|
@@ -9731,13 +9740,13 @@ var mentionRebuild = strictObject({
|
|
|
9731
9740
|
mentions: count2
|
|
9732
9741
|
});
|
|
9733
9742
|
|
|
9734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9735
9744
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9736
9745
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9737
9746
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9738
9747
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9739
9748
|
|
|
9740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9749
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9741
9750
|
var messageTranscript = strictObject({
|
|
9742
9751
|
message_id: id,
|
|
9743
9752
|
text,
|
|
@@ -9795,7 +9804,7 @@ var evidencePacket = strictObject({
|
|
|
9795
9804
|
}))
|
|
9796
9805
|
});
|
|
9797
9806
|
|
|
9798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9799
9808
|
var messageThread = strictObject({
|
|
9800
9809
|
ref: reference,
|
|
9801
9810
|
chat: id,
|
|
@@ -9812,7 +9821,7 @@ var messageThread = strictObject({
|
|
|
9812
9821
|
});
|
|
9813
9822
|
var messageContext = union([message, messageThread]);
|
|
9814
9823
|
|
|
9815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9816
9825
|
var messageCounts = strictObject({
|
|
9817
9826
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9818
9827
|
total: count2,
|
|
@@ -9825,7 +9834,7 @@ var messageCounts = strictObject({
|
|
|
9825
9834
|
}))
|
|
9826
9835
|
});
|
|
9827
9836
|
|
|
9828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9829
9838
|
var messageLink = strictObject({
|
|
9830
9839
|
ref: reference,
|
|
9831
9840
|
url: nullable(text),
|
|
@@ -9842,7 +9851,7 @@ var messageLink = strictObject({
|
|
|
9842
9851
|
})))
|
|
9843
9852
|
});
|
|
9844
9853
|
|
|
9845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9846
9855
|
var savedMessageFile = strictObject({
|
|
9847
9856
|
kind: text,
|
|
9848
9857
|
path: text,
|
|
@@ -9929,7 +9938,7 @@ var messageSyncAll = strictObject({
|
|
|
9929
9938
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9930
9939
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9931
9940
|
|
|
9932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9941
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9933
9942
|
var messageWrite = strictObject({
|
|
9934
9943
|
operation_id: id,
|
|
9935
9944
|
message,
|
|
@@ -9944,7 +9953,7 @@ var draftWrite = strictObject({
|
|
|
9944
9953
|
});
|
|
9945
9954
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9946
9955
|
|
|
9947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9948
9957
|
var model2 = strictObject({
|
|
9949
9958
|
id,
|
|
9950
9959
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9961,7 +9970,7 @@ var model2 = strictObject({
|
|
|
9961
9970
|
path: text
|
|
9962
9971
|
});
|
|
9963
9972
|
|
|
9964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9973
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9965
9974
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9966
9975
|
var modelKey = strictObject({
|
|
9967
9976
|
provider: text,
|
|
@@ -9971,7 +9980,7 @@ var modelKey = strictObject({
|
|
|
9971
9980
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9972
9981
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9973
9982
|
|
|
9974
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9983
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9975
9984
|
var link = {
|
|
9976
9985
|
target_text: nullable(text),
|
|
9977
9986
|
kind: text,
|
|
@@ -10012,7 +10021,7 @@ var note = strictObject({
|
|
|
10012
10021
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10013
10022
|
});
|
|
10014
10023
|
|
|
10015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10016
10025
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10017
10026
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10018
10027
|
var graph = strictObject({
|
|
@@ -10046,14 +10055,14 @@ var officialStats = strictObject({
|
|
|
10046
10055
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10047
10056
|
});
|
|
10048
10057
|
|
|
10049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10050
10059
|
var person2 = strictObject({
|
|
10051
10060
|
ref: reference,
|
|
10052
10061
|
name: nullable(text),
|
|
10053
10062
|
identities: optional(array(identity))
|
|
10054
10063
|
});
|
|
10055
10064
|
|
|
10056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10057
10066
|
var poll = strictObject({
|
|
10058
10067
|
chat_id: id,
|
|
10059
10068
|
message_id: id,
|
|
@@ -10069,11 +10078,11 @@ var poll = strictObject({
|
|
|
10069
10078
|
});
|
|
10070
10079
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10071
10080
|
|
|
10072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10081
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10073
10082
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10074
10083
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10075
10084
|
|
|
10076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10077
10086
|
var figures = record(string(), number());
|
|
10078
10087
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10079
10088
|
var rankingRow = strictObject({
|
|
@@ -10120,7 +10129,7 @@ var ranking = strictObject({
|
|
|
10120
10129
|
rows: array(rankingRow)
|
|
10121
10130
|
});
|
|
10122
10131
|
|
|
10123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10124
10133
|
var reaction = strictObject({
|
|
10125
10134
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10126
10135
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10128,7 +10137,7 @@ var reaction = strictObject({
|
|
|
10128
10137
|
reacted_at: time
|
|
10129
10138
|
});
|
|
10130
10139
|
|
|
10131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10132
10141
|
var reactionChange = strictObject({
|
|
10133
10142
|
operation_id: id,
|
|
10134
10143
|
chat_id: id,
|
|
@@ -10136,7 +10145,7 @@ var reactionChange = strictObject({
|
|
|
10136
10145
|
reaction: nullable(text)
|
|
10137
10146
|
});
|
|
10138
10147
|
|
|
10139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10140
10149
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10141
10150
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10142
10151
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10147,7 +10156,7 @@ var recipientChange = strictObject({
|
|
|
10147
10156
|
...partial(recipientOff).entries
|
|
10148
10157
|
});
|
|
10149
10158
|
|
|
10150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10151
10160
|
var events = array(record(string(), unknown()));
|
|
10152
10161
|
var recordedRun = strictObject({
|
|
10153
10162
|
run_id: id,
|
|
@@ -10219,7 +10228,7 @@ var runHit = strictObject({
|
|
|
10219
10228
|
});
|
|
10220
10229
|
var runLocation = strictObject({ path: text });
|
|
10221
10230
|
|
|
10222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10231
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10223
10232
|
var relationship = strictObject({
|
|
10224
10233
|
id,
|
|
10225
10234
|
from: reference,
|
|
@@ -10236,7 +10245,7 @@ var relationship = strictObject({
|
|
|
10236
10245
|
created_at: time
|
|
10237
10246
|
});
|
|
10238
10247
|
|
|
10239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10240
10249
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10241
10250
|
var figures2 = { replies: count2, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10242
10251
|
var responseTimes = strictObject({
|
|
@@ -10253,7 +10262,7 @@ var waitingChats = strictObject({
|
|
|
10253
10262
|
by_kind: strictObject({ private: count2, group: count2 })
|
|
10254
10263
|
});
|
|
10255
10264
|
|
|
10256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10257
10266
|
var retentionCohort = strictObject({
|
|
10258
10267
|
/** The first day of the joining day or week. */
|
|
10259
10268
|
cohort: text,
|
|
@@ -10301,7 +10310,7 @@ var retention = strictObject({
|
|
|
10301
10310
|
rows: array(retentionCohort)
|
|
10302
10311
|
});
|
|
10303
10312
|
|
|
10304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10305
10314
|
var savedSearch = strictObject({
|
|
10306
10315
|
id,
|
|
10307
10316
|
/** `null` for a run in the history. */
|
|
@@ -10318,7 +10327,7 @@ var savedSearch = strictObject({
|
|
|
10318
10327
|
});
|
|
10319
10328
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
10320
10329
|
|
|
10321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10322
10331
|
var sendAttempt = strictObject({
|
|
10323
10332
|
at: time,
|
|
10324
10333
|
profile: text,
|
|
@@ -10346,7 +10355,7 @@ var sendAttempt = strictObject({
|
|
|
10346
10355
|
error_code: optional(text)
|
|
10347
10356
|
});
|
|
10348
10357
|
|
|
10349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10350
10359
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10351
10360
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
10352
10361
|
var infoSchema = strictObject({
|
|
@@ -10554,7 +10563,7 @@ var storeRepair = union([
|
|
|
10554
10563
|
]);
|
|
10555
10564
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
10556
10565
|
|
|
10557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10558
10567
|
var range = strictObject({ from: number(), to: number() });
|
|
10559
10568
|
var storeChatStatus = strictObject({
|
|
10560
10569
|
chat_id: id,
|
|
@@ -10652,7 +10661,7 @@ var storeJobRetry = union([
|
|
|
10652
10661
|
]);
|
|
10653
10662
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10654
10663
|
|
|
10655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10656
10665
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10657
10666
|
var storeTable = strictObject({
|
|
10658
10667
|
name: text,
|
|
@@ -10661,7 +10670,7 @@ var storeTable = strictObject({
|
|
|
10661
10670
|
bytes: optional(nullable(count2))
|
|
10662
10671
|
});
|
|
10663
10672
|
|
|
10664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10665
10674
|
var tagTarget = variant("type", [
|
|
10666
10675
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10667
10676
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10692,7 +10701,7 @@ var automaticTags = strictObject({
|
|
|
10692
10701
|
dry_run: boolean()
|
|
10693
10702
|
});
|
|
10694
10703
|
|
|
10695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10696
10705
|
var tagging = strictObject({
|
|
10697
10706
|
tag: text,
|
|
10698
10707
|
type: picklist(TAG_TYPES),
|
|
@@ -10705,7 +10714,7 @@ var tagging = strictObject({
|
|
|
10705
10714
|
created_at: time
|
|
10706
10715
|
});
|
|
10707
10716
|
|
|
10708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10709
10718
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10710
10719
|
var taskPair = strictObject({
|
|
10711
10720
|
task: nullable(side),
|
|
@@ -10728,7 +10737,7 @@ var taskPair = strictObject({
|
|
|
10728
10737
|
created_at: time
|
|
10729
10738
|
});
|
|
10730
10739
|
|
|
10731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10732
10741
|
var nullableTime = nullable(time);
|
|
10733
10742
|
var link2 = strictObject({
|
|
10734
10743
|
id,
|
|
@@ -10902,7 +10911,7 @@ var taskReview = strictObject({
|
|
|
10902
10911
|
untrusted
|
|
10903
10912
|
});
|
|
10904
10913
|
|
|
10905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10906
10915
|
var topic = strictObject({
|
|
10907
10916
|
id,
|
|
10908
10917
|
title: text,
|
|
@@ -10916,7 +10925,7 @@ var topic = strictObject({
|
|
|
10916
10925
|
untrusted
|
|
10917
10926
|
});
|
|
10918
10927
|
|
|
10919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10920
10929
|
var ENTITIES = {
|
|
10921
10930
|
sync_progress: progress,
|
|
10922
10931
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -11198,7 +11207,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11198
11207
|
return [name, definition];
|
|
11199
11208
|
})), "entityDefinitions");
|
|
11200
11209
|
|
|
11201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11202
11211
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11203
11212
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11204
11213
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11232,7 +11241,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11232
11241
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11233
11242
|
}, "answerRow");
|
|
11234
11243
|
|
|
11235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11244
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11236
11245
|
import { join as join6 } from "node:path";
|
|
11237
11246
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11238
11247
|
var IMAGE_MODELS = [
|
|
@@ -11286,7 +11295,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11286
11295
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11287
11296
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11288
11297
|
|
|
11289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11290
11299
|
var STEPS2 = defineSteps([
|
|
11291
11300
|
...STEPS,
|
|
11292
11301
|
{
|
|
@@ -11558,7 +11567,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11558
11567
|
].join(" ");
|
|
11559
11568
|
}, "stepLine");
|
|
11560
11569
|
|
|
11561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11562
11571
|
var where = [{ field: "ref" }];
|
|
11563
11572
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11564
11573
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11650,7 +11659,7 @@ var STATUS_ROWS = {
|
|
|
11650
11659
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11651
11660
|
};
|
|
11652
11661
|
|
|
11653
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11654
11663
|
var TEXT_CHARS = 400;
|
|
11655
11664
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11656
11665
|
var messageRow = {
|
|
@@ -11986,7 +11995,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11986
11995
|
return lines.concat(footerOf(body)).join("\n");
|
|
11987
11996
|
}, "compactText");
|
|
11988
11997
|
|
|
11989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11990
11999
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11991
12000
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11992
12001
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12033,7 +12042,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12033
12042
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12034
12043
|
}, "largeAnswerSteps");
|
|
12035
12044
|
|
|
12036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12037
12046
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12038
12047
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12039
12048
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12047,7 +12056,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12047
12056
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12048
12057
|
}, "strip");
|
|
12049
12058
|
|
|
12050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12051
12060
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12052
12061
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12053
12062
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|