@wirecat/mail-cli 0.17.0 → 0.18.0
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/CHANGELOG.md +14 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-55AU2Q2N.js → all-profiles-4CVOXA5Y.js} +10 -10
- package/dist/bundle/{anthropic-I7RI7YPK.js → anthropic-5VIKYINO.js} +6 -6
- package/dist/bundle/{app-server-NY72GTQA.js → app-server-LTSQBDPF.js} +53 -50
- package/dist/bundle/{bun-C2R7UPM2.js → bun-C7DBRUW2.js} +2 -2
- package/dist/bundle/{bun-sqlite-RNPHH3KC.js → bun-sqlite-Y5JKT62B.js} +5 -5
- package/dist/bundle/{chunk-YO7BLBVE.js → chunk-23HWKHPZ.js} +301 -259
- package/dist/bundle/{chunk-OHS5CYZI.js → chunk-2NWOYXPJ.js} +56 -56
- package/dist/bundle/{chunk-JSB6BTPT.js → chunk-3DQYO7FB.js} +1 -1
- package/dist/bundle/{chunk-B73I6KLW.js → chunk-3W5H4TM7.js} +184 -16
- package/dist/bundle/{chunk-2EVM7GV5.js → chunk-3YRE6DNM.js} +8 -8
- package/dist/bundle/{chunk-YIJRPPF5.js → chunk-43I5XD7S.js} +1 -1
- package/dist/bundle/{chunk-HZL42476.js → chunk-5S6Q3SWU.js} +4 -2
- package/dist/bundle/{chunk-DG43I7MC.js → chunk-6RO5RDNR.js} +27 -9
- package/dist/bundle/{chunk-J7XH6CJC.js → chunk-7P4ICYJT.js} +1 -1
- package/dist/bundle/{chunk-BWCYUXF7.js → chunk-7SWWVDEZ.js} +4 -4
- package/dist/bundle/{chunk-24H2KUGW.js → chunk-A5OMARL4.js} +28 -28
- package/dist/bundle/{chunk-QDX2O5BN.js → chunk-ACLILULA.js} +3 -3
- package/dist/bundle/{chunk-QRNL5DIS.js → chunk-AOMSP4EI.js} +6 -6
- package/dist/bundle/{chunk-XJQJ3ZIY.js → chunk-BHNBWFT5.js} +8 -8
- package/dist/bundle/{chunk-LNC7XMEQ.js → chunk-BMFPCW6Q.js} +4 -4
- package/dist/bundle/{chunk-MG4NWXWI.js → chunk-BMGVKULS.js} +4 -4
- package/dist/bundle/{chunk-4HTTN4NO.js → chunk-BMV56JCL.js} +19 -19
- package/dist/bundle/{chunk-22WVQJW3.js → chunk-C4RUKMDT.js} +16 -10
- package/dist/bundle/{chunk-QU5TWVG5.js → chunk-C5T5K7HW.js} +127 -27
- package/dist/bundle/{chunk-KJKRLI2S.js → chunk-CPEN6BZZ.js} +2 -2
- package/dist/bundle/{chunk-YHUCNI2W.js → chunk-DALBYUPC.js} +2 -2
- package/dist/bundle/{chunk-6NN5ZX5T.js → chunk-DPSH46NO.js} +5 -5
- package/dist/bundle/{chunk-CHVHIDNK.js → chunk-EFP5NN7I.js} +3 -3
- package/dist/bundle/{chunk-22IKW3TY.js → chunk-ERBEBORA.js} +14 -14
- package/dist/bundle/{chunk-YCOBSDZY.js → chunk-FLOOPXOT.js} +12 -12
- package/dist/bundle/{chunk-F4P3VDJZ.js → chunk-GLLLYACZ.js} +6 -6
- package/dist/bundle/{chunk-S4NIDBLI.js → chunk-GRP67IQ4.js} +56 -47
- package/dist/bundle/{chunk-T4RRZILQ.js → chunk-HFUS33UT.js} +2 -2
- package/dist/bundle/{chunk-RFFE5ACS.js → chunk-HTFBXGJF.js} +2 -2
- package/dist/bundle/{chunk-MTFTMPB6.js → chunk-IANOK5SE.js} +2 -2
- package/dist/bundle/{chunk-WHI3LTAW.js → chunk-ITUC5WAV.js} +1 -1
- package/dist/bundle/{chunk-VMXMHC6E.js → chunk-JO3BIMYK.js} +3 -3
- package/dist/bundle/{chunk-45JQ72CH.js → chunk-KVSC657S.js} +19 -12
- package/dist/bundle/{chunk-OFZDCUUJ.js → chunk-L3YX7A5M.js} +7 -7
- package/dist/bundle/{chunk-2CY44MKY.js → chunk-M7C4IGJ6.js} +8 -8
- package/dist/bundle/{chunk-GBM7FFFI.js → chunk-MCR43SWG.js} +4 -4
- package/dist/bundle/{chunk-YB47AQWE.js → chunk-N5VEJ3E7.js} +10 -10
- package/dist/bundle/{chunk-IPFFPD3M.js → chunk-NDJZQCF3.js} +297 -174
- package/dist/bundle/{chunk-R3G33QIV.js → chunk-OLJDZTHB.js} +13 -13
- package/dist/bundle/{chunk-CHC2LWKY.js → chunk-OMKPALMX.js} +2 -2
- package/dist/bundle/{chunk-MRTSDBTN.js → chunk-OUGGAAXI.js} +1508 -559
- package/dist/bundle/{chunk-SHEVFBZT.js → chunk-P6WCG6X2.js} +36 -30
- package/dist/bundle/{chunk-GYCJQGFO.js → chunk-QPF4LTK5.js} +6 -6
- package/dist/bundle/{chunk-WOFGEJ6W.js → chunk-RIO3TD3I.js} +1 -1
- package/dist/bundle/{chunk-RIAHISWA.js → chunk-RQSF7X22.js} +1 -1
- package/dist/bundle/{chunk-2ON2PDHC.js → chunk-SIYT2BBI.js} +10 -10
- package/dist/bundle/{chunk-M6GLFDWV.js → chunk-SMS5YNPB.js} +3 -3
- package/dist/bundle/{chunk-H32SKDF2.js → chunk-SW2KERUB.js} +640 -123
- package/dist/bundle/{chunk-BPDUVWL2.js → chunk-TVZ77ZOV.js} +2 -2
- package/dist/bundle/{chunk-SQAAOEGI.js → chunk-U43HUE35.js} +9 -9
- package/dist/bundle/{chunk-RQGTRB73.js → chunk-UEGABYXI.js} +3 -3
- package/dist/bundle/{chunk-TCYLDGRA.js → chunk-UHC5I3JV.js} +1 -1
- package/dist/bundle/{chunk-XOJ5E777.js → chunk-UWL2IOII.js} +4 -4
- package/dist/bundle/{chunk-ITMGJX7I.js → chunk-UXD5JMS5.js} +1 -1
- package/dist/bundle/{chunk-JI225TBX.js → chunk-WA3DQSAZ.js} +2 -2
- package/dist/bundle/{chunk-VXBUDZV3.js → chunk-XGTW3GRX.js} +2 -2
- package/dist/bundle/{chunk-QEO7MI3E.js → chunk-YA2JPMYX.js} +2 -2
- package/dist/bundle/{chunk-A3PKKY24.js → chunk-ZLH465EU.js} +1 -1
- package/dist/bundle/{chunk-BD7OK4P5.js → chunk-ZT2Y267T.js} +3 -3
- package/dist/bundle/command-contract-Y3GIKCPB.js +34 -0
- package/dist/bundle/{decode-5AYG6LLW.js → decode-WVIDLK4E.js} +5 -5
- package/dist/bundle/{dispatch-EVLWT6N3.js → dispatch-R5OF2FVZ.js} +8 -8
- package/dist/bundle/{dist-JRTLLLLG.js → dist-KGQWS3XL.js} +24 -14
- package/dist/bundle/{echarts-EFAEE4D2.js → echarts-VMKACZBF.js} +2 -2
- package/dist/bundle/{embed-6SSOYGZQ.js → embed-EQINOOST.js} +6 -6
- package/dist/bundle/{embedder-VFSLGHBO.js → embedder-LM52TDRN.js} +9 -9
- package/dist/bundle/{failure-RBBZ7F3L.js → failure-WYKVF6RH.js} +2 -2
- package/dist/bundle/{first-run-PVEHOQOD.js → first-run-H4VXZAAF.js} +11 -11
- package/dist/bundle/first-screen-ZP74TJLK.js +32 -0
- package/dist/bundle/{instructions-EOLC3GYB.js → instructions-NLSME663.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-JYLZR5LQ.js → mcp-CFVG2OUS.js} +2 -2
- package/dist/bundle/{node-2ZRMQAYF.js → node-FGMSXLTA.js} +2 -2
- package/dist/bundle/{node-sqlite-UKWOBONA.js → node-sqlite-K3T3ZRBY.js} +6 -6
- package/dist/bundle/{oauth-HFD46WAY.js → oauth-OJKJ6JLH.js} +7 -7
- package/dist/bundle/{open-2DLCQUC4.js → open-DCYIXHXS.js} +5 -5
- package/dist/bundle/{openai-A7YLLQEE.js → openai-C4H4W57J.js} +14 -14
- package/dist/bundle/{process-I3INVLFQ.js → process-MN4NSYGA.js} +1 -1
- package/dist/bundle/{program-4ZCATQND.js → program-ZZZOKWCX.js} +1028 -642
- package/dist/bundle/{prompt-R636OFYK.js → prompt-ELEJUDAU.js} +5 -5
- package/dist/bundle/{recognize-G4WUSU5I.js → recognize-G2FVMI5M.js} +4 -4
- package/dist/bundle/{remote-BMXVVYTN.js → remote-F4YVSEYM.js} +7 -7
- package/dist/bundle/{rerank-7W3QEZ3Q.js → rerank-7VM5R5N6.js} +7 -7
- package/dist/bundle/{serve-JQCPQYOJ.js → serve-A7NRFPRN.js} +9 -9
- package/dist/bundle/{server-IMOCOYXH.js → server-7R2BEIRY.js} +39 -39
- package/dist/bundle/server-DFJA2HBO.js +64 -0
- package/dist/bundle/{sqlite-runtime-H2IEHDRZ.js → sqlite-runtime-4SKUB4EN.js} +6 -6
- package/dist/bundle/{state-J5N3Y4LX.js → state-S2FKK2XB.js} +6 -6
- package/dist/bundle/{store-C4TIYTGI.js → store-4HAARQVR.js} +26 -18
- package/dist/bundle/{store-U5WIT3P4.js → store-FLHO3UMA.js} +17 -15
- package/dist/bundle/store-maintenance-command-BINJIQ6F.js +54 -0
- package/dist/commands/restore.js +1 -1
- package/dist/commands/restore.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +2 -8
- package/dist/commands/status.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-AUPKK5Y4.js +0 -34
- package/dist/bundle/first-screen-7ONKJ7QW.js +0 -32
- package/dist/bundle/server-GYVOIGF5.js +0 -64
- package/dist/bundle/store-maintenance-command-WRRZ7Q7B.js +0 -54
- /package/dist/bundle/{chunk-CNMSF5QU.js → chunk-QZLK2ISN.js} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-L3YX7A5M.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
@@ -24,20 +24,20 @@ import {
|
|
|
24
24
|
providerErrorKey,
|
|
25
25
|
renderEvent,
|
|
26
26
|
runContextOf
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-U43HUE35.js";
|
|
28
28
|
import {
|
|
29
29
|
permissionCeiling
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ACLILULA.js";
|
|
31
31
|
import {
|
|
32
32
|
carries
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ITUC5WAV.js";
|
|
34
34
|
import {
|
|
35
35
|
filesPresent,
|
|
36
36
|
sharedModelsDirectory
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MCR43SWG.js";
|
|
38
38
|
import {
|
|
39
39
|
note
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SMS5YNPB.js";
|
|
41
41
|
import {
|
|
42
42
|
FACT_STATUSES,
|
|
43
43
|
LINK_KINDS,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
text,
|
|
65
65
|
time,
|
|
66
66
|
untrusted
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-N5VEJ3E7.js";
|
|
68
68
|
import {
|
|
69
69
|
FACT_TYPES,
|
|
70
70
|
FIELD_TYPES,
|
|
@@ -90,13 +90,13 @@ import {
|
|
|
90
90
|
meetingStats,
|
|
91
91
|
meetingSummary,
|
|
92
92
|
meetingTranscript
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-2NWOYXPJ.js";
|
|
94
94
|
import {
|
|
95
95
|
sharedConfigPath
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-QPF4LTK5.js";
|
|
97
97
|
import {
|
|
98
98
|
storePath
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-HTFBXGJF.js";
|
|
100
100
|
import {
|
|
101
101
|
configFilePath,
|
|
102
102
|
createRecordLog,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
saveConfigFile,
|
|
107
107
|
traceIdOf,
|
|
108
108
|
writeSecurely
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-BMV56JCL.js";
|
|
110
110
|
import {
|
|
111
111
|
COMPACT_FLAG,
|
|
112
112
|
MAX_NEXT_STEPS,
|
|
@@ -158,17 +158,17 @@ import {
|
|
|
158
158
|
unwrap,
|
|
159
159
|
variant,
|
|
160
160
|
writes
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-BHNBWFT5.js";
|
|
162
162
|
import {
|
|
163
163
|
CliError,
|
|
164
164
|
isCliError,
|
|
165
165
|
visibleControls
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-DALBYUPC.js";
|
|
167
167
|
import {
|
|
168
168
|
__name
|
|
169
169
|
} from "./chunk-ZVVMGPBJ.js";
|
|
170
170
|
|
|
171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
172
172
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
173
173
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
174
174
|
const name = envName(app, "READ_ONLY");
|
|
@@ -179,7 +179,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
179
179
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
180
180
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
181
181
|
|
|
182
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
182
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_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
|
|
183
183
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
184
184
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
185
185
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3680,7 +3680,7 @@ __name(useColor, "useColor");
|
|
|
3680
3680
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3681
3681
|
var program = new Command();
|
|
3682
3682
|
|
|
3683
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
3683
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_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
|
|
3684
3684
|
var argumentInfoSchema = object({
|
|
3685
3685
|
name: string(),
|
|
3686
3686
|
required: boolean(),
|
|
@@ -3754,7 +3754,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3754
3754
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3755
3755
|
});
|
|
3756
3756
|
|
|
3757
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
3757
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_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
|
|
3758
3758
|
import { isDeepStrictEqual } from "node:util";
|
|
3759
3759
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3760
3760
|
var hidden = /* @__PURE__ */ __name((command) => Boolean(command._hidden), "hidden");
|
|
@@ -3863,7 +3863,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3863
3863
|
return result;
|
|
3864
3864
|
}, "sharedCommand");
|
|
3865
3865
|
|
|
3866
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.80.
|
|
3866
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3867
3867
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3868
3868
|
let command = root;
|
|
3869
3869
|
const path2 = [];
|
|
@@ -3881,7 +3881,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3881
3881
|
}
|
|
3882
3882
|
}, "refuseJoinedPath");
|
|
3883
3883
|
|
|
3884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3885
3885
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3886
3886
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3887
3887
|
messageId: message2.id,
|
|
@@ -3987,7 +3987,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
3987
3987
|
}, "guardedWrite");
|
|
3988
3988
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
3989
3989
|
|
|
3990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
3991
3991
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
3992
3992
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
3993
3993
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4170,7 +4170,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4170
4170
|
}
|
|
4171
4171
|
}, "withAbort");
|
|
4172
4172
|
|
|
4173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4174
4174
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4175
4175
|
import { join } from "node:path";
|
|
4176
4176
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4192,7 +4192,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4192
4192
|
}, "profilesWithAccounts");
|
|
4193
4193
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4194
4194
|
|
|
4195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4196
4196
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4197
4197
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4198
4198
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4235,7 +4235,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
4235
4235
|
};
|
|
4236
4236
|
}, "runBudget");
|
|
4237
4237
|
|
|
4238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4239
4239
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4240
4240
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4241
4241
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4269,7 +4269,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4269
4269
|
cache: "cache.answered"
|
|
4270
4270
|
};
|
|
4271
4271
|
|
|
4272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4273
4273
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4274
4274
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4275
4275
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4282,13 +4282,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4282
4282
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4283
4283
|
}), "snakeLogger");
|
|
4284
4284
|
|
|
4285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4286
4286
|
import { randomUUID } from "node:crypto";
|
|
4287
4287
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4288
4288
|
import { userInfo } from "node:os";
|
|
4289
4289
|
import { join as join2, sep } from "node:path";
|
|
4290
4290
|
|
|
4291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4292
4292
|
var diagnostic = {
|
|
4293
4293
|
event: true,
|
|
4294
4294
|
operation: true,
|
|
@@ -4358,7 +4358,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4358
4358
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4359
4359
|
].sort();
|
|
4360
4360
|
|
|
4361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4362
4362
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4363
4363
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4364
4364
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -4711,7 +4711,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
4711
4711
|
};
|
|
4712
4712
|
}, "metadataOf");
|
|
4713
4713
|
|
|
4714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
4715
4715
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4716
4716
|
import { randomBytes } from "node:crypto";
|
|
4717
4717
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -4749,7 +4749,7 @@ var attempts = new AsyncLocalStorage2();
|
|
|
4749
4749
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
4750
4750
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
4751
4751
|
|
|
4752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4753
4753
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4754
4754
|
const recording = startRecording(options);
|
|
4755
4755
|
try {
|
|
@@ -4934,7 +4934,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4934
4934
|
return void 0;
|
|
4935
4935
|
}, "partialOutcome");
|
|
4936
4936
|
|
|
4937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4938
4938
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4939
4939
|
if (ms2 === void 0)
|
|
4940
4940
|
return body();
|
|
@@ -4960,7 +4960,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4960
4960
|
}
|
|
4961
4961
|
}, "withDeadline");
|
|
4962
4962
|
|
|
4963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4963
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4964
4964
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4965
4965
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4966
4966
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5029,10 +5029,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
5029
5029
|
return void 0;
|
|
5030
5030
|
}, "sampleCommand");
|
|
5031
5031
|
|
|
5032
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5032
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5033
5033
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5034
5034
|
|
|
5035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5036
5036
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5037
5037
|
try {
|
|
5038
5038
|
const url2 = new URL(value);
|
|
@@ -5042,7 +5042,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5042
5042
|
}
|
|
5043
5043
|
}, "endpoint");
|
|
5044
5044
|
|
|
5045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5046
5046
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5047
5047
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5048
5048
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5111,7 +5111,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5111
5111
|
};
|
|
5112
5112
|
}, "modelTarget");
|
|
5113
5113
|
|
|
5114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5115
5115
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5116
5116
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5117
5117
|
var AI_FIELDS = {
|
|
@@ -5155,7 +5155,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5155
5155
|
};
|
|
5156
5156
|
}, "resolveAISettings");
|
|
5157
5157
|
|
|
5158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5159
5159
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5160
5160
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5161
5161
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5169,7 +5169,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5169
5169
|
return ms2;
|
|
5170
5170
|
}, "parseDuration");
|
|
5171
5171
|
|
|
5172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5173
5173
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5174
5174
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5175
5175
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5328,7 +5328,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5328
5328
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5329
5329
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5330
5330
|
|
|
5331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5332
5332
|
var HISTORY_MAX_DAYS = 1095;
|
|
5333
5333
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5334
5334
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5375,7 +5375,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5375
5375
|
return { batch: { ...batch, messages }, skipped };
|
|
5376
5376
|
}, "limitBatch");
|
|
5377
5377
|
|
|
5378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5379
5379
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5380
5380
|
import { join as join3 } from "node:path";
|
|
5381
5381
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5464,10 +5464,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5464
5464
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5465
5465
|
}, "registryProfiles");
|
|
5466
5466
|
|
|
5467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5468
5468
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5469
5469
|
|
|
5470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5471
5471
|
var REPAIR_WORDS = {
|
|
5472
5472
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5473
5473
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5708,7 +5708,7 @@ ${parts.join(",\n")}
|
|
|
5708
5708
|
${indent}${close}`;
|
|
5709
5709
|
}, "serialise");
|
|
5710
5710
|
|
|
5711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5711
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5712
5712
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5713
5713
|
var SECTIONS = ["personal", "bot"];
|
|
5714
5714
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6002,7 +6002,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6002
6002
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6003
6003
|
}, "readConfigFile");
|
|
6004
6004
|
|
|
6005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6006
6006
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6007
6007
|
import { dirname, join as join4 } from "node:path";
|
|
6008
6008
|
var DEFAULT_CONFIG = {
|
|
@@ -6031,7 +6031,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6031
6031
|
}
|
|
6032
6032
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6033
6033
|
|
|
6034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6035
6035
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6036
6036
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6037
6037
|
const path2 = key.split(".");
|
|
@@ -6053,7 +6053,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
6053
6053
|
return { config, added };
|
|
6054
6054
|
}, "withSettingDefaults");
|
|
6055
6055
|
|
|
6056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6057
6057
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6058
6058
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6059
6059
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6563,7 +6563,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6563
6563
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6564
6564
|
}, "given");
|
|
6565
6565
|
|
|
6566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6567
6567
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
|
|
6568
6568
|
const { deadline, signal, app } = environmentOf(command);
|
|
6569
6569
|
const now = deadline?.();
|
|
@@ -6586,6 +6586,10 @@ var provide = /* @__PURE__ */ __name((program2, environment) => {
|
|
|
6586
6586
|
environments.set(program2, environment);
|
|
6587
6587
|
}, "provide");
|
|
6588
6588
|
var environmentOf = /* @__PURE__ */ __name((command) => environments.get(rootOf(command)) ?? {}, "environmentOf");
|
|
6589
|
+
var withAgentLevels = /* @__PURE__ */ __name((command, flags) => {
|
|
6590
|
+
const overrides = environmentOf(command).agent?.overrides ?? [];
|
|
6591
|
+
return overrides.length > 0 ? { ...flags, permission: [...overrides, ...flags.permission ?? []] } : flags;
|
|
6592
|
+
}, "withAgentLevels");
|
|
6589
6593
|
var secretInputOf = /* @__PURE__ */ __name((command) => {
|
|
6590
6594
|
const { stdin, stderr } = environmentOf(command);
|
|
6591
6595
|
return { ...stdin ? { input: stdin } : {}, ...stderr ? { output: stderr } : {} };
|
|
@@ -6612,9 +6616,7 @@ var outputFor = /* @__PURE__ */ __name((command) => {
|
|
|
6612
6616
|
var baseContext = /* @__PURE__ */ __name((command, resolveSettings) => {
|
|
6613
6617
|
const environment = environmentOf(command);
|
|
6614
6618
|
const env = environment.env ?? process.env;
|
|
6615
|
-
const
|
|
6616
|
-
const overrides = environment.agent?.overrides ?? [];
|
|
6617
|
-
const settings = resolveSettings(overrides.length > 0 ? { ...flags, permission: [...overrides, ...flags.permission ?? []] } : flags, { env });
|
|
6619
|
+
const settings = resolveSettings(withAgentLevels(command, command.optsWithGlobals()), { env });
|
|
6618
6620
|
const { renderer, format, color, streams, compact, full } = resolveOutput({
|
|
6619
6621
|
...settings,
|
|
6620
6622
|
env,
|
|
@@ -6686,7 +6688,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6686
6688
|
return words.join(" ");
|
|
6687
6689
|
}, "commandPath");
|
|
6688
6690
|
|
|
6689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6690
6692
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6691
6693
|
var FETCH = { remote: "read", local: "write" };
|
|
6692
6694
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6814,7 +6816,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6814
6816
|
throw readOnlyRefusal(lock, what);
|
|
6815
6817
|
}, "refuseUnderReadOnly");
|
|
6816
6818
|
|
|
6817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6818
6820
|
var account = strictObject({
|
|
6819
6821
|
provider: text,
|
|
6820
6822
|
id,
|
|
@@ -6824,7 +6826,7 @@ var account = strictObject({
|
|
|
6824
6826
|
scope: optional(picklist(["personal", "work"]))
|
|
6825
6827
|
});
|
|
6826
6828
|
|
|
6827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6828
6830
|
var accountSession = strictObject({
|
|
6829
6831
|
current: boolean(),
|
|
6830
6832
|
client: nullable(text),
|
|
@@ -6834,7 +6836,7 @@ var accountSession = strictObject({
|
|
|
6834
6836
|
created_at: optional(nullable(time))
|
|
6835
6837
|
});
|
|
6836
6838
|
|
|
6837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6838
6840
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6839
6841
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6840
6842
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6852,7 +6854,7 @@ var accountPrivacy = strictObject({
|
|
|
6852
6854
|
});
|
|
6853
6855
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
6854
6856
|
|
|
6855
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6856
6858
|
var accountProfile = strictObject({
|
|
6857
6859
|
profile: id,
|
|
6858
6860
|
current: boolean(),
|
|
@@ -6864,7 +6866,7 @@ var accountProfile = strictObject({
|
|
|
6864
6866
|
bot: optional(literal(true))
|
|
6865
6867
|
});
|
|
6866
6868
|
|
|
6867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6869
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6868
6870
|
var milliseconds = pipe(number(), minValue(0));
|
|
6869
6871
|
var counterReading = strictObject({
|
|
6870
6872
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6876,7 +6878,7 @@ var counterReading = strictObject({
|
|
|
6876
6878
|
});
|
|
6877
6879
|
var selection = record(string(), unknown());
|
|
6878
6880
|
|
|
6879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6880
6882
|
var adminRow = strictObject({
|
|
6881
6883
|
ref: reference,
|
|
6882
6884
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6929,7 +6931,7 @@ var adminReport = strictObject({
|
|
|
6929
6931
|
rows: array(adminRow)
|
|
6930
6932
|
});
|
|
6931
6933
|
|
|
6932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6933
6935
|
var closeSuggestion = strictObject({
|
|
6934
6936
|
as: picklist(["done", "dismissed"]),
|
|
6935
6937
|
/** The agent's name. */
|
|
@@ -6991,7 +6993,7 @@ var task = strictObject({
|
|
|
6991
6993
|
updated_at: optional(time)
|
|
6992
6994
|
});
|
|
6993
6995
|
|
|
6994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6995
6997
|
var agendaChat = strictObject({
|
|
6996
6998
|
chat: reference,
|
|
6997
6999
|
title: nullable(text),
|
|
@@ -7061,11 +7063,11 @@ var agenda = strictObject({
|
|
|
7061
7063
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7062
7064
|
});
|
|
7063
7065
|
|
|
7064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7065
7067
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7066
7068
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7067
7069
|
|
|
7068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7069
7071
|
var attachment = strictObject({
|
|
7070
7072
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7071
7073
|
message: optional(reference),
|
|
@@ -7103,7 +7105,7 @@ var attachment = strictObject({
|
|
|
7103
7105
|
});
|
|
7104
7106
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7105
7107
|
|
|
7106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7107
7109
|
var actionableError = objectWithRest({
|
|
7108
7110
|
code: text,
|
|
7109
7111
|
message: text,
|
|
@@ -7120,7 +7122,7 @@ var batchResult = strictObject({
|
|
|
7120
7122
|
max_error_percent: count
|
|
7121
7123
|
});
|
|
7122
7124
|
|
|
7123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7124
7126
|
var extractionItem = strictObject({
|
|
7125
7127
|
ref: reference,
|
|
7126
7128
|
attachment: count,
|
|
@@ -7153,7 +7155,7 @@ var extractionReport = strictObject({
|
|
|
7153
7155
|
cursor: optional(text)
|
|
7154
7156
|
});
|
|
7155
7157
|
|
|
7156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7157
7159
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7158
7160
|
var attachmentBytes = strictObject({
|
|
7159
7161
|
ref: reference,
|
|
@@ -7181,7 +7183,7 @@ var attachmentTextChange = strictObject({
|
|
|
7181
7183
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7182
7184
|
});
|
|
7183
7185
|
|
|
7184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7185
7187
|
var chart = strictObject({
|
|
7186
7188
|
version: literal(1),
|
|
7187
7189
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7196,7 +7198,7 @@ var chart = strictObject({
|
|
|
7196
7198
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7197
7199
|
});
|
|
7198
7200
|
|
|
7199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7200
7202
|
var member = strictObject({
|
|
7201
7203
|
id,
|
|
7202
7204
|
name: nullable(text),
|
|
@@ -7219,7 +7221,7 @@ var member = strictObject({
|
|
|
7219
7221
|
check: optional(record(string(), unknown()))
|
|
7220
7222
|
});
|
|
7221
7223
|
|
|
7222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7223
7225
|
var setting = optional(nullable(boolean()));
|
|
7224
7226
|
var chat = strictObject({
|
|
7225
7227
|
ref: reference,
|
|
@@ -7260,7 +7262,7 @@ var chat = strictObject({
|
|
|
7260
7262
|
members: optional(array(member))
|
|
7261
7263
|
});
|
|
7262
7264
|
|
|
7263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7264
7266
|
var named = strictObject({
|
|
7265
7267
|
id,
|
|
7266
7268
|
title: nullable(text),
|
|
@@ -7283,7 +7285,7 @@ var folder = strictObject({
|
|
|
7283
7285
|
excluded_chats: optional(array(named))
|
|
7284
7286
|
});
|
|
7285
7287
|
|
|
7286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7287
7289
|
var inviteLink = strictObject({
|
|
7288
7290
|
link: text,
|
|
7289
7291
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7299,7 +7301,7 @@ var inviteLink = strictObject({
|
|
|
7299
7301
|
joined_count: optional(count)
|
|
7300
7302
|
});
|
|
7301
7303
|
|
|
7302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7303
7305
|
var operated = { operation_id: id, chat_id: id };
|
|
7304
7306
|
var group = strictObject({
|
|
7305
7307
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7379,7 +7381,7 @@ var chatFolderOrder = strictObject({
|
|
|
7379
7381
|
folders: array(strictObject({ id, title: text }))
|
|
7380
7382
|
});
|
|
7381
7383
|
|
|
7382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7383
7385
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7384
7386
|
var chatRemoval = strictObject(operated2);
|
|
7385
7387
|
var chatMuting = strictObject({
|
|
@@ -7390,7 +7392,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7390
7392
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7391
7393
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7392
7394
|
|
|
7393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7394
7396
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7395
7397
|
var chatEvent = strictObject({
|
|
7396
7398
|
chat_id: id,
|
|
@@ -7407,7 +7409,7 @@ var chatEvent = strictObject({
|
|
|
7407
7409
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7408
7410
|
});
|
|
7409
7411
|
|
|
7410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7411
7413
|
var chatMetadata = strictObject({
|
|
7412
7414
|
chat_id: id,
|
|
7413
7415
|
title: nullable(text),
|
|
@@ -7422,7 +7424,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7422
7424
|
has_more: boolean()
|
|
7423
7425
|
});
|
|
7424
7426
|
|
|
7425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7426
7428
|
var action = picklist(["report", "delete", "remove"]);
|
|
7427
7429
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7428
7430
|
var chatRules = strictObject({
|
|
@@ -7459,7 +7461,7 @@ var chatModeration = strictObject({
|
|
|
7459
7461
|
}))
|
|
7460
7462
|
});
|
|
7461
7463
|
|
|
7462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7463
7465
|
var optionalCount = optional(count);
|
|
7464
7466
|
var minutes = nullable(number());
|
|
7465
7467
|
var chatStats = strictObject({
|
|
@@ -7533,7 +7535,7 @@ var taskStats = strictObject({
|
|
|
7533
7535
|
}))
|
|
7534
7536
|
});
|
|
7535
7537
|
|
|
7536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7537
7539
|
var memberCount = strictObject({
|
|
7538
7540
|
day: pipe(text, isoDate()),
|
|
7539
7541
|
participants: nullable(count),
|
|
@@ -7556,7 +7558,7 @@ var chatTracking = strictObject({
|
|
|
7556
7558
|
tracked: boolean()
|
|
7557
7559
|
});
|
|
7558
7560
|
|
|
7559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7560
7562
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7561
7563
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7562
7564
|
var profileFields = {
|
|
@@ -7594,7 +7596,7 @@ var profileFields = {
|
|
|
7594
7596
|
}))
|
|
7595
7597
|
};
|
|
7596
7598
|
|
|
7597
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7598
7600
|
var contact = strictObject({
|
|
7599
7601
|
ref: reference,
|
|
7600
7602
|
id,
|
|
@@ -7625,7 +7627,7 @@ var contact = strictObject({
|
|
|
7625
7627
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7626
7628
|
});
|
|
7627
7629
|
|
|
7628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7630
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7629
7631
|
var WEIGHTS = {
|
|
7630
7632
|
bot: 3,
|
|
7631
7633
|
scam: 3,
|
|
@@ -7650,7 +7652,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7650
7652
|
var DIGITS = /\d{5,}/;
|
|
7651
7653
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7652
7654
|
|
|
7653
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7654
7656
|
var linkedIdentity = strictObject({
|
|
7655
7657
|
provider: text,
|
|
7656
7658
|
id,
|
|
@@ -7691,7 +7693,7 @@ var contactCheck = strictObject({
|
|
|
7691
7693
|
checked_at: time
|
|
7692
7694
|
});
|
|
7693
7695
|
|
|
7694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7695
7697
|
var quoted = strictObject({
|
|
7696
7698
|
id,
|
|
7697
7699
|
sender_id: nullable(id),
|
|
@@ -7810,7 +7812,7 @@ var message = strictObject({
|
|
|
7810
7812
|
provider_metadata: providerMetadata
|
|
7811
7813
|
});
|
|
7812
7814
|
|
|
7813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7814
7816
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7815
7817
|
var contextMessage = strictObject({
|
|
7816
7818
|
locator: reference,
|
|
@@ -8008,7 +8010,7 @@ var contactPreparation = strictObject({
|
|
|
8008
8010
|
})
|
|
8009
8011
|
});
|
|
8010
8012
|
|
|
8011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8012
8014
|
var contactNote = strictObject({
|
|
8013
8015
|
id,
|
|
8014
8016
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8020,13 +8022,13 @@ var contactNote = strictObject({
|
|
|
8020
8022
|
updated_at: time
|
|
8021
8023
|
});
|
|
8022
8024
|
|
|
8023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8024
8026
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8025
8027
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8026
8028
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8027
8029
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8028
8030
|
|
|
8029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8030
8032
|
var conversation = strictObject({
|
|
8031
8033
|
id,
|
|
8032
8034
|
chat: reference,
|
|
@@ -8041,7 +8043,7 @@ var conversation = strictObject({
|
|
|
8041
8043
|
rules_version: count
|
|
8042
8044
|
});
|
|
8043
8045
|
|
|
8044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8045
8047
|
var conversationBuild = strictObject({
|
|
8046
8048
|
chat: id,
|
|
8047
8049
|
messages: count,
|
|
@@ -8066,7 +8068,7 @@ var catchUpPreparation = strictObject({
|
|
|
8066
8068
|
prepared: optional(conversationPreparation)
|
|
8067
8069
|
});
|
|
8068
8070
|
|
|
8069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8070
8072
|
var conversationDetails = union([
|
|
8071
8073
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8072
8074
|
message
|
|
@@ -8156,7 +8158,7 @@ var conversationHit = strictObject({
|
|
|
8156
8158
|
stale: boolean()
|
|
8157
8159
|
});
|
|
8158
8160
|
|
|
8159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8160
8162
|
var counters = strictObject({
|
|
8161
8163
|
cutoff: time,
|
|
8162
8164
|
max_age_ms: milliseconds,
|
|
@@ -8186,7 +8188,94 @@ var counterRefresh = strictObject({
|
|
|
8186
8188
|
complete: optional(boolean())
|
|
8187
8189
|
});
|
|
8188
8190
|
|
|
8189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8192
|
+
var nullableText = nullable(text);
|
|
8193
|
+
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8194
|
+
var outcome = picklist(["open", "won", "lost"]);
|
|
8195
|
+
var crmAccount = nullable(strictObject({ provider: text, account: text }));
|
|
8196
|
+
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
8197
|
+
var deal = strictObject({
|
|
8198
|
+
id,
|
|
8199
|
+
ref: reference,
|
|
8200
|
+
kind: picklist(["deal", "lead"]),
|
|
8201
|
+
title: text,
|
|
8202
|
+
/** One line with the stage, amount and status. */
|
|
8203
|
+
summary: text,
|
|
8204
|
+
pipeline: reference,
|
|
8205
|
+
pipeline_name: text,
|
|
8206
|
+
stage: text,
|
|
8207
|
+
status: outcome,
|
|
8208
|
+
organization: nullable(party),
|
|
8209
|
+
currency: nullableText,
|
|
8210
|
+
amount: nullableText,
|
|
8211
|
+
close_date: day2,
|
|
8212
|
+
closed_date: day2,
|
|
8213
|
+
closed_reason: nullableText,
|
|
8214
|
+
rank: nullable(number()),
|
|
8215
|
+
/** A lead's deal, once it became one. */
|
|
8216
|
+
deal: nullable(reference),
|
|
8217
|
+
/** The CRM account it is a copy from; `null` for the owner's own. */
|
|
8218
|
+
account: crmAccount,
|
|
8219
|
+
external_id: nullableText,
|
|
8220
|
+
/** A CRM copy's assignee, the identity `<account>/user/<id>`. */
|
|
8221
|
+
assignee: nullableText,
|
|
8222
|
+
/** A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. */
|
|
8223
|
+
provider_metadata: record(string(), strictObject({
|
|
8224
|
+
label: nullable(string()),
|
|
8225
|
+
value: unknown(),
|
|
8226
|
+
option_id: optional(union([string(), array(string())]))
|
|
8227
|
+
})),
|
|
8228
|
+
people: array(strictObject({ ...party.entries, role: picklist(["owner", "contact", "decision-maker"]) })),
|
|
8229
|
+
author: strictObject({
|
|
8230
|
+
type: picklist(["person", "bot"]),
|
|
8231
|
+
id,
|
|
8232
|
+
name: nullableText,
|
|
8233
|
+
kind: nullable(picklist(["agent", "rule"]))
|
|
8234
|
+
}),
|
|
8235
|
+
model: nullableText,
|
|
8236
|
+
source: text,
|
|
8237
|
+
reason: nullableText,
|
|
8238
|
+
evidence: array(reference),
|
|
8239
|
+
project: nullable(reference),
|
|
8240
|
+
project_name: nullableText,
|
|
8241
|
+
created_at: time,
|
|
8242
|
+
updated_at: time,
|
|
8243
|
+
untrusted
|
|
8244
|
+
});
|
|
8245
|
+
var lead = deal;
|
|
8246
|
+
var pipelineStage = strictObject({
|
|
8247
|
+
name: text,
|
|
8248
|
+
position: count,
|
|
8249
|
+
outcome,
|
|
8250
|
+
external_id: nullableText,
|
|
8251
|
+
/** Open deals or leads in it now. */
|
|
8252
|
+
open: count,
|
|
8253
|
+
/** With a funnel: rows that got this far, and the share of them that reached the next stage. */
|
|
8254
|
+
reached: optional(count),
|
|
8255
|
+
conversion: optional(nullable(number()))
|
|
8256
|
+
});
|
|
8257
|
+
var pipeline = strictObject({
|
|
8258
|
+
id,
|
|
8259
|
+
ref: reference,
|
|
8260
|
+
name: text,
|
|
8261
|
+
kind: picklist(["deal", "lead"]),
|
|
8262
|
+
account: crmAccount,
|
|
8263
|
+
external_id: nullableText,
|
|
8264
|
+
stages: array(pipelineStage),
|
|
8265
|
+
created_at: time,
|
|
8266
|
+
totals: optional(strictObject({ items: count, open: count, won: count, lost: count, win_rate: nullable(number()) })),
|
|
8267
|
+
since: optional(day2),
|
|
8268
|
+
untrusted
|
|
8269
|
+
});
|
|
8270
|
+
var stage = strictObject({
|
|
8271
|
+
...pipelineStage.entries,
|
|
8272
|
+
pipeline: reference,
|
|
8273
|
+
pipeline_name: text,
|
|
8274
|
+
kind: picklist(["deal", "lead"]),
|
|
8275
|
+
untrusted
|
|
8276
|
+
});
|
|
8277
|
+
|
|
8278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8190
8279
|
var document = strictObject({
|
|
8191
8280
|
ref: reference,
|
|
8192
8281
|
id,
|
|
@@ -8201,7 +8290,7 @@ var document = strictObject({
|
|
|
8201
8290
|
owners: optional(array(text))
|
|
8202
8291
|
});
|
|
8203
8292
|
|
|
8204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8205
8294
|
var documentLink = strictObject({
|
|
8206
8295
|
ref: reference,
|
|
8207
8296
|
url: text,
|
|
@@ -8212,7 +8301,7 @@ var documentLink = strictObject({
|
|
|
8212
8301
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8213
8302
|
});
|
|
8214
8303
|
|
|
8215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8216
8305
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8217
8306
|
var contribution = strictObject({
|
|
8218
8307
|
message: evidenceMessage,
|
|
@@ -8242,7 +8331,7 @@ var retentionStay = strictObject({
|
|
|
8242
8331
|
});
|
|
8243
8332
|
var evidence = union([contribution, retentionStay]);
|
|
8244
8333
|
|
|
8245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8246
8335
|
var fact = strictObject({
|
|
8247
8336
|
ref: reference,
|
|
8248
8337
|
id,
|
|
@@ -8272,9 +8361,9 @@ var fact = strictObject({
|
|
|
8272
8361
|
updated_at: time
|
|
8273
8362
|
});
|
|
8274
8363
|
|
|
8275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8364
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8276
8365
|
var hit = strictObject({
|
|
8277
|
-
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8366
|
+
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8278
8367
|
ref: reference,
|
|
8279
8368
|
provider: text,
|
|
8280
8369
|
url: optional(text),
|
|
@@ -8310,7 +8399,7 @@ var hit = strictObject({
|
|
|
8310
8399
|
untrusted
|
|
8311
8400
|
});
|
|
8312
8401
|
|
|
8313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8314
8403
|
var identity = strictObject({
|
|
8315
8404
|
ref: reference,
|
|
8316
8405
|
provider: text,
|
|
@@ -8323,7 +8412,7 @@ var identity = strictObject({
|
|
|
8323
8412
|
person: optional(nullable(reference))
|
|
8324
8413
|
});
|
|
8325
8414
|
|
|
8326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8327
8416
|
var imageEmbedding = strictObject({
|
|
8328
8417
|
model: text,
|
|
8329
8418
|
embedded: count,
|
|
@@ -8332,13 +8421,13 @@ var imageEmbedding = strictObject({
|
|
|
8332
8421
|
more: boolean()
|
|
8333
8422
|
});
|
|
8334
8423
|
|
|
8335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8336
8425
|
import { spawn } from "node:child_process";
|
|
8337
8426
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8338
8427
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8339
8428
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8340
8429
|
|
|
8341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8430
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8342
8431
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8343
8432
|
const total = input.total ?? null;
|
|
8344
8433
|
const updated = input.updatedAt ?? null;
|
|
@@ -8354,7 +8443,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8354
8443
|
};
|
|
8355
8444
|
}, "progressOf");
|
|
8356
8445
|
|
|
8357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8358
8447
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8359
8448
|
const run = currentRun();
|
|
8360
8449
|
const trace = traceId ?? run.traceId;
|
|
@@ -8368,7 +8457,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8368
8457
|
}));
|
|
8369
8458
|
}, "recordLogFor");
|
|
8370
8459
|
|
|
8371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8372
8461
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8373
8462
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8374
8463
|
const out = openSync(log, "a", 384);
|
|
@@ -8418,11 +8507,11 @@ var finishJob = /* @__PURE__ */ __name((app, dir, id6, change) => {
|
|
|
8418
8507
|
const job2 = readJob(dir, id6);
|
|
8419
8508
|
if (!job2)
|
|
8420
8509
|
return;
|
|
8421
|
-
const
|
|
8510
|
+
const outcome4 = stateOf(job2);
|
|
8422
8511
|
recordLogFor(recordsPath(dir, id6), app, job2.traceId ? { traceId: job2.traceId } : {})[job2.error ? "error" : "info"]({
|
|
8423
8512
|
event: "job.exit",
|
|
8424
8513
|
job: id6,
|
|
8425
|
-
outcome:
|
|
8514
|
+
outcome: outcome4,
|
|
8426
8515
|
...job2.error ? { errorCode: job2.error.code } : {}
|
|
8427
8516
|
});
|
|
8428
8517
|
}, "finishJob");
|
|
@@ -8523,7 +8612,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8523
8612
|
return { job: id6, pid, chat: input.chat, log };
|
|
8524
8613
|
}, "startArchiveJob");
|
|
8525
8614
|
|
|
8526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8527
8616
|
var problem = strictObject({ code: text, message: text });
|
|
8528
8617
|
var job = strictObject({
|
|
8529
8618
|
id,
|
|
@@ -8546,7 +8635,7 @@ var job = strictObject({
|
|
|
8546
8635
|
error: optional(problem)
|
|
8547
8636
|
});
|
|
8548
8637
|
|
|
8549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8550
8639
|
var joinRequest = strictObject({
|
|
8551
8640
|
person_id: id,
|
|
8552
8641
|
name: nullable(text),
|
|
@@ -8557,7 +8646,7 @@ var joinRequest = strictObject({
|
|
|
8557
8646
|
about: optional(text)
|
|
8558
8647
|
});
|
|
8559
8648
|
|
|
8560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8561
8650
|
var botProfile = strictObject({
|
|
8562
8651
|
name: text,
|
|
8563
8652
|
token: text,
|
|
@@ -8588,6 +8677,10 @@ var scheduledJob = strictObject({
|
|
|
8588
8677
|
name: text,
|
|
8589
8678
|
kind: picklist(["command", "agent"]),
|
|
8590
8679
|
when: text,
|
|
8680
|
+
/** When a finished run shows a desktop notice: `always`, `failures` or `never`; the default is shown, not left out. */
|
|
8681
|
+
notify: optional(picklist(["always", "failures", "never"])),
|
|
8682
|
+
/** Where a run's result is sent after it: `telegram-bot:<profile>/<chat>` or `email:<profile>/<address>`. */
|
|
8683
|
+
deliver_to: optional(array(text)),
|
|
8591
8684
|
last: nullable(strictObject({
|
|
8592
8685
|
at: time,
|
|
8593
8686
|
exit_code: number(),
|
|
@@ -8599,7 +8692,19 @@ var scheduledJob = strictObject({
|
|
|
8599
8692
|
failures: optional(number()),
|
|
8600
8693
|
cost_usd: optional(number()),
|
|
8601
8694
|
/** The last time a run did not start, and why: the day's cost cap, or too little new mail. */
|
|
8602
|
-
skipped: optional(strictObject({
|
|
8695
|
+
skipped: optional(strictObject({
|
|
8696
|
+
at: time,
|
|
8697
|
+
why: text,
|
|
8698
|
+
/** A dotted id for `why`, so a client can translate it: `cost.day-cap`, `mail.none-new`, `mail.below-threshold`. */
|
|
8699
|
+
reason: optional(pipe(text, regex(/^[a-z][a-z0-9-]*(\.[a-z][a-z0-9-]*)+$/)))
|
|
8700
|
+
})),
|
|
8701
|
+
/** How the run's result went along each route; `reason` a dotted id, `error` the sending CLI's code and reason id. */
|
|
8702
|
+
deliveries: optional(array(strictObject({
|
|
8703
|
+
to: text,
|
|
8704
|
+
ok: boolean(),
|
|
8705
|
+
reason: optional(pipe(text, regex(/^[a-z][a-z0-9-]*(\.[a-z][a-z0-9-]*)+$/))),
|
|
8706
|
+
error: optional(text)
|
|
8707
|
+
})))
|
|
8603
8708
|
})),
|
|
8604
8709
|
/** Agent schedules: what today's runs cost, in US dollars. */
|
|
8605
8710
|
spent_today_usd: optional(number()),
|
|
@@ -8634,7 +8739,7 @@ var stickerInventory = strictObject({
|
|
|
8634
8739
|
url: optional(nullable(text))
|
|
8635
8740
|
});
|
|
8636
8741
|
|
|
8637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8638
8743
|
var pollVote = strictObject({
|
|
8639
8744
|
person_id: id,
|
|
8640
8745
|
name: nullable(text),
|
|
@@ -8644,7 +8749,7 @@ var pollVote = strictObject({
|
|
|
8644
8749
|
voted_at: time
|
|
8645
8750
|
});
|
|
8646
8751
|
|
|
8647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8648
8753
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8649
8754
|
var observation = strictObject({
|
|
8650
8755
|
value: pipe(number(), minValue(0)),
|
|
@@ -8686,7 +8791,7 @@ var serveSummary = strictObject({
|
|
|
8686
8791
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8687
8792
|
});
|
|
8688
8793
|
|
|
8689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8690
8795
|
var mailCounts = strictObject({
|
|
8691
8796
|
by: picklist(["day", "week", "sender"]),
|
|
8692
8797
|
received: count,
|
|
@@ -8701,7 +8806,7 @@ var mailCounts = strictObject({
|
|
|
8701
8806
|
}))
|
|
8702
8807
|
});
|
|
8703
8808
|
|
|
8704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8705
8810
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8706
8811
|
var base = { id, evidence: array(evidence2) };
|
|
8707
8812
|
var finding = variant("kind", [
|
|
@@ -8825,7 +8930,7 @@ var finding = variant("kind", [
|
|
|
8825
8930
|
reason: text
|
|
8826
8931
|
})
|
|
8827
8932
|
]);
|
|
8828
|
-
var
|
|
8933
|
+
var outcome2 = strictObject({
|
|
8829
8934
|
id,
|
|
8830
8935
|
fingerprint: text,
|
|
8831
8936
|
status: picklist(["accepted", "rejected"]),
|
|
@@ -8841,11 +8946,11 @@ var mailFindings = strictObject({
|
|
|
8841
8946
|
author,
|
|
8842
8947
|
decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
|
|
8843
8948
|
decided_at: nullable(time),
|
|
8844
|
-
previous: array(
|
|
8845
|
-
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(
|
|
8949
|
+
previous: array(outcome2),
|
|
8950
|
+
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8846
8951
|
});
|
|
8847
8952
|
|
|
8848
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8849
8954
|
var mediaArchive = strictObject({
|
|
8850
8955
|
directory: text,
|
|
8851
8956
|
chats: count,
|
|
@@ -8877,7 +8982,7 @@ var mediaArchiveTimer = union([
|
|
|
8877
8982
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8878
8983
|
]);
|
|
8879
8984
|
|
|
8880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8881
8986
|
var preparationId = pipe(string(), minLength(1));
|
|
8882
8987
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8883
8988
|
var preparationTime = nullable(isoTime);
|
|
@@ -8969,7 +9074,7 @@ var preparationMeeting = strictObject({
|
|
|
8969
9074
|
updated_at: isoTime
|
|
8970
9075
|
});
|
|
8971
9076
|
|
|
8972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8973
9078
|
var meetingEvidence = preparationEvidence;
|
|
8974
9079
|
var meetingPersonContext = strictObject({
|
|
8975
9080
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8991,7 +9096,7 @@ var meetingPersonContext = strictObject({
|
|
|
8991
9096
|
})
|
|
8992
9097
|
});
|
|
8993
9098
|
|
|
8994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8995
9100
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8996
9101
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8997
9102
|
var finding2 = variant("kind", [
|
|
@@ -9009,7 +9114,7 @@ var finding2 = variant("kind", [
|
|
|
9009
9114
|
assignee_evidence: optional(array(reference))
|
|
9010
9115
|
})
|
|
9011
9116
|
]);
|
|
9012
|
-
var
|
|
9117
|
+
var outcome3 = strictObject({
|
|
9013
9118
|
id,
|
|
9014
9119
|
fingerprint: text,
|
|
9015
9120
|
status: picklist(["accepted", "rejected"]),
|
|
@@ -9025,11 +9130,11 @@ var meetingFindings = strictObject({
|
|
|
9025
9130
|
author,
|
|
9026
9131
|
decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
|
|
9027
9132
|
decided_at: nullable(time),
|
|
9028
|
-
previous: array(
|
|
9029
|
-
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(
|
|
9133
|
+
previous: array(outcome3),
|
|
9134
|
+
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9030
9135
|
});
|
|
9031
9136
|
|
|
9032
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9033
9138
|
var communicationCoverage = strictObject({
|
|
9034
9139
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9035
9140
|
query: string(),
|
|
@@ -9074,7 +9179,7 @@ var preparationCommunications = strictObject({
|
|
|
9074
9179
|
}))
|
|
9075
9180
|
});
|
|
9076
9181
|
|
|
9077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9078
9183
|
var meetingPreparation = strictObject({
|
|
9079
9184
|
communications: optional(preparationCommunications),
|
|
9080
9185
|
schema_version: literal(1),
|
|
@@ -9187,7 +9292,7 @@ var meetingPreparation = strictObject({
|
|
|
9187
9292
|
})
|
|
9188
9293
|
});
|
|
9189
9294
|
|
|
9190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9191
9296
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9192
9297
|
var id3 = pipe(string(), minLength(1));
|
|
9193
9298
|
var text3 = string();
|
|
@@ -9251,7 +9356,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9251
9356
|
})
|
|
9252
9357
|
});
|
|
9253
9358
|
|
|
9254
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9255
9360
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9256
9361
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9257
9362
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9281,7 +9386,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9281
9386
|
})
|
|
9282
9387
|
});
|
|
9283
9388
|
|
|
9284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9285
9390
|
var text4 = string();
|
|
9286
9391
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9287
9392
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9298,7 +9403,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9298
9403
|
persistence: literal("proposal-only")
|
|
9299
9404
|
});
|
|
9300
9405
|
|
|
9301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9302
9407
|
var memory = strictObject({
|
|
9303
9408
|
ref: reference,
|
|
9304
9409
|
id,
|
|
@@ -9325,7 +9430,7 @@ var memory = strictObject({
|
|
|
9325
9430
|
updated_at: time
|
|
9326
9431
|
});
|
|
9327
9432
|
|
|
9328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9329
9434
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9330
9435
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9331
9436
|
var mention = strictObject({
|
|
@@ -9368,13 +9473,13 @@ var mentionRebuild = strictObject({
|
|
|
9368
9473
|
mentions: count
|
|
9369
9474
|
});
|
|
9370
9475
|
|
|
9371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9372
9477
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9373
9478
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9374
9479
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9375
9480
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9376
9481
|
|
|
9377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9378
9483
|
var messageTranscript = strictObject({
|
|
9379
9484
|
message_id: id,
|
|
9380
9485
|
text,
|
|
@@ -9432,7 +9537,7 @@ var evidencePacket = strictObject({
|
|
|
9432
9537
|
}))
|
|
9433
9538
|
});
|
|
9434
9539
|
|
|
9435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9436
9541
|
var messageThread = strictObject({
|
|
9437
9542
|
ref: reference,
|
|
9438
9543
|
chat: id,
|
|
@@ -9449,7 +9554,7 @@ var messageThread = strictObject({
|
|
|
9449
9554
|
});
|
|
9450
9555
|
var messageContext = union([message, messageThread]);
|
|
9451
9556
|
|
|
9452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9453
9558
|
var messageCounts = strictObject({
|
|
9454
9559
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9455
9560
|
total: count,
|
|
@@ -9462,7 +9567,7 @@ var messageCounts = strictObject({
|
|
|
9462
9567
|
}))
|
|
9463
9568
|
});
|
|
9464
9569
|
|
|
9465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9466
9571
|
var messageLink = strictObject({
|
|
9467
9572
|
ref: reference,
|
|
9468
9573
|
url: nullable(text),
|
|
@@ -9479,7 +9584,7 @@ var messageLink = strictObject({
|
|
|
9479
9584
|
})))
|
|
9480
9585
|
});
|
|
9481
9586
|
|
|
9482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9483
9588
|
var savedMessageFile = strictObject({
|
|
9484
9589
|
kind: text,
|
|
9485
9590
|
path: text,
|
|
@@ -9566,7 +9671,7 @@ var messageSyncAll = strictObject({
|
|
|
9566
9671
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9567
9672
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9568
9673
|
|
|
9569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9570
9675
|
var messageWrite = strictObject({
|
|
9571
9676
|
operation_id: id,
|
|
9572
9677
|
message,
|
|
@@ -9581,7 +9686,7 @@ var draftWrite = strictObject({
|
|
|
9581
9686
|
});
|
|
9582
9687
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9583
9688
|
|
|
9584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9585
9690
|
var model2 = strictObject({
|
|
9586
9691
|
id,
|
|
9587
9692
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9598,7 +9703,7 @@ var model2 = strictObject({
|
|
|
9598
9703
|
path: text
|
|
9599
9704
|
});
|
|
9600
9705
|
|
|
9601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9602
9707
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9603
9708
|
var modelKey = strictObject({
|
|
9604
9709
|
provider: text,
|
|
@@ -9608,7 +9713,7 @@ var modelKey = strictObject({
|
|
|
9608
9713
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9609
9714
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9610
9715
|
|
|
9611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9612
9717
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9613
9718
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9614
9719
|
var graph = strictObject({
|
|
@@ -9642,14 +9747,14 @@ var officialStats = strictObject({
|
|
|
9642
9747
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9643
9748
|
});
|
|
9644
9749
|
|
|
9645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9646
9751
|
var person2 = strictObject({
|
|
9647
9752
|
ref: reference,
|
|
9648
9753
|
name: nullable(text),
|
|
9649
9754
|
identities: optional(array(identity))
|
|
9650
9755
|
});
|
|
9651
9756
|
|
|
9652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9653
9758
|
var poll = strictObject({
|
|
9654
9759
|
chat_id: id,
|
|
9655
9760
|
message_id: id,
|
|
@@ -9665,11 +9770,11 @@ var poll = strictObject({
|
|
|
9665
9770
|
});
|
|
9666
9771
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9667
9772
|
|
|
9668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9669
9774
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9670
9775
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9671
9776
|
|
|
9672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9777
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9673
9778
|
var figures = record(string(), number());
|
|
9674
9779
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9675
9780
|
var rankingRow = strictObject({
|
|
@@ -9716,7 +9821,7 @@ var ranking = strictObject({
|
|
|
9716
9821
|
rows: array(rankingRow)
|
|
9717
9822
|
});
|
|
9718
9823
|
|
|
9719
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9720
9825
|
var reaction = strictObject({
|
|
9721
9826
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9722
9827
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9724,7 +9829,7 @@ var reaction = strictObject({
|
|
|
9724
9829
|
reacted_at: time
|
|
9725
9830
|
});
|
|
9726
9831
|
|
|
9727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9728
9833
|
var reactionChange = strictObject({
|
|
9729
9834
|
operation_id: id,
|
|
9730
9835
|
chat_id: id,
|
|
@@ -9732,7 +9837,7 @@ var reactionChange = strictObject({
|
|
|
9732
9837
|
reaction: nullable(text)
|
|
9733
9838
|
});
|
|
9734
9839
|
|
|
9735
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9736
9841
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9737
9842
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9738
9843
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9743,7 +9848,7 @@ var recipientChange = strictObject({
|
|
|
9743
9848
|
...partial(recipientOff).entries
|
|
9744
9849
|
});
|
|
9745
9850
|
|
|
9746
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9851
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9747
9852
|
var events = array(record(string(), unknown()));
|
|
9748
9853
|
var recordedRun = strictObject({
|
|
9749
9854
|
run_id: id,
|
|
@@ -9815,7 +9920,7 @@ var runHit = strictObject({
|
|
|
9815
9920
|
});
|
|
9816
9921
|
var runLocation = strictObject({ path: text });
|
|
9817
9922
|
|
|
9818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9819
9924
|
var relationship = strictObject({
|
|
9820
9925
|
id,
|
|
9821
9926
|
from: reference,
|
|
@@ -9832,7 +9937,7 @@ var relationship = strictObject({
|
|
|
9832
9937
|
created_at: time
|
|
9833
9938
|
});
|
|
9834
9939
|
|
|
9835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9836
9941
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9837
9942
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9838
9943
|
var responseTimes = strictObject({
|
|
@@ -9849,7 +9954,7 @@ var waitingChats = strictObject({
|
|
|
9849
9954
|
by_kind: strictObject({ private: count, group: count })
|
|
9850
9955
|
});
|
|
9851
9956
|
|
|
9852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9853
9958
|
var retentionCohort = strictObject({
|
|
9854
9959
|
/** The first day of the joining day or week. */
|
|
9855
9960
|
cohort: text,
|
|
@@ -9897,7 +10002,7 @@ var retention = strictObject({
|
|
|
9897
10002
|
rows: array(retentionCohort)
|
|
9898
10003
|
});
|
|
9899
10004
|
|
|
9900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9901
10006
|
var savedSearch = strictObject({
|
|
9902
10007
|
id,
|
|
9903
10008
|
/** `null` for a run in the history. */
|
|
@@ -9914,7 +10019,7 @@ var savedSearch = strictObject({
|
|
|
9914
10019
|
});
|
|
9915
10020
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9916
10021
|
|
|
9917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9918
10023
|
var sendAttempt = strictObject({
|
|
9919
10024
|
at: time,
|
|
9920
10025
|
profile: text,
|
|
@@ -9942,7 +10047,7 @@ var sendAttempt = strictObject({
|
|
|
9942
10047
|
error_code: optional(text)
|
|
9943
10048
|
});
|
|
9944
10049
|
|
|
9945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10050
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9946
10051
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9947
10052
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9948
10053
|
var infoSchema = strictObject({
|
|
@@ -10097,12 +10202,25 @@ var storeBackup = strictObject({
|
|
|
10097
10202
|
encrypted: optional(literal(true))
|
|
10098
10203
|
});
|
|
10099
10204
|
var storeDecrypt = strictObject({ path: text, from: text, bytes: count });
|
|
10100
|
-
var storeRestore =
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10205
|
+
var storeRestore = union([
|
|
10206
|
+
strictObject({
|
|
10207
|
+
path: text,
|
|
10208
|
+
restored_from: text,
|
|
10209
|
+
kept_at: nullable(text),
|
|
10210
|
+
schema: count
|
|
10211
|
+
}),
|
|
10212
|
+
/** From a rollback copy: its tables put back in place, the store returned to `schema` from `was`. */
|
|
10213
|
+
strictObject({
|
|
10214
|
+
path: text,
|
|
10215
|
+
restored_from: text,
|
|
10216
|
+
rolled_back: literal(true),
|
|
10217
|
+
schema: count,
|
|
10218
|
+
was: count,
|
|
10219
|
+
tables: array(strictObject({ table: text, rows: count })),
|
|
10220
|
+
rebuilt: array(text),
|
|
10221
|
+
foreign_key_violations: count
|
|
10222
|
+
})
|
|
10223
|
+
]);
|
|
10106
10224
|
var storeReset = union([
|
|
10107
10225
|
strictObject({ ...absent.entries, reset: literal(false) }),
|
|
10108
10226
|
strictObject({
|
|
@@ -10150,7 +10268,7 @@ var storeRepair = union([
|
|
|
10150
10268
|
]);
|
|
10151
10269
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10152
10270
|
|
|
10153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10154
10272
|
var range = strictObject({ from: number(), to: number() });
|
|
10155
10273
|
var storeChatStatus = strictObject({
|
|
10156
10274
|
chat_id: id,
|
|
@@ -10248,7 +10366,7 @@ var storeJobRetry = union([
|
|
|
10248
10366
|
]);
|
|
10249
10367
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10250
10368
|
|
|
10251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10252
10370
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10253
10371
|
var storeTable = strictObject({
|
|
10254
10372
|
name: text,
|
|
@@ -10257,7 +10375,7 @@ var storeTable = strictObject({
|
|
|
10257
10375
|
bytes: optional(nullable(count))
|
|
10258
10376
|
});
|
|
10259
10377
|
|
|
10260
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10261
10379
|
var tagTarget = variant("type", [
|
|
10262
10380
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10263
10381
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10288,7 +10406,7 @@ var automaticTags = strictObject({
|
|
|
10288
10406
|
dry_run: boolean()
|
|
10289
10407
|
});
|
|
10290
10408
|
|
|
10291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10292
10410
|
var tagging = strictObject({
|
|
10293
10411
|
tag: text,
|
|
10294
10412
|
type: picklist(TAG_TYPES),
|
|
@@ -10301,7 +10419,7 @@ var tagging = strictObject({
|
|
|
10301
10419
|
created_at: time
|
|
10302
10420
|
});
|
|
10303
10421
|
|
|
10304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10305
10423
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10306
10424
|
var taskPair = strictObject({
|
|
10307
10425
|
task: nullable(side),
|
|
@@ -10324,7 +10442,7 @@ var taskPair = strictObject({
|
|
|
10324
10442
|
created_at: time
|
|
10325
10443
|
});
|
|
10326
10444
|
|
|
10327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10445
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10328
10446
|
var nullableTime = nullable(time);
|
|
10329
10447
|
var link = strictObject({
|
|
10330
10448
|
id,
|
|
@@ -10498,7 +10616,7 @@ var taskReview = strictObject({
|
|
|
10498
10616
|
untrusted
|
|
10499
10617
|
});
|
|
10500
10618
|
|
|
10501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10502
10620
|
var topic = strictObject({
|
|
10503
10621
|
id,
|
|
10504
10622
|
title: text,
|
|
@@ -10512,9 +10630,13 @@ var topic = strictObject({
|
|
|
10512
10630
|
untrusted
|
|
10513
10631
|
});
|
|
10514
10632
|
|
|
10515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10516
10634
|
var ENTITIES = {
|
|
10517
10635
|
sync_progress: progress,
|
|
10636
|
+
deal,
|
|
10637
|
+
lead,
|
|
10638
|
+
pipeline,
|
|
10639
|
+
stage,
|
|
10518
10640
|
...MEETING_RESULT_ENTITIES,
|
|
10519
10641
|
message,
|
|
10520
10642
|
message_context: messageContext,
|
|
@@ -10794,7 +10916,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10794
10916
|
return [name, definition];
|
|
10795
10917
|
})), "entityDefinitions");
|
|
10796
10918
|
|
|
10797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10798
10920
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10799
10921
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10800
10922
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10828,7 +10950,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10828
10950
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10829
10951
|
}, "answerRow");
|
|
10830
10952
|
|
|
10831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10832
10954
|
import { join as join6 } from "node:path";
|
|
10833
10955
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10834
10956
|
var IMAGE_MODELS = [
|
|
@@ -10882,7 +11004,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10882
11004
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
10883
11005
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10884
11006
|
|
|
10885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10886
11008
|
var STEPS2 = defineSteps([
|
|
10887
11009
|
...STEPS,
|
|
10888
11010
|
{
|
|
@@ -11163,7 +11285,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11163
11285
|
].join(" ");
|
|
11164
11286
|
}, "stepLine");
|
|
11165
11287
|
|
|
11166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11167
11289
|
var where = [{ field: "ref" }];
|
|
11168
11290
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11169
11291
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11255,7 +11377,7 @@ var STATUS_ROWS = {
|
|
|
11255
11377
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11256
11378
|
};
|
|
11257
11379
|
|
|
11258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11259
11381
|
var TEXT_CHARS = 400;
|
|
11260
11382
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11261
11383
|
var messageRow = {
|
|
@@ -11440,8 +11562,8 @@ var cellOf = /* @__PURE__ */ __name((item, column, clock) => {
|
|
|
11440
11562
|
const parts = clock.parts(iso);
|
|
11441
11563
|
if (!parts)
|
|
11442
11564
|
return { text: clean(iso) };
|
|
11443
|
-
const
|
|
11444
|
-
return column.as === "day" ? { text:
|
|
11565
|
+
const day3 = parts.date.slice(5);
|
|
11566
|
+
return column.as === "day" ? { text: day3, date: parts.date } : { text: `${day3} ${parts.time}`, date: parts.date, time: parts.time };
|
|
11445
11567
|
}
|
|
11446
11568
|
case "count":
|
|
11447
11569
|
return typeof value === "number" && value !== 0 ? { text: column.tag ? `${value} ${column.tag}` : String(value) } : void 0;
|
|
@@ -11621,7 +11743,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11621
11743
|
return lines.concat(footerOf(body)).join("\n");
|
|
11622
11744
|
}, "compactText");
|
|
11623
11745
|
|
|
11624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11746
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11625
11747
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11626
11748
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11627
11749
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11679,7 +11801,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11679
11801
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11680
11802
|
}, "largeAnswerSteps");
|
|
11681
11803
|
|
|
11682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11683
11805
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11684
11806
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11685
11807
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11693,7 +11815,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11693
11815
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11694
11816
|
}, "strip");
|
|
11695
11817
|
|
|
11696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11697
11819
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11698
11820
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11699
11821
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11979,6 +12101,7 @@ export {
|
|
|
11979
12101
|
setExitCode,
|
|
11980
12102
|
provide,
|
|
11981
12103
|
environmentOf,
|
|
12104
|
+
withAgentLevels,
|
|
11982
12105
|
secretInputOf,
|
|
11983
12106
|
outputFor,
|
|
11984
12107
|
baseContext,
|