@wirecat/cli-memo 0.131.23 → 0.131.24
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-VIPS6NHI.js → all-profiles-ZCJTYGOL.js} +5 -5
- package/dist/bundle/{anthropic-2QZHSXBA.js → anthropic-7WVLAKTX.js} +3 -3
- package/dist/bundle/{app-server-NTSADYGW.js → app-server-6G3SXEHO.js} +35 -35
- package/dist/bundle/auto-JWPM5654.js +86 -0
- package/dist/bundle/{bun-KF5QK2YN.js → bun-JVBDJKBB.js} +2 -2
- package/dist/bundle/{bun-sqlite-XUCC2PWC.js → bun-sqlite-P4I7NVMQ.js} +2 -2
- package/dist/bundle/{chunk-L6FKTS3L.js → chunk-2IRCJT4O.js} +7 -7
- package/dist/bundle/{chunk-IJI62T4U.js → chunk-3KNXQZMO.js} +27 -27
- package/dist/bundle/{chunk-R4V63U6A.js → chunk-3MER7NE6.js} +2 -2
- package/dist/bundle/{chunk-QZXHMQCM.js → chunk-3U7OUQV2.js} +1 -1
- package/dist/bundle/{chunk-UJEO3VWA.js → chunk-5YCNCXL5.js} +1 -1
- package/dist/bundle/{chunk-DIP3ENSY.js → chunk-AIGMYGEL.js} +1 -1
- package/dist/bundle/{chunk-AHFMQAJT.js → chunk-AIVUS6WA.js} +9 -9
- package/dist/bundle/{chunk-6EZ7XGRG.js → chunk-ALGIPJ6L.js} +1 -1
- package/dist/bundle/{chunk-5WCEWK2F.js → chunk-AWGV4VOA.js} +10 -10
- package/dist/bundle/{chunk-GDGY2KIX.js → chunk-BTQSFPIM.js} +4 -4
- package/dist/bundle/{chunk-AETJWLHX.js → chunk-CM2H7NRC.js} +3 -3
- package/dist/bundle/{chunk-QFO6K6CW.js → chunk-CPJEQK4V.js} +43 -43
- package/dist/bundle/{chunk-JRJIFGU2.js → chunk-DIMX5AEE.js} +3 -3
- package/dist/bundle/{chunk-32FPXLNY.js → chunk-DMQ3342A.js} +39 -37
- package/dist/bundle/{chunk-MJWFSOJN.js → chunk-EACY2ULS.js} +214 -173
- package/dist/bundle/{chunk-KQ5P5NLL.js → chunk-EB7LKK4K.js} +1 -1
- package/dist/bundle/{chunk-YKZNFSQE.js → chunk-EGG3PGCM.js} +1 -1
- package/dist/bundle/{chunk-N5L6YYYW.js → chunk-EKTZEF3Q.js} +1 -1
- package/dist/bundle/{chunk-UMWR5PKA.js → chunk-ELKYINWL.js} +12 -12
- package/dist/bundle/{chunk-BSR4QZW5.js → chunk-F2ED6KG6.js} +2 -2
- package/dist/bundle/{chunk-Z7XHH2Q5.js → chunk-FXHN2UZW.js} +14 -9
- package/dist/bundle/{chunk-24P36RXS.js → chunk-GQOXFZBX.js} +481 -308
- package/dist/bundle/{chunk-6PXE6QSQ.js → chunk-GRXVN2X7.js} +1 -1
- package/dist/bundle/{chunk-46WO42ZW.js → chunk-GSEDSGJF.js} +291 -260
- package/dist/bundle/{chunk-V7Y5FOYJ.js → chunk-IC2TL7RW.js} +2 -2
- package/dist/bundle/{chunk-XTARXRP6.js → chunk-IJC6MFLP.js} +7 -7
- package/dist/bundle/{chunk-NY4IKP35.js → chunk-INTF3YPV.js} +2 -2
- package/dist/bundle/{chunk-QSN5NUVL.js → chunk-ITQBXFMC.js} +2 -2
- package/dist/bundle/{chunk-W53TRO7J.js → chunk-J6D34BFP.js} +646 -324
- package/dist/bundle/{chunk-37NN65PB.js → chunk-JDDVGGUV.js} +4 -4
- package/dist/bundle/{chunk-5M4KSMYN.js → chunk-KQSHIQSV.js} +133 -58
- package/dist/bundle/{chunk-4QY7XOVI.js → chunk-LNXFM4FD.js} +11 -11
- package/dist/bundle/{chunk-PDQFWOR5.js → chunk-LWIMGWKB.js} +2 -2
- package/dist/bundle/{chunk-V5ZID7KC.js → chunk-M43DAAZ7.js} +1 -1
- package/dist/bundle/{chunk-UQA5UFJ2.js → chunk-MLMSQK76.js} +1 -1
- package/dist/bundle/{chunk-CTT5VK66.js → chunk-MPVW7BQZ.js} +5 -5
- package/dist/bundle/{chunk-4DKMYDLT.js → chunk-MROFZXAB.js} +41 -28
- package/dist/bundle/{chunk-6I7XGWGH.js → chunk-N5H6I7WQ.js} +5 -5
- package/dist/bundle/{chunk-ZCPUKUST.js → chunk-NAH473ZR.js} +1 -1
- package/dist/bundle/{chunk-7PQOYNMA.js → chunk-ND3GBFEY.js} +1 -1
- package/dist/bundle/{chunk-QWRBAQZ7.js → chunk-OQK2IKPB.js} +1 -1
- package/dist/bundle/{chunk-G4GEARGN.js → chunk-Q6MFBH6Q.js} +8 -8
- package/dist/bundle/{chunk-RE5SEGSR.js → chunk-R2LJDDZP.js} +3 -3
- package/dist/bundle/{chunk-2IKXEL4V.js → chunk-R3LNQ3I4.js} +1 -1
- package/dist/bundle/{chunk-STZMKXK5.js → chunk-RTESJ5O2.js} +3 -3
- package/dist/bundle/{chunk-H76MIWB2.js → chunk-SKTGBVYC.js} +4 -4
- package/dist/bundle/{chunk-JDNA36EX.js → chunk-UA2C4BCH.js} +7 -7
- package/dist/bundle/{chunk-CKLCJ6O7.js → chunk-UPXUE27A.js} +4 -4
- package/dist/bundle/{chunk-GQOFHKUX.js → chunk-UVR6U55E.js} +5 -5
- package/dist/bundle/{chunk-DIELPPLF.js → chunk-UXCDBNAY.js} +1 -1
- package/dist/bundle/{chunk-XRJIQC6P.js → chunk-UY2VH3QK.js} +1 -1
- package/dist/bundle/{chunk-BIYSJBQR.js → chunk-VLPMB3UU.js} +4 -4
- package/dist/bundle/{chunk-Z6YD3YK4.js → chunk-VVEFQEWP.js} +20 -20
- package/dist/bundle/{chunk-FXF34MI2.js → chunk-XF3LZ32F.js} +2 -2
- package/dist/bundle/{chunk-HBXZ7WIV.js → chunk-XSI5NYGB.js} +6 -6
- package/dist/bundle/{chunk-44NQLD5C.js → chunk-ZDOVR4PA.js} +4 -4
- package/dist/bundle/{chunk-O7OI5V7W.js → chunk-ZLZE5P6M.js} +5 -5
- package/dist/bundle/{chunk-BSDOH7DN.js → chunk-ZOYGY2PN.js} +1 -1
- package/dist/bundle/{command-contract-XBYNZVP5.js → command-contract-543RRFNU.js} +11 -11
- package/dist/bundle/{decode-LFASKQPE.js → decode-YHX3DQG2.js} +2 -2
- package/dist/bundle/{echarts-5AB3LFVD.js → echarts-FBVAP7BR.js} +2 -2
- package/dist/bundle/{embed-6KQN523T.js → embed-CQJ42S5C.js} +3 -3
- package/dist/bundle/{embedder-7SGPMINO.js → embedder-EDXLEJ27.js} +6 -6
- package/dist/bundle/{entry-CNZGHHZB.js → entry-HZEA7QFK.js} +4 -4
- package/dist/bundle/failure-62G7QSPX.js +66 -0
- package/dist/bundle/{first-run-UI6UT4OR.js → first-run-JZQN7R6M.js} +5 -5
- package/dist/bundle/{first-screen-3WDPZZXV.js → first-screen-56V3UOQE.js} +12 -12
- package/dist/bundle/{instructions-52W6ZQTU.js → instructions-NYVYNWVU.js} +1 -1
- package/dist/bundle/{mcp-JIOYIKWO.js → mcp-Y6IPYDS2.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-TL2PBNKO.js → node-2QE6UPGS.js} +2 -2
- package/dist/bundle/{node-sqlite-64QIEQ37.js → node-sqlite-SDHZJNY7.js} +3 -3
- package/dist/bundle/{oauth-GH7GLGEJ.js → oauth-FFUJREKS.js} +4 -4
- package/dist/bundle/{open-PCKU5XOH.js → open-NT2GYX6N.js} +2 -2
- package/dist/bundle/{openai-P5QVLTF6.js → openai-IQA2XR6Z.js} +7 -7
- package/dist/bundle/{process-PWAGP6YY.js → process-HIEJXYW6.js} +1 -1
- package/dist/bundle/{program-D7OTNHGU.js → program-DEMRKCZY.js} +90 -65
- package/dist/bundle/{prompt-FNBKJZLM.js → prompt-IOZAME2R.js} +2 -2
- package/dist/bundle/{recognize-5TKRMMA2.js → recognize-2XOAZJ5N.js} +1 -1
- package/dist/bundle/{remote-XZJ7ZAKJ.js → remote-2LE7OTDA.js} +4 -4
- package/dist/bundle/{rerank-JUH3QHX7.js → rerank-UKOVVZM6.js} +4 -4
- package/dist/bundle/{serve-JP6U3PUO.js → serve-S2UHPEBP.js} +6 -6
- package/dist/bundle/server-3YNOEPWU.js +61 -0
- package/dist/bundle/{server-VXI43PF5.js → server-BG4WWQHY.js} +50 -50
- package/dist/bundle/server-EZWQ5KP4.js +48 -0
- package/dist/bundle/{setup-YLI4S4TW.js → setup-2X7ADKFH.js} +39 -39
- package/dist/bundle/{state-G4NEN2OZ.js → state-F5KT3CBD.js} +3 -3
- package/dist/bundle/{store-NHFLFHD5.js → store-WBUUS7FO.js} +9 -9
- package/dist/bundle/store-maintenance-command-KLST56XF.js +48 -0
- package/dist/bundle/update-WH4CGJGP.js +69 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/auto-MJWSDIMF.js +0 -86
- package/dist/bundle/failure-LJAYEPTS.js +0 -66
- package/dist/bundle/server-5M4YI3V4.js +0 -48
- package/dist/bundle/server-XAHF22CQ.js +0 -61
- package/dist/bundle/store-maintenance-command-6UEORZWI.js +0 -48
- package/dist/bundle/update-6SD2JZUC.js +0 -69
- /package/dist/bundle/{chunk-WX2WLEEF.js → chunk-CWOKGEL3.js} +0 -0
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UA2C4BCH.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CM2H7NRC.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-R3LNQ3I4.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5YCNCXL5.js";
|
|
25
25
|
import {
|
|
26
26
|
FACT_STATUSES,
|
|
27
27
|
FACT_TYPES,
|
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
describeQuery,
|
|
46
46
|
event,
|
|
47
47
|
meeting,
|
|
48
|
+
meetingCounts,
|
|
48
49
|
meetingDetails,
|
|
49
50
|
meetingHit,
|
|
50
51
|
meetingLink,
|
|
@@ -56,17 +57,17 @@ import {
|
|
|
56
57
|
meetingStats,
|
|
57
58
|
meetingSummary,
|
|
58
59
|
meetingTranscript
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-KQSHIQSV.js";
|
|
60
61
|
import {
|
|
61
62
|
sharedConfigPath
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-UPXUE27A.js";
|
|
63
64
|
import {
|
|
64
65
|
filesPresent,
|
|
65
66
|
sharedModelsDirectory
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-RTESJ5O2.js";
|
|
67
68
|
import {
|
|
68
69
|
storePath
|
|
69
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-UXCDBNAY.js";
|
|
70
71
|
import {
|
|
71
72
|
configFilePath,
|
|
72
73
|
createRecordLog,
|
|
@@ -3931,7 +3932,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3931
3932
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3932
3933
|
}), "commandsDocument");
|
|
3933
3934
|
|
|
3934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3935
3936
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3936
3937
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3937
3938
|
messageId: message2.id,
|
|
@@ -4037,7 +4038,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4037
4038
|
}, "guardedWrite");
|
|
4038
4039
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4039
4040
|
|
|
4040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4041
4042
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4042
4043
|
try {
|
|
4043
4044
|
return work();
|
|
@@ -4064,7 +4065,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4064
4065
|
return projectFields(value, fields);
|
|
4065
4066
|
}), "projectFields");
|
|
4066
4067
|
|
|
4067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4068
4069
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4069
4070
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4070
4071
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4086,7 +4087,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4086
4087
|
}
|
|
4087
4088
|
}, "withAbort");
|
|
4088
4089
|
|
|
4089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4090
4091
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4091
4092
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4092
4093
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4482,7 +4483,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4482
4483
|
}
|
|
4483
4484
|
}, "assertRetentionEvidenceRead");
|
|
4484
4485
|
|
|
4485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4486
4487
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4487
4488
|
import { join } from "node:path";
|
|
4488
4489
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4504,12 +4505,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4504
4505
|
}, "profilesWithAccounts");
|
|
4505
4506
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4506
4507
|
|
|
4507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4508
4509
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4509
4510
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4510
4511
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4511
4512
|
|
|
4512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4513
4514
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4514
4515
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4515
4516
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4545,7 +4546,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4545
4546
|
return value;
|
|
4546
4547
|
}, "atDetail");
|
|
4547
4548
|
|
|
4548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/output.js
|
|
4549
4550
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4550
4551
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4551
4552
|
if (other)
|
|
@@ -4609,7 +4610,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4609
4610
|
}, "warn")
|
|
4610
4611
|
}), "silence");
|
|
4611
4612
|
|
|
4612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4613
4614
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4614
4615
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4615
4616
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4643,7 +4644,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4643
4644
|
cache: "cache.answered"
|
|
4644
4645
|
};
|
|
4645
4646
|
|
|
4646
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4647
4648
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4648
4649
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4649
4650
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4656,13 +4657,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4656
4657
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4657
4658
|
}), "snakeLogger");
|
|
4658
4659
|
|
|
4659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4660
4661
|
import { randomUUID } from "node:crypto";
|
|
4661
4662
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4662
4663
|
import { userInfo } from "node:os";
|
|
4663
4664
|
import { join as join2, sep } from "node:path";
|
|
4664
4665
|
|
|
4665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4666
4667
|
var diagnostic = {
|
|
4667
4668
|
event: true,
|
|
4668
4669
|
operation: true,
|
|
@@ -4732,7 +4733,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4732
4733
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4733
4734
|
].sort();
|
|
4734
4735
|
|
|
4735
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4736
4737
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4737
4738
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4738
4739
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5085,7 +5086,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5085
5086
|
};
|
|
5086
5087
|
}, "metadataOf");
|
|
5087
5088
|
|
|
5088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5089
5090
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5090
5091
|
import { randomBytes } from "node:crypto";
|
|
5091
5092
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5122,7 +5123,7 @@ var attempts = new AsyncLocalStorage2();
|
|
|
5122
5123
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5123
5124
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
5124
5125
|
|
|
5125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5126
5127
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5127
5128
|
const recording = startRecording(options);
|
|
5128
5129
|
try {
|
|
@@ -5307,9 +5308,9 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5307
5308
|
return void 0;
|
|
5308
5309
|
}, "partialOutcome");
|
|
5309
5310
|
|
|
5310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5311
|
-
var withDeadline = /* @__PURE__ */ __name(async (
|
|
5312
|
-
if (
|
|
5311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5312
|
+
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5313
|
+
if (ms2 === void 0)
|
|
5313
5314
|
return body();
|
|
5314
5315
|
let timer2;
|
|
5315
5316
|
let timedOut;
|
|
@@ -5318,10 +5319,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
5318
5319
|
timer2 = setTimeout(() => {
|
|
5319
5320
|
const pending = [...writes2];
|
|
5320
5321
|
const cut2 = pending.filter((write) => !write.preparing);
|
|
5321
|
-
timedOut = cut2.length > 0 ? new CliError("outcome_unknown", `\`--timeout\` ended the command after ${
|
|
5322
|
+
timedOut = cut2.length > 0 ? new CliError("outcome_unknown", `\`--timeout\` ended the command after ${ms2}ms with ${cut2.length === 1 ? "a write" : `${cut2.length} writes`} in flight; the messenger may or may not have carried it out \u2014 check before repeating it`, { operation_ids: cut2.map((write) => write.operationId), retryable: false }) : new CliError("timeout", `the command did not finish within ${ms2}ms \u2014 \`--timeout\` ended it`);
|
|
5322
5323
|
stopWrites(writes2, timedOut);
|
|
5323
5324
|
void Promise.allSettled(closeables.map((closeable) => closeable.close())).then(() => reject(timedOut));
|
|
5324
|
-
},
|
|
5325
|
+
}, ms2);
|
|
5325
5326
|
});
|
|
5326
5327
|
try {
|
|
5327
5328
|
return await Promise.race([withWriteScope(writes2, body), expired]);
|
|
@@ -5333,7 +5334,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
5333
5334
|
}
|
|
5334
5335
|
}, "withDeadline");
|
|
5335
5336
|
|
|
5336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5337
5338
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5338
5339
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5339
5340
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5375,10 +5376,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5375
5376
|
return root;
|
|
5376
5377
|
}, "rootOf");
|
|
5377
5378
|
|
|
5378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5379
5380
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5380
5381
|
|
|
5381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5382
5383
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5383
5384
|
try {
|
|
5384
5385
|
const url2 = new URL(value);
|
|
@@ -5388,7 +5389,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5388
5389
|
}
|
|
5389
5390
|
}, "endpoint");
|
|
5390
5391
|
|
|
5391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5392
5393
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5393
5394
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5394
5395
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5457,7 +5458,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5457
5458
|
};
|
|
5458
5459
|
}, "modelTarget");
|
|
5459
5460
|
|
|
5460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5461
5462
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5462
5463
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5463
5464
|
var AI_FIELDS = {
|
|
@@ -5501,7 +5502,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5501
5502
|
};
|
|
5502
5503
|
}, "resolveAISettings");
|
|
5503
5504
|
|
|
5504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5505
5506
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5506
5507
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5507
5508
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5509,13 +5510,13 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5509
5510
|
if (!match?.[1] || !match[2]) {
|
|
5510
5511
|
throw new CliError("validation_error", `${source2} takes a duration with a unit \u2014 500ms, 30s, 2m, 4h or 1d \u2014 not "${value}"`);
|
|
5511
5512
|
}
|
|
5512
|
-
const
|
|
5513
|
-
if (
|
|
5513
|
+
const ms2 = Number(match[1]) * (UNIT_MS[match[2]] ?? 0);
|
|
5514
|
+
if (ms2 <= 0)
|
|
5514
5515
|
throw new CliError("validation_error", `${source2} has to be more than zero, and "${value}" is not`);
|
|
5515
|
-
return
|
|
5516
|
+
return ms2;
|
|
5516
5517
|
}, "parseDuration");
|
|
5517
5518
|
|
|
5518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5519
5520
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5520
5521
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5521
5522
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5674,7 +5675,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5674
5675
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5675
5676
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5676
5677
|
|
|
5677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5678
5679
|
var HISTORY_MAX_DAYS = 1095;
|
|
5679
5680
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5680
5681
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5721,10 +5722,10 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5721
5722
|
return { batch: { ...batch, messages }, skipped };
|
|
5722
5723
|
}, "limitBatch");
|
|
5723
5724
|
|
|
5724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5725
5726
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
5726
5727
|
|
|
5727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5728
5729
|
var REPAIR_WORDS = {
|
|
5729
5730
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5730
5731
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5965,7 +5966,7 @@ ${parts.join(",\n")}
|
|
|
5965
5966
|
${indent}${close}`;
|
|
5966
5967
|
}, "serialise");
|
|
5967
5968
|
|
|
5968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5969
5970
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5970
5971
|
var SECTIONS = ["personal", "bot"];
|
|
5971
5972
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6260,7 +6261,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6260
6261
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6261
6262
|
}, "readConfigFile");
|
|
6262
6263
|
|
|
6263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6264
6265
|
import { existsSync as existsSync2, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6265
6266
|
import { dirname, join as join3 } from "node:path";
|
|
6266
6267
|
var DEFAULT_CONFIG = {
|
|
@@ -6289,7 +6290,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6289
6290
|
}
|
|
6290
6291
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6291
6292
|
|
|
6292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6293
6294
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6294
6295
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6295
6296
|
const path2 = key.split(".");
|
|
@@ -6322,7 +6323,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6322
6323
|
};
|
|
6323
6324
|
}), "settingRows");
|
|
6324
6325
|
|
|
6325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6326
6327
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6327
6328
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6328
6329
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6803,7 +6804,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6803
6804
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6804
6805
|
}, "given");
|
|
6805
6806
|
|
|
6806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6807
6808
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6808
6809
|
const slot = environmentOf(command).exit;
|
|
6809
6810
|
if (slot)
|
|
@@ -6916,7 +6917,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6916
6917
|
return words.join(" ");
|
|
6917
6918
|
}, "commandPath");
|
|
6918
6919
|
|
|
6919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6920
6921
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6921
6922
|
var FETCH = { remote: "read", local: "write" };
|
|
6922
6923
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7023,7 +7024,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7023
7024
|
throw readOnlyRefusal(lock, what);
|
|
7024
7025
|
}, "refuseUnderReadOnly");
|
|
7025
7026
|
|
|
7026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
7027
7028
|
var text = string();
|
|
7028
7029
|
var id = pipe(string(), minLength(1));
|
|
7029
7030
|
var time = isoTime;
|
|
@@ -7047,7 +7048,7 @@ var author = strictObject({
|
|
|
7047
7048
|
name: nullable(text)
|
|
7048
7049
|
});
|
|
7049
7050
|
|
|
7050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7051
7052
|
var account = strictObject({
|
|
7052
7053
|
provider: text,
|
|
7053
7054
|
id,
|
|
@@ -7057,7 +7058,7 @@ var account = strictObject({
|
|
|
7057
7058
|
scope: optional(picklist(["personal", "work"]))
|
|
7058
7059
|
});
|
|
7059
7060
|
|
|
7060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7061
7062
|
var accountSession = strictObject({
|
|
7062
7063
|
current: boolean(),
|
|
7063
7064
|
client: nullable(text),
|
|
@@ -7067,7 +7068,7 @@ var accountSession = strictObject({
|
|
|
7067
7068
|
created_at: optional(nullable(time))
|
|
7068
7069
|
});
|
|
7069
7070
|
|
|
7070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7071
7072
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7072
7073
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7073
7074
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7085,7 +7086,7 @@ var accountPrivacy = strictObject({
|
|
|
7085
7086
|
});
|
|
7086
7087
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7087
7088
|
|
|
7088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7089
7090
|
var accountProfile = strictObject({
|
|
7090
7091
|
profile: id,
|
|
7091
7092
|
current: boolean(),
|
|
@@ -7095,7 +7096,7 @@ var accountProfile = strictObject({
|
|
|
7095
7096
|
signed_in: optional(boolean())
|
|
7096
7097
|
});
|
|
7097
7098
|
|
|
7098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7099
7100
|
var milliseconds = pipe(number(), minValue(0));
|
|
7100
7101
|
var counterReading = strictObject({
|
|
7101
7102
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7107,7 +7108,7 @@ var counterReading = strictObject({
|
|
|
7107
7108
|
});
|
|
7108
7109
|
var selection = record(string(), unknown());
|
|
7109
7110
|
|
|
7110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7111
7112
|
var adminRow = strictObject({
|
|
7112
7113
|
ref: reference,
|
|
7113
7114
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7160,7 +7161,7 @@ var adminReport = strictObject({
|
|
|
7160
7161
|
rows: array(adminRow)
|
|
7161
7162
|
});
|
|
7162
7163
|
|
|
7163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7164
7165
|
var closeSuggestion = strictObject({
|
|
7165
7166
|
as: picklist(["done", "dismissed"]),
|
|
7166
7167
|
/** The agent's name. */
|
|
@@ -7218,7 +7219,7 @@ var task = strictObject({
|
|
|
7218
7219
|
updated_at: optional(time)
|
|
7219
7220
|
});
|
|
7220
7221
|
|
|
7221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7222
7223
|
var agendaChat = strictObject({
|
|
7223
7224
|
chat: reference,
|
|
7224
7225
|
title: nullable(text),
|
|
@@ -7288,11 +7289,11 @@ var agenda = strictObject({
|
|
|
7288
7289
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7289
7290
|
});
|
|
7290
7291
|
|
|
7291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7292
7293
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7293
7294
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7294
7295
|
|
|
7295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7296
7297
|
var attachment = strictObject({
|
|
7297
7298
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7298
7299
|
message: optional(reference),
|
|
@@ -7330,7 +7331,7 @@ var attachment = strictObject({
|
|
|
7330
7331
|
});
|
|
7331
7332
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
7332
7333
|
|
|
7333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7334
7335
|
var actionableError = objectWithRest({
|
|
7335
7336
|
code: text,
|
|
7336
7337
|
message: text,
|
|
@@ -7347,7 +7348,7 @@ var batchResult = strictObject({
|
|
|
7347
7348
|
max_error_percent: count2
|
|
7348
7349
|
});
|
|
7349
7350
|
|
|
7350
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7351
7352
|
var extractionItem = strictObject({
|
|
7352
7353
|
ref: reference,
|
|
7353
7354
|
attachment: count2,
|
|
@@ -7380,7 +7381,7 @@ var extractionReport = strictObject({
|
|
|
7380
7381
|
cursor: optional(text)
|
|
7381
7382
|
});
|
|
7382
7383
|
|
|
7383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7384
7385
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7385
7386
|
var attachmentBytes = strictObject({
|
|
7386
7387
|
ref: reference,
|
|
@@ -7408,7 +7409,7 @@ var attachmentTextChange = strictObject({
|
|
|
7408
7409
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7409
7410
|
});
|
|
7410
7411
|
|
|
7411
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7412
7413
|
var chart = strictObject({
|
|
7413
7414
|
version: literal(1),
|
|
7414
7415
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7423,7 +7424,7 @@ var chart = strictObject({
|
|
|
7423
7424
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7424
7425
|
});
|
|
7425
7426
|
|
|
7426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7427
7428
|
var member = strictObject({
|
|
7428
7429
|
id,
|
|
7429
7430
|
name: nullable(text),
|
|
@@ -7446,7 +7447,7 @@ var member = strictObject({
|
|
|
7446
7447
|
check: optional(record(string(), unknown()))
|
|
7447
7448
|
});
|
|
7448
7449
|
|
|
7449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7450
7451
|
var setting = optional(nullable(boolean()));
|
|
7451
7452
|
var chat = strictObject({
|
|
7452
7453
|
ref: reference,
|
|
@@ -7487,7 +7488,7 @@ var chat = strictObject({
|
|
|
7487
7488
|
members: optional(array(member))
|
|
7488
7489
|
});
|
|
7489
7490
|
|
|
7490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7491
7492
|
var named2 = strictObject({
|
|
7492
7493
|
id,
|
|
7493
7494
|
title: nullable(text),
|
|
@@ -7510,7 +7511,7 @@ var folder = strictObject({
|
|
|
7510
7511
|
excluded_chats: optional(array(named2))
|
|
7511
7512
|
});
|
|
7512
7513
|
|
|
7513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7514
7515
|
var inviteLink = strictObject({
|
|
7515
7516
|
link: text,
|
|
7516
7517
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7526,7 +7527,7 @@ var inviteLink = strictObject({
|
|
|
7526
7527
|
joined_count: optional(count2)
|
|
7527
7528
|
});
|
|
7528
7529
|
|
|
7529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7530
7531
|
var operated = { operation_id: id, chat_id: id };
|
|
7531
7532
|
var group = strictObject({
|
|
7532
7533
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7606,7 +7607,7 @@ var chatFolderOrder = strictObject({
|
|
|
7606
7607
|
folders: array(strictObject({ id, title: text }))
|
|
7607
7608
|
});
|
|
7608
7609
|
|
|
7609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7610
7611
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7611
7612
|
var chatRemoval = strictObject(operated2);
|
|
7612
7613
|
var chatMuting = strictObject({
|
|
@@ -7617,7 +7618,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7617
7618
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7618
7619
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7619
7620
|
|
|
7620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7621
7622
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7622
7623
|
var chatEvent = strictObject({
|
|
7623
7624
|
chat_id: id,
|
|
@@ -7634,7 +7635,7 @@ var chatEvent = strictObject({
|
|
|
7634
7635
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7635
7636
|
});
|
|
7636
7637
|
|
|
7637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7638
7639
|
var chatMetadata = strictObject({
|
|
7639
7640
|
chat_id: id,
|
|
7640
7641
|
title: nullable(text),
|
|
@@ -7649,7 +7650,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7649
7650
|
has_more: boolean()
|
|
7650
7651
|
});
|
|
7651
7652
|
|
|
7652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7653
7654
|
var action = picklist(["report", "delete", "remove"]);
|
|
7654
7655
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7655
7656
|
var chatRules = strictObject({
|
|
@@ -7686,7 +7687,7 @@ var chatModeration = strictObject({
|
|
|
7686
7687
|
}))
|
|
7687
7688
|
});
|
|
7688
7689
|
|
|
7689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7690
7691
|
var optionalCount = optional(count2);
|
|
7691
7692
|
var minutes = nullable(number());
|
|
7692
7693
|
var chatStats = strictObject({
|
|
@@ -7737,18 +7738,30 @@ var chatStats = strictObject({
|
|
|
7737
7738
|
})),
|
|
7738
7739
|
series: optional(array(strictObject({ key: text, messages: count2, senders: count2, joined: optionalCount, left: optionalCount })))
|
|
7739
7740
|
});
|
|
7741
|
+
var ms = nullable(pipe(number(), minValue(0)));
|
|
7740
7742
|
var taskStats = strictObject({
|
|
7741
7743
|
/** Open tasks across every row. */
|
|
7742
7744
|
open: count2,
|
|
7745
|
+
created: count2,
|
|
7746
|
+
closed: count2,
|
|
7747
|
+
median_close_ms: ms,
|
|
7748
|
+
mean_open_age_ms: ms,
|
|
7743
7749
|
rows: array(strictObject({
|
|
7744
|
-
chat
|
|
7750
|
+
/** Rows of `--by chat` only. */
|
|
7751
|
+
chat: optional(reference),
|
|
7752
|
+
/** The chat reference, `meeting:<account>/<meeting>` or `project:<id>`. */
|
|
7753
|
+
key: text,
|
|
7754
|
+
name: nullable(text),
|
|
7745
7755
|
open: count2,
|
|
7756
|
+
created: count2,
|
|
7757
|
+
closed: count2,
|
|
7746
7758
|
oldest_open_at: nullable(time),
|
|
7747
|
-
median_close_ms:
|
|
7759
|
+
median_close_ms: ms,
|
|
7760
|
+
mean_open_age_ms: ms
|
|
7748
7761
|
}))
|
|
7749
7762
|
});
|
|
7750
7763
|
|
|
7751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7752
7765
|
var memberCount = strictObject({
|
|
7753
7766
|
day: pipe(text, isoDate()),
|
|
7754
7767
|
participants: nullable(count2),
|
|
@@ -7771,7 +7784,7 @@ var chatTracking = strictObject({
|
|
|
7771
7784
|
tracked: boolean()
|
|
7772
7785
|
});
|
|
7773
7786
|
|
|
7774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7775
7788
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7776
7789
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7777
7790
|
var profileFields = {
|
|
@@ -7809,7 +7822,7 @@ var profileFields = {
|
|
|
7809
7822
|
}))
|
|
7810
7823
|
};
|
|
7811
7824
|
|
|
7812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7813
7826
|
var contact = strictObject({
|
|
7814
7827
|
ref: reference,
|
|
7815
7828
|
id,
|
|
@@ -7840,7 +7853,7 @@ var contact = strictObject({
|
|
|
7840
7853
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7841
7854
|
});
|
|
7842
7855
|
|
|
7843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7856
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7844
7857
|
var WEIGHTS = {
|
|
7845
7858
|
bot: 3,
|
|
7846
7859
|
scam: 3,
|
|
@@ -7865,7 +7878,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7865
7878
|
var DIGITS = /\d{5,}/;
|
|
7866
7879
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7867
7880
|
|
|
7868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7869
7882
|
var linkedIdentity = strictObject({
|
|
7870
7883
|
provider: text,
|
|
7871
7884
|
id,
|
|
@@ -7906,7 +7919,7 @@ var contactCheck = strictObject({
|
|
|
7906
7919
|
checked_at: time
|
|
7907
7920
|
});
|
|
7908
7921
|
|
|
7909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7910
7923
|
var quoted = strictObject({
|
|
7911
7924
|
id,
|
|
7912
7925
|
sender_id: nullable(id),
|
|
@@ -8025,7 +8038,7 @@ var message = strictObject({
|
|
|
8025
8038
|
provider_metadata: providerMetadata
|
|
8026
8039
|
});
|
|
8027
8040
|
|
|
8028
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8029
8042
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8030
8043
|
var contextMessage = strictObject({
|
|
8031
8044
|
locator: reference,
|
|
@@ -8223,7 +8236,7 @@ var contactPreparation = strictObject({
|
|
|
8223
8236
|
})
|
|
8224
8237
|
});
|
|
8225
8238
|
|
|
8226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8239
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8227
8240
|
var contactNote = strictObject({
|
|
8228
8241
|
id,
|
|
8229
8242
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8235,13 +8248,13 @@ var contactNote = strictObject({
|
|
|
8235
8248
|
updated_at: time
|
|
8236
8249
|
});
|
|
8237
8250
|
|
|
8238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8239
8252
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8240
8253
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8241
8254
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8242
8255
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
8243
8256
|
|
|
8244
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8245
8258
|
var conversation = strictObject({
|
|
8246
8259
|
id,
|
|
8247
8260
|
chat: reference,
|
|
@@ -8256,7 +8269,7 @@ var conversation = strictObject({
|
|
|
8256
8269
|
rules_version: count2
|
|
8257
8270
|
});
|
|
8258
8271
|
|
|
8259
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8260
8273
|
var conversationBuild = strictObject({
|
|
8261
8274
|
chat: id,
|
|
8262
8275
|
messages: count2,
|
|
@@ -8281,7 +8294,7 @@ var catchUpPreparation = strictObject({
|
|
|
8281
8294
|
prepared: optional(conversationPreparation)
|
|
8282
8295
|
});
|
|
8283
8296
|
|
|
8284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8285
8298
|
var conversationDetails = union([
|
|
8286
8299
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8287
8300
|
message
|
|
@@ -8371,7 +8384,7 @@ var conversationHit = strictObject({
|
|
|
8371
8384
|
stale: boolean()
|
|
8372
8385
|
});
|
|
8373
8386
|
|
|
8374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8375
8388
|
var counters = strictObject({
|
|
8376
8389
|
cutoff: time,
|
|
8377
8390
|
max_age_ms: milliseconds,
|
|
@@ -8401,7 +8414,7 @@ var counterRefresh = strictObject({
|
|
|
8401
8414
|
complete: optional(boolean())
|
|
8402
8415
|
});
|
|
8403
8416
|
|
|
8404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8405
8418
|
var document = strictObject({
|
|
8406
8419
|
ref: reference,
|
|
8407
8420
|
id,
|
|
@@ -8416,7 +8429,7 @@ var document = strictObject({
|
|
|
8416
8429
|
owners: optional(array(text))
|
|
8417
8430
|
});
|
|
8418
8431
|
|
|
8419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8420
8433
|
var documentLink = strictObject({
|
|
8421
8434
|
ref: reference,
|
|
8422
8435
|
url: text,
|
|
@@ -8427,7 +8440,7 @@ var documentLink = strictObject({
|
|
|
8427
8440
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8428
8441
|
});
|
|
8429
8442
|
|
|
8430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8431
8444
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8432
8445
|
var contribution = strictObject({
|
|
8433
8446
|
message: evidenceMessage,
|
|
@@ -8457,7 +8470,7 @@ var retentionStay = strictObject({
|
|
|
8457
8470
|
});
|
|
8458
8471
|
var evidence = union([contribution, retentionStay]);
|
|
8459
8472
|
|
|
8460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8461
8474
|
var fact = strictObject({
|
|
8462
8475
|
ref: reference,
|
|
8463
8476
|
id,
|
|
@@ -8487,7 +8500,7 @@ var fact = strictObject({
|
|
|
8487
8500
|
updated_at: time
|
|
8488
8501
|
});
|
|
8489
8502
|
|
|
8490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8491
8504
|
var hit = strictObject({
|
|
8492
8505
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8493
8506
|
ref: reference,
|
|
@@ -8525,7 +8538,7 @@ var hit = strictObject({
|
|
|
8525
8538
|
untrusted
|
|
8526
8539
|
});
|
|
8527
8540
|
|
|
8528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8541
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8529
8542
|
var identity = strictObject({
|
|
8530
8543
|
ref: reference,
|
|
8531
8544
|
provider: text,
|
|
@@ -8538,7 +8551,7 @@ var identity = strictObject({
|
|
|
8538
8551
|
person: optional(nullable(reference))
|
|
8539
8552
|
});
|
|
8540
8553
|
|
|
8541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8542
8555
|
var imageEmbedding = strictObject({
|
|
8543
8556
|
model: text,
|
|
8544
8557
|
embedded: count2,
|
|
@@ -8547,13 +8560,13 @@ var imageEmbedding = strictObject({
|
|
|
8547
8560
|
more: boolean()
|
|
8548
8561
|
});
|
|
8549
8562
|
|
|
8550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8551
8564
|
import { spawn } from "node:child_process";
|
|
8552
8565
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8553
8566
|
import { closeSync, existsSync as existsSync4, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8554
8567
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8555
8568
|
|
|
8556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8557
8570
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8558
8571
|
const total = input.total ?? null;
|
|
8559
8572
|
const updated = input.updatedAt ?? null;
|
|
@@ -8569,7 +8582,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8569
8582
|
};
|
|
8570
8583
|
}, "progressOf");
|
|
8571
8584
|
|
|
8572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8573
8586
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8574
8587
|
const run = currentRun();
|
|
8575
8588
|
const trace = traceId ?? run.traceId;
|
|
@@ -8583,7 +8596,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8583
8596
|
}));
|
|
8584
8597
|
}, "recordLogFor");
|
|
8585
8598
|
|
|
8586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8587
8600
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8588
8601
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8589
8602
|
const out = openSync(log, "a", 384);
|
|
@@ -8738,7 +8751,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8738
8751
|
return { job: id6, pid, chat: input.chat, log };
|
|
8739
8752
|
}, "startArchiveJob");
|
|
8740
8753
|
|
|
8741
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8742
8755
|
var problem = strictObject({ code: text, message: text });
|
|
8743
8756
|
var job = strictObject({
|
|
8744
8757
|
id,
|
|
@@ -8761,7 +8774,7 @@ var job = strictObject({
|
|
|
8761
8774
|
error: optional(problem)
|
|
8762
8775
|
});
|
|
8763
8776
|
|
|
8764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8777
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8765
8778
|
var joinRequest = strictObject({
|
|
8766
8779
|
person_id: id,
|
|
8767
8780
|
name: nullable(text),
|
|
@@ -8772,7 +8785,7 @@ var joinRequest = strictObject({
|
|
|
8772
8785
|
about: optional(text)
|
|
8773
8786
|
});
|
|
8774
8787
|
|
|
8775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
8776
8789
|
var organization = strictObject({
|
|
8777
8790
|
id,
|
|
8778
8791
|
ref: reference,
|
|
@@ -8802,7 +8815,7 @@ var reminder = strictObject({
|
|
|
8802
8815
|
receipt: nullable(text)
|
|
8803
8816
|
});
|
|
8804
8817
|
|
|
8805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8806
8819
|
var botProfile = strictObject({
|
|
8807
8820
|
name: text,
|
|
8808
8821
|
token: text,
|
|
@@ -8870,7 +8883,7 @@ var stickerInventory = strictObject({
|
|
|
8870
8883
|
url: optional(nullable(text))
|
|
8871
8884
|
});
|
|
8872
8885
|
|
|
8873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8874
8887
|
var pollVote = strictObject({
|
|
8875
8888
|
person_id: id,
|
|
8876
8889
|
name: nullable(text),
|
|
@@ -8880,7 +8893,7 @@ var pollVote = strictObject({
|
|
|
8880
8893
|
voted_at: time
|
|
8881
8894
|
});
|
|
8882
8895
|
|
|
8883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8884
8897
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8885
8898
|
var observation = strictObject({
|
|
8886
8899
|
value: pipe(number(), minValue(0)),
|
|
@@ -8922,7 +8935,22 @@ var serveSummary = strictObject({
|
|
|
8922
8935
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
8923
8936
|
});
|
|
8924
8937
|
|
|
8925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8939
|
+
var mailCounts = strictObject({
|
|
8940
|
+
by: picklist(["day", "week", "sender"]),
|
|
8941
|
+
received: count2,
|
|
8942
|
+
sent: count2,
|
|
8943
|
+
rows: array(strictObject({
|
|
8944
|
+
/** `YYYY-MM-DD`, or the sender's address. */
|
|
8945
|
+
key: text,
|
|
8946
|
+
name: nullable(text),
|
|
8947
|
+
received: count2,
|
|
8948
|
+
/** Always 0 by sender: the owner sends that mail. */
|
|
8949
|
+
sent: count2
|
|
8950
|
+
}))
|
|
8951
|
+
});
|
|
8952
|
+
|
|
8953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8926
8954
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8927
8955
|
var base = { id, evidence: array(evidence2) };
|
|
8928
8956
|
var finding = variant("kind", [
|
|
@@ -8988,7 +9016,7 @@ var mailFindings = strictObject({
|
|
|
8988
9016
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
8989
9017
|
});
|
|
8990
9018
|
|
|
8991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8992
9020
|
var mediaArchive = strictObject({
|
|
8993
9021
|
directory: text,
|
|
8994
9022
|
chats: count2,
|
|
@@ -9020,7 +9048,7 @@ var mediaArchiveTimer = union([
|
|
|
9020
9048
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9021
9049
|
]);
|
|
9022
9050
|
|
|
9023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9024
9052
|
var preparationId = pipe(string(), minLength(1));
|
|
9025
9053
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9026
9054
|
var preparationTime = nullable(isoTime);
|
|
@@ -9112,7 +9140,7 @@ var preparationMeeting = strictObject({
|
|
|
9112
9140
|
updated_at: isoTime
|
|
9113
9141
|
});
|
|
9114
9142
|
|
|
9115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9116
9144
|
var meetingEvidence = preparationEvidence;
|
|
9117
9145
|
var meetingPersonContext = strictObject({
|
|
9118
9146
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9134,7 +9162,7 @@ var meetingPersonContext = strictObject({
|
|
|
9134
9162
|
})
|
|
9135
9163
|
});
|
|
9136
9164
|
|
|
9137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9138
9166
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9139
9167
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9140
9168
|
var finding2 = variant("kind", [
|
|
@@ -9172,7 +9200,7 @@ var meetingFindings = strictObject({
|
|
|
9172
9200
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9173
9201
|
});
|
|
9174
9202
|
|
|
9175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9176
9204
|
var communicationCoverage = strictObject({
|
|
9177
9205
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9178
9206
|
query: string(),
|
|
@@ -9217,7 +9245,7 @@ var preparationCommunications = strictObject({
|
|
|
9217
9245
|
}))
|
|
9218
9246
|
});
|
|
9219
9247
|
|
|
9220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9221
9249
|
var meetingPreparation = strictObject({
|
|
9222
9250
|
communications: optional(preparationCommunications),
|
|
9223
9251
|
schema_version: literal(1),
|
|
@@ -9330,7 +9358,7 @@ var meetingPreparation = strictObject({
|
|
|
9330
9358
|
})
|
|
9331
9359
|
});
|
|
9332
9360
|
|
|
9333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9334
9362
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9335
9363
|
var id3 = pipe(string(), minLength(1));
|
|
9336
9364
|
var text3 = string();
|
|
@@ -9394,7 +9422,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9394
9422
|
})
|
|
9395
9423
|
});
|
|
9396
9424
|
|
|
9397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9398
9426
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9399
9427
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9400
9428
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9424,7 +9452,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9424
9452
|
})
|
|
9425
9453
|
});
|
|
9426
9454
|
|
|
9427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9455
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9428
9456
|
var text4 = string();
|
|
9429
9457
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9430
9458
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9441,7 +9469,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9441
9469
|
persistence: literal("proposal-only")
|
|
9442
9470
|
});
|
|
9443
9471
|
|
|
9444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9445
9473
|
var memory = strictObject({
|
|
9446
9474
|
ref: reference,
|
|
9447
9475
|
id,
|
|
@@ -9468,7 +9496,7 @@ var memory = strictObject({
|
|
|
9468
9496
|
updated_at: time
|
|
9469
9497
|
});
|
|
9470
9498
|
|
|
9471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9499
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9472
9500
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9473
9501
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9474
9502
|
var mention = strictObject({
|
|
@@ -9511,13 +9539,13 @@ var mentionRebuild = strictObject({
|
|
|
9511
9539
|
mentions: count2
|
|
9512
9540
|
});
|
|
9513
9541
|
|
|
9514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9515
9543
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9516
9544
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9517
9545
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9518
9546
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9519
9547
|
|
|
9520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9521
9549
|
var messageTranscript = strictObject({
|
|
9522
9550
|
message_id: id,
|
|
9523
9551
|
text,
|
|
@@ -9575,7 +9603,7 @@ var evidencePacket = strictObject({
|
|
|
9575
9603
|
}))
|
|
9576
9604
|
});
|
|
9577
9605
|
|
|
9578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9579
9607
|
var messageThread = strictObject({
|
|
9580
9608
|
ref: reference,
|
|
9581
9609
|
chat: id,
|
|
@@ -9592,7 +9620,7 @@ var messageThread = strictObject({
|
|
|
9592
9620
|
});
|
|
9593
9621
|
var messageContext = union([message, messageThread]);
|
|
9594
9622
|
|
|
9595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9596
9624
|
var messageCounts = strictObject({
|
|
9597
9625
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9598
9626
|
total: count2,
|
|
@@ -9605,7 +9633,7 @@ var messageCounts = strictObject({
|
|
|
9605
9633
|
}))
|
|
9606
9634
|
});
|
|
9607
9635
|
|
|
9608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9609
9637
|
var messageLink = strictObject({
|
|
9610
9638
|
ref: reference,
|
|
9611
9639
|
url: nullable(text),
|
|
@@ -9622,7 +9650,7 @@ var messageLink = strictObject({
|
|
|
9622
9650
|
})))
|
|
9623
9651
|
});
|
|
9624
9652
|
|
|
9625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9626
9654
|
var savedMessageFile = strictObject({
|
|
9627
9655
|
kind: text,
|
|
9628
9656
|
path: text,
|
|
@@ -9709,7 +9737,7 @@ var messageSyncAll = strictObject({
|
|
|
9709
9737
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9710
9738
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9711
9739
|
|
|
9712
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9713
9741
|
var messageWrite = strictObject({
|
|
9714
9742
|
operation_id: id,
|
|
9715
9743
|
message,
|
|
@@ -9724,7 +9752,7 @@ var draftWrite = strictObject({
|
|
|
9724
9752
|
});
|
|
9725
9753
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9726
9754
|
|
|
9727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9728
9756
|
var model2 = strictObject({
|
|
9729
9757
|
id,
|
|
9730
9758
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9741,7 +9769,7 @@ var model2 = strictObject({
|
|
|
9741
9769
|
path: text
|
|
9742
9770
|
});
|
|
9743
9771
|
|
|
9744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9772
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9745
9773
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9746
9774
|
var modelKey = strictObject({
|
|
9747
9775
|
provider: text,
|
|
@@ -9751,7 +9779,7 @@ var modelKey = strictObject({
|
|
|
9751
9779
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9752
9780
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9753
9781
|
|
|
9754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9755
9783
|
var link = {
|
|
9756
9784
|
target_text: nullable(text),
|
|
9757
9785
|
kind: text,
|
|
@@ -9792,7 +9820,7 @@ var note = strictObject({
|
|
|
9792
9820
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
9793
9821
|
});
|
|
9794
9822
|
|
|
9795
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9796
9824
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9797
9825
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9798
9826
|
var graph = strictObject({
|
|
@@ -9826,14 +9854,14 @@ var officialStats = strictObject({
|
|
|
9826
9854
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9827
9855
|
});
|
|
9828
9856
|
|
|
9829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9830
9858
|
var person2 = strictObject({
|
|
9831
9859
|
ref: reference,
|
|
9832
9860
|
name: nullable(text),
|
|
9833
9861
|
identities: optional(array(identity))
|
|
9834
9862
|
});
|
|
9835
9863
|
|
|
9836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9837
9865
|
var poll = strictObject({
|
|
9838
9866
|
chat_id: id,
|
|
9839
9867
|
message_id: id,
|
|
@@ -9849,11 +9877,11 @@ var poll = strictObject({
|
|
|
9849
9877
|
});
|
|
9850
9878
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9851
9879
|
|
|
9852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9853
9881
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9854
9882
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9855
9883
|
|
|
9856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9857
9885
|
var figures = record(string(), number());
|
|
9858
9886
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9859
9887
|
var rankingRow = strictObject({
|
|
@@ -9900,7 +9928,7 @@ var ranking = strictObject({
|
|
|
9900
9928
|
rows: array(rankingRow)
|
|
9901
9929
|
});
|
|
9902
9930
|
|
|
9903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9904
9932
|
var reaction = strictObject({
|
|
9905
9933
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9906
9934
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9908,7 +9936,7 @@ var reaction = strictObject({
|
|
|
9908
9936
|
reacted_at: time
|
|
9909
9937
|
});
|
|
9910
9938
|
|
|
9911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9912
9940
|
var reactionChange = strictObject({
|
|
9913
9941
|
operation_id: id,
|
|
9914
9942
|
chat_id: id,
|
|
@@ -9916,7 +9944,7 @@ var reactionChange = strictObject({
|
|
|
9916
9944
|
reaction: nullable(text)
|
|
9917
9945
|
});
|
|
9918
9946
|
|
|
9919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9920
9948
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9921
9949
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9922
9950
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9927,7 +9955,7 @@ var recipientChange = strictObject({
|
|
|
9927
9955
|
...partial(recipientOff).entries
|
|
9928
9956
|
});
|
|
9929
9957
|
|
|
9930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9931
9959
|
var events = array(record(string(), unknown()));
|
|
9932
9960
|
var recordedRun = strictObject({
|
|
9933
9961
|
run_id: id,
|
|
@@ -9999,7 +10027,7 @@ var runHit = strictObject({
|
|
|
9999
10027
|
});
|
|
10000
10028
|
var runLocation = strictObject({ path: text });
|
|
10001
10029
|
|
|
10002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10003
10031
|
var relationship = strictObject({
|
|
10004
10032
|
id,
|
|
10005
10033
|
from: reference,
|
|
@@ -10016,7 +10044,7 @@ var relationship = strictObject({
|
|
|
10016
10044
|
created_at: time
|
|
10017
10045
|
});
|
|
10018
10046
|
|
|
10019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10020
10048
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10021
10049
|
var figures2 = { replies: count2, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10022
10050
|
var responseTimes = strictObject({
|
|
@@ -10033,7 +10061,7 @@ var waitingChats = strictObject({
|
|
|
10033
10061
|
by_kind: strictObject({ private: count2, group: count2 })
|
|
10034
10062
|
});
|
|
10035
10063
|
|
|
10036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10037
10065
|
var retentionCohort = strictObject({
|
|
10038
10066
|
/** The first day of the joining day or week. */
|
|
10039
10067
|
cohort: text,
|
|
@@ -10081,7 +10109,7 @@ var retention = strictObject({
|
|
|
10081
10109
|
rows: array(retentionCohort)
|
|
10082
10110
|
});
|
|
10083
10111
|
|
|
10084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10085
10113
|
var savedSearch = strictObject({
|
|
10086
10114
|
id,
|
|
10087
10115
|
/** `null` for a run in the history. */
|
|
@@ -10098,7 +10126,7 @@ var savedSearch = strictObject({
|
|
|
10098
10126
|
});
|
|
10099
10127
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
10100
10128
|
|
|
10101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10102
10130
|
var sendAttempt = strictObject({
|
|
10103
10131
|
at: time,
|
|
10104
10132
|
profile: text,
|
|
@@ -10126,7 +10154,7 @@ var sendAttempt = strictObject({
|
|
|
10126
10154
|
error_code: optional(text)
|
|
10127
10155
|
});
|
|
10128
10156
|
|
|
10129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10130
10158
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10131
10159
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
10132
10160
|
var infoSchema = strictObject({
|
|
@@ -10334,7 +10362,7 @@ var storeRepair = union([
|
|
|
10334
10362
|
]);
|
|
10335
10363
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
10336
10364
|
|
|
10337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10338
10366
|
var range = strictObject({ from: number(), to: number() });
|
|
10339
10367
|
var storeChatStatus = strictObject({
|
|
10340
10368
|
chat_id: id,
|
|
@@ -10346,6 +10374,13 @@ var storeChatStatus = strictObject({
|
|
|
10346
10374
|
last_stored_at: nullable(time),
|
|
10347
10375
|
held: array(range)
|
|
10348
10376
|
});
|
|
10377
|
+
var chatCoverage = strictObject({
|
|
10378
|
+
chats: count2,
|
|
10379
|
+
fetched: count2,
|
|
10380
|
+
partial: count2,
|
|
10381
|
+
never: count2,
|
|
10382
|
+
oldest_message_at: nullable(time)
|
|
10383
|
+
});
|
|
10349
10384
|
var storeClear = strictObject({
|
|
10350
10385
|
cleared: boolean(),
|
|
10351
10386
|
dry_run: optional(literal(true)),
|
|
@@ -10425,7 +10460,7 @@ var storeJobRetry = union([
|
|
|
10425
10460
|
]);
|
|
10426
10461
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10427
10462
|
|
|
10428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10463
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10429
10464
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10430
10465
|
var storeTable = strictObject({
|
|
10431
10466
|
name: text,
|
|
@@ -10434,7 +10469,7 @@ var storeTable = strictObject({
|
|
|
10434
10469
|
bytes: optional(nullable(count2))
|
|
10435
10470
|
});
|
|
10436
10471
|
|
|
10437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10438
10473
|
var tagTarget = variant("type", [
|
|
10439
10474
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10440
10475
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10465,7 +10500,7 @@ var automaticTags = strictObject({
|
|
|
10465
10500
|
dry_run: boolean()
|
|
10466
10501
|
});
|
|
10467
10502
|
|
|
10468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10469
10504
|
var tagging = strictObject({
|
|
10470
10505
|
tag: text,
|
|
10471
10506
|
type: picklist(TAG_TYPES),
|
|
@@ -10478,7 +10513,7 @@ var tagging = strictObject({
|
|
|
10478
10513
|
created_at: time
|
|
10479
10514
|
});
|
|
10480
10515
|
|
|
10481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10482
10517
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10483
10518
|
var taskPair = strictObject({
|
|
10484
10519
|
task: nullable(side),
|
|
@@ -10501,7 +10536,7 @@ var taskPair = strictObject({
|
|
|
10501
10536
|
created_at: time
|
|
10502
10537
|
});
|
|
10503
10538
|
|
|
10504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10505
10540
|
var nullableTime = nullable(time);
|
|
10506
10541
|
var link2 = strictObject({
|
|
10507
10542
|
id,
|
|
@@ -10671,7 +10706,7 @@ var taskReview = strictObject({
|
|
|
10671
10706
|
untrusted
|
|
10672
10707
|
});
|
|
10673
10708
|
|
|
10674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10675
10710
|
var topic = strictObject({
|
|
10676
10711
|
id,
|
|
10677
10712
|
title: text,
|
|
@@ -10685,7 +10720,7 @@ var topic = strictObject({
|
|
|
10685
10720
|
untrusted
|
|
10686
10721
|
});
|
|
10687
10722
|
|
|
10688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10689
10724
|
var ENTITIES = {
|
|
10690
10725
|
sync_progress: progress,
|
|
10691
10726
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -10715,19 +10750,22 @@ var ENTITIES = {
|
|
|
10715
10750
|
attachments: optional(array(hitFile)),
|
|
10716
10751
|
untrusted
|
|
10717
10752
|
}),
|
|
10718
|
-
"message.summary":
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10753
|
+
"message.summary": strictObject({
|
|
10754
|
+
...pick(message, [
|
|
10755
|
+
"ref",
|
|
10756
|
+
"chat_id",
|
|
10757
|
+
"chat_title",
|
|
10758
|
+
"timestamp",
|
|
10759
|
+
"sender_name",
|
|
10760
|
+
"sender_is_me",
|
|
10761
|
+
"outgoing",
|
|
10762
|
+
"text",
|
|
10763
|
+
"transcript",
|
|
10764
|
+
"attachments",
|
|
10765
|
+
"email"
|
|
10766
|
+
]).entries,
|
|
10767
|
+
untrusted
|
|
10768
|
+
}),
|
|
10731
10769
|
message_link: messageLink,
|
|
10732
10770
|
message_write: messageWrite,
|
|
10733
10771
|
message_send: messageSend,
|
|
@@ -10846,6 +10884,7 @@ var ENTITIES = {
|
|
|
10846
10884
|
meeting_review: meetingReview,
|
|
10847
10885
|
meeting_link: meetingLink,
|
|
10848
10886
|
meeting_stats: meetingStats,
|
|
10887
|
+
meeting_counts: meetingCounts,
|
|
10849
10888
|
meeting_speaker: meetingSpeaker,
|
|
10850
10889
|
meeting_participants: meetingParticipants,
|
|
10851
10890
|
meeting_passage: meetingPassage,
|
|
@@ -10883,6 +10922,7 @@ var ENTITIES = {
|
|
|
10883
10922
|
job,
|
|
10884
10923
|
store_chat_status: storeChatStatus,
|
|
10885
10924
|
store_clear: storeClear,
|
|
10925
|
+
chat_coverage: chatCoverage,
|
|
10886
10926
|
store_export: storeExport,
|
|
10887
10927
|
store_gap_plan: storeGapPlan,
|
|
10888
10928
|
store_gap_repair: storeGapRepair,
|
|
@@ -10940,6 +10980,7 @@ var ENTITIES = {
|
|
|
10940
10980
|
message_counts: messageCounts,
|
|
10941
10981
|
response_times: responseTimes,
|
|
10942
10982
|
waiting_chats: waitingChats,
|
|
10983
|
+
mail_counts: mailCounts,
|
|
10943
10984
|
ranking,
|
|
10944
10985
|
admin_report: adminReport,
|
|
10945
10986
|
analysis_consent: analysisConsent,
|
|
@@ -10961,7 +11002,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10961
11002
|
return [name, definition];
|
|
10962
11003
|
})), "entityDefinitions");
|
|
10963
11004
|
|
|
10964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10965
11006
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10966
11007
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10967
11008
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10995,7 +11036,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10995
11036
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10996
11037
|
}, "answerRow");
|
|
10997
11038
|
|
|
10998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10999
11040
|
import { join as join5 } from "node:path";
|
|
11000
11041
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11001
11042
|
var IMAGE_MODELS = [
|
|
@@ -11049,7 +11090,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11049
11090
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11050
11091
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11051
11092
|
|
|
11052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11053
11094
|
var STEPS2 = defineSteps([
|
|
11054
11095
|
...STEPS,
|
|
11055
11096
|
{
|
|
@@ -11321,7 +11362,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11321
11362
|
].join(" ");
|
|
11322
11363
|
}, "stepLine");
|
|
11323
11364
|
|
|
11324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11325
11366
|
var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
|
|
11326
11367
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11327
11368
|
var STATUS_SIGNAL_ROWS = {
|
|
@@ -11430,7 +11471,7 @@ var STATUS_ROWS = {
|
|
|
11430
11471
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11431
11472
|
};
|
|
11432
11473
|
|
|
11433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11434
11475
|
var TEXT_CHARS = 400;
|
|
11435
11476
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11436
11477
|
var messageRow = {
|
|
@@ -11583,10 +11624,10 @@ var clockFor = /* @__PURE__ */ __name((zone) => {
|
|
|
11583
11624
|
return {
|
|
11584
11625
|
zone,
|
|
11585
11626
|
parts: /* @__PURE__ */ __name((iso) => {
|
|
11586
|
-
const
|
|
11587
|
-
if (Number.isNaN(
|
|
11627
|
+
const ms2 = Date.parse(iso);
|
|
11628
|
+
if (Number.isNaN(ms2))
|
|
11588
11629
|
return void 0;
|
|
11589
|
-
const part = Object.fromEntries(format.formatToParts(
|
|
11630
|
+
const part = Object.fromEntries(format.formatToParts(ms2).map(({ type, value }) => [type, value]));
|
|
11590
11631
|
return { date: `${part.year}-${part.month}-${part.day}`, time: `${part.hour}:${part.minute}` };
|
|
11591
11632
|
}, "parts")
|
|
11592
11633
|
};
|
|
@@ -11766,7 +11807,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11766
11807
|
return lines.concat(footerOf(body)).join("\n");
|
|
11767
11808
|
}, "compactText");
|
|
11768
11809
|
|
|
11769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11770
11811
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11771
11812
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11772
11813
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11813,7 +11854,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11813
11854
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11814
11855
|
}, "largeAnswerSteps");
|
|
11815
11856
|
|
|
11816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11817
11858
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11818
11859
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11819
11860
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11827,7 +11868,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11827
11868
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11828
11869
|
}, "strip");
|
|
11829
11870
|
|
|
11830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11831
11872
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11832
11873
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11833
11874
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|