@wirecat/cli-memo 0.131.51 → 0.131.53
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-3R3VE3W2.js → all-profiles-PJR2VHDP.js} +5 -5
- package/dist/bundle/{anthropic-QVYJRACM.js → anthropic-ZUDIWREK.js} +3 -3
- package/dist/bundle/{app-server-T3D2PIGZ.js → app-server-EYNQ4L2V.js} +35 -35
- package/dist/bundle/auto-JV4T2URZ.js +86 -0
- package/dist/bundle/{bun-DTDD2OHK.js → bun-W2ZP6I6Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-DWICJAH3.js → bun-sqlite-T2CTJ6AR.js} +2 -2
- package/dist/bundle/{chunk-QFC7V5VW.js → chunk-26QKDK5P.js} +5 -5
- package/dist/bundle/{chunk-H65NWA3X.js → chunk-2NVP4FZH.js} +1 -1
- package/dist/bundle/{chunk-O5UP2KZL.js → chunk-34GJQ4ZR.js} +1 -1
- package/dist/bundle/{chunk-RL2DSQCD.js → chunk-3MWNNJII.js} +8 -8
- package/dist/bundle/{chunk-OBVKXHOH.js → chunk-4335SGVD.js} +2287 -1326
- package/dist/bundle/{chunk-OJFRMK2W.js → chunk-4VQ7FPNW.js} +3 -3
- package/dist/bundle/{chunk-5ZGOT57S.js → chunk-5UM2OEOR.js} +2 -2
- package/dist/bundle/{chunk-WPW6ULD7.js → chunk-643B3X4D.js} +2 -2
- package/dist/bundle/{chunk-56BBTOS2.js → chunk-6NJ5OI2S.js} +1 -1
- package/dist/bundle/{chunk-3OL3QRFS.js → chunk-7ZO2LAFF.js} +5 -5
- package/dist/bundle/{chunk-6MEVHKIO.js → chunk-AF2ZDP3M.js} +1 -1
- package/dist/bundle/{chunk-REROHDUR.js → chunk-AYY5CYJJ.js} +1 -1
- package/dist/bundle/{chunk-SXVPRYEF.js → chunk-B5VQSSL2.js} +15 -12
- package/dist/bundle/{chunk-E7TMOUWZ.js → chunk-BC7N6IQ6.js} +1 -1
- package/dist/bundle/{chunk-PX2B5ZRL.js → chunk-BEO6VJ2E.js} +102 -60
- package/dist/bundle/{chunk-4RHIJMRX.js → chunk-CADGAURO.js} +30 -28
- package/dist/bundle/{chunk-LYUVULFK.js → chunk-CQPZUKTI.js} +311 -268
- package/dist/bundle/{chunk-AEVTXHTY.js → chunk-D63QZQR7.js} +4 -4
- package/dist/bundle/{chunk-HRLQQLVD.js → chunk-DDD3CXHR.js} +20 -20
- package/dist/bundle/{chunk-ROP27ZJU.js → chunk-F3BUTC2N.js} +51 -36
- package/dist/bundle/{chunk-V3TELYLZ.js → chunk-FUINFNUC.js} +1 -1
- package/dist/bundle/{chunk-XGNNI3S3.js → chunk-GESLAB4N.js} +2 -2
- package/dist/bundle/{chunk-YPLKNKAD.js → chunk-I3TF3CDE.js} +4 -4
- package/dist/bundle/{chunk-GSCGRBEQ.js → chunk-IRFHHNSX.js} +182 -154
- package/dist/bundle/{chunk-FJ3DAE4M.js → chunk-IVDBHH3N.js} +1 -1
- package/dist/bundle/{chunk-E3WIMCV5.js → chunk-JB43Q2QL.js} +1 -1
- package/dist/bundle/{chunk-66A646SL.js → chunk-JBQP2M7J.js} +7 -7
- package/dist/bundle/{chunk-5JY464PN.js → chunk-JGY2PJ3N.js} +12 -12
- package/dist/bundle/{chunk-ETD2DRJD.js → chunk-KK2ATSEC.js} +6 -6
- package/dist/bundle/{chunk-JINNS3FI.js → chunk-KTVYCPJW.js} +1 -1
- package/dist/bundle/{chunk-JBSMBHTM.js → chunk-LBGZT3W4.js} +5 -5
- package/dist/bundle/{chunk-UQ2OA6EM.js → chunk-LCE5LBZC.js} +4 -4
- package/dist/bundle/{chunk-ZC2LNXGO.js → chunk-LCP4TVBX.js} +1 -1
- package/dist/bundle/{chunk-O5Z74SBZ.js → chunk-MFVZXEQN.js} +23 -21
- package/dist/bundle/{chunk-MVV32ZTO.js → chunk-MGDBKE7E.js} +7 -15
- package/dist/bundle/{chunk-PWYCF76F.js → chunk-MU4MPJCU.js} +2 -2
- package/dist/bundle/{chunk-XN5YDZY7.js → chunk-MV5W4FLV.js} +1 -1
- package/dist/bundle/{chunk-6O37NSG6.js → chunk-O7CBAY6J.js} +4 -4
- package/dist/bundle/{chunk-4A6JOJLR.js → chunk-OKERVM3M.js} +4 -4
- package/dist/bundle/{chunk-GBWOMPZ7.js → chunk-OSPAMIIY.js} +3 -3
- package/dist/bundle/{chunk-QIFK3EZM.js → chunk-P3MKPY7D.js} +37 -9
- package/dist/bundle/{chunk-4GWFRZ2U.js → chunk-P5UTNYA7.js} +58 -1
- package/dist/bundle/{chunk-ECLBZGWI.js → chunk-PHP3T567.js} +3 -3
- package/dist/bundle/{chunk-CPLYNBAJ.js → chunk-PSJB456T.js} +1 -1
- package/dist/bundle/{chunk-4MWP6Z3W.js → chunk-RSBROHX4.js} +1 -1
- package/dist/bundle/{chunk-CZOBBAXM.js → chunk-RX6JTLKD.js} +7 -7
- package/dist/bundle/{chunk-JCNBJ3FN.js → chunk-SR3ZNX24.js} +370 -152
- package/dist/bundle/{chunk-UDAATSWZ.js → chunk-T5WGWLY2.js} +10 -10
- package/dist/bundle/{chunk-AWLAMVNY.js → chunk-UBZN4EWJ.js} +4 -4
- package/dist/bundle/{chunk-526KVXRI.js → chunk-VBYV6XQI.js} +2 -2
- package/dist/bundle/{chunk-YZB5IL4L.js → chunk-VPCNLTME.js} +2 -2
- package/dist/bundle/{chunk-BUHTAMPF.js → chunk-VQTU4ILC.js} +1 -1
- package/dist/bundle/{chunk-FZ4GVE36.js → chunk-VXZ7FWKU.js} +2 -2
- package/dist/bundle/{chunk-PNNM72BO.js → chunk-WNQUOEUV.js} +7 -4
- package/dist/bundle/{chunk-7C3MP5LH.js → chunk-WXFNUZZU.js} +5 -5
- package/dist/bundle/{chunk-H7RSMNHL.js → chunk-WYZDNDQ5.js} +489 -407
- package/dist/bundle/{chunk-N3UA5PO4.js → chunk-ZTM4UUCP.js} +9 -9
- package/dist/bundle/{command-contract-OTVOQLZS.js → command-contract-EWPKHGAZ.js} +11 -11
- package/dist/bundle/{decode-ISKRNDDM.js → decode-UWT3Y66W.js} +2 -2
- package/dist/bundle/{echarts-TINXXXCB.js → echarts-7VGTR45R.js} +2 -2
- package/dist/bundle/{embed-R2KJDGEX.js → embed-CM2QSTNK.js} +3 -3
- package/dist/bundle/{embedder-X2Y5RLKE.js → embedder-CDCAMVV7.js} +6 -6
- package/dist/bundle/{entry-2MUKT36Z.js → entry-WHEWBNJL.js} +4 -4
- package/dist/bundle/failure-XQ7TMBYM.js +66 -0
- package/dist/bundle/{first-run-6BSAM4BD.js → first-run-ZBIQO5RZ.js} +5 -5
- package/dist/bundle/{first-screen-ALXB4ONR.js → first-screen-CUAY5N6E.js} +12 -12
- package/dist/bundle/{instructions-E5NBM2NJ.js → instructions-LYKSTUGQ.js} +1 -1
- package/dist/bundle/{mcp-YUPBMZPV.js → mcp-I72UY3QP.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-NBHZ4XWV.js → node-LFRTSZBZ.js} +2 -2
- package/dist/bundle/{node-sqlite-3CBWCPNC.js → node-sqlite-Y47T5FTT.js} +3 -3
- package/dist/bundle/{oauth-L5XC2THD.js → oauth-YM5C6VS3.js} +4 -4
- package/dist/bundle/{open-WR6QQPVB.js → open-WPA4DW5G.js} +2 -2
- package/dist/bundle/{openai-MCPELYCJ.js → openai-RCPT23DA.js} +7 -7
- package/dist/bundle/{process-EAEC2FBD.js → process-P2X2KFMR.js} +1 -1
- package/dist/bundle/{program-WKKBFQIW.js → program-LE3UATKG.js} +62 -60
- package/dist/bundle/{prompt-M4Z35LQ5.js → prompt-65WPTVYC.js} +2 -2
- package/dist/bundle/{recognize-VT6NKW6D.js → recognize-MEFMK7HT.js} +1 -1
- package/dist/bundle/{remote-6QTPH5PJ.js → remote-4XIR3ZYK.js} +4 -4
- package/dist/bundle/{rerank-MJYLXZ4K.js → rerank-YRLAXFFL.js} +4 -4
- package/dist/bundle/{serve-KQ6OL3OH.js → serve-6SPZH6CY.js} +6 -6
- package/dist/bundle/server-FB75UHSF.js +48 -0
- package/dist/bundle/server-IELXA6S2.js +61 -0
- package/dist/bundle/{server-UJIH2SBV.js → server-MU43SKL5.js} +50 -50
- package/dist/bundle/{state-2PDCOSJN.js → state-G34NVZ7F.js} +3 -3
- package/dist/bundle/{store-SXYAS5EI.js → store-6U4SYK4Q.js} +17 -9
- package/dist/bundle/store-maintenance-command-ONVPBZLT.js +48 -0
- package/dist/bundle/update-TO3RIYTH.js +69 -0
- package/dist/doctor/command.d.ts +30 -0
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +1 -1
- package/dist/doctor/command.js.map +1 -1
- package/dist/failure.js +2 -2
- package/dist/failure.js.map +1 -1
- package/dist/knowledge/relationships-scan.d.ts.map +1 -1
- package/dist/knowledge/relationships-scan.js +4 -3
- package/dist/knowledge/relationships-scan.js.map +1 -1
- package/dist/knowledge/relationships.d.ts +5 -1
- package/dist/knowledge/relationships.d.ts.map +1 -1
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +3 -2
- package/dist/run/import.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/morning-digest/SKILL.md +38 -13
- package/dist/bundle/auto-XJCSM7WE.js +0 -86
- package/dist/bundle/failure-KYUARIL2.js +0 -66
- package/dist/bundle/server-AVAJTC5G.js +0 -61
- package/dist/bundle/server-QAFF3RP5.js +0 -48
- package/dist/bundle/store-maintenance-command-ARTXRVYD.js +0 -48
- package/dist/bundle/update-MOZKRB2Z.js +0 -69
- /package/dist/bundle/{chunk-4ZSY3MKL.js → chunk-2H36DXV7.js} +0 -0
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
endpointTemplate,
|
|
6
6
|
errorDetailOf,
|
|
7
7
|
framesOf,
|
|
8
|
-
isCliFailure,
|
|
9
8
|
keepsSuccess,
|
|
10
9
|
providerErrorKey,
|
|
11
10
|
renderEvent,
|
|
12
11
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MGDBKE7E.js";
|
|
14
13
|
import {
|
|
15
14
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4VQ7FPNW.js";
|
|
17
16
|
import {
|
|
18
17
|
envName,
|
|
19
18
|
readOnlyLockOf,
|
|
20
19
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6NJ5OI2S.js";
|
|
22
21
|
import {
|
|
23
22
|
carries
|
|
24
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AYY5CYJJ.js";
|
|
25
24
|
import {
|
|
25
|
+
DEAL_ROLES,
|
|
26
26
|
FACT_STATUSES,
|
|
27
27
|
FACT_TYPES,
|
|
28
28
|
FIELD_TYPES,
|
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
PRIORITY_LABELS,
|
|
40
40
|
QUERY_BACKENDS,
|
|
41
41
|
RELATION_KINDS,
|
|
42
|
+
STANDINGS,
|
|
42
43
|
TAG_TYPES,
|
|
43
44
|
TASK_KINDS,
|
|
44
45
|
TASK_ORIGINS,
|
|
@@ -52,6 +53,7 @@ import {
|
|
|
52
53
|
event,
|
|
53
54
|
evidenceSource,
|
|
54
55
|
id,
|
|
56
|
+
markStoreDamaged,
|
|
55
57
|
meeting,
|
|
56
58
|
meetingCounts,
|
|
57
59
|
meetingDetails,
|
|
@@ -72,17 +74,21 @@ import {
|
|
|
72
74
|
text,
|
|
73
75
|
time,
|
|
74
76
|
untrusted
|
|
75
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-SR3ZNX24.js";
|
|
78
|
+
import {
|
|
79
|
+
isCliFailure,
|
|
80
|
+
storeDamaged
|
|
81
|
+
} from "./chunk-P5UTNYA7.js";
|
|
76
82
|
import {
|
|
77
83
|
sharedConfigPath
|
|
78
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-UBZN4EWJ.js";
|
|
79
85
|
import {
|
|
80
86
|
filesPresent,
|
|
81
87
|
sharedModelsDirectory
|
|
82
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-OSPAMIIY.js";
|
|
83
89
|
import {
|
|
84
90
|
storePath
|
|
85
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-RSBROHX4.js";
|
|
86
92
|
import {
|
|
87
93
|
configFilePath,
|
|
88
94
|
createRecordLog,
|
|
@@ -3946,7 +3952,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3946
3952
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3947
3953
|
}), "commandsDocument");
|
|
3948
3954
|
|
|
3949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3950
3956
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3951
3957
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3952
3958
|
messageId: message2.id,
|
|
@@ -4052,7 +4058,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4052
4058
|
}, "guardedWrite");
|
|
4053
4059
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4054
4060
|
|
|
4055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4056
4062
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4057
4063
|
try {
|
|
4058
4064
|
return work();
|
|
@@ -4079,7 +4085,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4079
4085
|
return projectFields(value, fields);
|
|
4080
4086
|
}), "projectFields");
|
|
4081
4087
|
|
|
4082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4083
4089
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4084
4090
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4085
4091
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4101,7 +4107,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4101
4107
|
}
|
|
4102
4108
|
}, "withAbort");
|
|
4103
4109
|
|
|
4104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4105
4111
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4106
4112
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4107
4113
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4497,7 +4503,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4497
4503
|
}
|
|
4498
4504
|
}, "assertRetentionEvidenceRead");
|
|
4499
4505
|
|
|
4500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4501
4507
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4502
4508
|
import { join } from "node:path";
|
|
4503
4509
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4519,12 +4525,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4519
4525
|
}, "profilesWithAccounts");
|
|
4520
4526
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4521
4527
|
|
|
4522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4523
4529
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4524
4530
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4525
4531
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4526
4532
|
|
|
4527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4533
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4528
4534
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4529
4535
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4530
4536
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4560,7 +4566,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4560
4566
|
return value;
|
|
4561
4567
|
}, "atDetail");
|
|
4562
4568
|
|
|
4563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/output.js
|
|
4564
4570
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4565
4571
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4566
4572
|
if (other)
|
|
@@ -4624,7 +4630,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4624
4630
|
}, "warn")
|
|
4625
4631
|
}), "silence");
|
|
4626
4632
|
|
|
4627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4628
4634
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4629
4635
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4630
4636
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4658,7 +4664,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4658
4664
|
cache: "cache.answered"
|
|
4659
4665
|
};
|
|
4660
4666
|
|
|
4661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4662
4668
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4663
4669
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4664
4670
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4671,13 +4677,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4671
4677
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4672
4678
|
}), "snakeLogger");
|
|
4673
4679
|
|
|
4674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4675
4681
|
import { randomUUID } from "node:crypto";
|
|
4676
4682
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4677
4683
|
import { userInfo } from "node:os";
|
|
4678
4684
|
import { join as join2, sep } from "node:path";
|
|
4679
4685
|
|
|
4680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4681
4687
|
var diagnostic = {
|
|
4682
4688
|
event: true,
|
|
4683
4689
|
operation: true,
|
|
@@ -4747,7 +4753,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4747
4753
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4748
4754
|
].sort();
|
|
4749
4755
|
|
|
4750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4751
4757
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4752
4758
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4753
4759
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5100,7 +5106,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5100
5106
|
};
|
|
5101
5107
|
}, "metadataOf");
|
|
5102
5108
|
|
|
5103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5104
5110
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5105
5111
|
import { randomBytes } from "node:crypto";
|
|
5106
5112
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5135,7 +5141,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5135
5141
|
var attempts = new AsyncLocalStorage2();
|
|
5136
5142
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5137
5143
|
|
|
5138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5139
5145
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5140
5146
|
const recording = startRecording(options);
|
|
5141
5147
|
try {
|
|
@@ -5226,7 +5232,14 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
5226
5232
|
...partial2 ? { partial: partial2 } : {}
|
|
5227
5233
|
});
|
|
5228
5234
|
}, "succeed"),
|
|
5229
|
-
fail: /* @__PURE__ */ __name(async (
|
|
5235
|
+
fail: /* @__PURE__ */ __name(async (thrown) => {
|
|
5236
|
+
const error = storeDamaged(thrown);
|
|
5237
|
+
markStoreDamaged(thrown, {
|
|
5238
|
+
store: storePath(options.env),
|
|
5239
|
+
command: `${options.app.command} ${options.command}`,
|
|
5240
|
+
version: options.app.version,
|
|
5241
|
+
runId
|
|
5242
|
+
});
|
|
5230
5243
|
const failed = run ?? (held ? keep(open({ startedAt })) : void 0);
|
|
5231
5244
|
if (failed) {
|
|
5232
5245
|
if (!isCliFailure(error))
|
|
@@ -5241,8 +5254,8 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
5241
5254
|
...run ? {} : { keptBecauseFailed: true }
|
|
5242
5255
|
});
|
|
5243
5256
|
}
|
|
5244
|
-
if (typeof
|
|
5245
|
-
settled.add(
|
|
5257
|
+
if (typeof thrown === "object" && thrown !== null)
|
|
5258
|
+
settled.add(thrown);
|
|
5246
5259
|
}, "fail")
|
|
5247
5260
|
};
|
|
5248
5261
|
}, "startRecording");
|
|
@@ -5320,7 +5333,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5320
5333
|
return void 0;
|
|
5321
5334
|
}, "partialOutcome");
|
|
5322
5335
|
|
|
5323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5324
5337
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5325
5338
|
if (ms2 === void 0)
|
|
5326
5339
|
return body();
|
|
@@ -5346,7 +5359,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5346
5359
|
}
|
|
5347
5360
|
}, "withDeadline");
|
|
5348
5361
|
|
|
5349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5350
5363
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5351
5364
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5352
5365
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5388,10 +5401,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5388
5401
|
return root;
|
|
5389
5402
|
}, "rootOf");
|
|
5390
5403
|
|
|
5391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5392
5405
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5393
5406
|
|
|
5394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5395
5408
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5396
5409
|
try {
|
|
5397
5410
|
const url2 = new URL(value);
|
|
@@ -5401,7 +5414,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5401
5414
|
}
|
|
5402
5415
|
}, "endpoint");
|
|
5403
5416
|
|
|
5404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5405
5418
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5406
5419
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5407
5420
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5470,7 +5483,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5470
5483
|
};
|
|
5471
5484
|
}, "modelTarget");
|
|
5472
5485
|
|
|
5473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5474
5487
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5475
5488
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5476
5489
|
var AI_FIELDS = {
|
|
@@ -5514,7 +5527,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5514
5527
|
};
|
|
5515
5528
|
}, "resolveAISettings");
|
|
5516
5529
|
|
|
5517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5518
5531
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5519
5532
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5520
5533
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5528,7 +5541,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5528
5541
|
return ms2;
|
|
5529
5542
|
}, "parseDuration");
|
|
5530
5543
|
|
|
5531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5532
5545
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5533
5546
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5534
5547
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5687,7 +5700,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5687
5700
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5688
5701
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5689
5702
|
|
|
5690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5691
5704
|
var HISTORY_MAX_DAYS = 1095;
|
|
5692
5705
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5693
5706
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5734,7 +5747,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5734
5747
|
return { batch: { ...batch, messages }, skipped };
|
|
5735
5748
|
}, "limitBatch");
|
|
5736
5749
|
|
|
5737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5738
5751
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5739
5752
|
import { join as join3 } from "node:path";
|
|
5740
5753
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5823,10 +5836,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5823
5836
|
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
5837
|
}, "registryProfiles");
|
|
5825
5838
|
|
|
5826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5827
5840
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5828
5841
|
|
|
5829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5830
5843
|
var REPAIR_WORDS = {
|
|
5831
5844
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5832
5845
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6067,7 +6080,7 @@ ${parts.join(",\n")}
|
|
|
6067
6080
|
${indent}${close}`;
|
|
6068
6081
|
}, "serialise");
|
|
6069
6082
|
|
|
6070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6071
6084
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6072
6085
|
var SECTIONS = ["personal", "bot"];
|
|
6073
6086
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6362,7 +6375,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6362
6375
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6363
6376
|
}, "readConfigFile");
|
|
6364
6377
|
|
|
6365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6366
6379
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6367
6380
|
import { dirname, join as join4 } from "node:path";
|
|
6368
6381
|
var DEFAULT_CONFIG = {
|
|
@@ -6391,7 +6404,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6391
6404
|
}
|
|
6392
6405
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6393
6406
|
|
|
6394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6395
6408
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6396
6409
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6397
6410
|
const path2 = key.split(".");
|
|
@@ -6424,7 +6437,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6424
6437
|
};
|
|
6425
6438
|
}), "settingRows");
|
|
6426
6439
|
|
|
6427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6428
6441
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6429
6442
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6430
6443
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6934,7 +6947,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6934
6947
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6935
6948
|
}, "given");
|
|
6936
6949
|
|
|
6937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6938
6951
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6939
6952
|
const slot = environmentOf(command).exit;
|
|
6940
6953
|
if (slot)
|
|
@@ -7056,7 +7069,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7056
7069
|
return words.join(" ");
|
|
7057
7070
|
}, "commandPath");
|
|
7058
7071
|
|
|
7059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7060
7073
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7061
7074
|
var FETCH = { remote: "read", local: "write" };
|
|
7062
7075
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7171,7 +7184,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7171
7184
|
throw readOnlyRefusal(lock, what);
|
|
7172
7185
|
}, "refuseUnderReadOnly");
|
|
7173
7186
|
|
|
7174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7175
7188
|
var account = strictObject({
|
|
7176
7189
|
provider: text,
|
|
7177
7190
|
id,
|
|
@@ -7181,7 +7194,7 @@ var account = strictObject({
|
|
|
7181
7194
|
scope: optional(picklist(["personal", "work"]))
|
|
7182
7195
|
});
|
|
7183
7196
|
|
|
7184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7197
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7185
7198
|
var accountSession = strictObject({
|
|
7186
7199
|
current: boolean(),
|
|
7187
7200
|
client: nullable(text),
|
|
@@ -7191,7 +7204,7 @@ var accountSession = strictObject({
|
|
|
7191
7204
|
created_at: optional(nullable(time))
|
|
7192
7205
|
});
|
|
7193
7206
|
|
|
7194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7195
7208
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7196
7209
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7197
7210
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7209,7 +7222,7 @@ var accountPrivacy = strictObject({
|
|
|
7209
7222
|
});
|
|
7210
7223
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7211
7224
|
|
|
7212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7213
7226
|
var accountProfile = strictObject({
|
|
7214
7227
|
profile: id,
|
|
7215
7228
|
current: boolean(),
|
|
@@ -7221,7 +7234,7 @@ var accountProfile = strictObject({
|
|
|
7221
7234
|
bot: optional(literal(true))
|
|
7222
7235
|
});
|
|
7223
7236
|
|
|
7224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7225
7238
|
var milliseconds = pipe(number(), minValue(0));
|
|
7226
7239
|
var counterReading = strictObject({
|
|
7227
7240
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7233,7 +7246,7 @@ var counterReading = strictObject({
|
|
|
7233
7246
|
});
|
|
7234
7247
|
var selection = record(string(), unknown());
|
|
7235
7248
|
|
|
7236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7237
7250
|
var adminRow = strictObject({
|
|
7238
7251
|
ref: reference,
|
|
7239
7252
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7286,7 +7299,7 @@ var adminReport = strictObject({
|
|
|
7286
7299
|
rows: array(adminRow)
|
|
7287
7300
|
});
|
|
7288
7301
|
|
|
7289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7290
7303
|
var closeSuggestion = strictObject({
|
|
7291
7304
|
as: picklist(["done", "dismissed"]),
|
|
7292
7305
|
/** The agent's name. */
|
|
@@ -7348,7 +7361,7 @@ var task = strictObject({
|
|
|
7348
7361
|
updated_at: optional(time)
|
|
7349
7362
|
});
|
|
7350
7363
|
|
|
7351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7364
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7352
7365
|
var agendaChat = strictObject({
|
|
7353
7366
|
chat: reference,
|
|
7354
7367
|
title: nullable(text),
|
|
@@ -7418,11 +7431,11 @@ var agenda = strictObject({
|
|
|
7418
7431
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7419
7432
|
});
|
|
7420
7433
|
|
|
7421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7422
7435
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7423
7436
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7424
7437
|
|
|
7425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7426
7439
|
var attachment = strictObject({
|
|
7427
7440
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7428
7441
|
message: optional(reference),
|
|
@@ -7460,7 +7473,7 @@ var attachment = strictObject({
|
|
|
7460
7473
|
});
|
|
7461
7474
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7462
7475
|
|
|
7463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7464
7477
|
var actionableError = objectWithRest({
|
|
7465
7478
|
code: text,
|
|
7466
7479
|
message: text,
|
|
@@ -7477,7 +7490,7 @@ var batchResult = strictObject({
|
|
|
7477
7490
|
max_error_percent: count
|
|
7478
7491
|
});
|
|
7479
7492
|
|
|
7480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7481
7494
|
var extractionItem = strictObject({
|
|
7482
7495
|
ref: reference,
|
|
7483
7496
|
attachment: count,
|
|
@@ -7510,7 +7523,7 @@ var extractionReport = strictObject({
|
|
|
7510
7523
|
cursor: optional(text)
|
|
7511
7524
|
});
|
|
7512
7525
|
|
|
7513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7514
7527
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7515
7528
|
var attachmentBytes = strictObject({
|
|
7516
7529
|
ref: reference,
|
|
@@ -7538,7 +7551,7 @@ var attachmentTextChange = strictObject({
|
|
|
7538
7551
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7539
7552
|
});
|
|
7540
7553
|
|
|
7541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7542
7555
|
var chart = strictObject({
|
|
7543
7556
|
version: literal(1),
|
|
7544
7557
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7553,7 +7566,7 @@ var chart = strictObject({
|
|
|
7553
7566
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7554
7567
|
});
|
|
7555
7568
|
|
|
7556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7557
7570
|
var member = strictObject({
|
|
7558
7571
|
id,
|
|
7559
7572
|
name: nullable(text),
|
|
@@ -7576,7 +7589,7 @@ var member = strictObject({
|
|
|
7576
7589
|
check: optional(record(string(), unknown()))
|
|
7577
7590
|
});
|
|
7578
7591
|
|
|
7579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7580
7593
|
var setting = optional(nullable(boolean()));
|
|
7581
7594
|
var chat = strictObject({
|
|
7582
7595
|
ref: reference,
|
|
@@ -7617,7 +7630,7 @@ var chat = strictObject({
|
|
|
7617
7630
|
members: optional(array(member))
|
|
7618
7631
|
});
|
|
7619
7632
|
|
|
7620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7621
7634
|
var named2 = strictObject({
|
|
7622
7635
|
id,
|
|
7623
7636
|
title: nullable(text),
|
|
@@ -7640,7 +7653,7 @@ var folder = strictObject({
|
|
|
7640
7653
|
excluded_chats: optional(array(named2))
|
|
7641
7654
|
});
|
|
7642
7655
|
|
|
7643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7644
7657
|
var inviteLink = strictObject({
|
|
7645
7658
|
link: text,
|
|
7646
7659
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7656,7 +7669,7 @@ var inviteLink = strictObject({
|
|
|
7656
7669
|
joined_count: optional(count)
|
|
7657
7670
|
});
|
|
7658
7671
|
|
|
7659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7660
7673
|
var operated = { operation_id: id, chat_id: id };
|
|
7661
7674
|
var group = strictObject({
|
|
7662
7675
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7736,7 +7749,7 @@ var chatFolderOrder = strictObject({
|
|
|
7736
7749
|
folders: array(strictObject({ id, title: text }))
|
|
7737
7750
|
});
|
|
7738
7751
|
|
|
7739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7740
7753
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7741
7754
|
var chatRemoval = strictObject(operated2);
|
|
7742
7755
|
var chatMuting = strictObject({
|
|
@@ -7747,7 +7760,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7747
7760
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7748
7761
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7749
7762
|
|
|
7750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7751
7764
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7752
7765
|
var chatEvent = strictObject({
|
|
7753
7766
|
chat_id: id,
|
|
@@ -7764,7 +7777,7 @@ var chatEvent = strictObject({
|
|
|
7764
7777
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7765
7778
|
});
|
|
7766
7779
|
|
|
7767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7768
7781
|
var chatMetadata = strictObject({
|
|
7769
7782
|
chat_id: id,
|
|
7770
7783
|
title: nullable(text),
|
|
@@ -7779,7 +7792,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7779
7792
|
has_more: boolean()
|
|
7780
7793
|
});
|
|
7781
7794
|
|
|
7782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7783
7796
|
var action = picklist(["report", "delete", "remove"]);
|
|
7784
7797
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7785
7798
|
var chatRules = strictObject({
|
|
@@ -7816,7 +7829,7 @@ var chatModeration = strictObject({
|
|
|
7816
7829
|
}))
|
|
7817
7830
|
});
|
|
7818
7831
|
|
|
7819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7820
7833
|
var optionalCount = optional(count);
|
|
7821
7834
|
var minutes = nullable(number());
|
|
7822
7835
|
var chatStats = strictObject({
|
|
@@ -7890,7 +7903,7 @@ var taskStats = strictObject({
|
|
|
7890
7903
|
}))
|
|
7891
7904
|
});
|
|
7892
7905
|
|
|
7893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7894
7907
|
var memberCount = strictObject({
|
|
7895
7908
|
day: pipe(text, isoDate()),
|
|
7896
7909
|
participants: nullable(count),
|
|
@@ -7913,7 +7926,7 @@ var chatTracking = strictObject({
|
|
|
7913
7926
|
tracked: boolean()
|
|
7914
7927
|
});
|
|
7915
7928
|
|
|
7916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7917
7930
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7918
7931
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7919
7932
|
var profileFields = {
|
|
@@ -7951,7 +7964,7 @@ var profileFields = {
|
|
|
7951
7964
|
}))
|
|
7952
7965
|
};
|
|
7953
7966
|
|
|
7954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7955
7968
|
var contact = strictObject({
|
|
7956
7969
|
ref: reference,
|
|
7957
7970
|
id,
|
|
@@ -7982,7 +7995,7 @@ var contact = strictObject({
|
|
|
7982
7995
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7983
7996
|
});
|
|
7984
7997
|
|
|
7985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7986
7999
|
var WEIGHTS = {
|
|
7987
8000
|
bot: 3,
|
|
7988
8001
|
scam: 3,
|
|
@@ -8007,7 +8020,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8007
8020
|
var DIGITS = /\d{5,}/;
|
|
8008
8021
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8009
8022
|
|
|
8010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8011
8024
|
var linkedIdentity = strictObject({
|
|
8012
8025
|
provider: text,
|
|
8013
8026
|
id,
|
|
@@ -8015,6 +8028,7 @@ var linkedIdentity = strictObject({
|
|
|
8015
8028
|
username: nullable(text),
|
|
8016
8029
|
is_bot: nullable(boolean()),
|
|
8017
8030
|
accounts: array(id),
|
|
8031
|
+
seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
|
|
8018
8032
|
method: text,
|
|
8019
8033
|
linked_by: text,
|
|
8020
8034
|
linked_at: time
|
|
@@ -8048,7 +8062,7 @@ var contactCheck = strictObject({
|
|
|
8048
8062
|
checked_at: time
|
|
8049
8063
|
});
|
|
8050
8064
|
|
|
8051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8052
8066
|
var quoted = strictObject({
|
|
8053
8067
|
id,
|
|
8054
8068
|
sender_id: nullable(id),
|
|
@@ -8167,7 +8181,7 @@ var message = strictObject({
|
|
|
8167
8181
|
provider_metadata: providerMetadata
|
|
8168
8182
|
});
|
|
8169
8183
|
|
|
8170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8171
8185
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8172
8186
|
var contextMessage = strictObject({
|
|
8173
8187
|
locator: reference,
|
|
@@ -8201,6 +8215,8 @@ var contextEvent = strictObject({
|
|
|
8201
8215
|
});
|
|
8202
8216
|
var context = strictObject({
|
|
8203
8217
|
person: contextPerson,
|
|
8218
|
+
/** The accounts read: only those of the scopes the caller may read. */
|
|
8219
|
+
accounts: array(strictObject({ provider: text, account: id, scope: picklist(["personal", "work"]) })),
|
|
8204
8220
|
shared: array(sharedChat),
|
|
8205
8221
|
last: strictObject({
|
|
8206
8222
|
from_them: nullable(contextMessage),
|
|
@@ -8365,7 +8381,7 @@ var contactPreparation = strictObject({
|
|
|
8365
8381
|
})
|
|
8366
8382
|
});
|
|
8367
8383
|
|
|
8368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8369
8385
|
var contactNote = strictObject({
|
|
8370
8386
|
id,
|
|
8371
8387
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8377,13 +8393,13 @@ var contactNote = strictObject({
|
|
|
8377
8393
|
updated_at: time
|
|
8378
8394
|
});
|
|
8379
8395
|
|
|
8380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8381
8397
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8382
8398
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8383
8399
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8384
8400
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8385
8401
|
|
|
8386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8387
8403
|
var conversation = strictObject({
|
|
8388
8404
|
id,
|
|
8389
8405
|
chat: reference,
|
|
@@ -8398,7 +8414,7 @@ var conversation = strictObject({
|
|
|
8398
8414
|
rules_version: count
|
|
8399
8415
|
});
|
|
8400
8416
|
|
|
8401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8402
8418
|
var conversationBuild = strictObject({
|
|
8403
8419
|
chat: id,
|
|
8404
8420
|
messages: count,
|
|
@@ -8423,7 +8439,7 @@ var catchUpPreparation = strictObject({
|
|
|
8423
8439
|
prepared: optional(conversationPreparation)
|
|
8424
8440
|
});
|
|
8425
8441
|
|
|
8426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8427
8443
|
var conversationDetails = union([
|
|
8428
8444
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8429
8445
|
message
|
|
@@ -8513,7 +8529,7 @@ var conversationHit = strictObject({
|
|
|
8513
8529
|
stale: boolean()
|
|
8514
8530
|
});
|
|
8515
8531
|
|
|
8516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8517
8533
|
var counters = strictObject({
|
|
8518
8534
|
cutoff: time,
|
|
8519
8535
|
max_age_ms: milliseconds,
|
|
@@ -8543,7 +8559,7 @@ var counterRefresh = strictObject({
|
|
|
8543
8559
|
complete: optional(boolean())
|
|
8544
8560
|
});
|
|
8545
8561
|
|
|
8546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8547
8563
|
var nullableText = nullable(text);
|
|
8548
8564
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8549
8565
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8580,7 +8596,7 @@ var deal = strictObject({
|
|
|
8580
8596
|
value: unknown(),
|
|
8581
8597
|
option_id: optional(union([string(), array(string())]))
|
|
8582
8598
|
})),
|
|
8583
|
-
people: array(strictObject({ ...party.entries, role: picklist(
|
|
8599
|
+
people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
|
|
8584
8600
|
author: strictObject({
|
|
8585
8601
|
type: picklist(["person", "bot"]),
|
|
8586
8602
|
id,
|
|
@@ -8630,7 +8646,7 @@ var stage = strictObject({
|
|
|
8630
8646
|
untrusted
|
|
8631
8647
|
});
|
|
8632
8648
|
|
|
8633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8634
8650
|
var document = strictObject({
|
|
8635
8651
|
ref: reference,
|
|
8636
8652
|
id,
|
|
@@ -8645,7 +8661,7 @@ var document = strictObject({
|
|
|
8645
8661
|
owners: optional(array(text))
|
|
8646
8662
|
});
|
|
8647
8663
|
|
|
8648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8649
8665
|
var documentLink = strictObject({
|
|
8650
8666
|
ref: reference,
|
|
8651
8667
|
url: text,
|
|
@@ -8656,7 +8672,7 @@ var documentLink = strictObject({
|
|
|
8656
8672
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8657
8673
|
});
|
|
8658
8674
|
|
|
8659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8660
8676
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8661
8677
|
var contribution = strictObject({
|
|
8662
8678
|
message: evidenceMessage,
|
|
@@ -8686,7 +8702,7 @@ var retentionStay = strictObject({
|
|
|
8686
8702
|
});
|
|
8687
8703
|
var evidence = union([contribution, retentionStay]);
|
|
8688
8704
|
|
|
8689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8690
8706
|
var fact = strictObject({
|
|
8691
8707
|
ref: reference,
|
|
8692
8708
|
id,
|
|
@@ -8716,7 +8732,7 @@ var fact = strictObject({
|
|
|
8716
8732
|
updated_at: time
|
|
8717
8733
|
});
|
|
8718
8734
|
|
|
8719
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8720
8736
|
var hit = strictObject({
|
|
8721
8737
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8722
8738
|
ref: reference,
|
|
@@ -8754,7 +8770,7 @@ var hit = strictObject({
|
|
|
8754
8770
|
untrusted
|
|
8755
8771
|
});
|
|
8756
8772
|
|
|
8757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8758
8774
|
var identity = strictObject({
|
|
8759
8775
|
ref: reference,
|
|
8760
8776
|
provider: text,
|
|
@@ -8767,7 +8783,7 @@ var identity = strictObject({
|
|
|
8767
8783
|
person: optional(nullable(reference))
|
|
8768
8784
|
});
|
|
8769
8785
|
|
|
8770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8771
8787
|
var imageEmbedding = strictObject({
|
|
8772
8788
|
model: text,
|
|
8773
8789
|
embedded: count,
|
|
@@ -8776,13 +8792,13 @@ var imageEmbedding = strictObject({
|
|
|
8776
8792
|
more: boolean()
|
|
8777
8793
|
});
|
|
8778
8794
|
|
|
8779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8780
8796
|
import { spawn } from "node:child_process";
|
|
8781
8797
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8782
8798
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8783
8799
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8784
8800
|
|
|
8785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8786
8802
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8787
8803
|
const total = input.total ?? null;
|
|
8788
8804
|
const updated = input.updatedAt ?? null;
|
|
@@ -8798,7 +8814,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8798
8814
|
};
|
|
8799
8815
|
}, "progressOf");
|
|
8800
8816
|
|
|
8801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8802
8818
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8803
8819
|
const run = currentRun();
|
|
8804
8820
|
const trace = traceId ?? run.traceId;
|
|
@@ -8812,7 +8828,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8812
8828
|
}));
|
|
8813
8829
|
}, "recordLogFor");
|
|
8814
8830
|
|
|
8815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8816
8832
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8817
8833
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8818
8834
|
const out = openSync(log, "a", 384);
|
|
@@ -8967,7 +8983,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8967
8983
|
return { job: id6, pid, chat: input.chat, log };
|
|
8968
8984
|
}, "startArchiveJob");
|
|
8969
8985
|
|
|
8970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8971
8987
|
var problem = strictObject({ code: text, message: text });
|
|
8972
8988
|
var job = strictObject({
|
|
8973
8989
|
id,
|
|
@@ -8990,7 +9006,7 @@ var job = strictObject({
|
|
|
8990
9006
|
error: optional(problem)
|
|
8991
9007
|
});
|
|
8992
9008
|
|
|
8993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9009
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8994
9010
|
var joinRequest = strictObject({
|
|
8995
9011
|
person_id: id,
|
|
8996
9012
|
name: nullable(text),
|
|
@@ -9001,7 +9017,7 @@ var joinRequest = strictObject({
|
|
|
9001
9017
|
about: optional(text)
|
|
9002
9018
|
});
|
|
9003
9019
|
|
|
9004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
9005
9021
|
var botProfile = strictObject({
|
|
9006
9022
|
name: text,
|
|
9007
9023
|
token: text,
|
|
@@ -9094,7 +9110,7 @@ var stickerInventory = strictObject({
|
|
|
9094
9110
|
url: optional(nullable(text))
|
|
9095
9111
|
});
|
|
9096
9112
|
|
|
9097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9098
9114
|
var pollVote = strictObject({
|
|
9099
9115
|
person_id: id,
|
|
9100
9116
|
name: nullable(text),
|
|
@@ -9104,7 +9120,7 @@ var pollVote = strictObject({
|
|
|
9104
9120
|
voted_at: time
|
|
9105
9121
|
});
|
|
9106
9122
|
|
|
9107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9108
9124
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9109
9125
|
var observation = strictObject({
|
|
9110
9126
|
value: pipe(number(), minValue(0)),
|
|
@@ -9146,7 +9162,7 @@ var serveSummary = strictObject({
|
|
|
9146
9162
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9147
9163
|
});
|
|
9148
9164
|
|
|
9149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9150
9166
|
var mailCounts = strictObject({
|
|
9151
9167
|
by: picklist(["day", "week", "sender"]),
|
|
9152
9168
|
received: count,
|
|
@@ -9161,7 +9177,7 @@ var mailCounts = strictObject({
|
|
|
9161
9177
|
}))
|
|
9162
9178
|
});
|
|
9163
9179
|
|
|
9164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9165
9181
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9166
9182
|
var base = { id, evidence: array(evidence2) };
|
|
9167
9183
|
var finding = variant("kind", [
|
|
@@ -9305,7 +9321,7 @@ var mailFindings = strictObject({
|
|
|
9305
9321
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9306
9322
|
});
|
|
9307
9323
|
|
|
9308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9309
9325
|
var mediaArchive = strictObject({
|
|
9310
9326
|
directory: text,
|
|
9311
9327
|
chats: count,
|
|
@@ -9337,7 +9353,7 @@ var mediaArchiveTimer = union([
|
|
|
9337
9353
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9338
9354
|
]);
|
|
9339
9355
|
|
|
9340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9356
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9341
9357
|
var preparationId = pipe(string(), minLength(1));
|
|
9342
9358
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9343
9359
|
var preparationTime = nullable(isoTime);
|
|
@@ -9429,7 +9445,7 @@ var preparationMeeting = strictObject({
|
|
|
9429
9445
|
updated_at: isoTime
|
|
9430
9446
|
});
|
|
9431
9447
|
|
|
9432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9433
9449
|
var meetingEvidence = preparationEvidence;
|
|
9434
9450
|
var meetingPersonContext = strictObject({
|
|
9435
9451
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9451,7 +9467,7 @@ var meetingPersonContext = strictObject({
|
|
|
9451
9467
|
})
|
|
9452
9468
|
});
|
|
9453
9469
|
|
|
9454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9455
9471
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9456
9472
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9457
9473
|
var finding2 = variant("kind", [
|
|
@@ -9489,7 +9505,7 @@ var meetingFindings = strictObject({
|
|
|
9489
9505
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9490
9506
|
});
|
|
9491
9507
|
|
|
9492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9493
9509
|
var communicationCoverage = strictObject({
|
|
9494
9510
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9495
9511
|
query: string(),
|
|
@@ -9534,7 +9550,7 @@ var preparationCommunications = strictObject({
|
|
|
9534
9550
|
}))
|
|
9535
9551
|
});
|
|
9536
9552
|
|
|
9537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9538
9554
|
var meetingPreparation = strictObject({
|
|
9539
9555
|
communications: optional(preparationCommunications),
|
|
9540
9556
|
schema_version: literal(1),
|
|
@@ -9647,7 +9663,7 @@ var meetingPreparation = strictObject({
|
|
|
9647
9663
|
})
|
|
9648
9664
|
});
|
|
9649
9665
|
|
|
9650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9651
9667
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9652
9668
|
var id3 = pipe(string(), minLength(1));
|
|
9653
9669
|
var text3 = string();
|
|
@@ -9711,7 +9727,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9711
9727
|
})
|
|
9712
9728
|
});
|
|
9713
9729
|
|
|
9714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9715
9731
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9716
9732
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9717
9733
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9741,7 +9757,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9741
9757
|
})
|
|
9742
9758
|
});
|
|
9743
9759
|
|
|
9744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9760
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9745
9761
|
var text4 = string();
|
|
9746
9762
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9747
9763
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9758,7 +9774,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9758
9774
|
persistence: literal("proposal-only")
|
|
9759
9775
|
});
|
|
9760
9776
|
|
|
9761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9777
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9762
9778
|
var memory = strictObject({
|
|
9763
9779
|
ref: reference,
|
|
9764
9780
|
id,
|
|
@@ -9785,7 +9801,7 @@ var memory = strictObject({
|
|
|
9785
9801
|
updated_at: time
|
|
9786
9802
|
});
|
|
9787
9803
|
|
|
9788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9789
9805
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9790
9806
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9791
9807
|
var mention = strictObject({
|
|
@@ -9828,13 +9844,13 @@ var mentionRebuild = strictObject({
|
|
|
9828
9844
|
mentions: count
|
|
9829
9845
|
});
|
|
9830
9846
|
|
|
9831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9832
9848
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9833
9849
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9834
9850
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9835
9851
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9836
9852
|
|
|
9837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9838
9854
|
var messageTranscript = strictObject({
|
|
9839
9855
|
message_id: id,
|
|
9840
9856
|
text,
|
|
@@ -9892,7 +9908,7 @@ var evidencePacket = strictObject({
|
|
|
9892
9908
|
}))
|
|
9893
9909
|
});
|
|
9894
9910
|
|
|
9895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9896
9912
|
var messageThread = strictObject({
|
|
9897
9913
|
ref: reference,
|
|
9898
9914
|
chat: id,
|
|
@@ -9909,7 +9925,7 @@ var messageThread = strictObject({
|
|
|
9909
9925
|
});
|
|
9910
9926
|
var messageContext = union([message, messageThread]);
|
|
9911
9927
|
|
|
9912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9913
9929
|
var messageCounts = strictObject({
|
|
9914
9930
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9915
9931
|
total: count,
|
|
@@ -9922,7 +9938,7 @@ var messageCounts = strictObject({
|
|
|
9922
9938
|
}))
|
|
9923
9939
|
});
|
|
9924
9940
|
|
|
9925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9941
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9926
9942
|
var messageLink = strictObject({
|
|
9927
9943
|
ref: reference,
|
|
9928
9944
|
url: nullable(text),
|
|
@@ -9939,7 +9955,7 @@ var messageLink = strictObject({
|
|
|
9939
9955
|
})))
|
|
9940
9956
|
});
|
|
9941
9957
|
|
|
9942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9943
9959
|
var savedMessageFile = strictObject({
|
|
9944
9960
|
kind: text,
|
|
9945
9961
|
path: text,
|
|
@@ -10026,7 +10042,7 @@ var messageSyncAll = strictObject({
|
|
|
10026
10042
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10027
10043
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10028
10044
|
|
|
10029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10030
10046
|
var messageWrite = strictObject({
|
|
10031
10047
|
operation_id: id,
|
|
10032
10048
|
message,
|
|
@@ -10041,7 +10057,7 @@ var draftWrite = strictObject({
|
|
|
10041
10057
|
});
|
|
10042
10058
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10043
10059
|
|
|
10044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10045
10061
|
var model2 = strictObject({
|
|
10046
10062
|
id,
|
|
10047
10063
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10058,7 +10074,7 @@ var model2 = strictObject({
|
|
|
10058
10074
|
path: text
|
|
10059
10075
|
});
|
|
10060
10076
|
|
|
10061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10062
10078
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10063
10079
|
var modelKey = strictObject({
|
|
10064
10080
|
provider: text,
|
|
@@ -10068,7 +10084,7 @@ var modelKey = strictObject({
|
|
|
10068
10084
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10069
10085
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10070
10086
|
|
|
10071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10072
10088
|
var link = {
|
|
10073
10089
|
target_text: nullable(text),
|
|
10074
10090
|
kind: text,
|
|
@@ -10109,7 +10125,7 @@ var note = strictObject({
|
|
|
10109
10125
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10110
10126
|
});
|
|
10111
10127
|
|
|
10112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10113
10129
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10114
10130
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10115
10131
|
var graph = strictObject({
|
|
@@ -10143,14 +10159,14 @@ var officialStats = strictObject({
|
|
|
10143
10159
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10144
10160
|
});
|
|
10145
10161
|
|
|
10146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10147
10163
|
var person2 = strictObject({
|
|
10148
10164
|
ref: reference,
|
|
10149
10165
|
name: nullable(text),
|
|
10150
10166
|
identities: optional(array(identity))
|
|
10151
10167
|
});
|
|
10152
10168
|
|
|
10153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10154
10170
|
var poll = strictObject({
|
|
10155
10171
|
chat_id: id,
|
|
10156
10172
|
message_id: id,
|
|
@@ -10166,11 +10182,11 @@ var poll = strictObject({
|
|
|
10166
10182
|
});
|
|
10167
10183
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10168
10184
|
|
|
10169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10170
10186
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10171
10187
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10172
10188
|
|
|
10173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10174
10190
|
var figures = record(string(), number());
|
|
10175
10191
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10176
10192
|
var rankingRow = strictObject({
|
|
@@ -10217,7 +10233,7 @@ var ranking = strictObject({
|
|
|
10217
10233
|
rows: array(rankingRow)
|
|
10218
10234
|
});
|
|
10219
10235
|
|
|
10220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10221
10237
|
var reaction = strictObject({
|
|
10222
10238
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10223
10239
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10225,7 +10241,7 @@ var reaction = strictObject({
|
|
|
10225
10241
|
reacted_at: time
|
|
10226
10242
|
});
|
|
10227
10243
|
|
|
10228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10244
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10229
10245
|
var reactionChange = strictObject({
|
|
10230
10246
|
operation_id: id,
|
|
10231
10247
|
chat_id: id,
|
|
@@ -10233,7 +10249,7 @@ var reactionChange = strictObject({
|
|
|
10233
10249
|
reaction: nullable(text)
|
|
10234
10250
|
});
|
|
10235
10251
|
|
|
10236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10237
10253
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10238
10254
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10239
10255
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10244,7 +10260,7 @@ var recipientChange = strictObject({
|
|
|
10244
10260
|
...partial(recipientOff).entries
|
|
10245
10261
|
});
|
|
10246
10262
|
|
|
10247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10248
10264
|
var events = array(record(string(), unknown()));
|
|
10249
10265
|
var recordedRun = strictObject({
|
|
10250
10266
|
run_id: id,
|
|
@@ -10316,7 +10332,7 @@ var runHit = strictObject({
|
|
|
10316
10332
|
});
|
|
10317
10333
|
var runLocation = strictObject({ path: text });
|
|
10318
10334
|
|
|
10319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10320
10336
|
var relationship = strictObject({
|
|
10321
10337
|
id,
|
|
10322
10338
|
from: reference,
|
|
@@ -10330,10 +10346,16 @@ var relationship = strictObject({
|
|
|
10330
10346
|
confirmed: boolean(),
|
|
10331
10347
|
provenance: nullable(text),
|
|
10332
10348
|
confidence_category: picklist(["owner-confirmed", "weak"]),
|
|
10349
|
+
/** `reported`: a CRM account says so and nobody confirmed it; `ended`: it no longer holds. */
|
|
10350
|
+
standing: picklist(STANDINGS),
|
|
10351
|
+
/** A job title beside it, never its role. */
|
|
10352
|
+
position: nullable(text),
|
|
10353
|
+
starts_at: nullable(time),
|
|
10354
|
+
ends_at: nullable(time),
|
|
10333
10355
|
created_at: time
|
|
10334
10356
|
});
|
|
10335
10357
|
|
|
10336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10337
10359
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10338
10360
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10339
10361
|
var responseTimes = strictObject({
|
|
@@ -10350,7 +10372,7 @@ var waitingChats = strictObject({
|
|
|
10350
10372
|
by_kind: strictObject({ private: count, group: count })
|
|
10351
10373
|
});
|
|
10352
10374
|
|
|
10353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10354
10376
|
var retentionCohort = strictObject({
|
|
10355
10377
|
/** The first day of the joining day or week. */
|
|
10356
10378
|
cohort: text,
|
|
@@ -10398,7 +10420,7 @@ var retention = strictObject({
|
|
|
10398
10420
|
rows: array(retentionCohort)
|
|
10399
10421
|
});
|
|
10400
10422
|
|
|
10401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10402
10424
|
var savedSearch = strictObject({
|
|
10403
10425
|
id,
|
|
10404
10426
|
/** `null` for a run in the history. */
|
|
@@ -10415,7 +10437,7 @@ var savedSearch = strictObject({
|
|
|
10415
10437
|
});
|
|
10416
10438
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10417
10439
|
|
|
10418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10419
10441
|
var sendAttempt = strictObject({
|
|
10420
10442
|
at: time,
|
|
10421
10443
|
profile: text,
|
|
@@ -10443,7 +10465,7 @@ var sendAttempt = strictObject({
|
|
|
10443
10465
|
error_code: optional(text)
|
|
10444
10466
|
});
|
|
10445
10467
|
|
|
10446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10447
10469
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10448
10470
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10449
10471
|
var infoSchema = strictObject({
|
|
@@ -10664,7 +10686,7 @@ var storeRepair = union([
|
|
|
10664
10686
|
]);
|
|
10665
10687
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10666
10688
|
|
|
10667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10668
10690
|
var range = strictObject({ from: number(), to: number() });
|
|
10669
10691
|
var storeChatStatus = strictObject({
|
|
10670
10692
|
chat_id: id,
|
|
@@ -10762,7 +10784,7 @@ var storeJobRetry = union([
|
|
|
10762
10784
|
]);
|
|
10763
10785
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10764
10786
|
|
|
10765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10766
10788
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10767
10789
|
var storeTable = strictObject({
|
|
10768
10790
|
name: text,
|
|
@@ -10771,7 +10793,7 @@ var storeTable = strictObject({
|
|
|
10771
10793
|
bytes: optional(nullable(count))
|
|
10772
10794
|
});
|
|
10773
10795
|
|
|
10774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10775
10797
|
var tagTarget = variant("type", [
|
|
10776
10798
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10777
10799
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10802,7 +10824,7 @@ var automaticTags = strictObject({
|
|
|
10802
10824
|
dry_run: boolean()
|
|
10803
10825
|
});
|
|
10804
10826
|
|
|
10805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10827
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10806
10828
|
var tagging = strictObject({
|
|
10807
10829
|
tag: text,
|
|
10808
10830
|
type: picklist(TAG_TYPES),
|
|
@@ -10815,7 +10837,7 @@ var tagging = strictObject({
|
|
|
10815
10837
|
created_at: time
|
|
10816
10838
|
});
|
|
10817
10839
|
|
|
10818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10819
10841
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10820
10842
|
var taskPair = strictObject({
|
|
10821
10843
|
task: nullable(side),
|
|
@@ -10838,7 +10860,7 @@ var taskPair = strictObject({
|
|
|
10838
10860
|
created_at: time
|
|
10839
10861
|
});
|
|
10840
10862
|
|
|
10841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10842
10864
|
var nullableTime = nullable(time);
|
|
10843
10865
|
var link2 = strictObject({
|
|
10844
10866
|
id,
|
|
@@ -11012,7 +11034,7 @@ var taskReview = strictObject({
|
|
|
11012
11034
|
untrusted
|
|
11013
11035
|
});
|
|
11014
11036
|
|
|
11015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11016
11038
|
var topic = strictObject({
|
|
11017
11039
|
id,
|
|
11018
11040
|
title: text,
|
|
@@ -11026,7 +11048,7 @@ var topic = strictObject({
|
|
|
11026
11048
|
untrusted
|
|
11027
11049
|
});
|
|
11028
11050
|
|
|
11029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11030
11052
|
var ENTITIES = {
|
|
11031
11053
|
sync_progress: progress,
|
|
11032
11054
|
deal,
|
|
@@ -11312,7 +11334,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11312
11334
|
return [name, definition];
|
|
11313
11335
|
})), "entityDefinitions");
|
|
11314
11336
|
|
|
11315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11316
11338
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11317
11339
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11318
11340
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11346,7 +11368,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11346
11368
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11347
11369
|
}, "answerRow");
|
|
11348
11370
|
|
|
11349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11350
11372
|
import { join as join6 } from "node:path";
|
|
11351
11373
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11352
11374
|
var IMAGE_MODELS = [
|
|
@@ -11400,7 +11422,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11400
11422
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11401
11423
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11402
11424
|
|
|
11403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11404
11426
|
var STEPS2 = defineSteps([
|
|
11405
11427
|
...STEPS,
|
|
11406
11428
|
{
|
|
@@ -11614,6 +11636,12 @@ var STEPS2 = defineSteps([
|
|
|
11614
11636
|
],
|
|
11615
11637
|
why: "once the tasks these {shown} messages hold are opened, updated or closed, so the next review starts after them"
|
|
11616
11638
|
},
|
|
11639
|
+
{
|
|
11640
|
+
id: "store.recover",
|
|
11641
|
+
command: "store recover",
|
|
11642
|
+
args: [],
|
|
11643
|
+
why: "the store file is damaged; this says what is lost and the commands that recover it"
|
|
11644
|
+
},
|
|
11617
11645
|
{
|
|
11618
11646
|
id: "search.meetings",
|
|
11619
11647
|
command: "*",
|
|
@@ -11672,7 +11700,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11672
11700
|
].join(" ");
|
|
11673
11701
|
}, "stepLine");
|
|
11674
11702
|
|
|
11675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11676
11704
|
var where = [{ field: "ref" }];
|
|
11677
11705
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11678
11706
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11764,7 +11792,7 @@ var STATUS_ROWS = {
|
|
|
11764
11792
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11765
11793
|
};
|
|
11766
11794
|
|
|
11767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11768
11796
|
var TEXT_CHARS = 400;
|
|
11769
11797
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11770
11798
|
var messageRow = {
|
|
@@ -12130,7 +12158,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12130
12158
|
return lines.concat(footerOf(body)).join("\n");
|
|
12131
12159
|
}, "compactText");
|
|
12132
12160
|
|
|
12133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12134
12162
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12135
12163
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12136
12164
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12177,7 +12205,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12177
12205
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12178
12206
|
}, "largeAnswerSteps");
|
|
12179
12207
|
|
|
12180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12181
12209
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12182
12210
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12183
12211
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12191,7 +12219,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12191
12219
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12192
12220
|
}, "strip");
|
|
12193
12221
|
|
|
12194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12195
12223
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12196
12224
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12197
12225
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|