@wirecat/cli-memo 0.131.47 → 0.131.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-75EGCXK3.js → all-profiles-5YVSKBEV.js} +9 -9
- package/dist/bundle/{anthropic-PTAYBCPR.js → anthropic-BMK6F36V.js} +6 -6
- package/dist/bundle/{app-server-YSUBXGGB.js → app-server-PUBWKHUG.js} +42 -42
- package/dist/bundle/auto-FXCXORUF.js +86 -0
- package/dist/bundle/{bun-3AIG5ML4.js → bun-ZBM364I6.js} +2 -2
- package/dist/bundle/{bun-sqlite-5FCGI6EO.js → bun-sqlite-YLBILWBE.js} +5 -5
- package/dist/bundle/{chunk-GA3KFYEZ.js → chunk-2O32QNK3.js} +7 -7
- package/dist/bundle/{chunk-KWM7HLAI.js → chunk-3A3KPJHP.js} +4 -4
- package/dist/bundle/{chunk-N63KZFH4.js → chunk-3LA6OE35.js} +9 -9
- package/dist/bundle/{chunk-DWBTCOF2.js → chunk-4FDK7LVF.js} +7 -7
- package/dist/bundle/{chunk-25RDNYKZ.js → chunk-5BDWOMH6.js} +6 -6
- package/dist/bundle/{chunk-N5QQFDNV.js → chunk-66KZBRZN.js} +3 -3
- package/dist/bundle/{chunk-JY34MQW4.js → chunk-7RNHFNHX.js} +4 -4
- package/dist/bundle/{chunk-V3B5COFP.js → chunk-ADV7DNGM.js} +5 -5
- package/dist/bundle/{chunk-G4W42RGE.js → chunk-BRLVX4V6.js} +1 -1
- package/dist/bundle/{chunk-RZ54DSVU.js → chunk-BXTDAGM4.js} +2 -2
- package/dist/bundle/{chunk-ELKK5M66.js → chunk-C3I6L7JZ.js} +6 -6
- package/dist/bundle/{chunk-MCMEBL3C.js → chunk-C6UTJATA.js} +30 -14
- package/dist/bundle/{chunk-UFVGAFID.js → chunk-CSPAEYKK.js} +4 -4
- package/dist/bundle/{chunk-FSAMZHIM.js → chunk-DGLSE6XA.js} +6 -6
- package/dist/bundle/{chunk-32QM6X5H.js → chunk-DHO2JWF7.js} +3 -3
- package/dist/bundle/{chunk-SYTYLLYO.js → chunk-DMI3SFLF.js} +2 -2
- package/dist/bundle/{chunk-3HPFTKDH.js → chunk-DNZYXNMB.js} +4 -4
- package/dist/bundle/{chunk-Y4ZXDJQF.js → chunk-DPQL5JK6.js} +2 -2
- package/dist/bundle/{chunk-6TKWJKPS.js → chunk-E4YCKC3F.js} +12 -12
- package/dist/bundle/{chunk-SN63VOE6.js → chunk-EBNNONF5.js} +8 -8
- package/dist/bundle/{chunk-6QNPOBR5.js → chunk-EGVRMA2C.js} +198 -81
- package/dist/bundle/{chunk-GQLSVXS2.js → chunk-EQ237UYC.js} +22 -22
- package/dist/bundle/{chunk-ZKH6LC5P.js → chunk-F7S25YVA.js} +9 -9
- package/dist/bundle/{chunk-DMTLG2GD.js → chunk-FTRFN3MU.js} +8 -8
- package/dist/bundle/{chunk-W2JVP7GK.js → chunk-H4726KFZ.js} +1 -1
- package/dist/bundle/{chunk-UE4GMPBY.js → chunk-HE56X542.js} +1 -1
- package/dist/bundle/{chunk-IPMBB6W5.js → chunk-IGYOKYG7.js} +4 -4
- package/dist/bundle/{chunk-W3T45MMN.js → chunk-IHFK634F.js} +8 -8
- package/dist/bundle/{chunk-GOFPCOEI.js → chunk-IWEL7QCT.js} +11 -11
- package/dist/bundle/{chunk-V6OYLCCM.js → chunk-J737T3RM.js} +3 -3
- package/dist/bundle/{chunk-CODD5SXC.js → chunk-KNUUZW42.js} +29 -29
- package/dist/bundle/{chunk-HVTW2M6T.js → chunk-LDHFV34C.js} +2 -2
- package/dist/bundle/{chunk-LE7NROV6.js → chunk-LDXCFBIC.js} +34 -34
- package/dist/bundle/{chunk-YMK35KVV.js → chunk-MIMLBSUQ.js} +2 -2
- package/dist/bundle/{chunk-J324GKJM.js → chunk-MKLDUZ7N.js} +2 -2
- package/dist/bundle/{chunk-MMJDQQFX.js → chunk-MN3SFFTU.js} +287 -277
- package/dist/bundle/{chunk-U35N3EC7.js → chunk-NWRITJ7F.js} +2 -2
- package/dist/bundle/{chunk-2R2Z2VWL.js → chunk-O3ZOYXH3.js} +20 -20
- package/dist/bundle/{chunk-CID4MNRQ.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-I2RDACUF.js → chunk-PUZ2G2KS.js} +8 -8
- package/dist/bundle/{chunk-Y5CAKD4X.js → chunk-QOGYHU3Q.js} +4 -4
- package/dist/bundle/{chunk-PGVADNDD.js → chunk-QTBFV5RL.js} +3 -3
- package/dist/bundle/{chunk-5N6HWFXN.js → chunk-QUQJZSRF.js} +320 -275
- package/dist/bundle/{chunk-R44PUK7G.js → chunk-RCEDN42Q.js} +1 -1
- package/dist/bundle/{chunk-ZLIARJU4.js → chunk-RSJJGXZP.js} +1 -1
- package/dist/bundle/{chunk-ILK5BCBB.js → chunk-SGDTAVMU.js} +2 -2
- package/dist/bundle/{chunk-KLBZJZD2.js → chunk-T56R3TF2.js} +216 -143
- package/dist/bundle/{chunk-EFQCDCLY.js → chunk-TW643BIA.js} +99 -74
- package/dist/bundle/{chunk-MSBRZ5QD.js → chunk-TYOZC3BU.js} +3 -3
- package/dist/bundle/{chunk-BNIWLVWG.js → chunk-TZROQCQ5.js} +18 -4
- package/dist/bundle/{chunk-F4HMPMET.js → chunk-U2EFWFDN.js} +10 -10
- package/dist/bundle/{chunk-EVZI54B5.js → chunk-U64G664E.js} +6 -6
- package/dist/bundle/{chunk-XRRPQCTS.js → chunk-UHWQ2YXW.js} +1 -1
- package/dist/bundle/{chunk-HCZV537M.js → chunk-UK2MMZFW.js} +2 -2
- package/dist/bundle/{chunk-HYEYRFWX.js → chunk-VICARVCN.js} +1 -1
- package/dist/bundle/{chunk-OSCRP52P.js → chunk-VJJCF52V.js} +640 -399
- package/dist/bundle/{chunk-G3YSCD77.js → chunk-VOJU5FVA.js} +173 -156
- package/dist/bundle/{chunk-LER7G4XY.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/{chunk-DS4DOK75.js → chunk-X3KMQW2Z.js} +25 -24
- package/dist/bundle/{chunk-6IVHND3S.js → chunk-X7UITQ66.js} +5 -5
- package/dist/bundle/{chunk-DDADFHR7.js → chunk-XR4N2MYB.js} +13 -13
- package/dist/bundle/{chunk-U75ANK5K.js → chunk-YBN7UF2Y.js} +1 -1
- package/dist/bundle/{chunk-IPLPMD6H.js → chunk-YO7AUGUT.js} +2 -2
- package/dist/bundle/{chunk-4LWX2WOB.js → chunk-YZEIVLAG.js} +4 -4
- package/dist/bundle/command-contract-BRZAKY6L.js +32 -0
- package/dist/bundle/{decode-F2A2BLIA.js → decode-WW5ZMB5R.js} +5 -5
- package/dist/bundle/{dispatch-MLRETSNQ.js → dispatch-HCRXCPCF.js} +8 -8
- package/dist/bundle/{echarts-JL55HJCM.js → echarts-ODD3E2RQ.js} +2 -2
- package/dist/bundle/{embed-74KVORNN.js → embed-3ETM2WYU.js} +6 -6
- package/dist/bundle/{embedder-GACNPCZN.js → embedder-6YL3WFBR.js} +9 -9
- package/dist/bundle/{entry-7FI2H4RQ.js → entry-F2UGXKZ3.js} +7 -7
- package/dist/bundle/{failure-UJBGB2GP.js → failure-G4DCTWFD.js} +2 -2
- package/dist/bundle/failure-X7CYCJWD.js +66 -0
- package/dist/bundle/{first-run-D4VBIJ7H.js → first-run-OHQHOP5U.js} +11 -11
- package/dist/bundle/first-screen-ULF26GYG.js +30 -0
- package/dist/bundle/{instructions-QNPIVGKX.js → instructions-RS5VERM7.js} +1 -1
- package/dist/bundle/{mcp-YMXA6IH6.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/mcp-TS2UAN5I.js +90 -0
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-SPFML2D5.js → node-BU6NHYHF.js} +2 -2
- package/dist/bundle/{node-sqlite-T3KILRCP.js → node-sqlite-WAF44CWS.js} +6 -6
- package/dist/bundle/{oauth-ZOGSHZF3.js → oauth-T7RCNIYO.js} +7 -7
- package/dist/bundle/{open-XXFVCGCA.js → open-QLX2IVTC.js} +5 -5
- package/dist/bundle/{openai-JRHZLFKD.js → openai-O25HCJEY.js} +10 -10
- package/dist/bundle/{process-OGYYVVLG.js → process-SB2X3TKY.js} +1 -1
- package/dist/bundle/{program-EFCQACPD.js → program-SDLIDODQ.js} +62 -62
- package/dist/bundle/{prompt-53D5WVD3.js → prompt-OHVHUNV4.js} +5 -5
- package/dist/bundle/{recognize-7GYZKJCD.js → recognize-SESVG7O3.js} +4 -4
- package/dist/bundle/{remote-V5GUFZCG.js → remote-DNGLVDYJ.js} +7 -7
- package/dist/bundle/{rerank-FUNVBYFI.js → rerank-SF3OUPEB.js} +7 -7
- package/dist/bundle/{serve-ZLUYFAXC.js → serve-6RK7QFZ2.js} +9 -9
- package/dist/bundle/server-JKWE764O.js +61 -0
- package/dist/bundle/{server-HJRMD3XD.js → server-N6PCX7K7.js} +57 -57
- package/dist/bundle/server-RKGTOY4D.js +48 -0
- package/dist/bundle/{state-4P7H6KBM.js → state-J6WLL4TQ.js} +6 -6
- package/dist/bundle/{store-NILJK24C.js → store-R2PHK3FR.js} +13 -13
- package/dist/bundle/store-maintenance-command-LRZ5R3UM.js +48 -0
- package/dist/bundle/update-RV2WSULI.js +69 -0
- package/dist/doctor/command.d.ts +2 -0
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/dist/bundle/auto-GB35FRTV.js +0 -86
- package/dist/bundle/command-contract-YYILWWYQ.js +0 -32
- package/dist/bundle/failure-AHPPXHAW.js +0 -66
- package/dist/bundle/first-screen-D7Q2U7VP.js +0 -30
- package/dist/bundle/mcp-AFXHH33V.js +0 -90
- package/dist/bundle/server-4OJC7ZWM.js +0 -61
- package/dist/bundle/server-CGUUZBLB.js +0 -48
- package/dist/bundle/store-maintenance-command-VP7CIBSS.js +0 -48
- package/dist/bundle/update-NPK4DT2E.js +0 -69
- /package/dist/bundle/{chunk-AT5Y62SD.js → chunk-IO44XLFM.js} +0 -0
- /package/dist/bundle/{chunk-JPGEFBRW.js → chunk-VOXIGICJ.js} +0 -0
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-F7S25YVA.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YZEIVLAG.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DMI3SFLF.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-H4726KFZ.js";
|
|
25
25
|
import {
|
|
26
26
|
FACT_STATUSES,
|
|
27
27
|
FACT_TYPES,
|
|
@@ -72,17 +72,17 @@ import {
|
|
|
72
72
|
text,
|
|
73
73
|
time,
|
|
74
74
|
untrusted
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-TW643BIA.js";
|
|
76
76
|
import {
|
|
77
77
|
sharedConfigPath
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-U64G664E.js";
|
|
79
79
|
import {
|
|
80
80
|
filesPresent,
|
|
81
81
|
sharedModelsDirectory
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-CSPAEYKK.js";
|
|
83
83
|
import {
|
|
84
84
|
storePath
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-YO7AUGUT.js";
|
|
86
86
|
import {
|
|
87
87
|
configFilePath,
|
|
88
88
|
createRecordLog,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
saveConfigFile,
|
|
96
96
|
traceIdOf,
|
|
97
97
|
writeSecurely
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-O3ZOYXH3.js";
|
|
99
99
|
import {
|
|
100
100
|
COMPACT_FLAG,
|
|
101
101
|
EXIT_CODES,
|
|
@@ -149,18 +149,18 @@ import {
|
|
|
149
149
|
unwrap,
|
|
150
150
|
variant,
|
|
151
151
|
writes
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-EBNNONF5.js";
|
|
153
153
|
import {
|
|
154
154
|
CliError,
|
|
155
155
|
isCliError,
|
|
156
156
|
singleLine,
|
|
157
157
|
visibleControls
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-BXTDAGM4.js";
|
|
159
159
|
import {
|
|
160
160
|
__name
|
|
161
161
|
} from "./chunk-ZVVMGPBJ.js";
|
|
162
162
|
|
|
163
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
163
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
164
164
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
165
165
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
166
166
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3661,7 +3661,7 @@ __name(useColor, "useColor");
|
|
|
3661
3661
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3662
3662
|
var program = new Command();
|
|
3663
3663
|
|
|
3664
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3664
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3665
3665
|
import { isDeepStrictEqual } from "node:util";
|
|
3666
3666
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3667
3667
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3863,7 +3863,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3863
3863
|
return command;
|
|
3864
3864
|
}, "customizeSharedCommand");
|
|
3865
3865
|
|
|
3866
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3866
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3867
3867
|
var argumentInfoSchema = object({
|
|
3868
3868
|
name: string(),
|
|
3869
3869
|
required: boolean(),
|
|
@@ -3946,7 +3946,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3946
3946
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3947
3947
|
}), "commandsDocument");
|
|
3948
3948
|
|
|
3949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3950
3950
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3951
3951
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3952
3952
|
messageId: message2.id,
|
|
@@ -4052,7 +4052,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4052
4052
|
}, "guardedWrite");
|
|
4053
4053
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4054
4054
|
|
|
4055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4056
4056
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4057
4057
|
try {
|
|
4058
4058
|
return work();
|
|
@@ -4079,7 +4079,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4079
4079
|
return projectFields(value, fields);
|
|
4080
4080
|
}), "projectFields");
|
|
4081
4081
|
|
|
4082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4083
4083
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4084
4084
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4085
4085
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4101,7 +4101,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4101
4101
|
}
|
|
4102
4102
|
}, "withAbort");
|
|
4103
4103
|
|
|
4104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4105
4105
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4106
4106
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4107
4107
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4497,7 +4497,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4497
4497
|
}
|
|
4498
4498
|
}, "assertRetentionEvidenceRead");
|
|
4499
4499
|
|
|
4500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4501
4501
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4502
4502
|
import { join } from "node:path";
|
|
4503
4503
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4519,12 +4519,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4519
4519
|
}, "profilesWithAccounts");
|
|
4520
4520
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4521
4521
|
|
|
4522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4523
4523
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4524
4524
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4525
4525
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4526
4526
|
|
|
4527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4528
4528
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4529
4529
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4530
4530
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4560,7 +4560,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4560
4560
|
return value;
|
|
4561
4561
|
}, "atDetail");
|
|
4562
4562
|
|
|
4563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/output.js
|
|
4564
4564
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4565
4565
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4566
4566
|
if (other)
|
|
@@ -4624,7 +4624,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4624
4624
|
}, "warn")
|
|
4625
4625
|
}), "silence");
|
|
4626
4626
|
|
|
4627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4628
4628
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4629
4629
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4630
4630
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4658,7 +4658,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4658
4658
|
cache: "cache.answered"
|
|
4659
4659
|
};
|
|
4660
4660
|
|
|
4661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4662
4662
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4663
4663
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4664
4664
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4671,13 +4671,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4671
4671
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4672
4672
|
}), "snakeLogger");
|
|
4673
4673
|
|
|
4674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4675
4675
|
import { randomUUID } from "node:crypto";
|
|
4676
4676
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4677
4677
|
import { userInfo } from "node:os";
|
|
4678
4678
|
import { join as join2, sep } from "node:path";
|
|
4679
4679
|
|
|
4680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4681
4681
|
var diagnostic = {
|
|
4682
4682
|
event: true,
|
|
4683
4683
|
operation: true,
|
|
@@ -4747,7 +4747,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4747
4747
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4748
4748
|
].sort();
|
|
4749
4749
|
|
|
4750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4751
4751
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4752
4752
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4753
4753
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5100,7 +5100,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5100
5100
|
};
|
|
5101
5101
|
}, "metadataOf");
|
|
5102
5102
|
|
|
5103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5104
5104
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5105
5105
|
import { randomBytes } from "node:crypto";
|
|
5106
5106
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5135,7 +5135,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5135
5135
|
var attempts = new AsyncLocalStorage2();
|
|
5136
5136
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5137
5137
|
|
|
5138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5139
5139
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5140
5140
|
const recording = startRecording(options);
|
|
5141
5141
|
try {
|
|
@@ -5320,7 +5320,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5320
5320
|
return void 0;
|
|
5321
5321
|
}, "partialOutcome");
|
|
5322
5322
|
|
|
5323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5323
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5324
5324
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5325
5325
|
if (ms2 === void 0)
|
|
5326
5326
|
return body();
|
|
@@ -5346,7 +5346,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5346
5346
|
}
|
|
5347
5347
|
}, "withDeadline");
|
|
5348
5348
|
|
|
5349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5350
5350
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5351
5351
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5352
5352
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5388,10 +5388,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5388
5388
|
return root;
|
|
5389
5389
|
}, "rootOf");
|
|
5390
5390
|
|
|
5391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5392
5392
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5393
5393
|
|
|
5394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5395
5395
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5396
5396
|
try {
|
|
5397
5397
|
const url2 = new URL(value);
|
|
@@ -5401,7 +5401,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5401
5401
|
}
|
|
5402
5402
|
}, "endpoint");
|
|
5403
5403
|
|
|
5404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5405
5405
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5406
5406
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5407
5407
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5470,7 +5470,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5470
5470
|
};
|
|
5471
5471
|
}, "modelTarget");
|
|
5472
5472
|
|
|
5473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5474
5474
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5475
5475
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5476
5476
|
var AI_FIELDS = {
|
|
@@ -5514,7 +5514,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5514
5514
|
};
|
|
5515
5515
|
}, "resolveAISettings");
|
|
5516
5516
|
|
|
5517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5518
5518
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5519
5519
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5520
5520
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5528,7 +5528,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5528
5528
|
return ms2;
|
|
5529
5529
|
}, "parseDuration");
|
|
5530
5530
|
|
|
5531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5532
5532
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5533
5533
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5534
5534
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5687,7 +5687,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5687
5687
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5688
5688
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5689
5689
|
|
|
5690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5691
5691
|
var HISTORY_MAX_DAYS = 1095;
|
|
5692
5692
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5693
5693
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5734,7 +5734,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5734
5734
|
return { batch: { ...batch, messages }, skipped };
|
|
5735
5735
|
}, "limitBatch");
|
|
5736
5736
|
|
|
5737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5738
5738
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5739
5739
|
import { join as join3 } from "node:path";
|
|
5740
5740
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5823,10 +5823,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5823
5823
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5824
5824
|
}, "registryProfiles");
|
|
5825
5825
|
|
|
5826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5827
5827
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5828
5828
|
|
|
5829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5830
5830
|
var REPAIR_WORDS = {
|
|
5831
5831
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5832
5832
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6067,7 +6067,7 @@ ${parts.join(",\n")}
|
|
|
6067
6067
|
${indent}${close}`;
|
|
6068
6068
|
}, "serialise");
|
|
6069
6069
|
|
|
6070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6071
6071
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6072
6072
|
var SECTIONS = ["personal", "bot"];
|
|
6073
6073
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6362,7 +6362,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6362
6362
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6363
6363
|
}, "readConfigFile");
|
|
6364
6364
|
|
|
6365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6366
6366
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6367
6367
|
import { dirname, join as join4 } from "node:path";
|
|
6368
6368
|
var DEFAULT_CONFIG = {
|
|
@@ -6391,7 +6391,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6391
6391
|
}
|
|
6392
6392
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6393
6393
|
|
|
6394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6395
6395
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6396
6396
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6397
6397
|
const path2 = key.split(".");
|
|
@@ -6424,7 +6424,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6424
6424
|
};
|
|
6425
6425
|
}), "settingRows");
|
|
6426
6426
|
|
|
6427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6428
6428
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6429
6429
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6430
6430
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6934,7 +6934,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6934
6934
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6935
6935
|
}, "given");
|
|
6936
6936
|
|
|
6937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6938
6938
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6939
6939
|
const slot = environmentOf(command).exit;
|
|
6940
6940
|
if (slot)
|
|
@@ -7042,6 +7042,13 @@ var baseContext = /* @__PURE__ */ __name((command, resolveSettings) => {
|
|
|
7042
7042
|
}, "track")
|
|
7043
7043
|
};
|
|
7044
7044
|
}, "baseContext");
|
|
7045
|
+
var inCommandRun = /* @__PURE__ */ __name((command, body) => {
|
|
7046
|
+
const { resolveSettings } = environmentOf(command);
|
|
7047
|
+
if (!resolveSettings)
|
|
7048
|
+
return body(() => {
|
|
7049
|
+
});
|
|
7050
|
+
return baseContext(command, (flags, options) => resolveSettings(flags, { ...options, needsProfile: false })).run(body);
|
|
7051
|
+
}, "inCommandRun");
|
|
7045
7052
|
var commandPath = /* @__PURE__ */ __name((command) => {
|
|
7046
7053
|
const words = [];
|
|
7047
7054
|
for (let current2 = command; current2?.parent; current2 = current2.parent)
|
|
@@ -7049,7 +7056,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7049
7056
|
return words.join(" ");
|
|
7050
7057
|
}, "commandPath");
|
|
7051
7058
|
|
|
7052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7053
7060
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7054
7061
|
var FETCH = { remote: "read", local: "write" };
|
|
7055
7062
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7096,6 +7103,14 @@ var fetchesOnly = /* @__PURE__ */ __name((command) => {
|
|
|
7096
7103
|
return effects?.remote === "read" && effects.local === "write" && !STORE_WRITES.has(command) && !changesAuthority(command) && !OTHER_SERVICE.has(command) && !savesFiles(command);
|
|
7097
7104
|
}, "fetchesOnly");
|
|
7098
7105
|
var FILE_OPTION = /* @__PURE__ */ new WeakMap();
|
|
7106
|
+
var writesFileOnlyWith = /* @__PURE__ */ __name((command, option) => {
|
|
7107
|
+
const flag2 = command.options.find((one) => one.attributeName() === option);
|
|
7108
|
+
if (!flag2 || optionMetaOf(flag2).mcp !== false)
|
|
7109
|
+
throw new Error(`${command.name()}: writesFileOnlyWith needs --${option} added first, as an owner-only option`);
|
|
7110
|
+
FILE_OPTION.set(command, option);
|
|
7111
|
+
return command;
|
|
7112
|
+
}, "writesFileOnlyWith");
|
|
7113
|
+
var writesNewFileOnlyWith = /* @__PURE__ */ __name((command, option) => destroysNothing(writesFileOnlyWith(command, option)), "writesNewFileOnlyWith");
|
|
7099
7114
|
var writesFileNow = /* @__PURE__ */ __name((command) => {
|
|
7100
7115
|
const option = FILE_OPTION.get(command);
|
|
7101
7116
|
return option === void 0 || command.opts()[option] !== void 0;
|
|
@@ -7156,7 +7171,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7156
7171
|
throw readOnlyRefusal(lock, what);
|
|
7157
7172
|
}, "refuseUnderReadOnly");
|
|
7158
7173
|
|
|
7159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7160
7175
|
var account = strictObject({
|
|
7161
7176
|
provider: text,
|
|
7162
7177
|
id,
|
|
@@ -7166,7 +7181,7 @@ var account = strictObject({
|
|
|
7166
7181
|
scope: optional(picklist(["personal", "work"]))
|
|
7167
7182
|
});
|
|
7168
7183
|
|
|
7169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7170
7185
|
var accountSession = strictObject({
|
|
7171
7186
|
current: boolean(),
|
|
7172
7187
|
client: nullable(text),
|
|
@@ -7176,7 +7191,7 @@ var accountSession = strictObject({
|
|
|
7176
7191
|
created_at: optional(nullable(time))
|
|
7177
7192
|
});
|
|
7178
7193
|
|
|
7179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7180
7195
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7181
7196
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7182
7197
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7194,7 +7209,7 @@ var accountPrivacy = strictObject({
|
|
|
7194
7209
|
});
|
|
7195
7210
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7196
7211
|
|
|
7197
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7198
7213
|
var accountProfile = strictObject({
|
|
7199
7214
|
profile: id,
|
|
7200
7215
|
current: boolean(),
|
|
@@ -7206,7 +7221,7 @@ var accountProfile = strictObject({
|
|
|
7206
7221
|
bot: optional(literal(true))
|
|
7207
7222
|
});
|
|
7208
7223
|
|
|
7209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7210
7225
|
var milliseconds = pipe(number(), minValue(0));
|
|
7211
7226
|
var counterReading = strictObject({
|
|
7212
7227
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7218,7 +7233,7 @@ var counterReading = strictObject({
|
|
|
7218
7233
|
});
|
|
7219
7234
|
var selection = record(string(), unknown());
|
|
7220
7235
|
|
|
7221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7222
7237
|
var adminRow = strictObject({
|
|
7223
7238
|
ref: reference,
|
|
7224
7239
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7271,7 +7286,7 @@ var adminReport = strictObject({
|
|
|
7271
7286
|
rows: array(adminRow)
|
|
7272
7287
|
});
|
|
7273
7288
|
|
|
7274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7275
7290
|
var closeSuggestion = strictObject({
|
|
7276
7291
|
as: picklist(["done", "dismissed"]),
|
|
7277
7292
|
/** The agent's name. */
|
|
@@ -7333,7 +7348,7 @@ var task = strictObject({
|
|
|
7333
7348
|
updated_at: optional(time)
|
|
7334
7349
|
});
|
|
7335
7350
|
|
|
7336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7337
7352
|
var agendaChat = strictObject({
|
|
7338
7353
|
chat: reference,
|
|
7339
7354
|
title: nullable(text),
|
|
@@ -7403,11 +7418,11 @@ var agenda = strictObject({
|
|
|
7403
7418
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7404
7419
|
});
|
|
7405
7420
|
|
|
7406
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7421
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7407
7422
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7408
7423
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7409
7424
|
|
|
7410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7411
7426
|
var attachment = strictObject({
|
|
7412
7427
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7413
7428
|
message: optional(reference),
|
|
@@ -7445,7 +7460,7 @@ var attachment = strictObject({
|
|
|
7445
7460
|
});
|
|
7446
7461
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7447
7462
|
|
|
7448
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7463
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7449
7464
|
var actionableError = objectWithRest({
|
|
7450
7465
|
code: text,
|
|
7451
7466
|
message: text,
|
|
@@ -7462,7 +7477,7 @@ var batchResult = strictObject({
|
|
|
7462
7477
|
max_error_percent: count
|
|
7463
7478
|
});
|
|
7464
7479
|
|
|
7465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7466
7481
|
var extractionItem = strictObject({
|
|
7467
7482
|
ref: reference,
|
|
7468
7483
|
attachment: count,
|
|
@@ -7495,7 +7510,7 @@ var extractionReport = strictObject({
|
|
|
7495
7510
|
cursor: optional(text)
|
|
7496
7511
|
});
|
|
7497
7512
|
|
|
7498
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7499
7514
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7500
7515
|
var attachmentBytes = strictObject({
|
|
7501
7516
|
ref: reference,
|
|
@@ -7523,7 +7538,7 @@ var attachmentTextChange = strictObject({
|
|
|
7523
7538
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7524
7539
|
});
|
|
7525
7540
|
|
|
7526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7541
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7527
7542
|
var chart = strictObject({
|
|
7528
7543
|
version: literal(1),
|
|
7529
7544
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7538,7 +7553,7 @@ var chart = strictObject({
|
|
|
7538
7553
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7539
7554
|
});
|
|
7540
7555
|
|
|
7541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7542
7557
|
var member = strictObject({
|
|
7543
7558
|
id,
|
|
7544
7559
|
name: nullable(text),
|
|
@@ -7561,7 +7576,7 @@ var member = strictObject({
|
|
|
7561
7576
|
check: optional(record(string(), unknown()))
|
|
7562
7577
|
});
|
|
7563
7578
|
|
|
7564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7565
7580
|
var setting = optional(nullable(boolean()));
|
|
7566
7581
|
var chat = strictObject({
|
|
7567
7582
|
ref: reference,
|
|
@@ -7602,7 +7617,7 @@ var chat = strictObject({
|
|
|
7602
7617
|
members: optional(array(member))
|
|
7603
7618
|
});
|
|
7604
7619
|
|
|
7605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7606
7621
|
var named2 = strictObject({
|
|
7607
7622
|
id,
|
|
7608
7623
|
title: nullable(text),
|
|
@@ -7625,7 +7640,7 @@ var folder = strictObject({
|
|
|
7625
7640
|
excluded_chats: optional(array(named2))
|
|
7626
7641
|
});
|
|
7627
7642
|
|
|
7628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7629
7644
|
var inviteLink = strictObject({
|
|
7630
7645
|
link: text,
|
|
7631
7646
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7641,7 +7656,7 @@ var inviteLink = strictObject({
|
|
|
7641
7656
|
joined_count: optional(count)
|
|
7642
7657
|
});
|
|
7643
7658
|
|
|
7644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7645
7660
|
var operated = { operation_id: id, chat_id: id };
|
|
7646
7661
|
var group = strictObject({
|
|
7647
7662
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7721,7 +7736,7 @@ var chatFolderOrder = strictObject({
|
|
|
7721
7736
|
folders: array(strictObject({ id, title: text }))
|
|
7722
7737
|
});
|
|
7723
7738
|
|
|
7724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7725
7740
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7726
7741
|
var chatRemoval = strictObject(operated2);
|
|
7727
7742
|
var chatMuting = strictObject({
|
|
@@ -7732,7 +7747,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7732
7747
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7733
7748
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7734
7749
|
|
|
7735
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7736
7751
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7737
7752
|
var chatEvent = strictObject({
|
|
7738
7753
|
chat_id: id,
|
|
@@ -7749,7 +7764,7 @@ var chatEvent = strictObject({
|
|
|
7749
7764
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7750
7765
|
});
|
|
7751
7766
|
|
|
7752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7753
7768
|
var chatMetadata = strictObject({
|
|
7754
7769
|
chat_id: id,
|
|
7755
7770
|
title: nullable(text),
|
|
@@ -7764,7 +7779,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7764
7779
|
has_more: boolean()
|
|
7765
7780
|
});
|
|
7766
7781
|
|
|
7767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7768
7783
|
var action = picklist(["report", "delete", "remove"]);
|
|
7769
7784
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7770
7785
|
var chatRules = strictObject({
|
|
@@ -7801,7 +7816,7 @@ var chatModeration = strictObject({
|
|
|
7801
7816
|
}))
|
|
7802
7817
|
});
|
|
7803
7818
|
|
|
7804
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7805
7820
|
var optionalCount = optional(count);
|
|
7806
7821
|
var minutes = nullable(number());
|
|
7807
7822
|
var chatStats = strictObject({
|
|
@@ -7875,7 +7890,7 @@ var taskStats = strictObject({
|
|
|
7875
7890
|
}))
|
|
7876
7891
|
});
|
|
7877
7892
|
|
|
7878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7879
7894
|
var memberCount = strictObject({
|
|
7880
7895
|
day: pipe(text, isoDate()),
|
|
7881
7896
|
participants: nullable(count),
|
|
@@ -7898,7 +7913,7 @@ var chatTracking = strictObject({
|
|
|
7898
7913
|
tracked: boolean()
|
|
7899
7914
|
});
|
|
7900
7915
|
|
|
7901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7916
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7902
7917
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7903
7918
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7904
7919
|
var profileFields = {
|
|
@@ -7936,7 +7951,7 @@ var profileFields = {
|
|
|
7936
7951
|
}))
|
|
7937
7952
|
};
|
|
7938
7953
|
|
|
7939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7940
7955
|
var contact = strictObject({
|
|
7941
7956
|
ref: reference,
|
|
7942
7957
|
id,
|
|
@@ -7967,7 +7982,7 @@ var contact = strictObject({
|
|
|
7967
7982
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7968
7983
|
});
|
|
7969
7984
|
|
|
7970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7971
7986
|
var WEIGHTS = {
|
|
7972
7987
|
bot: 3,
|
|
7973
7988
|
scam: 3,
|
|
@@ -7992,7 +8007,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7992
8007
|
var DIGITS = /\d{5,}/;
|
|
7993
8008
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7994
8009
|
|
|
7995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7996
8011
|
var linkedIdentity = strictObject({
|
|
7997
8012
|
provider: text,
|
|
7998
8013
|
id,
|
|
@@ -8033,7 +8048,7 @@ var contactCheck = strictObject({
|
|
|
8033
8048
|
checked_at: time
|
|
8034
8049
|
});
|
|
8035
8050
|
|
|
8036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8037
8052
|
var quoted = strictObject({
|
|
8038
8053
|
id,
|
|
8039
8054
|
sender_id: nullable(id),
|
|
@@ -8152,7 +8167,7 @@ var message = strictObject({
|
|
|
8152
8167
|
provider_metadata: providerMetadata
|
|
8153
8168
|
});
|
|
8154
8169
|
|
|
8155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8156
8171
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8157
8172
|
var contextMessage = strictObject({
|
|
8158
8173
|
locator: reference,
|
|
@@ -8350,7 +8365,7 @@ var contactPreparation = strictObject({
|
|
|
8350
8365
|
})
|
|
8351
8366
|
});
|
|
8352
8367
|
|
|
8353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8368
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8354
8369
|
var contactNote = strictObject({
|
|
8355
8370
|
id,
|
|
8356
8371
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8362,13 +8377,13 @@ var contactNote = strictObject({
|
|
|
8362
8377
|
updated_at: time
|
|
8363
8378
|
});
|
|
8364
8379
|
|
|
8365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8366
8381
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8367
8382
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8368
8383
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8369
8384
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8370
8385
|
|
|
8371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8372
8387
|
var conversation = strictObject({
|
|
8373
8388
|
id,
|
|
8374
8389
|
chat: reference,
|
|
@@ -8383,7 +8398,7 @@ var conversation = strictObject({
|
|
|
8383
8398
|
rules_version: count
|
|
8384
8399
|
});
|
|
8385
8400
|
|
|
8386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8387
8402
|
var conversationBuild = strictObject({
|
|
8388
8403
|
chat: id,
|
|
8389
8404
|
messages: count,
|
|
@@ -8408,7 +8423,7 @@ var catchUpPreparation = strictObject({
|
|
|
8408
8423
|
prepared: optional(conversationPreparation)
|
|
8409
8424
|
});
|
|
8410
8425
|
|
|
8411
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8412
8427
|
var conversationDetails = union([
|
|
8413
8428
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8414
8429
|
message
|
|
@@ -8498,7 +8513,7 @@ var conversationHit = strictObject({
|
|
|
8498
8513
|
stale: boolean()
|
|
8499
8514
|
});
|
|
8500
8515
|
|
|
8501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8502
8517
|
var counters = strictObject({
|
|
8503
8518
|
cutoff: time,
|
|
8504
8519
|
max_age_ms: milliseconds,
|
|
@@ -8528,7 +8543,7 @@ var counterRefresh = strictObject({
|
|
|
8528
8543
|
complete: optional(boolean())
|
|
8529
8544
|
});
|
|
8530
8545
|
|
|
8531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8532
8547
|
var nullableText = nullable(text);
|
|
8533
8548
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8534
8549
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8615,7 +8630,7 @@ var stage = strictObject({
|
|
|
8615
8630
|
untrusted
|
|
8616
8631
|
});
|
|
8617
8632
|
|
|
8618
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8619
8634
|
var document = strictObject({
|
|
8620
8635
|
ref: reference,
|
|
8621
8636
|
id,
|
|
@@ -8630,7 +8645,7 @@ var document = strictObject({
|
|
|
8630
8645
|
owners: optional(array(text))
|
|
8631
8646
|
});
|
|
8632
8647
|
|
|
8633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8634
8649
|
var documentLink = strictObject({
|
|
8635
8650
|
ref: reference,
|
|
8636
8651
|
url: text,
|
|
@@ -8641,7 +8656,7 @@ var documentLink = strictObject({
|
|
|
8641
8656
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8642
8657
|
});
|
|
8643
8658
|
|
|
8644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8645
8660
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8646
8661
|
var contribution = strictObject({
|
|
8647
8662
|
message: evidenceMessage,
|
|
@@ -8671,7 +8686,7 @@ var retentionStay = strictObject({
|
|
|
8671
8686
|
});
|
|
8672
8687
|
var evidence = union([contribution, retentionStay]);
|
|
8673
8688
|
|
|
8674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8675
8690
|
var fact = strictObject({
|
|
8676
8691
|
ref: reference,
|
|
8677
8692
|
id,
|
|
@@ -8701,7 +8716,7 @@ var fact = strictObject({
|
|
|
8701
8716
|
updated_at: time
|
|
8702
8717
|
});
|
|
8703
8718
|
|
|
8704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8719
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8705
8720
|
var hit = strictObject({
|
|
8706
8721
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8707
8722
|
ref: reference,
|
|
@@ -8739,7 +8754,7 @@ var hit = strictObject({
|
|
|
8739
8754
|
untrusted
|
|
8740
8755
|
});
|
|
8741
8756
|
|
|
8742
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8743
8758
|
var identity = strictObject({
|
|
8744
8759
|
ref: reference,
|
|
8745
8760
|
provider: text,
|
|
@@ -8752,7 +8767,7 @@ var identity = strictObject({
|
|
|
8752
8767
|
person: optional(nullable(reference))
|
|
8753
8768
|
});
|
|
8754
8769
|
|
|
8755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8756
8771
|
var imageEmbedding = strictObject({
|
|
8757
8772
|
model: text,
|
|
8758
8773
|
embedded: count,
|
|
@@ -8761,13 +8776,13 @@ var imageEmbedding = strictObject({
|
|
|
8761
8776
|
more: boolean()
|
|
8762
8777
|
});
|
|
8763
8778
|
|
|
8764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8765
8780
|
import { spawn } from "node:child_process";
|
|
8766
8781
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8767
8782
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8768
8783
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8769
8784
|
|
|
8770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8771
8786
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8772
8787
|
const total = input.total ?? null;
|
|
8773
8788
|
const updated = input.updatedAt ?? null;
|
|
@@ -8783,7 +8798,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8783
8798
|
};
|
|
8784
8799
|
}, "progressOf");
|
|
8785
8800
|
|
|
8786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8787
8802
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8788
8803
|
const run = currentRun();
|
|
8789
8804
|
const trace = traceId ?? run.traceId;
|
|
@@ -8797,7 +8812,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8797
8812
|
}));
|
|
8798
8813
|
}, "recordLogFor");
|
|
8799
8814
|
|
|
8800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8801
8816
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8802
8817
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8803
8818
|
const out = openSync(log, "a", 384);
|
|
@@ -8952,7 +8967,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8952
8967
|
return { job: id6, pid, chat: input.chat, log };
|
|
8953
8968
|
}, "startArchiveJob");
|
|
8954
8969
|
|
|
8955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8956
8971
|
var problem = strictObject({ code: text, message: text });
|
|
8957
8972
|
var job = strictObject({
|
|
8958
8973
|
id,
|
|
@@ -8975,7 +8990,7 @@ var job = strictObject({
|
|
|
8975
8990
|
error: optional(problem)
|
|
8976
8991
|
});
|
|
8977
8992
|
|
|
8978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8979
8994
|
var joinRequest = strictObject({
|
|
8980
8995
|
person_id: id,
|
|
8981
8996
|
name: nullable(text),
|
|
@@ -8986,7 +9001,7 @@ var joinRequest = strictObject({
|
|
|
8986
9001
|
about: optional(text)
|
|
8987
9002
|
});
|
|
8988
9003
|
|
|
8989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8990
9005
|
var botProfile = strictObject({
|
|
8991
9006
|
name: text,
|
|
8992
9007
|
token: text,
|
|
@@ -9020,7 +9035,7 @@ var scheduledJob = strictObject({
|
|
|
9020
9035
|
/** When a finished run shows a desktop notice: `always`, `failures` or `never`; the default is shown, not left out. */
|
|
9021
9036
|
notify: optional(picklist(["always", "failures", "never"])),
|
|
9022
9037
|
/** Where a run's result is sent after it: `telegram-bot:<profile>/<chat>` or `email:<profile>/<address>`. */
|
|
9023
|
-
|
|
9038
|
+
deliver_to: optional(array(text)),
|
|
9024
9039
|
last: nullable(strictObject({
|
|
9025
9040
|
at: time,
|
|
9026
9041
|
exit_code: number(),
|
|
@@ -9079,7 +9094,7 @@ var stickerInventory = strictObject({
|
|
|
9079
9094
|
url: optional(nullable(text))
|
|
9080
9095
|
});
|
|
9081
9096
|
|
|
9082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9083
9098
|
var pollVote = strictObject({
|
|
9084
9099
|
person_id: id,
|
|
9085
9100
|
name: nullable(text),
|
|
@@ -9089,7 +9104,7 @@ var pollVote = strictObject({
|
|
|
9089
9104
|
voted_at: time
|
|
9090
9105
|
});
|
|
9091
9106
|
|
|
9092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9093
9108
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9094
9109
|
var observation = strictObject({
|
|
9095
9110
|
value: pipe(number(), minValue(0)),
|
|
@@ -9131,7 +9146,7 @@ var serveSummary = strictObject({
|
|
|
9131
9146
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9132
9147
|
});
|
|
9133
9148
|
|
|
9134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9135
9150
|
var mailCounts = strictObject({
|
|
9136
9151
|
by: picklist(["day", "week", "sender"]),
|
|
9137
9152
|
received: count,
|
|
@@ -9146,7 +9161,7 @@ var mailCounts = strictObject({
|
|
|
9146
9161
|
}))
|
|
9147
9162
|
});
|
|
9148
9163
|
|
|
9149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9150
9165
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9151
9166
|
var base = { id, evidence: array(evidence2) };
|
|
9152
9167
|
var finding = variant("kind", [
|
|
@@ -9290,7 +9305,7 @@ var mailFindings = strictObject({
|
|
|
9290
9305
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9291
9306
|
});
|
|
9292
9307
|
|
|
9293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9294
9309
|
var mediaArchive = strictObject({
|
|
9295
9310
|
directory: text,
|
|
9296
9311
|
chats: count,
|
|
@@ -9322,7 +9337,7 @@ var mediaArchiveTimer = union([
|
|
|
9322
9337
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9323
9338
|
]);
|
|
9324
9339
|
|
|
9325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9326
9341
|
var preparationId = pipe(string(), minLength(1));
|
|
9327
9342
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9328
9343
|
var preparationTime = nullable(isoTime);
|
|
@@ -9414,7 +9429,7 @@ var preparationMeeting = strictObject({
|
|
|
9414
9429
|
updated_at: isoTime
|
|
9415
9430
|
});
|
|
9416
9431
|
|
|
9417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9418
9433
|
var meetingEvidence = preparationEvidence;
|
|
9419
9434
|
var meetingPersonContext = strictObject({
|
|
9420
9435
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9436,7 +9451,7 @@ var meetingPersonContext = strictObject({
|
|
|
9436
9451
|
})
|
|
9437
9452
|
});
|
|
9438
9453
|
|
|
9439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9440
9455
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9441
9456
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9442
9457
|
var finding2 = variant("kind", [
|
|
@@ -9474,7 +9489,7 @@ var meetingFindings = strictObject({
|
|
|
9474
9489
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9475
9490
|
});
|
|
9476
9491
|
|
|
9477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9492
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9478
9493
|
var communicationCoverage = strictObject({
|
|
9479
9494
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9480
9495
|
query: string(),
|
|
@@ -9519,7 +9534,7 @@ var preparationCommunications = strictObject({
|
|
|
9519
9534
|
}))
|
|
9520
9535
|
});
|
|
9521
9536
|
|
|
9522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9523
9538
|
var meetingPreparation = strictObject({
|
|
9524
9539
|
communications: optional(preparationCommunications),
|
|
9525
9540
|
schema_version: literal(1),
|
|
@@ -9632,7 +9647,7 @@ var meetingPreparation = strictObject({
|
|
|
9632
9647
|
})
|
|
9633
9648
|
});
|
|
9634
9649
|
|
|
9635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9650
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9636
9651
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9637
9652
|
var id3 = pipe(string(), minLength(1));
|
|
9638
9653
|
var text3 = string();
|
|
@@ -9696,7 +9711,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9696
9711
|
})
|
|
9697
9712
|
});
|
|
9698
9713
|
|
|
9699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9700
9715
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9701
9716
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9702
9717
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9726,7 +9741,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9726
9741
|
})
|
|
9727
9742
|
});
|
|
9728
9743
|
|
|
9729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9730
9745
|
var text4 = string();
|
|
9731
9746
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9732
9747
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9743,7 +9758,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9743
9758
|
persistence: literal("proposal-only")
|
|
9744
9759
|
});
|
|
9745
9760
|
|
|
9746
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9747
9762
|
var memory = strictObject({
|
|
9748
9763
|
ref: reference,
|
|
9749
9764
|
id,
|
|
@@ -9770,7 +9785,7 @@ var memory = strictObject({
|
|
|
9770
9785
|
updated_at: time
|
|
9771
9786
|
});
|
|
9772
9787
|
|
|
9773
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9774
9789
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9775
9790
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9776
9791
|
var mention = strictObject({
|
|
@@ -9813,13 +9828,13 @@ var mentionRebuild = strictObject({
|
|
|
9813
9828
|
mentions: count
|
|
9814
9829
|
});
|
|
9815
9830
|
|
|
9816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9817
9832
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9818
9833
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9819
9834
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9820
9835
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9821
9836
|
|
|
9822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9823
9838
|
var messageTranscript = strictObject({
|
|
9824
9839
|
message_id: id,
|
|
9825
9840
|
text,
|
|
@@ -9877,7 +9892,7 @@ var evidencePacket = strictObject({
|
|
|
9877
9892
|
}))
|
|
9878
9893
|
});
|
|
9879
9894
|
|
|
9880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9881
9896
|
var messageThread = strictObject({
|
|
9882
9897
|
ref: reference,
|
|
9883
9898
|
chat: id,
|
|
@@ -9894,7 +9909,7 @@ var messageThread = strictObject({
|
|
|
9894
9909
|
});
|
|
9895
9910
|
var messageContext = union([message, messageThread]);
|
|
9896
9911
|
|
|
9897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9898
9913
|
var messageCounts = strictObject({
|
|
9899
9914
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9900
9915
|
total: count,
|
|
@@ -9907,7 +9922,7 @@ var messageCounts = strictObject({
|
|
|
9907
9922
|
}))
|
|
9908
9923
|
});
|
|
9909
9924
|
|
|
9910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9911
9926
|
var messageLink = strictObject({
|
|
9912
9927
|
ref: reference,
|
|
9913
9928
|
url: nullable(text),
|
|
@@ -9924,7 +9939,7 @@ var messageLink = strictObject({
|
|
|
9924
9939
|
})))
|
|
9925
9940
|
});
|
|
9926
9941
|
|
|
9927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9928
9943
|
var savedMessageFile = strictObject({
|
|
9929
9944
|
kind: text,
|
|
9930
9945
|
path: text,
|
|
@@ -10011,7 +10026,7 @@ var messageSyncAll = strictObject({
|
|
|
10011
10026
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10012
10027
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10013
10028
|
|
|
10014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10015
10030
|
var messageWrite = strictObject({
|
|
10016
10031
|
operation_id: id,
|
|
10017
10032
|
message,
|
|
@@ -10026,7 +10041,7 @@ var draftWrite = strictObject({
|
|
|
10026
10041
|
});
|
|
10027
10042
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10028
10043
|
|
|
10029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10030
10045
|
var model2 = strictObject({
|
|
10031
10046
|
id,
|
|
10032
10047
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10043,7 +10058,7 @@ var model2 = strictObject({
|
|
|
10043
10058
|
path: text
|
|
10044
10059
|
});
|
|
10045
10060
|
|
|
10046
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10047
10062
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10048
10063
|
var modelKey = strictObject({
|
|
10049
10064
|
provider: text,
|
|
@@ -10053,7 +10068,7 @@ var modelKey = strictObject({
|
|
|
10053
10068
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10054
10069
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10055
10070
|
|
|
10056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10057
10072
|
var link = {
|
|
10058
10073
|
target_text: nullable(text),
|
|
10059
10074
|
kind: text,
|
|
@@ -10094,7 +10109,7 @@ var note = strictObject({
|
|
|
10094
10109
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10095
10110
|
});
|
|
10096
10111
|
|
|
10097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10098
10113
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10099
10114
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10100
10115
|
var graph = strictObject({
|
|
@@ -10128,14 +10143,14 @@ var officialStats = strictObject({
|
|
|
10128
10143
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10129
10144
|
});
|
|
10130
10145
|
|
|
10131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10146
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10132
10147
|
var person2 = strictObject({
|
|
10133
10148
|
ref: reference,
|
|
10134
10149
|
name: nullable(text),
|
|
10135
10150
|
identities: optional(array(identity))
|
|
10136
10151
|
});
|
|
10137
10152
|
|
|
10138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10139
10154
|
var poll = strictObject({
|
|
10140
10155
|
chat_id: id,
|
|
10141
10156
|
message_id: id,
|
|
@@ -10151,11 +10166,11 @@ var poll = strictObject({
|
|
|
10151
10166
|
});
|
|
10152
10167
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10153
10168
|
|
|
10154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10155
10170
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10156
10171
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10157
10172
|
|
|
10158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10159
10174
|
var figures = record(string(), number());
|
|
10160
10175
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10161
10176
|
var rankingRow = strictObject({
|
|
@@ -10202,7 +10217,7 @@ var ranking = strictObject({
|
|
|
10202
10217
|
rows: array(rankingRow)
|
|
10203
10218
|
});
|
|
10204
10219
|
|
|
10205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10206
10221
|
var reaction = strictObject({
|
|
10207
10222
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10208
10223
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10210,7 +10225,7 @@ var reaction = strictObject({
|
|
|
10210
10225
|
reacted_at: time
|
|
10211
10226
|
});
|
|
10212
10227
|
|
|
10213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10214
10229
|
var reactionChange = strictObject({
|
|
10215
10230
|
operation_id: id,
|
|
10216
10231
|
chat_id: id,
|
|
@@ -10218,7 +10233,7 @@ var reactionChange = strictObject({
|
|
|
10218
10233
|
reaction: nullable(text)
|
|
10219
10234
|
});
|
|
10220
10235
|
|
|
10221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10222
10237
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10223
10238
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10224
10239
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10229,7 +10244,7 @@ var recipientChange = strictObject({
|
|
|
10229
10244
|
...partial(recipientOff).entries
|
|
10230
10245
|
});
|
|
10231
10246
|
|
|
10232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10233
10248
|
var events = array(record(string(), unknown()));
|
|
10234
10249
|
var recordedRun = strictObject({
|
|
10235
10250
|
run_id: id,
|
|
@@ -10301,7 +10316,7 @@ var runHit = strictObject({
|
|
|
10301
10316
|
});
|
|
10302
10317
|
var runLocation = strictObject({ path: text });
|
|
10303
10318
|
|
|
10304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10305
10320
|
var relationship = strictObject({
|
|
10306
10321
|
id,
|
|
10307
10322
|
from: reference,
|
|
@@ -10318,7 +10333,7 @@ var relationship = strictObject({
|
|
|
10318
10333
|
created_at: time
|
|
10319
10334
|
});
|
|
10320
10335
|
|
|
10321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10322
10337
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10323
10338
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10324
10339
|
var responseTimes = strictObject({
|
|
@@ -10335,7 +10350,7 @@ var waitingChats = strictObject({
|
|
|
10335
10350
|
by_kind: strictObject({ private: count, group: count })
|
|
10336
10351
|
});
|
|
10337
10352
|
|
|
10338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10339
10354
|
var retentionCohort = strictObject({
|
|
10340
10355
|
/** The first day of the joining day or week. */
|
|
10341
10356
|
cohort: text,
|
|
@@ -10383,7 +10398,7 @@ var retention = strictObject({
|
|
|
10383
10398
|
rows: array(retentionCohort)
|
|
10384
10399
|
});
|
|
10385
10400
|
|
|
10386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10387
10402
|
var savedSearch = strictObject({
|
|
10388
10403
|
id,
|
|
10389
10404
|
/** `null` for a run in the history. */
|
|
@@ -10400,7 +10415,7 @@ var savedSearch = strictObject({
|
|
|
10400
10415
|
});
|
|
10401
10416
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10402
10417
|
|
|
10403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10404
10419
|
var sendAttempt = strictObject({
|
|
10405
10420
|
at: time,
|
|
10406
10421
|
profile: text,
|
|
@@ -10428,7 +10443,7 @@ var sendAttempt = strictObject({
|
|
|
10428
10443
|
error_code: optional(text)
|
|
10429
10444
|
});
|
|
10430
10445
|
|
|
10431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10432
10447
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10433
10448
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10434
10449
|
var infoSchema = strictObject({
|
|
@@ -10649,7 +10664,7 @@ var storeRepair = union([
|
|
|
10649
10664
|
]);
|
|
10650
10665
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10651
10666
|
|
|
10652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10653
10668
|
var range = strictObject({ from: number(), to: number() });
|
|
10654
10669
|
var storeChatStatus = strictObject({
|
|
10655
10670
|
chat_id: id,
|
|
@@ -10747,7 +10762,7 @@ var storeJobRetry = union([
|
|
|
10747
10762
|
]);
|
|
10748
10763
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10749
10764
|
|
|
10750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10751
10766
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10752
10767
|
var storeTable = strictObject({
|
|
10753
10768
|
name: text,
|
|
@@ -10756,7 +10771,7 @@ var storeTable = strictObject({
|
|
|
10756
10771
|
bytes: optional(nullable(count))
|
|
10757
10772
|
});
|
|
10758
10773
|
|
|
10759
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10760
10775
|
var tagTarget = variant("type", [
|
|
10761
10776
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10762
10777
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10787,7 +10802,7 @@ var automaticTags = strictObject({
|
|
|
10787
10802
|
dry_run: boolean()
|
|
10788
10803
|
});
|
|
10789
10804
|
|
|
10790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10791
10806
|
var tagging = strictObject({
|
|
10792
10807
|
tag: text,
|
|
10793
10808
|
type: picklist(TAG_TYPES),
|
|
@@ -10800,7 +10815,7 @@ var tagging = strictObject({
|
|
|
10800
10815
|
created_at: time
|
|
10801
10816
|
});
|
|
10802
10817
|
|
|
10803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10804
10819
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10805
10820
|
var taskPair = strictObject({
|
|
10806
10821
|
task: nullable(side),
|
|
@@ -10823,7 +10838,7 @@ var taskPair = strictObject({
|
|
|
10823
10838
|
created_at: time
|
|
10824
10839
|
});
|
|
10825
10840
|
|
|
10826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10827
10842
|
var nullableTime = nullable(time);
|
|
10828
10843
|
var link2 = strictObject({
|
|
10829
10844
|
id,
|
|
@@ -10997,7 +11012,7 @@ var taskReview = strictObject({
|
|
|
10997
11012
|
untrusted
|
|
10998
11013
|
});
|
|
10999
11014
|
|
|
11000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11001
11016
|
var topic = strictObject({
|
|
11002
11017
|
id,
|
|
11003
11018
|
title: text,
|
|
@@ -11011,7 +11026,7 @@ var topic = strictObject({
|
|
|
11011
11026
|
untrusted
|
|
11012
11027
|
});
|
|
11013
11028
|
|
|
11014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11015
11030
|
var ENTITIES = {
|
|
11016
11031
|
sync_progress: progress,
|
|
11017
11032
|
deal,
|
|
@@ -11297,7 +11312,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11297
11312
|
return [name, definition];
|
|
11298
11313
|
})), "entityDefinitions");
|
|
11299
11314
|
|
|
11300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11301
11316
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11302
11317
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11303
11318
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11331,7 +11346,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11331
11346
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11332
11347
|
}, "answerRow");
|
|
11333
11348
|
|
|
11334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11335
11350
|
import { join as join6 } from "node:path";
|
|
11336
11351
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11337
11352
|
var IMAGE_MODELS = [
|
|
@@ -11385,7 +11400,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11385
11400
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11386
11401
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11387
11402
|
|
|
11388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11389
11404
|
var STEPS2 = defineSteps([
|
|
11390
11405
|
...STEPS,
|
|
11391
11406
|
{
|
|
@@ -11657,7 +11672,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11657
11672
|
].join(" ");
|
|
11658
11673
|
}, "stepLine");
|
|
11659
11674
|
|
|
11660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11661
11676
|
var where = [{ field: "ref" }];
|
|
11662
11677
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11663
11678
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11749,7 +11764,7 @@ var STATUS_ROWS = {
|
|
|
11749
11764
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11750
11765
|
};
|
|
11751
11766
|
|
|
11752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11753
11768
|
var TEXT_CHARS = 400;
|
|
11754
11769
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11755
11770
|
var messageRow = {
|
|
@@ -12115,7 +12130,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12115
12130
|
return lines.concat(footerOf(body)).join("\n");
|
|
12116
12131
|
}, "compactText");
|
|
12117
12132
|
|
|
12118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12119
12134
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12120
12135
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12121
12136
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12162,7 +12177,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12162
12177
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12163
12178
|
}, "largeAnswerSteps");
|
|
12164
12179
|
|
|
12165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12166
12181
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12167
12182
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12168
12183
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12176,7 +12191,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12176
12191
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12177
12192
|
}, "strip");
|
|
12178
12193
|
|
|
12179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12180
12195
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12181
12196
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12182
12197
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12445,6 +12460,7 @@ export {
|
|
|
12445
12460
|
secretInputOf,
|
|
12446
12461
|
outputFor,
|
|
12447
12462
|
baseContext,
|
|
12463
|
+
inCommandRun,
|
|
12448
12464
|
REMOTE_READ,
|
|
12449
12465
|
FETCH,
|
|
12450
12466
|
REMOTE_WRITE,
|
|
@@ -12457,6 +12473,7 @@ export {
|
|
|
12457
12473
|
destroysNothing,
|
|
12458
12474
|
proposesOnly,
|
|
12459
12475
|
changesStore,
|
|
12476
|
+
writesNewFileOnlyWith,
|
|
12460
12477
|
readsOverMcpAt,
|
|
12461
12478
|
isStoreChange,
|
|
12462
12479
|
previewFlag,
|