@wirecat/drive-cli 0.62.0 → 0.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-CKD2DWUK.js → all-profiles-GZJS3UKC.js} +6 -7
- package/dist/bundle/{anthropic-E3T4USLA.js → anthropic-RGV3WXX5.js} +3 -3
- package/dist/bundle/{app-server-JB2AEWWL.js → app-server-AA2PJ7PV.js} +40 -41
- package/dist/bundle/{bun-CC44AAND.js → bun-OXZYIA3R.js} +2 -2
- package/dist/bundle/{bun-sqlite-AUMFKYVR.js → bun-sqlite-D45NSDM3.js} +2 -2
- package/dist/bundle/{chunk-WZKEU7WR.js → chunk-2NIC72HH.js} +1 -1
- package/dist/bundle/{chunk-HCNQT3QE.js → chunk-2TDUGC5D.js} +331 -280
- package/dist/bundle/{chunk-DWJHL6DV.js → chunk-2TFXK3R4.js} +4 -4
- package/dist/bundle/{chunk-PEQA6LA5.js → chunk-33MGFUED.js} +169 -140
- package/dist/bundle/{chunk-YPFUYQDP.js → chunk-3BZRKLJ6.js} +12 -12
- package/dist/bundle/{chunk-YALI4C7C.js → chunk-3HK5WMI5.js} +5 -5
- package/dist/bundle/{chunk-R347FPYU.js → chunk-3QINVLZI.js} +1 -1
- package/dist/bundle/{chunk-LQKD257P.js → chunk-44SBK6KB.js} +938 -532
- package/dist/bundle/{chunk-XZUS7XRO.js → chunk-4CIZWCXV.js} +1 -1
- package/dist/bundle/{chunk-XS5POQST.js → chunk-4S4JMW6I.js} +1 -1
- package/dist/bundle/{chunk-YMWENGKH.js → chunk-534OBX5Y.js} +1 -1
- package/dist/bundle/{chunk-4SIZEJ3M.js → chunk-5PPL7JDM.js} +1 -1
- package/dist/bundle/{chunk-L7K2MOIC.js → chunk-6KQJSFYF.js} +18 -18
- package/dist/bundle/{chunk-VAYB52HF.js → chunk-6MQSQ4LX.js} +20 -20
- package/dist/bundle/{chunk-DJOAMGF4.js → chunk-7EMQ26BA.js} +9 -9
- package/dist/bundle/{chunk-TDX4GZFO.js → chunk-ABYGSJZ4.js} +4 -4
- package/dist/bundle/{chunk-FNWIJ6EJ.js → chunk-AEX37ETW.js} +1 -1
- package/dist/bundle/{chunk-SVPCHFKI.js → chunk-BKYMKVHT.js} +2 -2
- package/dist/bundle/{chunk-OBH5BA62.js → chunk-CE2TJBLP.js} +2 -2
- package/dist/bundle/{chunk-QTI6IVHZ.js → chunk-DJ3SDJZY.js} +6 -6
- package/dist/bundle/{chunk-XFRRKZHQ.js → chunk-DJHLVUL6.js} +16 -13
- package/dist/bundle/{chunk-JK3U25QZ.js → chunk-E4SDKMBJ.js} +59 -1
- package/dist/bundle/{chunk-HG6CAYJH.js → chunk-FRIJUILO.js} +2 -2
- package/dist/bundle/{chunk-RPMKG63Z.js → chunk-HZZCEQTH.js} +3 -3
- package/dist/bundle/{chunk-YXYTY4GF.js → chunk-J24ZFCWM.js} +16 -16
- package/dist/bundle/{chunk-E43ENLJJ.js → chunk-J4DIHPZ6.js} +1 -1
- package/dist/bundle/{chunk-SW4I5BR7.js → chunk-L37LMMRJ.js} +1 -1
- package/dist/bundle/{chunk-Q2LRPOKL.js → chunk-LMAVCYLQ.js} +3 -3
- package/dist/bundle/{chunk-T7X53FCJ.js → chunk-LZEOQW7S.js} +31 -31
- package/dist/bundle/{chunk-T5NWWXS2.js → chunk-MOTRI3SY.js} +1 -1
- package/dist/bundle/{chunk-ONP2IBHY.js → chunk-ND6LLYGF.js} +97 -80
- package/dist/bundle/{chunk-2KN35F32.js → chunk-NEFSGCVA.js} +8 -8
- package/dist/bundle/{chunk-JN5TVEEL.js → chunk-OXY6SSZG.js} +101 -14
- package/dist/bundle/{chunk-W4RTIL7S.js → chunk-PDCCYHCH.js} +2 -2
- package/dist/bundle/{chunk-AH5C3D3D.js → chunk-PO5RQQIG.js} +4 -4
- package/dist/bundle/{chunk-CZ2GJHLL.js → chunk-Q5DJTRKV.js} +2 -2
- package/dist/bundle/{chunk-O7ALBI2I.js → chunk-RKELRWH7.js} +3 -3
- package/dist/bundle/{chunk-67ZQCWBV.js → chunk-S4RXABDR.js} +2 -2
- package/dist/bundle/{chunk-QCX6XZLA.js → chunk-SXM6MHRR.js} +9 -9
- package/dist/bundle/{chunk-RIDQNVZM.js → chunk-TF23BZW5.js} +2 -2
- package/dist/bundle/{chunk-N7OZPKU7.js → chunk-TWUH22Z5.js} +1 -1
- package/dist/bundle/chunk-UPOSDTPT.js +87 -0
- package/dist/bundle/{chunk-CJHY5YIF.js → chunk-V3NVXIQR.js} +353 -114
- package/dist/bundle/{chunk-QH7DOVO3.js → chunk-VAUMOZU5.js} +44 -28
- package/dist/bundle/{chunk-VQDD64A4.js → chunk-VJEOGKAN.js} +7 -9
- package/dist/bundle/{chunk-MN4VXU3M.js → chunk-VKPCONDQ.js} +3 -3
- package/dist/bundle/{chunk-LWE4JGRN.js → chunk-WYGWWHZP.js} +2 -2
- package/dist/bundle/{chunk-EW7PKB4M.js → chunk-XDC3TWTL.js} +25 -25
- package/dist/bundle/{chunk-KLFSRKHB.js → chunk-XIUDS3OK.js} +1 -1
- package/dist/bundle/{chunk-U2BFYSQV.js → chunk-XNVFKMVR.js} +8559 -3343
- package/dist/bundle/{chunk-IR4SQLBR.js → chunk-XR6ESRU6.js} +1 -1
- package/dist/bundle/{chunk-RWSXVCSG.js → chunk-Y6GNA7HE.js} +2 -2
- package/dist/bundle/{chunk-7ZXIWZQ6.js → chunk-YGU6ULU5.js} +10 -10
- package/dist/bundle/{chunk-UGXN5D7U.js → chunk-YIP7ELON.js} +108 -62
- package/dist/bundle/{chunk-XEW2EN6F.js → chunk-Z42YYLTS.js} +31 -23
- package/dist/bundle/{chunk-DRZZBN3V.js → chunk-Z5KC7XBR.js} +1 -1
- package/dist/bundle/{chunk-7W5HYGVW.js → chunk-ZM5J6ZMB.js} +1 -1
- package/dist/bundle/{chunk-YOJDGAPT.js → chunk-ZOJU7ZFI.js} +7 -7
- package/dist/bundle/{command-contract-OB5BRABN.js → command-contract-BRW3AP44.js} +13 -14
- package/dist/bundle/{decode-WIIX3Y2X.js → decode-G5YEIPNC.js} +2 -2
- package/dist/bundle/drive.js +3 -3
- package/dist/bundle/{echarts-OYINM4C4.js → echarts-W2CWHNXR.js} +2 -2
- package/dist/bundle/{embed-DWZIYMBX.js → embed-OBFFPVF4.js} +3 -3
- package/dist/bundle/{embedder-ILWH7ZRM.js → embedder-NGCBQHIG.js} +6 -6
- package/dist/bundle/{entry-V5V3TOTY.js → entry-ET6HGM7A.js} +5 -5
- package/dist/bundle/{first-run-V3VVLQF4.js → first-run-JG52UZVO.js} +5 -5
- package/dist/bundle/{first-screen-Y3RIN7FU.js → first-screen-CIL3GFAA.js} +14 -15
- package/dist/bundle/{google-KLZSUAVY.js → google-CIWUVJ5C.js} +4 -4
- package/dist/bundle/{google-api-HZQ5R4ZO.js → google-api-Z3NSTBBR.js} +44 -45
- package/dist/bundle/{grants-L7XLHLUT.js → grants-3S4RL3WB.js} +49 -50
- package/dist/bundle/{identity-J2DON4IO.js → identity-OM6GFZ7T.js} +1 -1
- package/dist/bundle/{instructions-HGOJ23AJ.js → instructions-YQBQSYSS.js} +1 -1
- package/dist/bundle/{login-BD2TS4GY.js → login-7RYSDVN3.js} +48 -49
- package/dist/bundle/{node-CPKTDPH7.js → node-IVU33RL7.js} +2 -2
- package/dist/bundle/{node-sqlite-IXDCRLSX.js → node-sqlite-SIH5BEW2.js} +3 -3
- package/dist/bundle/{oauth-HOGY4YBB.js → oauth-PT4JEHLL.js} +4 -4
- package/dist/bundle/{open-O7P3ZV3Y.js → open-IAO2SNII.js} +2 -2
- package/dist/bundle/{openai-RCFQKCXC.js → openai-SGOUBHXP.js} +10 -10
- package/dist/bundle/{process-KXDRJO22.js → process-BPBMV3AT.js} +1 -1
- package/dist/bundle/{program-UCHFC7JQ.js → program-MYKKJ4F6.js} +68 -67
- package/dist/bundle/{prompt-EVPPBN5W.js → prompt-3ZM64DCB.js} +2 -2
- package/dist/bundle/{recognize-MRCYGP2J.js → recognize-A5C5RPB3.js} +1 -1
- package/dist/bundle/{remote-L3L4PHKF.js → remote-VWYFLRGO.js} +4 -4
- package/dist/bundle/{rerank-PSOE6XFT.js → rerank-4NGQWREA.js} +4 -4
- package/dist/bundle/{serve-72OGS3BF.js → serve-Y6LQTFH5.js} +6 -6
- package/dist/bundle/{server-SCXKYHBO.js → server-6AUHIIUA.js} +32 -33
- package/dist/bundle/server-PFHI35HA.js +69 -0
- package/dist/bundle/{services-YAFTELBI.js → services-2W4J7EMW.js} +26 -21
- package/dist/bundle/{sqlite-runtime-DLK4SU33.js → sqlite-runtime-P6BBDX2H.js} +3 -3
- package/dist/bundle/{state-T5VNAJSZ.js → state-PXKKXR3R.js} +3 -3
- package/dist/bundle/{store-R6MSY2IM.js → store-CN6JEUC4.js} +18 -10
- package/dist/bundle/{store-4OFK7PKQ.js → store-IVV2BAGZ.js} +42 -12
- package/dist/bundle/store-maintenance-command-MSY2QNEH.js +59 -0
- package/dist/bundle/tokens-P4LPNUFW.js +102 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +5 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/chunk-AQVUEZEP.js +0 -22
- package/dist/bundle/chunk-UOXOLGNG.js +0 -42
- package/dist/bundle/server-C5TGNFXW.js +0 -70
- package/dist/bundle/store-maintenance-command-QDMCXGV6.js +0 -60
- package/dist/bundle/tokens-HIG36RNS.js +0 -103
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VJEOGKAN.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VKPCONDQ.js";
|
|
16
16
|
import {
|
|
17
17
|
envName,
|
|
18
18
|
readOnlyLockOf,
|
|
19
19
|
readOnlyRefusal
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZM5J6ZMB.js";
|
|
21
21
|
import {
|
|
22
22
|
carries
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-534OBX5Y.js";
|
|
24
24
|
import {
|
|
25
25
|
CEILING_KEY,
|
|
26
26
|
COMMAND_PATH_KEY,
|
|
@@ -62,14 +62,12 @@ import {
|
|
|
62
62
|
typedCommand,
|
|
63
63
|
useAsProcessRun,
|
|
64
64
|
withWriteScope
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import {
|
|
67
|
-
isCliFailure
|
|
68
|
-
} from "./chunk-AQVUEZEP.js";
|
|
65
|
+
} from "./chunk-6MQSQ4LX.js";
|
|
69
66
|
import {
|
|
70
67
|
note
|
|
71
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-TF23BZW5.js";
|
|
72
69
|
import {
|
|
70
|
+
DEAL_ROLES,
|
|
73
71
|
FACT_STATUSES,
|
|
74
72
|
FACT_TYPES,
|
|
75
73
|
INVOICE_DIRECTIONS,
|
|
@@ -84,6 +82,7 @@ import {
|
|
|
84
82
|
ORDER_STATUSES,
|
|
85
83
|
PRIORITY_LABELS,
|
|
86
84
|
RELATION_KINDS,
|
|
85
|
+
STANDINGS,
|
|
87
86
|
TASK_KINDS,
|
|
88
87
|
TASK_ORIGINS,
|
|
89
88
|
TASK_STATES,
|
|
@@ -95,6 +94,7 @@ import {
|
|
|
95
94
|
event,
|
|
96
95
|
evidenceSource,
|
|
97
96
|
id,
|
|
97
|
+
markStoreDamaged,
|
|
98
98
|
meeting,
|
|
99
99
|
meetingCounts,
|
|
100
100
|
meetingDetails,
|
|
@@ -115,18 +115,22 @@ import {
|
|
|
115
115
|
text,
|
|
116
116
|
time,
|
|
117
117
|
untrusted
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-V3NVXIQR.js";
|
|
119
119
|
import {
|
|
120
120
|
FIELD_TYPES,
|
|
121
121
|
QUERY_BACKENDS,
|
|
122
122
|
describeQuery
|
|
123
123
|
} from "./chunk-EOOGWUTP.js";
|
|
124
|
+
import {
|
|
125
|
+
isCliFailure,
|
|
126
|
+
storeDamaged
|
|
127
|
+
} from "./chunk-E4SDKMBJ.js";
|
|
124
128
|
import {
|
|
125
129
|
sharedConfigPath
|
|
126
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-ABYGSJZ4.js";
|
|
127
131
|
import {
|
|
128
132
|
storePath
|
|
129
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-AEX37ETW.js";
|
|
130
134
|
import {
|
|
131
135
|
configFilePath,
|
|
132
136
|
createRecordLog,
|
|
@@ -4012,7 +4016,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4012
4016
|
}
|
|
4013
4017
|
}, "refuseJoinedPath");
|
|
4014
4018
|
|
|
4015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4016
4020
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4017
4021
|
try {
|
|
4018
4022
|
return work();
|
|
@@ -4039,7 +4043,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4039
4043
|
return projectFields(value, fields);
|
|
4040
4044
|
}), "projectFields");
|
|
4041
4045
|
|
|
4042
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4043
4047
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4044
4048
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4045
4049
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4222,7 +4226,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4222
4226
|
}
|
|
4223
4227
|
}, "withAbort");
|
|
4224
4228
|
|
|
4225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4226
4230
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4227
4231
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4228
4232
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4291,7 +4295,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4291
4295
|
return void 0;
|
|
4292
4296
|
}, "sampleCommand");
|
|
4293
4297
|
|
|
4294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4295
4299
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4296
4300
|
import { join } from "node:path";
|
|
4297
4301
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4313,7 +4317,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4313
4317
|
}, "profilesWithAccounts");
|
|
4314
4318
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4315
4319
|
|
|
4316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4317
4321
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4318
4322
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4319
4323
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4349,7 +4353,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4349
4353
|
return value;
|
|
4350
4354
|
}, "atDetail");
|
|
4351
4355
|
|
|
4352
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4356
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/output.js
|
|
4353
4357
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4354
4358
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4355
4359
|
if (other)
|
|
@@ -4413,7 +4417,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4413
4417
|
}, "warn")
|
|
4414
4418
|
}), "silence");
|
|
4415
4419
|
|
|
4416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4417
4421
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4418
4422
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4419
4423
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4447,7 +4451,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4447
4451
|
cache: "cache.answered"
|
|
4448
4452
|
};
|
|
4449
4453
|
|
|
4450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4451
4455
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4452
4456
|
const recording = startRecording(options);
|
|
4453
4457
|
try {
|
|
@@ -4538,7 +4542,14 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
4538
4542
|
...partial2 ? { partial: partial2 } : {}
|
|
4539
4543
|
});
|
|
4540
4544
|
}, "succeed"),
|
|
4541
|
-
fail: /* @__PURE__ */ __name(async (
|
|
4545
|
+
fail: /* @__PURE__ */ __name(async (thrown) => {
|
|
4546
|
+
const error = storeDamaged(thrown);
|
|
4547
|
+
markStoreDamaged(thrown, {
|
|
4548
|
+
store: storePath(options.env),
|
|
4549
|
+
command: `${options.app.command} ${options.command}`,
|
|
4550
|
+
version: options.app.version,
|
|
4551
|
+
runId
|
|
4552
|
+
});
|
|
4542
4553
|
const failed = run ?? (held ? keep(open({ startedAt })) : void 0);
|
|
4543
4554
|
if (failed) {
|
|
4544
4555
|
if (!isCliFailure(error))
|
|
@@ -4553,8 +4564,8 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
4553
4564
|
...run ? {} : { keptBecauseFailed: true }
|
|
4554
4565
|
});
|
|
4555
4566
|
}
|
|
4556
|
-
if (typeof
|
|
4557
|
-
settled.add(
|
|
4567
|
+
if (typeof thrown === "object" && thrown !== null)
|
|
4568
|
+
settled.add(thrown);
|
|
4558
4569
|
}, "fail")
|
|
4559
4570
|
};
|
|
4560
4571
|
}, "startRecording");
|
|
@@ -4632,7 +4643,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4632
4643
|
return void 0;
|
|
4633
4644
|
}, "partialOutcome");
|
|
4634
4645
|
|
|
4635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4646
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4636
4647
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4637
4648
|
if (ms2 === void 0)
|
|
4638
4649
|
return body();
|
|
@@ -4658,10 +4669,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4658
4669
|
}
|
|
4659
4670
|
}, "withDeadline");
|
|
4660
4671
|
|
|
4661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4662
4673
|
import { existsSync as existsSync4 } from "node:fs";
|
|
4663
4674
|
|
|
4664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
4665
4676
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
4666
4677
|
try {
|
|
4667
4678
|
const url2 = new URL(value);
|
|
@@ -4671,7 +4682,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
4671
4682
|
}
|
|
4672
4683
|
}, "endpoint");
|
|
4673
4684
|
|
|
4674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4675
4686
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4676
4687
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4677
4688
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4740,7 +4751,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4740
4751
|
};
|
|
4741
4752
|
}, "modelTarget");
|
|
4742
4753
|
|
|
4743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4744
4755
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4745
4756
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4746
4757
|
var AI_FIELDS = {
|
|
@@ -4784,7 +4795,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4784
4795
|
};
|
|
4785
4796
|
}, "resolveAISettings");
|
|
4786
4797
|
|
|
4787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
4788
4799
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
4789
4800
|
import { join as join2 } from "node:path";
|
|
4790
4801
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -4873,10 +4884,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
4873
4884
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
4874
4885
|
}, "registryProfiles");
|
|
4875
4886
|
|
|
4876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
4877
4888
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
4878
4889
|
|
|
4879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
4880
4891
|
var REPAIR_WORDS = {
|
|
4881
4892
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
4882
4893
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5117,7 +5128,7 @@ ${parts.join(",\n")}
|
|
|
5117
5128
|
${indent}${close}`;
|
|
5118
5129
|
}, "serialise");
|
|
5119
5130
|
|
|
5120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5121
5132
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5122
5133
|
var SECTIONS = ["personal", "bot"];
|
|
5123
5134
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -5411,7 +5422,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5411
5422
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5412
5423
|
}, "readConfigFile");
|
|
5413
5424
|
|
|
5414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5415
5426
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5416
5427
|
import { dirname, join as join3 } from "node:path";
|
|
5417
5428
|
var DEFAULT_CONFIG = {
|
|
@@ -5440,7 +5451,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5440
5451
|
}
|
|
5441
5452
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5442
5453
|
|
|
5443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5444
5455
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5445
5456
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5446
5457
|
const path2 = key.split(".");
|
|
@@ -5473,7 +5484,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
5473
5484
|
};
|
|
5474
5485
|
}), "settingRows");
|
|
5475
5486
|
|
|
5476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5477
5488
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5478
5489
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5479
5490
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5983,7 +5994,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5983
5994
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5984
5995
|
}, "given");
|
|
5985
5996
|
|
|
5986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5987
5998
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
5988
5999
|
const slot = environmentOf(command).exit;
|
|
5989
6000
|
if (slot)
|
|
@@ -6105,7 +6116,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6105
6116
|
return words.join(" ");
|
|
6106
6117
|
}, "commandPath");
|
|
6107
6118
|
|
|
6108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6109
6120
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6110
6121
|
var FETCH = { remote: "read", local: "write" };
|
|
6111
6122
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6233,7 +6244,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6233
6244
|
throw readOnlyRefusal(lock, what);
|
|
6234
6245
|
}, "refuseUnderReadOnly");
|
|
6235
6246
|
|
|
6236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6237
6248
|
var account = strictObject({
|
|
6238
6249
|
provider: text,
|
|
6239
6250
|
id,
|
|
@@ -6243,7 +6254,7 @@ var account = strictObject({
|
|
|
6243
6254
|
scope: optional(picklist(["personal", "work"]))
|
|
6244
6255
|
});
|
|
6245
6256
|
|
|
6246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6247
6258
|
var accountSession = strictObject({
|
|
6248
6259
|
current: boolean(),
|
|
6249
6260
|
client: nullable(text),
|
|
@@ -6253,7 +6264,7 @@ var accountSession = strictObject({
|
|
|
6253
6264
|
created_at: optional(nullable(time))
|
|
6254
6265
|
});
|
|
6255
6266
|
|
|
6256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6257
6268
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6258
6269
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6259
6270
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6271,7 +6282,7 @@ var accountPrivacy = strictObject({
|
|
|
6271
6282
|
});
|
|
6272
6283
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
6273
6284
|
|
|
6274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6275
6286
|
var accountProfile = strictObject({
|
|
6276
6287
|
profile: id,
|
|
6277
6288
|
current: boolean(),
|
|
@@ -6283,7 +6294,7 @@ var accountProfile = strictObject({
|
|
|
6283
6294
|
bot: optional(literal(true))
|
|
6284
6295
|
});
|
|
6285
6296
|
|
|
6286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6287
6298
|
var milliseconds = pipe(number(), minValue(0));
|
|
6288
6299
|
var counterReading = strictObject({
|
|
6289
6300
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6295,7 +6306,7 @@ var counterReading = strictObject({
|
|
|
6295
6306
|
});
|
|
6296
6307
|
var selection = record(string(), unknown());
|
|
6297
6308
|
|
|
6298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6299
6310
|
var adminRow = strictObject({
|
|
6300
6311
|
ref: reference,
|
|
6301
6312
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6348,11 +6359,11 @@ var adminReport = strictObject({
|
|
|
6348
6359
|
rows: array(adminRow)
|
|
6349
6360
|
});
|
|
6350
6361
|
|
|
6351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6352
6363
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6353
6364
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6354
6365
|
|
|
6355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6356
6367
|
var actionableError = objectWithRest({
|
|
6357
6368
|
code: text,
|
|
6358
6369
|
message: text,
|
|
@@ -6369,7 +6380,7 @@ var batchResult = strictObject({
|
|
|
6369
6380
|
max_error_percent: count
|
|
6370
6381
|
});
|
|
6371
6382
|
|
|
6372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6373
6384
|
var extractionItem = strictObject({
|
|
6374
6385
|
ref: reference,
|
|
6375
6386
|
attachment: count,
|
|
@@ -6402,7 +6413,7 @@ var extractionReport = strictObject({
|
|
|
6402
6413
|
cursor: optional(text)
|
|
6403
6414
|
});
|
|
6404
6415
|
|
|
6405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6406
6417
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6407
6418
|
var attachmentBytes = strictObject({
|
|
6408
6419
|
ref: reference,
|
|
@@ -6430,7 +6441,7 @@ var attachmentTextChange = strictObject({
|
|
|
6430
6441
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
6431
6442
|
});
|
|
6432
6443
|
|
|
6433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
6434
6445
|
var chart = strictObject({
|
|
6435
6446
|
version: literal(1),
|
|
6436
6447
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -6445,7 +6456,7 @@ var chart = strictObject({
|
|
|
6445
6456
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
6446
6457
|
});
|
|
6447
6458
|
|
|
6448
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6449
6460
|
var member = strictObject({
|
|
6450
6461
|
id,
|
|
6451
6462
|
name: nullable(text),
|
|
@@ -6468,7 +6479,7 @@ var member = strictObject({
|
|
|
6468
6479
|
check: optional(record(string(), unknown()))
|
|
6469
6480
|
});
|
|
6470
6481
|
|
|
6471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6472
6483
|
var setting = optional(nullable(boolean()));
|
|
6473
6484
|
var chat = strictObject({
|
|
6474
6485
|
ref: reference,
|
|
@@ -6509,7 +6520,7 @@ var chat = strictObject({
|
|
|
6509
6520
|
members: optional(array(member))
|
|
6510
6521
|
});
|
|
6511
6522
|
|
|
6512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
6513
6524
|
var named2 = strictObject({
|
|
6514
6525
|
id,
|
|
6515
6526
|
title: nullable(text),
|
|
@@ -6532,7 +6543,7 @@ var folder = strictObject({
|
|
|
6532
6543
|
excluded_chats: optional(array(named2))
|
|
6533
6544
|
});
|
|
6534
6545
|
|
|
6535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
6536
6547
|
var inviteLink = strictObject({
|
|
6537
6548
|
link: text,
|
|
6538
6549
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -6548,7 +6559,7 @@ var inviteLink = strictObject({
|
|
|
6548
6559
|
joined_count: optional(count)
|
|
6549
6560
|
});
|
|
6550
6561
|
|
|
6551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
6552
6563
|
var operated = { operation_id: id, chat_id: id };
|
|
6553
6564
|
var group = strictObject({
|
|
6554
6565
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -6628,7 +6639,7 @@ var chatFolderOrder = strictObject({
|
|
|
6628
6639
|
folders: array(strictObject({ id, title: text }))
|
|
6629
6640
|
});
|
|
6630
6641
|
|
|
6631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6642
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
6632
6643
|
var operated2 = { operation_id: id, chat_id: id };
|
|
6633
6644
|
var chatRemoval = strictObject(operated2);
|
|
6634
6645
|
var chatMuting = strictObject({
|
|
@@ -6639,7 +6650,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
6639
6650
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
6640
6651
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
6641
6652
|
|
|
6642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
6643
6654
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
6644
6655
|
var chatEvent = strictObject({
|
|
6645
6656
|
chat_id: id,
|
|
@@ -6656,7 +6667,7 @@ var chatEvent = strictObject({
|
|
|
6656
6667
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
6657
6668
|
});
|
|
6658
6669
|
|
|
6659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
6660
6671
|
var chatMetadata = strictObject({
|
|
6661
6672
|
chat_id: id,
|
|
6662
6673
|
title: nullable(text),
|
|
@@ -6671,7 +6682,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
6671
6682
|
has_more: boolean()
|
|
6672
6683
|
});
|
|
6673
6684
|
|
|
6674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
6675
6686
|
var action = picklist(["report", "delete", "remove"]);
|
|
6676
6687
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
6677
6688
|
var chatRules = strictObject({
|
|
@@ -6708,7 +6719,7 @@ var chatModeration = strictObject({
|
|
|
6708
6719
|
}))
|
|
6709
6720
|
});
|
|
6710
6721
|
|
|
6711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
6712
6723
|
var optionalCount = optional(count);
|
|
6713
6724
|
var minutes = nullable(number());
|
|
6714
6725
|
var chatStats = strictObject({
|
|
@@ -6782,7 +6793,7 @@ var taskStats = strictObject({
|
|
|
6782
6793
|
}))
|
|
6783
6794
|
});
|
|
6784
6795
|
|
|
6785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
6786
6797
|
var memberCount = strictObject({
|
|
6787
6798
|
day: pipe(text, isoDate()),
|
|
6788
6799
|
participants: nullable(count),
|
|
@@ -6805,7 +6816,7 @@ var chatTracking = strictObject({
|
|
|
6805
6816
|
tracked: boolean()
|
|
6806
6817
|
});
|
|
6807
6818
|
|
|
6808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
6809
6820
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6810
6821
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
6811
6822
|
var profileFields = {
|
|
@@ -6843,7 +6854,7 @@ var profileFields = {
|
|
|
6843
6854
|
}))
|
|
6844
6855
|
};
|
|
6845
6856
|
|
|
6846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6847
6858
|
var contact = strictObject({
|
|
6848
6859
|
ref: reference,
|
|
6849
6860
|
id,
|
|
@@ -6874,7 +6885,7 @@ var contact = strictObject({
|
|
|
6874
6885
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6875
6886
|
});
|
|
6876
6887
|
|
|
6877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
6878
6889
|
var linkedIdentity = strictObject({
|
|
6879
6890
|
provider: text,
|
|
6880
6891
|
id,
|
|
@@ -6882,6 +6893,7 @@ var linkedIdentity = strictObject({
|
|
|
6882
6893
|
username: nullable(text),
|
|
6883
6894
|
is_bot: nullable(boolean()),
|
|
6884
6895
|
accounts: array(id),
|
|
6896
|
+
seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
|
|
6885
6897
|
method: text,
|
|
6886
6898
|
linked_by: text,
|
|
6887
6899
|
linked_at: time
|
|
@@ -6915,7 +6927,7 @@ var contactCheck = strictObject({
|
|
|
6915
6927
|
checked_at: time
|
|
6916
6928
|
});
|
|
6917
6929
|
|
|
6918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6919
6931
|
var quoted = strictObject({
|
|
6920
6932
|
id,
|
|
6921
6933
|
sender_id: nullable(id),
|
|
@@ -7034,7 +7046,7 @@ var message = strictObject({
|
|
|
7034
7046
|
provider_metadata: providerMetadata
|
|
7035
7047
|
});
|
|
7036
7048
|
|
|
7037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7038
7050
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7039
7051
|
var contextMessage = strictObject({
|
|
7040
7052
|
locator: reference,
|
|
@@ -7068,6 +7080,8 @@ var contextEvent = strictObject({
|
|
|
7068
7080
|
});
|
|
7069
7081
|
var context = strictObject({
|
|
7070
7082
|
person: contextPerson,
|
|
7083
|
+
/** The accounts read: only those of the scopes the caller may read. */
|
|
7084
|
+
accounts: array(strictObject({ provider: text, account: id, scope: picklist(["personal", "work"]) })),
|
|
7071
7085
|
shared: array(sharedChat),
|
|
7072
7086
|
last: strictObject({
|
|
7073
7087
|
from_them: nullable(contextMessage),
|
|
@@ -7232,7 +7246,7 @@ var contactPreparation = strictObject({
|
|
|
7232
7246
|
})
|
|
7233
7247
|
});
|
|
7234
7248
|
|
|
7235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7236
7250
|
var contactNote = strictObject({
|
|
7237
7251
|
id,
|
|
7238
7252
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7244,13 +7258,13 @@ var contactNote = strictObject({
|
|
|
7244
7258
|
updated_at: time
|
|
7245
7259
|
});
|
|
7246
7260
|
|
|
7247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7248
7262
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7249
7263
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7250
7264
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7251
7265
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7252
7266
|
|
|
7253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7254
7268
|
var conversationBuild = strictObject({
|
|
7255
7269
|
chat: id,
|
|
7256
7270
|
messages: count,
|
|
@@ -7275,7 +7289,7 @@ var catchUpPreparation = strictObject({
|
|
|
7275
7289
|
prepared: optional(conversationPreparation)
|
|
7276
7290
|
});
|
|
7277
7291
|
|
|
7278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7279
7293
|
var conversationDetails = union([
|
|
7280
7294
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7281
7295
|
message
|
|
@@ -7365,7 +7379,7 @@ var conversationHit = strictObject({
|
|
|
7365
7379
|
stale: boolean()
|
|
7366
7380
|
});
|
|
7367
7381
|
|
|
7368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
7369
7383
|
var counters = strictObject({
|
|
7370
7384
|
cutoff: time,
|
|
7371
7385
|
max_age_ms: milliseconds,
|
|
@@ -7395,7 +7409,7 @@ var counterRefresh = strictObject({
|
|
|
7395
7409
|
complete: optional(boolean())
|
|
7396
7410
|
});
|
|
7397
7411
|
|
|
7398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7399
7413
|
var nullableText = nullable(text);
|
|
7400
7414
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7401
7415
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7432,7 +7446,7 @@ var deal = strictObject({
|
|
|
7432
7446
|
value: unknown(),
|
|
7433
7447
|
option_id: optional(union([string(), array(string())]))
|
|
7434
7448
|
})),
|
|
7435
|
-
people: array(strictObject({ ...party.entries, role: picklist(
|
|
7449
|
+
people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
|
|
7436
7450
|
author: strictObject({
|
|
7437
7451
|
type: picklist(["person", "bot"]),
|
|
7438
7452
|
id,
|
|
@@ -7459,7 +7473,10 @@ var pipelineStage = strictObject({
|
|
|
7459
7473
|
open: count,
|
|
7460
7474
|
/** With a funnel: rows that got this far, and the share of them that reached the next stage. */
|
|
7461
7475
|
reached: optional(count),
|
|
7462
|
-
conversion: optional(nullable(number()))
|
|
7476
|
+
conversion: optional(nullable(number())),
|
|
7477
|
+
/** With a funnel: rows standing in it now, and their sum per currency, never converted. */
|
|
7478
|
+
items: optional(count),
|
|
7479
|
+
amounts: optional(array(strictObject({ amount: text, currency: text, items: count })))
|
|
7463
7480
|
});
|
|
7464
7481
|
var pipeline = strictObject({
|
|
7465
7482
|
id,
|
|
@@ -7482,7 +7499,7 @@ var stage = strictObject({
|
|
|
7482
7499
|
untrusted
|
|
7483
7500
|
});
|
|
7484
7501
|
|
|
7485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7502
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
7486
7503
|
var document = strictObject({
|
|
7487
7504
|
ref: reference,
|
|
7488
7505
|
id,
|
|
@@ -7497,7 +7514,7 @@ var document = strictObject({
|
|
|
7497
7514
|
owners: optional(array(text))
|
|
7498
7515
|
});
|
|
7499
7516
|
|
|
7500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
7501
7518
|
var documentLink = strictObject({
|
|
7502
7519
|
ref: reference,
|
|
7503
7520
|
url: text,
|
|
@@ -7508,7 +7525,7 @@ var documentLink = strictObject({
|
|
|
7508
7525
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7509
7526
|
});
|
|
7510
7527
|
|
|
7511
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
7512
7529
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7513
7530
|
var contribution = strictObject({
|
|
7514
7531
|
message: evidenceMessage,
|
|
@@ -7538,7 +7555,7 @@ var retentionStay = strictObject({
|
|
|
7538
7555
|
});
|
|
7539
7556
|
var evidence = union([contribution, retentionStay]);
|
|
7540
7557
|
|
|
7541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
7542
7559
|
var fact = strictObject({
|
|
7543
7560
|
ref: reference,
|
|
7544
7561
|
id,
|
|
@@ -7568,7 +7585,7 @@ var fact = strictObject({
|
|
|
7568
7585
|
updated_at: time
|
|
7569
7586
|
});
|
|
7570
7587
|
|
|
7571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
7572
7589
|
var hit = strictObject({
|
|
7573
7590
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
7574
7591
|
ref: reference,
|
|
@@ -7606,7 +7623,7 @@ var hit = strictObject({
|
|
|
7606
7623
|
untrusted
|
|
7607
7624
|
});
|
|
7608
7625
|
|
|
7609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
7610
7627
|
var identity = strictObject({
|
|
7611
7628
|
ref: reference,
|
|
7612
7629
|
provider: text,
|
|
@@ -7619,7 +7636,7 @@ var identity = strictObject({
|
|
|
7619
7636
|
person: optional(nullable(reference))
|
|
7620
7637
|
});
|
|
7621
7638
|
|
|
7622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
7623
7640
|
var imageEmbedding = strictObject({
|
|
7624
7641
|
model: text,
|
|
7625
7642
|
embedded: count,
|
|
@@ -7628,13 +7645,13 @@ var imageEmbedding = strictObject({
|
|
|
7628
7645
|
more: boolean()
|
|
7629
7646
|
});
|
|
7630
7647
|
|
|
7631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
7632
7649
|
import { spawn } from "node:child_process";
|
|
7633
7650
|
import { randomBytes } from "node:crypto";
|
|
7634
7651
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
7635
7652
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
7636
7653
|
|
|
7637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
7638
7655
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
7639
7656
|
const total = input.total ?? null;
|
|
7640
7657
|
const updated = input.updatedAt ?? null;
|
|
@@ -7650,7 +7667,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
7650
7667
|
};
|
|
7651
7668
|
}, "progressOf");
|
|
7652
7669
|
|
|
7653
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
7654
7671
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
7655
7672
|
const run = currentRun();
|
|
7656
7673
|
const trace = traceId ?? run.traceId;
|
|
@@ -7664,7 +7681,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
7664
7681
|
}));
|
|
7665
7682
|
}, "recordLogFor");
|
|
7666
7683
|
|
|
7667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
7668
7685
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
7669
7686
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
7670
7687
|
const out = openSync(log, "a", 384);
|
|
@@ -7819,7 +7836,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
7819
7836
|
return { job: id6, pid, chat: input.chat, log };
|
|
7820
7837
|
}, "startArchiveJob");
|
|
7821
7838
|
|
|
7822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
7823
7840
|
var problem = strictObject({ code: text, message: text });
|
|
7824
7841
|
var job = strictObject({
|
|
7825
7842
|
id,
|
|
@@ -7842,7 +7859,7 @@ var job = strictObject({
|
|
|
7842
7859
|
error: optional(problem)
|
|
7843
7860
|
});
|
|
7844
7861
|
|
|
7845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
7846
7863
|
var joinRequest = strictObject({
|
|
7847
7864
|
person_id: id,
|
|
7848
7865
|
name: nullable(text),
|
|
@@ -7853,7 +7870,7 @@ var joinRequest = strictObject({
|
|
|
7853
7870
|
about: optional(text)
|
|
7854
7871
|
});
|
|
7855
7872
|
|
|
7856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7873
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
7857
7874
|
var botProfile = strictObject({
|
|
7858
7875
|
name: text,
|
|
7859
7876
|
token: text,
|
|
@@ -7946,7 +7963,7 @@ var stickerInventory = strictObject({
|
|
|
7946
7963
|
url: optional(nullable(text))
|
|
7947
7964
|
});
|
|
7948
7965
|
|
|
7949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
7950
7967
|
var pollVote = strictObject({
|
|
7951
7968
|
person_id: id,
|
|
7952
7969
|
name: nullable(text),
|
|
@@ -7956,7 +7973,7 @@ var pollVote = strictObject({
|
|
|
7956
7973
|
voted_at: time
|
|
7957
7974
|
});
|
|
7958
7975
|
|
|
7959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
7960
7977
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
7961
7978
|
var observation = strictObject({
|
|
7962
7979
|
value: pipe(number(), minValue(0)),
|
|
@@ -7998,7 +8015,7 @@ var serveSummary = strictObject({
|
|
|
7998
8015
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
7999
8016
|
});
|
|
8000
8017
|
|
|
8001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8002
8019
|
var mailCounts = strictObject({
|
|
8003
8020
|
by: picklist(["day", "week", "sender"]),
|
|
8004
8021
|
received: count,
|
|
@@ -8013,7 +8030,7 @@ var mailCounts = strictObject({
|
|
|
8013
8030
|
}))
|
|
8014
8031
|
});
|
|
8015
8032
|
|
|
8016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8017
8034
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8018
8035
|
var base = { id, evidence: array(evidence2) };
|
|
8019
8036
|
var finding = variant("kind", [
|
|
@@ -8157,7 +8174,7 @@ var mailFindings = strictObject({
|
|
|
8157
8174
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8158
8175
|
});
|
|
8159
8176
|
|
|
8160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8161
8178
|
var mediaArchive = strictObject({
|
|
8162
8179
|
directory: text,
|
|
8163
8180
|
chats: count,
|
|
@@ -8189,7 +8206,7 @@ var mediaArchiveTimer = union([
|
|
|
8189
8206
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8190
8207
|
]);
|
|
8191
8208
|
|
|
8192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8193
8210
|
var preparationId = pipe(string(), minLength(1));
|
|
8194
8211
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8195
8212
|
var preparationTime = nullable(isoTime);
|
|
@@ -8281,7 +8298,7 @@ var preparationMeeting = strictObject({
|
|
|
8281
8298
|
updated_at: isoTime
|
|
8282
8299
|
});
|
|
8283
8300
|
|
|
8284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8285
8302
|
var meetingEvidence = preparationEvidence;
|
|
8286
8303
|
var meetingPersonContext = strictObject({
|
|
8287
8304
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8303,7 +8320,7 @@ var meetingPersonContext = strictObject({
|
|
|
8303
8320
|
})
|
|
8304
8321
|
});
|
|
8305
8322
|
|
|
8306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8323
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8307
8324
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8308
8325
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8309
8326
|
var finding2 = variant("kind", [
|
|
@@ -8341,7 +8358,7 @@ var meetingFindings = strictObject({
|
|
|
8341
8358
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8342
8359
|
});
|
|
8343
8360
|
|
|
8344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8345
8362
|
var communicationCoverage = strictObject({
|
|
8346
8363
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8347
8364
|
query: string(),
|
|
@@ -8386,7 +8403,7 @@ var preparationCommunications = strictObject({
|
|
|
8386
8403
|
}))
|
|
8387
8404
|
});
|
|
8388
8405
|
|
|
8389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
8390
8407
|
var meetingPreparation = strictObject({
|
|
8391
8408
|
communications: optional(preparationCommunications),
|
|
8392
8409
|
schema_version: literal(1),
|
|
@@ -8499,7 +8516,7 @@ var meetingPreparation = strictObject({
|
|
|
8499
8516
|
})
|
|
8500
8517
|
});
|
|
8501
8518
|
|
|
8502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
8503
8520
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
8504
8521
|
var id3 = pipe(string(), minLength(1));
|
|
8505
8522
|
var text3 = string();
|
|
@@ -8563,7 +8580,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
8563
8580
|
})
|
|
8564
8581
|
});
|
|
8565
8582
|
|
|
8566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
8567
8584
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
8568
8585
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
8569
8586
|
var meetingSeriesInventory = strictObject({
|
|
@@ -8593,7 +8610,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
8593
8610
|
})
|
|
8594
8611
|
});
|
|
8595
8612
|
|
|
8596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
8597
8614
|
var text4 = string();
|
|
8598
8615
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
8599
8616
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -8610,7 +8627,7 @@ var meetingTaskProposal = strictObject({
|
|
|
8610
8627
|
persistence: literal("proposal-only")
|
|
8611
8628
|
});
|
|
8612
8629
|
|
|
8613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8630
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
8614
8631
|
var memory = strictObject({
|
|
8615
8632
|
ref: reference,
|
|
8616
8633
|
id,
|
|
@@ -8637,7 +8654,7 @@ var memory = strictObject({
|
|
|
8637
8654
|
updated_at: time
|
|
8638
8655
|
});
|
|
8639
8656
|
|
|
8640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
8641
8658
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
8642
8659
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
8643
8660
|
var mention = strictObject({
|
|
@@ -8680,13 +8697,13 @@ var mentionRebuild = strictObject({
|
|
|
8680
8697
|
mentions: count
|
|
8681
8698
|
});
|
|
8682
8699
|
|
|
8683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
8684
8701
|
var operated3 = { operation_id: id, chat_id: id };
|
|
8685
8702
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
8686
8703
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
8687
8704
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
8688
8705
|
|
|
8689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
8690
8707
|
var messageTranscript = strictObject({
|
|
8691
8708
|
message_id: id,
|
|
8692
8709
|
text,
|
|
@@ -8744,7 +8761,7 @@ var evidencePacket = strictObject({
|
|
|
8744
8761
|
}))
|
|
8745
8762
|
});
|
|
8746
8763
|
|
|
8747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
8748
8765
|
var messageThread = strictObject({
|
|
8749
8766
|
ref: reference,
|
|
8750
8767
|
chat: id,
|
|
@@ -8761,7 +8778,7 @@ var messageThread = strictObject({
|
|
|
8761
8778
|
});
|
|
8762
8779
|
var messageContext = union([message, messageThread]);
|
|
8763
8780
|
|
|
8764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
8765
8782
|
var messageCounts = strictObject({
|
|
8766
8783
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
8767
8784
|
total: count,
|
|
@@ -8774,7 +8791,7 @@ var messageCounts = strictObject({
|
|
|
8774
8791
|
}))
|
|
8775
8792
|
});
|
|
8776
8793
|
|
|
8777
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
8778
8795
|
var messageLink = strictObject({
|
|
8779
8796
|
ref: reference,
|
|
8780
8797
|
url: nullable(text),
|
|
@@ -8791,7 +8808,7 @@ var messageLink = strictObject({
|
|
|
8791
8808
|
})))
|
|
8792
8809
|
});
|
|
8793
8810
|
|
|
8794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
8795
8812
|
var savedMessageFile = strictObject({
|
|
8796
8813
|
kind: text,
|
|
8797
8814
|
path: text,
|
|
@@ -8878,7 +8895,7 @@ var messageSyncAll = strictObject({
|
|
|
8878
8895
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
8879
8896
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
8880
8897
|
|
|
8881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8898
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
8882
8899
|
var messageWrite = strictObject({
|
|
8883
8900
|
operation_id: id,
|
|
8884
8901
|
message,
|
|
@@ -8893,7 +8910,7 @@ var draftWrite = strictObject({
|
|
|
8893
8910
|
});
|
|
8894
8911
|
var messageSend = union([messageWrite, draftWrite]);
|
|
8895
8912
|
|
|
8896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
8897
8914
|
var model2 = strictObject({
|
|
8898
8915
|
id,
|
|
8899
8916
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -8910,7 +8927,7 @@ var model2 = strictObject({
|
|
|
8910
8927
|
path: text
|
|
8911
8928
|
});
|
|
8912
8929
|
|
|
8913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
8914
8931
|
var source = picklist(["environment", "keyring", "file"]);
|
|
8915
8932
|
var modelKey = strictObject({
|
|
8916
8933
|
provider: text,
|
|
@@ -8920,7 +8937,7 @@ var modelKey = strictObject({
|
|
|
8920
8937
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
8921
8938
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
8922
8939
|
|
|
8923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
8924
8941
|
var versus = strictObject({ current: number(), previous: number() });
|
|
8925
8942
|
var person = { person_ref: reference, name: nullable(text) };
|
|
8926
8943
|
var graph = strictObject({
|
|
@@ -8954,14 +8971,14 @@ var officialStats = strictObject({
|
|
|
8954
8971
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
8955
8972
|
});
|
|
8956
8973
|
|
|
8957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8974
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
8958
8975
|
var person2 = strictObject({
|
|
8959
8976
|
ref: reference,
|
|
8960
8977
|
name: nullable(text),
|
|
8961
8978
|
identities: optional(array(identity))
|
|
8962
8979
|
});
|
|
8963
8980
|
|
|
8964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8981
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
8965
8982
|
var poll = strictObject({
|
|
8966
8983
|
chat_id: id,
|
|
8967
8984
|
message_id: id,
|
|
@@ -8977,11 +8994,11 @@ var poll = strictObject({
|
|
|
8977
8994
|
});
|
|
8978
8995
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
8979
8996
|
|
|
8980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
8981
8998
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
8982
8999
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
8983
9000
|
|
|
8984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
8985
9002
|
var figures = record(string(), number());
|
|
8986
9003
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
8987
9004
|
var rankingRow = strictObject({
|
|
@@ -9028,7 +9045,7 @@ var ranking = strictObject({
|
|
|
9028
9045
|
rows: array(rankingRow)
|
|
9029
9046
|
});
|
|
9030
9047
|
|
|
9031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9032
9049
|
var reaction = strictObject({
|
|
9033
9050
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9034
9051
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9036,7 +9053,7 @@ var reaction = strictObject({
|
|
|
9036
9053
|
reacted_at: time
|
|
9037
9054
|
});
|
|
9038
9055
|
|
|
9039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9040
9057
|
var reactionChange = strictObject({
|
|
9041
9058
|
operation_id: id,
|
|
9042
9059
|
chat_id: id,
|
|
@@ -9044,7 +9061,7 @@ var reactionChange = strictObject({
|
|
|
9044
9061
|
reaction: nullable(text)
|
|
9045
9062
|
});
|
|
9046
9063
|
|
|
9047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9048
9065
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9049
9066
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9050
9067
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9055,7 +9072,7 @@ var recipientChange = strictObject({
|
|
|
9055
9072
|
...partial(recipientOff).entries
|
|
9056
9073
|
});
|
|
9057
9074
|
|
|
9058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9059
9076
|
var events = array(record(string(), unknown()));
|
|
9060
9077
|
var recordedRun = strictObject({
|
|
9061
9078
|
run_id: id,
|
|
@@ -9127,7 +9144,7 @@ var runHit = strictObject({
|
|
|
9127
9144
|
});
|
|
9128
9145
|
var runLocation = strictObject({ path: text });
|
|
9129
9146
|
|
|
9130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9131
9148
|
var relationship = strictObject({
|
|
9132
9149
|
id,
|
|
9133
9150
|
from: reference,
|
|
@@ -9141,10 +9158,16 @@ var relationship = strictObject({
|
|
|
9141
9158
|
confirmed: boolean(),
|
|
9142
9159
|
provenance: nullable(text),
|
|
9143
9160
|
confidence_category: picklist(["owner-confirmed", "weak"]),
|
|
9161
|
+
/** `reported`: a CRM account says so and nobody confirmed it; `ended`: it no longer holds. */
|
|
9162
|
+
standing: picklist(STANDINGS),
|
|
9163
|
+
/** A job title beside it, never its role. */
|
|
9164
|
+
position: nullable(text),
|
|
9165
|
+
starts_at: nullable(time),
|
|
9166
|
+
ends_at: nullable(time),
|
|
9144
9167
|
created_at: time
|
|
9145
9168
|
});
|
|
9146
9169
|
|
|
9147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9148
9171
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9149
9172
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9150
9173
|
var responseTimes = strictObject({
|
|
@@ -9161,7 +9184,7 @@ var waitingChats = strictObject({
|
|
|
9161
9184
|
by_kind: strictObject({ private: count, group: count })
|
|
9162
9185
|
});
|
|
9163
9186
|
|
|
9164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9165
9188
|
var retentionCohort = strictObject({
|
|
9166
9189
|
/** The first day of the joining day or week. */
|
|
9167
9190
|
cohort: text,
|
|
@@ -9209,7 +9232,7 @@ var retention = strictObject({
|
|
|
9209
9232
|
rows: array(retentionCohort)
|
|
9210
9233
|
});
|
|
9211
9234
|
|
|
9212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9213
9236
|
var savedSearch = strictObject({
|
|
9214
9237
|
id,
|
|
9215
9238
|
/** `null` for a run in the history. */
|
|
@@ -9226,7 +9249,7 @@ var savedSearch = strictObject({
|
|
|
9226
9249
|
});
|
|
9227
9250
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9228
9251
|
|
|
9229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9230
9253
|
var sendAttempt = strictObject({
|
|
9231
9254
|
at: time,
|
|
9232
9255
|
profile: text,
|
|
@@ -9254,7 +9277,7 @@ var sendAttempt = strictObject({
|
|
|
9254
9277
|
error_code: optional(text)
|
|
9255
9278
|
});
|
|
9256
9279
|
|
|
9257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9258
9281
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9259
9282
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9260
9283
|
var infoSchema = strictObject({
|
|
@@ -9475,7 +9498,7 @@ var storeRepair = union([
|
|
|
9475
9498
|
]);
|
|
9476
9499
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
9477
9500
|
|
|
9478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
9479
9502
|
var range = strictObject({ from: number(), to: number() });
|
|
9480
9503
|
var storeChatStatus = strictObject({
|
|
9481
9504
|
chat_id: id,
|
|
@@ -9573,7 +9596,7 @@ var storeJobRetry = union([
|
|
|
9573
9596
|
]);
|
|
9574
9597
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
9575
9598
|
|
|
9576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
9577
9600
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
9578
9601
|
var storeTable = strictObject({
|
|
9579
9602
|
name: text,
|
|
@@ -9582,7 +9605,7 @@ var storeTable = strictObject({
|
|
|
9582
9605
|
bytes: optional(nullable(count))
|
|
9583
9606
|
});
|
|
9584
9607
|
|
|
9585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
9586
9609
|
var tagTarget = variant("type", [
|
|
9587
9610
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
9588
9611
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -9613,7 +9636,7 @@ var automaticTags = strictObject({
|
|
|
9613
9636
|
dry_run: boolean()
|
|
9614
9637
|
});
|
|
9615
9638
|
|
|
9616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
9617
9640
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
9618
9641
|
var taskPair = strictObject({
|
|
9619
9642
|
task: nullable(side),
|
|
@@ -9636,7 +9659,7 @@ var taskPair = strictObject({
|
|
|
9636
9659
|
created_at: time
|
|
9637
9660
|
});
|
|
9638
9661
|
|
|
9639
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
9640
9663
|
var nullableTime = nullable(time);
|
|
9641
9664
|
var link = strictObject({
|
|
9642
9665
|
id,
|
|
@@ -9810,7 +9833,7 @@ var taskReview = strictObject({
|
|
|
9810
9833
|
untrusted
|
|
9811
9834
|
});
|
|
9812
9835
|
|
|
9813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
9814
9837
|
var topic = strictObject({
|
|
9815
9838
|
id,
|
|
9816
9839
|
title: text,
|
|
@@ -9824,7 +9847,7 @@ var topic = strictObject({
|
|
|
9824
9847
|
untrusted
|
|
9825
9848
|
});
|
|
9826
9849
|
|
|
9827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
9828
9851
|
var ENTITIES = {
|
|
9829
9852
|
sync_progress: progress,
|
|
9830
9853
|
deal,
|
|
@@ -10110,7 +10133,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10110
10133
|
return [name, definition];
|
|
10111
10134
|
})), "entityDefinitions");
|
|
10112
10135
|
|
|
10113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10114
10137
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10115
10138
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10116
10139
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10144,7 +10167,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10144
10167
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10145
10168
|
}, "answerRow");
|
|
10146
10169
|
|
|
10147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10148
10171
|
var STEPS2 = defineSteps([
|
|
10149
10172
|
...STEPS,
|
|
10150
10173
|
{
|
|
@@ -10358,6 +10381,12 @@ var STEPS2 = defineSteps([
|
|
|
10358
10381
|
],
|
|
10359
10382
|
why: "once the tasks these {shown} messages hold are opened, updated or closed, so the next review starts after them"
|
|
10360
10383
|
},
|
|
10384
|
+
{
|
|
10385
|
+
id: "store.recover",
|
|
10386
|
+
command: "store recover",
|
|
10387
|
+
args: [],
|
|
10388
|
+
why: "the store file is damaged; this says what is lost and the commands that recover it"
|
|
10389
|
+
},
|
|
10361
10390
|
{
|
|
10362
10391
|
id: "search.meetings",
|
|
10363
10392
|
command: "*",
|
|
@@ -10396,7 +10425,7 @@ var failureSteps = /* @__PURE__ */ __name((root, error) => {
|
|
|
10396
10425
|
nextStep(IMAGE_MODELS.some((one) => one.id === model3) ? "models.download-image" : "models.download", {
|
|
10397
10426
|
args: { model: model3 }
|
|
10398
10427
|
})
|
|
10399
|
-
] : [];
|
|
10428
|
+
] : error.reason === "store.damaged" ? [nextStep("store.recover", {})] : [];
|
|
10400
10429
|
return runnable(root, [...error.next ?? [], ...own]);
|
|
10401
10430
|
}, "failureSteps");
|
|
10402
10431
|
var withSafety = /* @__PURE__ */ __name((steps, targets) => steps.map((step2) => {
|
|
@@ -10425,7 +10454,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
10425
10454
|
].join(" ");
|
|
10426
10455
|
}, "stepLine");
|
|
10427
10456
|
|
|
10428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10457
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
10429
10458
|
var where = [{ field: "ref" }];
|
|
10430
10459
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
10431
10460
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -10517,7 +10546,7 @@ var STATUS_ROWS = {
|
|
|
10517
10546
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
10518
10547
|
};
|
|
10519
10548
|
|
|
10520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
10521
10550
|
var TEXT_CHARS = 400;
|
|
10522
10551
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
10523
10552
|
var messageRow = {
|
|
@@ -10883,7 +10912,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
10883
10912
|
return lines.concat(footerOf(body)).join("\n");
|
|
10884
10913
|
}, "compactText");
|
|
10885
10914
|
|
|
10886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10915
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
10887
10916
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
10888
10917
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
10889
10918
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -10941,7 +10970,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
10941
10970
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
10942
10971
|
}, "largeAnswerSteps");
|
|
10943
10972
|
|
|
10944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10973
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
10945
10974
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
10946
10975
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
10947
10976
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -10955,7 +10984,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
10955
10984
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
10956
10985
|
}, "strip");
|
|
10957
10986
|
|
|
10958
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10987
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
10959
10988
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
10960
10989
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
10961
10990
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|