@wirecat/cli-memo 0.131.22 → 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-EZLU6CY7.js → all-profiles-ZCJTYGOL.js} +7 -7
- package/dist/bundle/{anthropic-XC34PJH5.js → anthropic-7WVLAKTX.js} +5 -5
- package/dist/bundle/{app-server-PRQVGA5X.js → app-server-6G3SXEHO.js} +38 -38
- package/dist/bundle/auto-JWPM5654.js +86 -0
- package/dist/bundle/{bun-CKGKUKW5.js → bun-JVBDJKBB.js} +2 -2
- package/dist/bundle/{bun-sqlite-S6KUSMTC.js → bun-sqlite-P4I7NVMQ.js} +4 -4
- package/dist/bundle/{chunk-7F6FGMCC.js → chunk-2IRCJT4O.js} +7 -7
- package/dist/bundle/{chunk-SO2YVKBK.js → chunk-3KNXQZMO.js} +28 -28
- package/dist/bundle/{chunk-WEOFWTWZ.js → chunk-3MER7NE6.js} +3 -3
- package/dist/bundle/{chunk-DNGHE2Q4.js → chunk-3U7OUQV2.js} +1 -1
- package/dist/bundle/{chunk-AIIQ7YU4.js → chunk-5YCNCXL5.js} +1 -1
- package/dist/bundle/{chunk-2NJUPIAO.js → chunk-AIGMYGEL.js} +1 -1
- package/dist/bundle/{chunk-7W3RCCRR.js → chunk-AIVUS6WA.js} +10 -10
- package/dist/bundle/{chunk-KUNA6MQZ.js → chunk-ALGIPJ6L.js} +1 -1
- package/dist/bundle/{chunk-IFWBFYXN.js → chunk-AWGV4VOA.js} +11 -11
- package/dist/bundle/{chunk-QMMUPDRK.js → chunk-BTQSFPIM.js} +4 -4
- package/dist/bundle/{chunk-SMDWUPXE.js → chunk-CM2H7NRC.js} +3 -3
- package/dist/bundle/{chunk-CBYZW5CC.js → chunk-CPJEQK4V.js} +45 -45
- package/dist/bundle/{chunk-ILC7NFS2.js → chunk-DIMX5AEE.js} +4 -4
- package/dist/bundle/{program-ZIRYOO2T.js → chunk-DMQ3342A.js} +881 -11256
- package/dist/bundle/{chunk-VQM3H422.js → chunk-EACY2ULS.js} +428 -204
- package/dist/bundle/{chunk-IRDGD3QQ.js → chunk-EB7LKK4K.js} +1 -1
- package/dist/bundle/{chunk-XA6YO24S.js → chunk-EGG3PGCM.js} +1 -1
- package/dist/bundle/{chunk-J35OGOCI.js → chunk-EKTZEF3Q.js} +2 -2
- package/dist/bundle/{chunk-SXGAIQ5X.js → chunk-ELKYINWL.js} +12 -12
- package/dist/bundle/{chunk-VECICKTE.js → chunk-F2ED6KG6.js} +2 -2
- package/dist/bundle/{chunk-RG6ITTLQ.js → chunk-FXHN2UZW.js} +19 -14
- package/dist/bundle/{chunk-YAUDFROV.js → chunk-GQOXFZBX.js} +673 -371
- package/dist/bundle/{chunk-PF3ALSAV.js → chunk-GRXVN2X7.js} +1 -1
- package/dist/bundle/{chunk-6JOT5KWM.js → chunk-GSEDSGJF.js} +358 -266
- package/dist/bundle/{chunk-XPRYBLTS.js → chunk-IC2TL7RW.js} +2 -2
- package/dist/bundle/{chunk-MHDLZCEO.js → chunk-IJC6MFLP.js} +8 -8
- package/dist/bundle/{chunk-CCOYC6HL.js → chunk-INTF3YPV.js} +2 -2
- package/dist/bundle/{chunk-WUCQ56RP.js → chunk-ITQBXFMC.js} +2 -2
- package/dist/bundle/{chunk-ZKWE5MCA.js → chunk-J6D34BFP.js} +803 -351
- package/dist/bundle/{chunk-3V4WIGWC.js → chunk-JCCL7RGH.js} +2 -2
- package/dist/bundle/{chunk-VDBFSLHP.js → chunk-JDDVGGUV.js} +5 -5
- package/dist/bundle/{chunk-EG2OMKWH.js → chunk-JY4LVWGZ.js} +12 -0
- package/dist/bundle/{chunk-RNXYDBQO.js → chunk-KQSHIQSV.js} +134 -59
- package/dist/bundle/{chunk-KXERKAID.js → chunk-LNXFM4FD.js} +13 -13
- package/dist/bundle/{chunk-RHJC4PHV.js → chunk-LWIMGWKB.js} +3 -3
- package/dist/bundle/{chunk-ZD3STMY7.js → chunk-M43DAAZ7.js} +1 -1
- package/dist/bundle/{chunk-5UOOH7VG.js → chunk-MLMSQK76.js} +1 -1
- package/dist/bundle/{chunk-LGNS4JVK.js → chunk-MPVW7BQZ.js} +5 -5
- package/dist/bundle/{chunk-HXRIV2TV.js → chunk-MROFZXAB.js} +63 -30
- package/dist/bundle/{chunk-UCINAEIA.js → chunk-N5H6I7WQ.js} +5 -5
- package/dist/bundle/{chunk-OJRLTJRS.js → chunk-NAH473ZR.js} +1 -1
- package/dist/bundle/{chunk-DZSWKA3K.js → chunk-ND3GBFEY.js} +1 -1
- package/dist/bundle/{chunk-7MLWSUEK.js → chunk-OQK2IKPB.js} +1 -1
- package/dist/bundle/{chunk-3B645KUY.js → chunk-Q6MFBH6Q.js} +9 -9
- package/dist/bundle/{chunk-BB2MGFOZ.js → chunk-R2LJDDZP.js} +3 -3
- package/dist/bundle/{chunk-NELE7AIX.js → chunk-R3LNQ3I4.js} +1 -1
- package/dist/bundle/{chunk-LR5EY5JY.js → chunk-RTESJ5O2.js} +3 -3
- package/dist/bundle/{chunk-5RBLNI6C.js → chunk-SKTGBVYC.js} +4 -4
- package/dist/bundle/{chunk-CDZZ2DZO.js → chunk-T4LW6UYQ.js} +1 -1
- package/dist/bundle/{chunk-RC7TIYUZ.js → chunk-UA2C4BCH.js} +8 -8
- package/dist/bundle/{chunk-2TBIVKBH.js → chunk-UPXUE27A.js} +5 -5
- package/dist/bundle/{chunk-OUF6RCRZ.js → chunk-UVR6U55E.js} +5 -5
- package/dist/bundle/{chunk-VXHN3SWW.js → chunk-UXCDBNAY.js} +2 -2
- package/dist/bundle/{chunk-MCPDL5YU.js → chunk-UY2VH3QK.js} +1 -1
- package/dist/bundle/{chunk-CP5N3KH3.js → chunk-VLPMB3UU.js} +4 -4
- package/dist/bundle/{chunk-UG2V7BQY.js → chunk-VVEFQEWP.js} +21 -21
- package/dist/bundle/{chunk-THGFFQCK.js → chunk-XF3LZ32F.js} +2 -2
- package/dist/bundle/{chunk-GV2FSWFS.js → chunk-XSI5NYGB.js} +7 -7
- package/dist/bundle/{chunk-4SGCOUQ6.js → chunk-ZDOVR4PA.js} +6 -6
- package/dist/bundle/{chunk-OFYKXQMS.js → chunk-ZLZE5P6M.js} +7 -7
- package/dist/bundle/{chunk-E5FQ7U7L.js → chunk-ZOYGY2PN.js} +2 -2
- package/dist/bundle/{command-contract-TMVGYSQQ.js → command-contract-543RRFNU.js} +13 -13
- package/dist/bundle/{decode-6XSZIZAA.js → decode-YHX3DQG2.js} +4 -4
- package/dist/bundle/{dispatch-VUMQPYMA.js → dispatch-MELZFYOS.js} +1 -1
- package/dist/bundle/{echarts-NGS4QG4E.js → echarts-FBVAP7BR.js} +2 -2
- package/dist/bundle/{embed-YNH5M6UL.js → embed-CQJ42S5C.js} +5 -5
- package/dist/bundle/{embedder-LLNK4JF4.js → embedder-EDXLEJ27.js} +8 -8
- package/dist/bundle/{entry-L42C5CHF.js → entry-HZEA7QFK.js} +6 -6
- package/dist/bundle/failure-62G7QSPX.js +66 -0
- package/dist/bundle/{failure-Z2FXWIBY.js → failure-RBNZBCZJ.js} +1 -1
- package/dist/bundle/{first-run-TT6KMHKA.js → first-run-JZQN7R6M.js} +8 -8
- package/dist/bundle/first-screen-56V3UOQE.js +30 -0
- package/dist/bundle/{instructions-4EJ4BBWD.js → instructions-NYVYNWVU.js} +1 -1
- package/dist/bundle/mcp-Y6IPYDS2.js +90 -0
- package/dist/bundle/memo.js +9 -9
- package/dist/bundle/{node-QQXKQWNC.js → node-2QE6UPGS.js} +2 -2
- package/dist/bundle/{node-sqlite-GJI2GMLW.js → node-sqlite-SDHZJNY7.js} +5 -5
- package/dist/bundle/{oauth-Q5VGUPUR.js → oauth-FFUJREKS.js} +6 -6
- package/dist/bundle/{open-NSXIYF3N.js → open-NT2GYX6N.js} +4 -4
- package/dist/bundle/{openai-LHH7MSGQ.js → openai-IQA2XR6Z.js} +9 -9
- package/dist/bundle/{process-PI6XUJWP.js → process-HIEJXYW6.js} +1 -1
- package/dist/bundle/program-DEMRKCZY.js +10972 -0
- package/dist/bundle/{prompt-VFXA7IKL.js → prompt-IOZAME2R.js} +4 -4
- package/dist/bundle/{recognize-UWAARXOH.js → recognize-2XOAZJ5N.js} +3 -3
- package/dist/bundle/{remote-KGEVCB2Q.js → remote-2LE7OTDA.js} +6 -6
- package/dist/bundle/{rerank-SCBTCBPO.js → rerank-UKOVVZM6.js} +6 -6
- package/dist/bundle/{serve-WPVKVR24.js → serve-S2UHPEBP.js} +8 -8
- package/dist/bundle/server-3YNOEPWU.js +61 -0
- package/dist/bundle/{server-VO5SXU5A.js → server-BG4WWQHY.js} +53 -53
- package/dist/bundle/server-EZWQ5KP4.js +48 -0
- package/dist/bundle/{setup-X6OJ3K4F.js → setup-2X7ADKFH.js} +42 -42
- package/dist/bundle/{state-KGHS4C6J.js → state-F5KT3CBD.js} +5 -5
- package/dist/bundle/{store-VCVOIQES.js → store-WBUUS7FO.js} +11 -11
- package/dist/bundle/store-maintenance-command-KLST56XF.js +48 -0
- package/dist/bundle/update-WH4CGJGP.js +69 -0
- package/dist/config-command.d.ts.map +1 -1
- package/dist/config-command.js +23 -2
- package/dist/config-command.js.map +1 -1
- package/dist/config.d.ts +11 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +50 -3
- package/dist/config.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +2 -0
- package/dist/examples.js.map +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +6 -0
- package/dist/mail/review-command.js.map +1 -1
- package/dist/review/kinds.js +2 -2
- package/dist/review/kinds.js.map +1 -1
- package/dist/tasks/command.js +2 -2
- package/dist/tasks/command.js.map +1 -1
- package/dist/tasks/tasks.d.ts +1 -1
- package/dist/tasks/tasks.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/auto-S3AYMAGB.js +0 -86
- package/dist/bundle/chunk-XW4KGSAA.js +0 -412
- package/dist/bundle/failure-TQJGSWRU.js +0 -66
- package/dist/bundle/first-screen-56KZKY77.js +0 -30
- package/dist/bundle/mcp-PNC3TI7O.js +0 -90
- package/dist/bundle/server-F2PSE6LG.js +0 -48
- package/dist/bundle/server-K5JYA3ZT.js +0 -61
- package/dist/bundle/store-maintenance-command-R4CP6AZN.js +0 -48
- package/dist/bundle/update-M6AIJ2SZ.js +0 -69
- /package/dist/bundle/{chunk-YYQN5ES2.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,
|
|
@@ -79,7 +80,7 @@ import {
|
|
|
79
80
|
saveConfigFile,
|
|
80
81
|
traceIdOf,
|
|
81
82
|
writeSecurely
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-T4LW6UYQ.js";
|
|
83
84
|
import {
|
|
84
85
|
COMPACT_FLAG,
|
|
85
86
|
EXIT_CODES,
|
|
@@ -134,7 +135,7 @@ import {
|
|
|
134
135
|
unwrap,
|
|
135
136
|
variant,
|
|
136
137
|
writes
|
|
137
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-JY4LVWGZ.js";
|
|
138
139
|
import {
|
|
139
140
|
CliError,
|
|
140
141
|
isCliError,
|
|
@@ -3931,11 +3932,11 @@ 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
|
-
var sentIds = /* @__PURE__ */ __name((
|
|
3937
|
+
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3937
3938
|
messageId: message2.id,
|
|
3938
|
-
...message2.chatId && message2.chatId !==
|
|
3939
|
+
...message2.chatId && message2.chatId !== typed2 ? { resultChatId: message2.chatId } : {}
|
|
3939
3940
|
}), "sentIds");
|
|
3940
3941
|
var current = new AsyncLocalStorage();
|
|
3941
3942
|
var writesInFlight = new AsyncLocalStorage();
|
|
@@ -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,40 @@ 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
|
|
6294
|
+
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6295
|
+
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6296
|
+
const path2 = key.split(".");
|
|
6297
|
+
const leaf = path2.pop();
|
|
6298
|
+
return { node: path2.reduce((node, part) => isNode2(node) ? node[part] : void 0, config), leaf };
|
|
6299
|
+
}, "parentOf");
|
|
6300
|
+
var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
6301
|
+
if (raw !== void 0 && !isNode2(raw))
|
|
6302
|
+
return { config: raw, added: [] };
|
|
6303
|
+
const config = raw === void 0 ? {} : structuredClone(raw);
|
|
6304
|
+
const added = [];
|
|
6305
|
+
for (const setting2 of declared) {
|
|
6306
|
+
const { node, leaf } = parentOf(config, setting2.key);
|
|
6307
|
+
if (!isNode2(node) || Object.hasOwn(node, leaf))
|
|
6308
|
+
continue;
|
|
6309
|
+
node[leaf] = setting2.default;
|
|
6310
|
+
added.push(setting2.key);
|
|
6311
|
+
}
|
|
6312
|
+
return { config, added };
|
|
6313
|
+
}, "withSettingDefaults");
|
|
6314
|
+
var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((setting2) => {
|
|
6315
|
+
const { node, leaf } = isNode2(raw) ? parentOf(raw, setting2.key) : { node: void 0, leaf: "" };
|
|
6316
|
+
const written = isNode2(node) && Object.hasOwn(node, leaf);
|
|
6317
|
+
return {
|
|
6318
|
+
setting: setting2.key,
|
|
6319
|
+
value: written ? node[leaf] : setting2.default,
|
|
6320
|
+
default: setting2.default,
|
|
6321
|
+
from: written ? "config file" : "default",
|
|
6322
|
+
description: setting2.description
|
|
6323
|
+
};
|
|
6324
|
+
}), "settingRows");
|
|
6325
|
+
|
|
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
|
|
6293
6327
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6294
6328
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6295
6329
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6359,6 +6393,65 @@ var SHARED_DEFAULTS_ONLY = {
|
|
|
6359
6393
|
update_check: optional(flag),
|
|
6360
6394
|
skill_hint: optional(flag)
|
|
6361
6395
|
};
|
|
6396
|
+
var SHARED_SETTINGS = [
|
|
6397
|
+
{ key: "limit", default: DEFAULT_LIMIT, description: "how many items a list shows at once" },
|
|
6398
|
+
{ key: "keep_runs_for_days", default: DEFAULT_KEEP_RUNS_FOR_DAYS, description: "days a run is kept" },
|
|
6399
|
+
{
|
|
6400
|
+
key: "sends_per_hour",
|
|
6401
|
+
default: DEFAULT_SENDS_PER_HOUR,
|
|
6402
|
+
description: "the most messages an account sends in an hour; a bot has none unless its section sets one"
|
|
6403
|
+
},
|
|
6404
|
+
{ key: "update_check", default: true, description: "check once a day for a newer version" },
|
|
6405
|
+
{
|
|
6406
|
+
key: "skill_hint",
|
|
6407
|
+
default: true,
|
|
6408
|
+
description: "tell an agent once a day that `skill install` would give it this tool's guide"
|
|
6409
|
+
},
|
|
6410
|
+
{ key: "record", default: true, description: "keep every run in runs list; false keeps failed runs only" },
|
|
6411
|
+
{
|
|
6412
|
+
key: "record_input",
|
|
6413
|
+
default: true,
|
|
6414
|
+
description: `keep what was typed in a run's command line: true, false, or "failed" for failed runs only`
|
|
6415
|
+
},
|
|
6416
|
+
{
|
|
6417
|
+
key: "keep_successful_runs_for_days",
|
|
6418
|
+
default: KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
6419
|
+
description: "days a successful run is kept"
|
|
6420
|
+
},
|
|
6421
|
+
{ key: "runs_size_limit_mb", default: RUNS_SIZE_LIMIT_MB, description: "the most megabytes all runs may take" },
|
|
6422
|
+
{ key: "sender_colors", default: false, description: "color each sender's name in a conversation" },
|
|
6423
|
+
{ key: "search_catch_up", default: false, description: "prepare local search after a gaps repair" },
|
|
6424
|
+
{
|
|
6425
|
+
key: "history_dialog_days",
|
|
6426
|
+
default: DEFAULT_HISTORY_LIMITS.dialogDays,
|
|
6427
|
+
description: "days of a one-to-one chat's pushed history the store keeps"
|
|
6428
|
+
},
|
|
6429
|
+
{
|
|
6430
|
+
key: "history_group_days",
|
|
6431
|
+
default: DEFAULT_HISTORY_LIMITS.groupDays,
|
|
6432
|
+
description: "days of a group's pushed history the store keeps"
|
|
6433
|
+
},
|
|
6434
|
+
{
|
|
6435
|
+
key: "history_group_members_max",
|
|
6436
|
+
default: DEFAULT_HISTORY_LIMITS.groupMembersMax,
|
|
6437
|
+
description: "a group with more people than this keeps no pushed history"
|
|
6438
|
+
},
|
|
6439
|
+
{
|
|
6440
|
+
key: "picture_search",
|
|
6441
|
+
default: false,
|
|
6442
|
+
description: "search and images embed read the pictures themselves, with a model on this computer"
|
|
6443
|
+
},
|
|
6444
|
+
{
|
|
6445
|
+
key: "search_reranker",
|
|
6446
|
+
default: DEFAULT_RERANK_MODEL,
|
|
6447
|
+
description: "the reranker that orders search's first hits, or off"
|
|
6448
|
+
},
|
|
6449
|
+
{
|
|
6450
|
+
key: "embedding_provider",
|
|
6451
|
+
default: AI_DEFAULTS.embeddingProvider,
|
|
6452
|
+
description: "local or openai: what turns text into vectors for search by meaning"
|
|
6453
|
+
}
|
|
6454
|
+
];
|
|
6362
6455
|
var NONE_NAMED = "none named";
|
|
6363
6456
|
var NO_PROFILE = "default";
|
|
6364
6457
|
var namedProfile = /* @__PURE__ */ __name((settings) => settings.sources?.profile === NONE_NAMED ? void 0 : settings.profile, "namedProfile");
|
|
@@ -6411,12 +6504,14 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
6411
6504
|
const defaultsOnlyKeys = Object.keys(defaultsOnly);
|
|
6412
6505
|
const botOnlyKeys = Object.keys(BOT_ONLY_ENTRIES);
|
|
6413
6506
|
const allSettings = [...Object.keys(profileEntries), ...botOnlyKeys, ...defaultsOnlyKeys].filter((setting2) => app.messenger !== false || !MESSENGER_ONLY_SETTINGS.includes(setting2) || app.sends === true && setting2 === "sends_per_hour");
|
|
6507
|
+
const readSchema = extension.schema ?? schema2;
|
|
6508
|
+
const declaredSettings = [...SHARED_SETTINGS, ...extension.settings ?? []].filter(({ key, default: value }) => allSettings.includes(key) && safeParse(readSchema, { defaults: { [key]: value } }).success).map((setting2) => ({ ...setting2, key: `defaults.${setting2.key}` }));
|
|
6509
|
+
const withDefaults = /* @__PURE__ */ __name((raw, except = []) => withSettingDefaults(isScope(raw) && !Object.hasOwn(raw, "defaults") ? { ...raw, defaults: {} } : raw, declaredSettings.filter(({ key }) => !except.includes(key))), "withDefaults");
|
|
6414
6510
|
const PROFILE = envName(app, "PROFILE");
|
|
6415
6511
|
const PROFILE_LOCK = envName(app, "PROFILE_LOCK");
|
|
6416
6512
|
const TIMEOUT = envName(app, "TIMEOUT");
|
|
6417
6513
|
const REQUESTS_PER_MINUTE = envName(app, "REQUESTS_PER_MINUTE");
|
|
6418
6514
|
const configPathFor = /* @__PURE__ */ __name(({ env = process.env, configDir }) => configFilePath(configDir ?? resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).config), "configPathFor");
|
|
6419
|
-
const readSchema = extension.schema ?? schema2;
|
|
6420
6515
|
const context2 = /* @__PURE__ */ __name((file) => ({ file, tool: app.command }), "context");
|
|
6421
6516
|
const loadConfig = /* @__PURE__ */ __name((path2) => {
|
|
6422
6517
|
const read = readConfigText(path2);
|
|
@@ -6452,7 +6547,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
6452
6547
|
const configPath = configPathFor(options);
|
|
6453
6548
|
try {
|
|
6454
6549
|
if (!options.readOnly)
|
|
6455
|
-
ensureDefaultConfig(configPath);
|
|
6550
|
+
ensureDefaultConfig(configPath, withDefaults(DEFAULT_CONFIG).config);
|
|
6456
6551
|
} catch (error) {
|
|
6457
6552
|
throw new CliError("configuration_error", error instanceof Error ? error.message : String(error));
|
|
6458
6553
|
}
|
|
@@ -6630,7 +6725,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
6630
6725
|
throw new CliError("validation_error", `${setting2} has no problem to remove \u2014 name the profile, or add --defaults, to unset a setting`);
|
|
6631
6726
|
if (!known && valueAt(raw, at2) === void 0)
|
|
6632
6727
|
throw new CliError("validation_error", `no setting called "${setting2}" \u2014 one of: ${allSettings.join(", ")}`);
|
|
6633
|
-
saveConfigFile(path2, withoutPath(raw, at2).config);
|
|
6728
|
+
saveConfigFile(path2, withDefaults(withoutPath(raw, at2).config, [at2.join(".")]).config);
|
|
6634
6729
|
return null;
|
|
6635
6730
|
}
|
|
6636
6731
|
if (!known)
|
|
@@ -6651,13 +6746,24 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
6651
6746
|
if (added)
|
|
6652
6747
|
throw new CliError("validation_error", `${setting2} cannot be "${value}": ${added.what}`);
|
|
6653
6748
|
const checked = safeParse(readSchema, changed);
|
|
6654
|
-
saveConfigFile(path2, checked.success ? checked.output : changed);
|
|
6749
|
+
saveConfigFile(path2, withDefaults(checked.success ? checked.output : changed).config);
|
|
6655
6750
|
return valueAt(checked.success ? checked.output : changed, at2) ?? null;
|
|
6656
6751
|
}, "changeSetting");
|
|
6752
|
+
const migrate = /* @__PURE__ */ __name((path2) => {
|
|
6753
|
+
const read = readConfigFile(path2);
|
|
6754
|
+
if ("issue" in read)
|
|
6755
|
+
throw new CliError("configuration_error", issueMessage([read.issue]));
|
|
6756
|
+
const { config, added } = withDefaults(read.raw);
|
|
6757
|
+
if (added.length > 0)
|
|
6758
|
+
saveConfigFile(path2, config);
|
|
6759
|
+
return added;
|
|
6760
|
+
}, "migrate");
|
|
6657
6761
|
return {
|
|
6658
6762
|
resolveSettings,
|
|
6659
6763
|
configuredProfiles,
|
|
6660
6764
|
changeSetting,
|
|
6765
|
+
migrate,
|
|
6766
|
+
declaredSettings,
|
|
6661
6767
|
allSettings,
|
|
6662
6768
|
defaultsOnlyKeys,
|
|
6663
6769
|
schema: schema2,
|
|
@@ -6698,7 +6804,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6698
6804
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6699
6805
|
}, "given");
|
|
6700
6806
|
|
|
6701
|
-
// 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
|
|
6702
6808
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6703
6809
|
const slot = environmentOf(command).exit;
|
|
6704
6810
|
if (slot)
|
|
@@ -6811,7 +6917,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6811
6917
|
return words.join(" ");
|
|
6812
6918
|
}, "commandPath");
|
|
6813
6919
|
|
|
6814
|
-
// 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
|
|
6815
6921
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6816
6922
|
var FETCH = { remote: "read", local: "write" };
|
|
6817
6923
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6918,7 +7024,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6918
7024
|
throw readOnlyRefusal(lock, what);
|
|
6919
7025
|
}, "refuseUnderReadOnly");
|
|
6920
7026
|
|
|
6921
|
-
// 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
|
|
6922
7028
|
var text = string();
|
|
6923
7029
|
var id = pipe(string(), minLength(1));
|
|
6924
7030
|
var time = isoTime;
|
|
@@ -6942,7 +7048,7 @@ var author = strictObject({
|
|
|
6942
7048
|
name: nullable(text)
|
|
6943
7049
|
});
|
|
6944
7050
|
|
|
6945
|
-
// 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
|
|
6946
7052
|
var account = strictObject({
|
|
6947
7053
|
provider: text,
|
|
6948
7054
|
id,
|
|
@@ -6952,7 +7058,7 @@ var account = strictObject({
|
|
|
6952
7058
|
scope: optional(picklist(["personal", "work"]))
|
|
6953
7059
|
});
|
|
6954
7060
|
|
|
6955
|
-
// 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
|
|
6956
7062
|
var accountSession = strictObject({
|
|
6957
7063
|
current: boolean(),
|
|
6958
7064
|
client: nullable(text),
|
|
@@ -6962,7 +7068,7 @@ var accountSession = strictObject({
|
|
|
6962
7068
|
created_at: optional(nullable(time))
|
|
6963
7069
|
});
|
|
6964
7070
|
|
|
6965
|
-
// 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
|
|
6966
7072
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6967
7073
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6968
7074
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6980,7 +7086,7 @@ var accountPrivacy = strictObject({
|
|
|
6980
7086
|
});
|
|
6981
7087
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
6982
7088
|
|
|
6983
|
-
// 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
|
|
6984
7090
|
var accountProfile = strictObject({
|
|
6985
7091
|
profile: id,
|
|
6986
7092
|
current: boolean(),
|
|
@@ -6990,7 +7096,7 @@ var accountProfile = strictObject({
|
|
|
6990
7096
|
signed_in: optional(boolean())
|
|
6991
7097
|
});
|
|
6992
7098
|
|
|
6993
|
-
// 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
|
|
6994
7100
|
var milliseconds = pipe(number(), minValue(0));
|
|
6995
7101
|
var counterReading = strictObject({
|
|
6996
7102
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7002,7 +7108,7 @@ var counterReading = strictObject({
|
|
|
7002
7108
|
});
|
|
7003
7109
|
var selection = record(string(), unknown());
|
|
7004
7110
|
|
|
7005
|
-
// 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
|
|
7006
7112
|
var adminRow = strictObject({
|
|
7007
7113
|
ref: reference,
|
|
7008
7114
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7055,7 +7161,7 @@ var adminReport = strictObject({
|
|
|
7055
7161
|
rows: array(adminRow)
|
|
7056
7162
|
});
|
|
7057
7163
|
|
|
7058
|
-
// 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
|
|
7059
7165
|
var closeSuggestion = strictObject({
|
|
7060
7166
|
as: picklist(["done", "dismissed"]),
|
|
7061
7167
|
/** The agent's name. */
|
|
@@ -7113,7 +7219,7 @@ var task = strictObject({
|
|
|
7113
7219
|
updated_at: optional(time)
|
|
7114
7220
|
});
|
|
7115
7221
|
|
|
7116
|
-
// 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
|
|
7117
7223
|
var agendaChat = strictObject({
|
|
7118
7224
|
chat: reference,
|
|
7119
7225
|
title: nullable(text),
|
|
@@ -7183,11 +7289,11 @@ var agenda = strictObject({
|
|
|
7183
7289
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7184
7290
|
});
|
|
7185
7291
|
|
|
7186
|
-
// 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
|
|
7187
7293
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7188
7294
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7189
7295
|
|
|
7190
|
-
// 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
|
|
7191
7297
|
var attachment = strictObject({
|
|
7192
7298
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7193
7299
|
message: optional(reference),
|
|
@@ -7225,7 +7331,7 @@ var attachment = strictObject({
|
|
|
7225
7331
|
});
|
|
7226
7332
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
7227
7333
|
|
|
7228
|
-
// 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
|
|
7229
7335
|
var actionableError = objectWithRest({
|
|
7230
7336
|
code: text,
|
|
7231
7337
|
message: text,
|
|
@@ -7242,7 +7348,7 @@ var batchResult = strictObject({
|
|
|
7242
7348
|
max_error_percent: count2
|
|
7243
7349
|
});
|
|
7244
7350
|
|
|
7245
|
-
// 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
|
|
7246
7352
|
var extractionItem = strictObject({
|
|
7247
7353
|
ref: reference,
|
|
7248
7354
|
attachment: count2,
|
|
@@ -7275,7 +7381,7 @@ var extractionReport = strictObject({
|
|
|
7275
7381
|
cursor: optional(text)
|
|
7276
7382
|
});
|
|
7277
7383
|
|
|
7278
|
-
// 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
|
|
7279
7385
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7280
7386
|
var attachmentBytes = strictObject({
|
|
7281
7387
|
ref: reference,
|
|
@@ -7303,7 +7409,7 @@ var attachmentTextChange = strictObject({
|
|
|
7303
7409
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7304
7410
|
});
|
|
7305
7411
|
|
|
7306
|
-
// 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
|
|
7307
7413
|
var chart = strictObject({
|
|
7308
7414
|
version: literal(1),
|
|
7309
7415
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7318,7 +7424,7 @@ var chart = strictObject({
|
|
|
7318
7424
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7319
7425
|
});
|
|
7320
7426
|
|
|
7321
|
-
// 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
|
|
7322
7428
|
var member = strictObject({
|
|
7323
7429
|
id,
|
|
7324
7430
|
name: nullable(text),
|
|
@@ -7341,7 +7447,7 @@ var member = strictObject({
|
|
|
7341
7447
|
check: optional(record(string(), unknown()))
|
|
7342
7448
|
});
|
|
7343
7449
|
|
|
7344
|
-
// 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
|
|
7345
7451
|
var setting = optional(nullable(boolean()));
|
|
7346
7452
|
var chat = strictObject({
|
|
7347
7453
|
ref: reference,
|
|
@@ -7382,7 +7488,7 @@ var chat = strictObject({
|
|
|
7382
7488
|
members: optional(array(member))
|
|
7383
7489
|
});
|
|
7384
7490
|
|
|
7385
|
-
// 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
|
|
7386
7492
|
var named2 = strictObject({
|
|
7387
7493
|
id,
|
|
7388
7494
|
title: nullable(text),
|
|
@@ -7405,7 +7511,7 @@ var folder = strictObject({
|
|
|
7405
7511
|
excluded_chats: optional(array(named2))
|
|
7406
7512
|
});
|
|
7407
7513
|
|
|
7408
|
-
// 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
|
|
7409
7515
|
var inviteLink = strictObject({
|
|
7410
7516
|
link: text,
|
|
7411
7517
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7421,7 +7527,7 @@ var inviteLink = strictObject({
|
|
|
7421
7527
|
joined_count: optional(count2)
|
|
7422
7528
|
});
|
|
7423
7529
|
|
|
7424
|
-
// 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
|
|
7425
7531
|
var operated = { operation_id: id, chat_id: id };
|
|
7426
7532
|
var group = strictObject({
|
|
7427
7533
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7501,7 +7607,7 @@ var chatFolderOrder = strictObject({
|
|
|
7501
7607
|
folders: array(strictObject({ id, title: text }))
|
|
7502
7608
|
});
|
|
7503
7609
|
|
|
7504
|
-
// 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
|
|
7505
7611
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7506
7612
|
var chatRemoval = strictObject(operated2);
|
|
7507
7613
|
var chatMuting = strictObject({
|
|
@@ -7512,7 +7618,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7512
7618
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7513
7619
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7514
7620
|
|
|
7515
|
-
// 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
|
|
7516
7622
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7517
7623
|
var chatEvent = strictObject({
|
|
7518
7624
|
chat_id: id,
|
|
@@ -7529,7 +7635,7 @@ var chatEvent = strictObject({
|
|
|
7529
7635
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7530
7636
|
});
|
|
7531
7637
|
|
|
7532
|
-
// 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
|
|
7533
7639
|
var chatMetadata = strictObject({
|
|
7534
7640
|
chat_id: id,
|
|
7535
7641
|
title: nullable(text),
|
|
@@ -7544,7 +7650,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7544
7650
|
has_more: boolean()
|
|
7545
7651
|
});
|
|
7546
7652
|
|
|
7547
|
-
// 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
|
|
7548
7654
|
var action = picklist(["report", "delete", "remove"]);
|
|
7549
7655
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7550
7656
|
var chatRules = strictObject({
|
|
@@ -7581,7 +7687,7 @@ var chatModeration = strictObject({
|
|
|
7581
7687
|
}))
|
|
7582
7688
|
});
|
|
7583
7689
|
|
|
7584
|
-
// 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
|
|
7585
7691
|
var optionalCount = optional(count2);
|
|
7586
7692
|
var minutes = nullable(number());
|
|
7587
7693
|
var chatStats = strictObject({
|
|
@@ -7632,18 +7738,30 @@ var chatStats = strictObject({
|
|
|
7632
7738
|
})),
|
|
7633
7739
|
series: optional(array(strictObject({ key: text, messages: count2, senders: count2, joined: optionalCount, left: optionalCount })))
|
|
7634
7740
|
});
|
|
7741
|
+
var ms = nullable(pipe(number(), minValue(0)));
|
|
7635
7742
|
var taskStats = strictObject({
|
|
7636
7743
|
/** Open tasks across every row. */
|
|
7637
7744
|
open: count2,
|
|
7745
|
+
created: count2,
|
|
7746
|
+
closed: count2,
|
|
7747
|
+
median_close_ms: ms,
|
|
7748
|
+
mean_open_age_ms: ms,
|
|
7638
7749
|
rows: array(strictObject({
|
|
7639
|
-
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),
|
|
7640
7755
|
open: count2,
|
|
7756
|
+
created: count2,
|
|
7757
|
+
closed: count2,
|
|
7641
7758
|
oldest_open_at: nullable(time),
|
|
7642
|
-
median_close_ms:
|
|
7759
|
+
median_close_ms: ms,
|
|
7760
|
+
mean_open_age_ms: ms
|
|
7643
7761
|
}))
|
|
7644
7762
|
});
|
|
7645
7763
|
|
|
7646
|
-
// 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
|
|
7647
7765
|
var memberCount = strictObject({
|
|
7648
7766
|
day: pipe(text, isoDate()),
|
|
7649
7767
|
participants: nullable(count2),
|
|
@@ -7666,7 +7784,7 @@ var chatTracking = strictObject({
|
|
|
7666
7784
|
tracked: boolean()
|
|
7667
7785
|
});
|
|
7668
7786
|
|
|
7669
|
-
// 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
|
|
7670
7788
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7671
7789
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7672
7790
|
var profileFields = {
|
|
@@ -7704,7 +7822,7 @@ var profileFields = {
|
|
|
7704
7822
|
}))
|
|
7705
7823
|
};
|
|
7706
7824
|
|
|
7707
|
-
// 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
|
|
7708
7826
|
var contact = strictObject({
|
|
7709
7827
|
ref: reference,
|
|
7710
7828
|
id,
|
|
@@ -7735,7 +7853,7 @@ var contact = strictObject({
|
|
|
7735
7853
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7736
7854
|
});
|
|
7737
7855
|
|
|
7738
|
-
// 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
|
|
7739
7857
|
var WEIGHTS = {
|
|
7740
7858
|
bot: 3,
|
|
7741
7859
|
scam: 3,
|
|
@@ -7760,7 +7878,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7760
7878
|
var DIGITS = /\d{5,}/;
|
|
7761
7879
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7762
7880
|
|
|
7763
|
-
// 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
|
|
7764
7882
|
var linkedIdentity = strictObject({
|
|
7765
7883
|
provider: text,
|
|
7766
7884
|
id,
|
|
@@ -7801,7 +7919,7 @@ var contactCheck = strictObject({
|
|
|
7801
7919
|
checked_at: time
|
|
7802
7920
|
});
|
|
7803
7921
|
|
|
7804
|
-
// 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
|
|
7805
7923
|
var quoted = strictObject({
|
|
7806
7924
|
id,
|
|
7807
7925
|
sender_id: nullable(id),
|
|
@@ -7920,7 +8038,7 @@ var message = strictObject({
|
|
|
7920
8038
|
provider_metadata: providerMetadata
|
|
7921
8039
|
});
|
|
7922
8040
|
|
|
7923
|
-
// 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
|
|
7924
8042
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7925
8043
|
var contextMessage = strictObject({
|
|
7926
8044
|
locator: reference,
|
|
@@ -8118,7 +8236,7 @@ var contactPreparation = strictObject({
|
|
|
8118
8236
|
})
|
|
8119
8237
|
});
|
|
8120
8238
|
|
|
8121
|
-
// 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
|
|
8122
8240
|
var contactNote = strictObject({
|
|
8123
8241
|
id,
|
|
8124
8242
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8130,13 +8248,13 @@ var contactNote = strictObject({
|
|
|
8130
8248
|
updated_at: time
|
|
8131
8249
|
});
|
|
8132
8250
|
|
|
8133
|
-
// 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
|
|
8134
8252
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8135
8253
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8136
8254
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8137
8255
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
8138
8256
|
|
|
8139
|
-
// 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
|
|
8140
8258
|
var conversation = strictObject({
|
|
8141
8259
|
id,
|
|
8142
8260
|
chat: reference,
|
|
@@ -8151,7 +8269,7 @@ var conversation = strictObject({
|
|
|
8151
8269
|
rules_version: count2
|
|
8152
8270
|
});
|
|
8153
8271
|
|
|
8154
|
-
// 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
|
|
8155
8273
|
var conversationBuild = strictObject({
|
|
8156
8274
|
chat: id,
|
|
8157
8275
|
messages: count2,
|
|
@@ -8176,7 +8294,7 @@ var catchUpPreparation = strictObject({
|
|
|
8176
8294
|
prepared: optional(conversationPreparation)
|
|
8177
8295
|
});
|
|
8178
8296
|
|
|
8179
|
-
// 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
|
|
8180
8298
|
var conversationDetails = union([
|
|
8181
8299
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8182
8300
|
message
|
|
@@ -8266,7 +8384,7 @@ var conversationHit = strictObject({
|
|
|
8266
8384
|
stale: boolean()
|
|
8267
8385
|
});
|
|
8268
8386
|
|
|
8269
|
-
// 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
|
|
8270
8388
|
var counters = strictObject({
|
|
8271
8389
|
cutoff: time,
|
|
8272
8390
|
max_age_ms: milliseconds,
|
|
@@ -8296,7 +8414,7 @@ var counterRefresh = strictObject({
|
|
|
8296
8414
|
complete: optional(boolean())
|
|
8297
8415
|
});
|
|
8298
8416
|
|
|
8299
|
-
// 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
|
|
8300
8418
|
var document = strictObject({
|
|
8301
8419
|
ref: reference,
|
|
8302
8420
|
id,
|
|
@@ -8311,7 +8429,7 @@ var document = strictObject({
|
|
|
8311
8429
|
owners: optional(array(text))
|
|
8312
8430
|
});
|
|
8313
8431
|
|
|
8314
|
-
// 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
|
|
8315
8433
|
var documentLink = strictObject({
|
|
8316
8434
|
ref: reference,
|
|
8317
8435
|
url: text,
|
|
@@ -8322,7 +8440,7 @@ var documentLink = strictObject({
|
|
|
8322
8440
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8323
8441
|
});
|
|
8324
8442
|
|
|
8325
|
-
// 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
|
|
8326
8444
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8327
8445
|
var contribution = strictObject({
|
|
8328
8446
|
message: evidenceMessage,
|
|
@@ -8352,7 +8470,7 @@ var retentionStay = strictObject({
|
|
|
8352
8470
|
});
|
|
8353
8471
|
var evidence = union([contribution, retentionStay]);
|
|
8354
8472
|
|
|
8355
|
-
// 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
|
|
8356
8474
|
var fact = strictObject({
|
|
8357
8475
|
ref: reference,
|
|
8358
8476
|
id,
|
|
@@ -8382,7 +8500,7 @@ var fact = strictObject({
|
|
|
8382
8500
|
updated_at: time
|
|
8383
8501
|
});
|
|
8384
8502
|
|
|
8385
|
-
// 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
|
|
8386
8504
|
var hit = strictObject({
|
|
8387
8505
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8388
8506
|
ref: reference,
|
|
@@ -8420,7 +8538,7 @@ var hit = strictObject({
|
|
|
8420
8538
|
untrusted
|
|
8421
8539
|
});
|
|
8422
8540
|
|
|
8423
|
-
// 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
|
|
8424
8542
|
var identity = strictObject({
|
|
8425
8543
|
ref: reference,
|
|
8426
8544
|
provider: text,
|
|
@@ -8433,7 +8551,7 @@ var identity = strictObject({
|
|
|
8433
8551
|
person: optional(nullable(reference))
|
|
8434
8552
|
});
|
|
8435
8553
|
|
|
8436
|
-
// 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
|
|
8437
8555
|
var imageEmbedding = strictObject({
|
|
8438
8556
|
model: text,
|
|
8439
8557
|
embedded: count2,
|
|
@@ -8442,13 +8560,13 @@ var imageEmbedding = strictObject({
|
|
|
8442
8560
|
more: boolean()
|
|
8443
8561
|
});
|
|
8444
8562
|
|
|
8445
|
-
// 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
|
|
8446
8564
|
import { spawn } from "node:child_process";
|
|
8447
8565
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8448
8566
|
import { closeSync, existsSync as existsSync4, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8449
8567
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8450
8568
|
|
|
8451
|
-
// 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
|
|
8452
8570
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8453
8571
|
const total = input.total ?? null;
|
|
8454
8572
|
const updated = input.updatedAt ?? null;
|
|
@@ -8464,7 +8582,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8464
8582
|
};
|
|
8465
8583
|
}, "progressOf");
|
|
8466
8584
|
|
|
8467
|
-
// 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
|
|
8468
8586
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8469
8587
|
const run = currentRun();
|
|
8470
8588
|
const trace = traceId ?? run.traceId;
|
|
@@ -8478,7 +8596,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8478
8596
|
}));
|
|
8479
8597
|
}, "recordLogFor");
|
|
8480
8598
|
|
|
8481
|
-
// 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
|
|
8482
8600
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8483
8601
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8484
8602
|
const out = openSync(log, "a", 384);
|
|
@@ -8633,7 +8751,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8633
8751
|
return { job: id6, pid, chat: input.chat, log };
|
|
8634
8752
|
}, "startArchiveJob");
|
|
8635
8753
|
|
|
8636
|
-
// 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
|
|
8637
8755
|
var problem = strictObject({ code: text, message: text });
|
|
8638
8756
|
var job = strictObject({
|
|
8639
8757
|
id,
|
|
@@ -8656,7 +8774,7 @@ var job = strictObject({
|
|
|
8656
8774
|
error: optional(problem)
|
|
8657
8775
|
});
|
|
8658
8776
|
|
|
8659
|
-
// 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
|
|
8660
8778
|
var joinRequest = strictObject({
|
|
8661
8779
|
person_id: id,
|
|
8662
8780
|
name: nullable(text),
|
|
@@ -8667,7 +8785,7 @@ var joinRequest = strictObject({
|
|
|
8667
8785
|
about: optional(text)
|
|
8668
8786
|
});
|
|
8669
8787
|
|
|
8670
|
-
// 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
|
|
8671
8789
|
var organization = strictObject({
|
|
8672
8790
|
id,
|
|
8673
8791
|
ref: reference,
|
|
@@ -8697,7 +8815,7 @@ var reminder = strictObject({
|
|
|
8697
8815
|
receipt: nullable(text)
|
|
8698
8816
|
});
|
|
8699
8817
|
|
|
8700
|
-
// 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
|
|
8701
8819
|
var botProfile = strictObject({
|
|
8702
8820
|
name: text,
|
|
8703
8821
|
token: text,
|
|
@@ -8765,7 +8883,7 @@ var stickerInventory = strictObject({
|
|
|
8765
8883
|
url: optional(nullable(text))
|
|
8766
8884
|
});
|
|
8767
8885
|
|
|
8768
|
-
// 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
|
|
8769
8887
|
var pollVote = strictObject({
|
|
8770
8888
|
person_id: id,
|
|
8771
8889
|
name: nullable(text),
|
|
@@ -8775,7 +8893,7 @@ var pollVote = strictObject({
|
|
|
8775
8893
|
voted_at: time
|
|
8776
8894
|
});
|
|
8777
8895
|
|
|
8778
|
-
// 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
|
|
8779
8897
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8780
8898
|
var observation = strictObject({
|
|
8781
8899
|
value: pipe(number(), minValue(0)),
|
|
@@ -8817,7 +8935,22 @@ var serveSummary = strictObject({
|
|
|
8817
8935
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
8818
8936
|
});
|
|
8819
8937
|
|
|
8820
|
-
// 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
|
|
8821
8954
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8822
8955
|
var base = { id, evidence: array(evidence2) };
|
|
8823
8956
|
var finding = variant("kind", [
|
|
@@ -8883,7 +9016,7 @@ var mailFindings = strictObject({
|
|
|
8883
9016
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
8884
9017
|
});
|
|
8885
9018
|
|
|
8886
|
-
// 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
|
|
8887
9020
|
var mediaArchive = strictObject({
|
|
8888
9021
|
directory: text,
|
|
8889
9022
|
chats: count2,
|
|
@@ -8915,7 +9048,7 @@ var mediaArchiveTimer = union([
|
|
|
8915
9048
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8916
9049
|
]);
|
|
8917
9050
|
|
|
8918
|
-
// 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
|
|
8919
9052
|
var preparationId = pipe(string(), minLength(1));
|
|
8920
9053
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8921
9054
|
var preparationTime = nullable(isoTime);
|
|
@@ -9007,7 +9140,7 @@ var preparationMeeting = strictObject({
|
|
|
9007
9140
|
updated_at: isoTime
|
|
9008
9141
|
});
|
|
9009
9142
|
|
|
9010
|
-
// 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
|
|
9011
9144
|
var meetingEvidence = preparationEvidence;
|
|
9012
9145
|
var meetingPersonContext = strictObject({
|
|
9013
9146
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9029,7 +9162,7 @@ var meetingPersonContext = strictObject({
|
|
|
9029
9162
|
})
|
|
9030
9163
|
});
|
|
9031
9164
|
|
|
9032
|
-
// 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
|
|
9033
9166
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9034
9167
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9035
9168
|
var finding2 = variant("kind", [
|
|
@@ -9067,7 +9200,7 @@ var meetingFindings = strictObject({
|
|
|
9067
9200
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9068
9201
|
});
|
|
9069
9202
|
|
|
9070
|
-
// 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
|
|
9071
9204
|
var communicationCoverage = strictObject({
|
|
9072
9205
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9073
9206
|
query: string(),
|
|
@@ -9112,7 +9245,7 @@ var preparationCommunications = strictObject({
|
|
|
9112
9245
|
}))
|
|
9113
9246
|
});
|
|
9114
9247
|
|
|
9115
|
-
// 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
|
|
9116
9249
|
var meetingPreparation = strictObject({
|
|
9117
9250
|
communications: optional(preparationCommunications),
|
|
9118
9251
|
schema_version: literal(1),
|
|
@@ -9225,7 +9358,7 @@ var meetingPreparation = strictObject({
|
|
|
9225
9358
|
})
|
|
9226
9359
|
});
|
|
9227
9360
|
|
|
9228
|
-
// 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
|
|
9229
9362
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9230
9363
|
var id3 = pipe(string(), minLength(1));
|
|
9231
9364
|
var text3 = string();
|
|
@@ -9289,7 +9422,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9289
9422
|
})
|
|
9290
9423
|
});
|
|
9291
9424
|
|
|
9292
|
-
// 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
|
|
9293
9426
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9294
9427
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9295
9428
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9319,7 +9452,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9319
9452
|
})
|
|
9320
9453
|
});
|
|
9321
9454
|
|
|
9322
|
-
// 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
|
|
9323
9456
|
var text4 = string();
|
|
9324
9457
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9325
9458
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9336,7 +9469,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9336
9469
|
persistence: literal("proposal-only")
|
|
9337
9470
|
});
|
|
9338
9471
|
|
|
9339
|
-
// 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
|
|
9340
9473
|
var memory = strictObject({
|
|
9341
9474
|
ref: reference,
|
|
9342
9475
|
id,
|
|
@@ -9363,7 +9496,7 @@ var memory = strictObject({
|
|
|
9363
9496
|
updated_at: time
|
|
9364
9497
|
});
|
|
9365
9498
|
|
|
9366
|
-
// 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
|
|
9367
9500
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9368
9501
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9369
9502
|
var mention = strictObject({
|
|
@@ -9406,13 +9539,13 @@ var mentionRebuild = strictObject({
|
|
|
9406
9539
|
mentions: count2
|
|
9407
9540
|
});
|
|
9408
9541
|
|
|
9409
|
-
// 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
|
|
9410
9543
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9411
9544
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9412
9545
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9413
9546
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9414
9547
|
|
|
9415
|
-
// 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
|
|
9416
9549
|
var messageTranscript = strictObject({
|
|
9417
9550
|
message_id: id,
|
|
9418
9551
|
text,
|
|
@@ -9470,7 +9603,7 @@ var evidencePacket = strictObject({
|
|
|
9470
9603
|
}))
|
|
9471
9604
|
});
|
|
9472
9605
|
|
|
9473
|
-
// 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
|
|
9474
9607
|
var messageThread = strictObject({
|
|
9475
9608
|
ref: reference,
|
|
9476
9609
|
chat: id,
|
|
@@ -9487,7 +9620,7 @@ var messageThread = strictObject({
|
|
|
9487
9620
|
});
|
|
9488
9621
|
var messageContext = union([message, messageThread]);
|
|
9489
9622
|
|
|
9490
|
-
// 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
|
|
9491
9624
|
var messageCounts = strictObject({
|
|
9492
9625
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9493
9626
|
total: count2,
|
|
@@ -9500,7 +9633,7 @@ var messageCounts = strictObject({
|
|
|
9500
9633
|
}))
|
|
9501
9634
|
});
|
|
9502
9635
|
|
|
9503
|
-
// 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
|
|
9504
9637
|
var messageLink = strictObject({
|
|
9505
9638
|
ref: reference,
|
|
9506
9639
|
url: nullable(text),
|
|
@@ -9517,7 +9650,7 @@ var messageLink = strictObject({
|
|
|
9517
9650
|
})))
|
|
9518
9651
|
});
|
|
9519
9652
|
|
|
9520
|
-
// 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
|
|
9521
9654
|
var savedMessageFile = strictObject({
|
|
9522
9655
|
kind: text,
|
|
9523
9656
|
path: text,
|
|
@@ -9604,7 +9737,7 @@ var messageSyncAll = strictObject({
|
|
|
9604
9737
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9605
9738
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9606
9739
|
|
|
9607
|
-
// 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
|
|
9608
9741
|
var messageWrite = strictObject({
|
|
9609
9742
|
operation_id: id,
|
|
9610
9743
|
message,
|
|
@@ -9619,7 +9752,7 @@ var draftWrite = strictObject({
|
|
|
9619
9752
|
});
|
|
9620
9753
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9621
9754
|
|
|
9622
|
-
// 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
|
|
9623
9756
|
var model2 = strictObject({
|
|
9624
9757
|
id,
|
|
9625
9758
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9636,7 +9769,7 @@ var model2 = strictObject({
|
|
|
9636
9769
|
path: text
|
|
9637
9770
|
});
|
|
9638
9771
|
|
|
9639
|
-
// 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
|
|
9640
9773
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9641
9774
|
var modelKey = strictObject({
|
|
9642
9775
|
provider: text,
|
|
@@ -9646,7 +9779,7 @@ var modelKey = strictObject({
|
|
|
9646
9779
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9647
9780
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9648
9781
|
|
|
9649
|
-
// 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
|
|
9650
9783
|
var link = {
|
|
9651
9784
|
target_text: nullable(text),
|
|
9652
9785
|
kind: text,
|
|
@@ -9687,7 +9820,7 @@ var note = strictObject({
|
|
|
9687
9820
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
9688
9821
|
});
|
|
9689
9822
|
|
|
9690
|
-
// 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
|
|
9691
9824
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9692
9825
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9693
9826
|
var graph = strictObject({
|
|
@@ -9721,14 +9854,14 @@ var officialStats = strictObject({
|
|
|
9721
9854
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9722
9855
|
});
|
|
9723
9856
|
|
|
9724
|
-
// 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
|
|
9725
9858
|
var person2 = strictObject({
|
|
9726
9859
|
ref: reference,
|
|
9727
9860
|
name: nullable(text),
|
|
9728
9861
|
identities: optional(array(identity))
|
|
9729
9862
|
});
|
|
9730
9863
|
|
|
9731
|
-
// 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
|
|
9732
9865
|
var poll = strictObject({
|
|
9733
9866
|
chat_id: id,
|
|
9734
9867
|
message_id: id,
|
|
@@ -9744,11 +9877,11 @@ var poll = strictObject({
|
|
|
9744
9877
|
});
|
|
9745
9878
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9746
9879
|
|
|
9747
|
-
// 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
|
|
9748
9881
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9749
9882
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9750
9883
|
|
|
9751
|
-
// 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
|
|
9752
9885
|
var figures = record(string(), number());
|
|
9753
9886
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9754
9887
|
var rankingRow = strictObject({
|
|
@@ -9795,7 +9928,7 @@ var ranking = strictObject({
|
|
|
9795
9928
|
rows: array(rankingRow)
|
|
9796
9929
|
});
|
|
9797
9930
|
|
|
9798
|
-
// 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
|
|
9799
9932
|
var reaction = strictObject({
|
|
9800
9933
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9801
9934
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9803,7 +9936,7 @@ var reaction = strictObject({
|
|
|
9803
9936
|
reacted_at: time
|
|
9804
9937
|
});
|
|
9805
9938
|
|
|
9806
|
-
// 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
|
|
9807
9940
|
var reactionChange = strictObject({
|
|
9808
9941
|
operation_id: id,
|
|
9809
9942
|
chat_id: id,
|
|
@@ -9811,7 +9944,7 @@ var reactionChange = strictObject({
|
|
|
9811
9944
|
reaction: nullable(text)
|
|
9812
9945
|
});
|
|
9813
9946
|
|
|
9814
|
-
// 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
|
|
9815
9948
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9816
9949
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9817
9950
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9822,7 +9955,7 @@ var recipientChange = strictObject({
|
|
|
9822
9955
|
...partial(recipientOff).entries
|
|
9823
9956
|
});
|
|
9824
9957
|
|
|
9825
|
-
// 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
|
|
9826
9959
|
var events = array(record(string(), unknown()));
|
|
9827
9960
|
var recordedRun = strictObject({
|
|
9828
9961
|
run_id: id,
|
|
@@ -9894,7 +10027,7 @@ var runHit = strictObject({
|
|
|
9894
10027
|
});
|
|
9895
10028
|
var runLocation = strictObject({ path: text });
|
|
9896
10029
|
|
|
9897
|
-
// 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
|
|
9898
10031
|
var relationship = strictObject({
|
|
9899
10032
|
id,
|
|
9900
10033
|
from: reference,
|
|
@@ -9911,7 +10044,24 @@ var relationship = strictObject({
|
|
|
9911
10044
|
created_at: time
|
|
9912
10045
|
});
|
|
9913
10046
|
|
|
9914
|
-
// 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
|
|
10048
|
+
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10049
|
+
var figures2 = { replies: count2, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10050
|
+
var responseTimes = strictObject({
|
|
10051
|
+
who: picklist(["me", "others"]),
|
|
10052
|
+
...figures2,
|
|
10053
|
+
buckets: strictObject({ under_5m: count2, under_1h: count2, under_1d: count2, over_1d: count2 }),
|
|
10054
|
+
/** One row per calendar day of the reply; empty with `--by total`. */
|
|
10055
|
+
rows: array(strictObject({ key: text, ...figures2 }))
|
|
10056
|
+
});
|
|
10057
|
+
var waitingChats = strictObject({
|
|
10058
|
+
chats: count2,
|
|
10059
|
+
messages: count2,
|
|
10060
|
+
oldest_at: nullable(time),
|
|
10061
|
+
by_kind: strictObject({ private: count2, group: count2 })
|
|
10062
|
+
});
|
|
10063
|
+
|
|
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
|
|
9915
10065
|
var retentionCohort = strictObject({
|
|
9916
10066
|
/** The first day of the joining day or week. */
|
|
9917
10067
|
cohort: text,
|
|
@@ -9959,7 +10109,7 @@ var retention = strictObject({
|
|
|
9959
10109
|
rows: array(retentionCohort)
|
|
9960
10110
|
});
|
|
9961
10111
|
|
|
9962
|
-
// 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
|
|
9963
10113
|
var savedSearch = strictObject({
|
|
9964
10114
|
id,
|
|
9965
10115
|
/** `null` for a run in the history. */
|
|
@@ -9976,7 +10126,7 @@ var savedSearch = strictObject({
|
|
|
9976
10126
|
});
|
|
9977
10127
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
9978
10128
|
|
|
9979
|
-
// 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
|
|
9980
10130
|
var sendAttempt = strictObject({
|
|
9981
10131
|
at: time,
|
|
9982
10132
|
profile: text,
|
|
@@ -10004,7 +10154,7 @@ var sendAttempt = strictObject({
|
|
|
10004
10154
|
error_code: optional(text)
|
|
10005
10155
|
});
|
|
10006
10156
|
|
|
10007
|
-
// 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
|
|
10008
10158
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10009
10159
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
10010
10160
|
var infoSchema = strictObject({
|
|
@@ -10212,7 +10362,7 @@ var storeRepair = union([
|
|
|
10212
10362
|
]);
|
|
10213
10363
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
10214
10364
|
|
|
10215
|
-
// 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
|
|
10216
10366
|
var range = strictObject({ from: number(), to: number() });
|
|
10217
10367
|
var storeChatStatus = strictObject({
|
|
10218
10368
|
chat_id: id,
|
|
@@ -10224,6 +10374,13 @@ var storeChatStatus = strictObject({
|
|
|
10224
10374
|
last_stored_at: nullable(time),
|
|
10225
10375
|
held: array(range)
|
|
10226
10376
|
});
|
|
10377
|
+
var chatCoverage = strictObject({
|
|
10378
|
+
chats: count2,
|
|
10379
|
+
fetched: count2,
|
|
10380
|
+
partial: count2,
|
|
10381
|
+
never: count2,
|
|
10382
|
+
oldest_message_at: nullable(time)
|
|
10383
|
+
});
|
|
10227
10384
|
var storeClear = strictObject({
|
|
10228
10385
|
cleared: boolean(),
|
|
10229
10386
|
dry_run: optional(literal(true)),
|
|
@@ -10303,7 +10460,7 @@ var storeJobRetry = union([
|
|
|
10303
10460
|
]);
|
|
10304
10461
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10305
10462
|
|
|
10306
|
-
// 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
|
|
10307
10464
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10308
10465
|
var storeTable = strictObject({
|
|
10309
10466
|
name: text,
|
|
@@ -10312,7 +10469,7 @@ var storeTable = strictObject({
|
|
|
10312
10469
|
bytes: optional(nullable(count2))
|
|
10313
10470
|
});
|
|
10314
10471
|
|
|
10315
|
-
// 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
|
|
10316
10473
|
var tagTarget = variant("type", [
|
|
10317
10474
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10318
10475
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10343,7 +10500,7 @@ var automaticTags = strictObject({
|
|
|
10343
10500
|
dry_run: boolean()
|
|
10344
10501
|
});
|
|
10345
10502
|
|
|
10346
|
-
// 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
|
|
10347
10504
|
var tagging = strictObject({
|
|
10348
10505
|
tag: text,
|
|
10349
10506
|
type: picklist(TAG_TYPES),
|
|
@@ -10356,7 +10513,7 @@ var tagging = strictObject({
|
|
|
10356
10513
|
created_at: time
|
|
10357
10514
|
});
|
|
10358
10515
|
|
|
10359
|
-
// 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
|
|
10360
10517
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10361
10518
|
var taskPair = strictObject({
|
|
10362
10519
|
task: nullable(side),
|
|
@@ -10379,7 +10536,7 @@ var taskPair = strictObject({
|
|
|
10379
10536
|
created_at: time
|
|
10380
10537
|
});
|
|
10381
10538
|
|
|
10382
|
-
// 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
|
|
10383
10540
|
var nullableTime = nullable(time);
|
|
10384
10541
|
var link2 = strictObject({
|
|
10385
10542
|
id,
|
|
@@ -10549,7 +10706,7 @@ var taskReview = strictObject({
|
|
|
10549
10706
|
untrusted
|
|
10550
10707
|
});
|
|
10551
10708
|
|
|
10552
|
-
// 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
|
|
10553
10710
|
var topic = strictObject({
|
|
10554
10711
|
id,
|
|
10555
10712
|
title: text,
|
|
@@ -10563,7 +10720,7 @@ var topic = strictObject({
|
|
|
10563
10720
|
untrusted
|
|
10564
10721
|
});
|
|
10565
10722
|
|
|
10566
|
-
// 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
|
|
10567
10724
|
var ENTITIES = {
|
|
10568
10725
|
sync_progress: progress,
|
|
10569
10726
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -10593,19 +10750,22 @@ var ENTITIES = {
|
|
|
10593
10750
|
attachments: optional(array(hitFile)),
|
|
10594
10751
|
untrusted
|
|
10595
10752
|
}),
|
|
10596
|
-
"message.summary":
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
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
|
+
}),
|
|
10609
10769
|
message_link: messageLink,
|
|
10610
10770
|
message_write: messageWrite,
|
|
10611
10771
|
message_send: messageSend,
|
|
@@ -10724,6 +10884,7 @@ var ENTITIES = {
|
|
|
10724
10884
|
meeting_review: meetingReview,
|
|
10725
10885
|
meeting_link: meetingLink,
|
|
10726
10886
|
meeting_stats: meetingStats,
|
|
10887
|
+
meeting_counts: meetingCounts,
|
|
10727
10888
|
meeting_speaker: meetingSpeaker,
|
|
10728
10889
|
meeting_participants: meetingParticipants,
|
|
10729
10890
|
meeting_passage: meetingPassage,
|
|
@@ -10761,6 +10922,7 @@ var ENTITIES = {
|
|
|
10761
10922
|
job,
|
|
10762
10923
|
store_chat_status: storeChatStatus,
|
|
10763
10924
|
store_clear: storeClear,
|
|
10925
|
+
chat_coverage: chatCoverage,
|
|
10764
10926
|
store_export: storeExport,
|
|
10765
10927
|
store_gap_plan: storeGapPlan,
|
|
10766
10928
|
store_gap_repair: storeGapRepair,
|
|
@@ -10816,6 +10978,9 @@ var ENTITIES = {
|
|
|
10816
10978
|
topic,
|
|
10817
10979
|
folder,
|
|
10818
10980
|
message_counts: messageCounts,
|
|
10981
|
+
response_times: responseTimes,
|
|
10982
|
+
waiting_chats: waitingChats,
|
|
10983
|
+
mail_counts: mailCounts,
|
|
10819
10984
|
ranking,
|
|
10820
10985
|
admin_report: adminReport,
|
|
10821
10986
|
analysis_consent: analysisConsent,
|
|
@@ -10837,7 +11002,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10837
11002
|
return [name, definition];
|
|
10838
11003
|
})), "entityDefinitions");
|
|
10839
11004
|
|
|
10840
|
-
// 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
|
|
10841
11006
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10842
11007
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10843
11008
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10871,7 +11036,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10871
11036
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10872
11037
|
}, "answerRow");
|
|
10873
11038
|
|
|
10874
|
-
// 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
|
|
10875
11040
|
import { join as join5 } from "node:path";
|
|
10876
11041
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10877
11042
|
var IMAGE_MODELS = [
|
|
@@ -10925,7 +11090,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10925
11090
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10926
11091
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10927
11092
|
|
|
10928
|
-
// 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
|
|
10929
11094
|
var STEPS2 = defineSteps([
|
|
10930
11095
|
...STEPS,
|
|
10931
11096
|
{
|
|
@@ -11147,7 +11312,7 @@ var STEPS2 = defineSteps([
|
|
|
11147
11312
|
}
|
|
11148
11313
|
]);
|
|
11149
11314
|
var nextStep = /* @__PURE__ */ __name((id6, input) => {
|
|
11150
|
-
const definition = STEPS2.find((
|
|
11315
|
+
const definition = STEPS2.find((step2) => step2.id === id6);
|
|
11151
11316
|
if (!definition)
|
|
11152
11317
|
throw new Error(`no step "${id6}"`);
|
|
11153
11318
|
const args = Object.fromEntries(Object.entries(input.args ?? {}).filter(([, value]) => value !== void 0));
|
|
@@ -11170,34 +11335,34 @@ var commandAt = /* @__PURE__ */ __name((root, path2) => {
|
|
|
11170
11335
|
at2 = at2?.commands.find((one) => one.name() === word || one.aliases().includes(word));
|
|
11171
11336
|
return at2 === root ? void 0 : at2;
|
|
11172
11337
|
}, "commandAt");
|
|
11173
|
-
var runnable = /* @__PURE__ */ __name((root, steps) => withSafety((steps ?? []).filter((
|
|
11174
|
-
var withSafety = /* @__PURE__ */ __name((steps, targets) => steps.map((
|
|
11175
|
-
if (
|
|
11176
|
-
return
|
|
11177
|
-
const effects = targets(
|
|
11178
|
-
return { ...
|
|
11338
|
+
var runnable = /* @__PURE__ */ __name((root, steps) => withSafety((steps ?? []).filter((step2) => step2.kind === "user_action" || commandAt(root, step2.command) !== void 0).slice(0, MAX_NEXT_STEPS), judgedTargets(root)), "runnable");
|
|
11339
|
+
var withSafety = /* @__PURE__ */ __name((steps, targets) => steps.map((step2) => {
|
|
11340
|
+
if (step2.kind === "user_action")
|
|
11341
|
+
return step2;
|
|
11342
|
+
const effects = targets(step2.command)?.effects;
|
|
11343
|
+
return { ...step2, safe_to_auto_execute: effects !== void 0 && !writes(effects) };
|
|
11179
11344
|
}), "withSafety");
|
|
11180
|
-
var withLines = /* @__PURE__ */ __name((root, steps) => steps.map((
|
|
11345
|
+
var withLines = /* @__PURE__ */ __name((root, steps) => steps.map((step2) => step2.kind === "command" ? { ...step2, line: stepLine(root, step2) } : step2), "withLines");
|
|
11181
11346
|
var kebab = /* @__PURE__ */ __name((name) => name.replaceAll("_", "-"), "kebab");
|
|
11182
11347
|
var quoted2 = /* @__PURE__ */ __name((value) => {
|
|
11183
11348
|
const text5 = String(value);
|
|
11184
11349
|
return /^[\w@:./+-]+$/.test(text5) ? text5 : JSON.stringify(text5);
|
|
11185
11350
|
}, "quoted");
|
|
11186
|
-
var stepLine = /* @__PURE__ */ __name((root,
|
|
11187
|
-
const command = commandAt(root,
|
|
11351
|
+
var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
11352
|
+
const command = commandAt(root, step2.command);
|
|
11188
11353
|
const positional = new Set(command?.registeredArguments.map((argument) => argument.name()) ?? []);
|
|
11189
|
-
const args = Object.entries(
|
|
11354
|
+
const args = Object.entries(step2.args).filter(([, value]) => value !== void 0 && value !== false);
|
|
11190
11355
|
const profile = root.getOptionValue("profile");
|
|
11191
11356
|
return [
|
|
11192
11357
|
root.name(),
|
|
11193
11358
|
...typeof profile === "string" && profile !== "" ? [quoted2(profile)] : [],
|
|
11194
|
-
|
|
11195
|
-
...(command?.registeredArguments ?? []).flatMap((argument) =>
|
|
11359
|
+
step2.command,
|
|
11360
|
+
...(command?.registeredArguments ?? []).flatMap((argument) => step2.args[argument.name()] === void 0 ? [] : [quoted2(step2.args[argument.name()])]),
|
|
11196
11361
|
...args.filter(([name]) => !positional.has(name)).map(([name, value]) => value === true ? `--${kebab(name)}` : `--${kebab(name)} ${quoted2(value)}`)
|
|
11197
11362
|
].join(" ");
|
|
11198
11363
|
}, "stepLine");
|
|
11199
11364
|
|
|
11200
|
-
// 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
|
|
11201
11366
|
var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
|
|
11202
11367
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11203
11368
|
var STATUS_SIGNAL_ROWS = {
|
|
@@ -11306,7 +11471,7 @@ var STATUS_ROWS = {
|
|
|
11306
11471
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11307
11472
|
};
|
|
11308
11473
|
|
|
11309
|
-
// 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
|
|
11310
11475
|
var TEXT_CHARS = 400;
|
|
11311
11476
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11312
11477
|
var messageRow = {
|
|
@@ -11459,10 +11624,10 @@ var clockFor = /* @__PURE__ */ __name((zone) => {
|
|
|
11459
11624
|
return {
|
|
11460
11625
|
zone,
|
|
11461
11626
|
parts: /* @__PURE__ */ __name((iso) => {
|
|
11462
|
-
const
|
|
11463
|
-
if (Number.isNaN(
|
|
11627
|
+
const ms2 = Date.parse(iso);
|
|
11628
|
+
if (Number.isNaN(ms2))
|
|
11464
11629
|
return void 0;
|
|
11465
|
-
const part = Object.fromEntries(format.formatToParts(
|
|
11630
|
+
const part = Object.fromEntries(format.formatToParts(ms2).map(({ type, value }) => [type, value]));
|
|
11466
11631
|
return { date: `${part.year}-${part.month}-${part.day}`, time: `${part.hour}:${part.minute}` };
|
|
11467
11632
|
}, "parts")
|
|
11468
11633
|
};
|
|
@@ -11586,20 +11751,20 @@ var blockOf = /* @__PURE__ */ __name((fields, chars, indent = "", whole = []) =>
|
|
|
11586
11751
|
var footerOf = /* @__PURE__ */ __name((body) => {
|
|
11587
11752
|
const lines = [];
|
|
11588
11753
|
const steps = body.next ?? [];
|
|
11589
|
-
const lineOf2 = /* @__PURE__ */ __name((
|
|
11754
|
+
const lineOf2 = /* @__PURE__ */ __name((step2) => step2.kind === "command" ? step2.line ?? step2.command : void 0, "lineOf");
|
|
11590
11755
|
if ("items" in body && body.page.has_more) {
|
|
11591
|
-
const more = steps.find((
|
|
11756
|
+
const more = steps.find((step2) => step2.step === "page.next");
|
|
11592
11757
|
const line = more?.kind === "command" ? more.line : void 0;
|
|
11593
11758
|
const page2 = body.page;
|
|
11594
11759
|
lines.push(`# more: ${clean(line ?? (page2.mode === "cursor" && page2.next_cursor ? `--cursor ${page2.next_cursor}` : page2.mode === "page" && page2.next_page ? `--page ${page2.next_page}` : "raise --limit"))}`);
|
|
11595
11760
|
}
|
|
11596
11761
|
for (const missing of body.missing ?? [])
|
|
11597
11762
|
lines.push(`# missing: ${clean(missing.field)}: ${clean(missing.why)}`);
|
|
11598
|
-
for (const
|
|
11599
|
-
if (
|
|
11763
|
+
for (const step2 of steps) {
|
|
11764
|
+
if (step2.step === "page.next" && "items" in body)
|
|
11600
11765
|
continue;
|
|
11601
|
-
const line = lineOf2(
|
|
11602
|
-
lines.push(`# next: ${clean(
|
|
11766
|
+
const line = lineOf2(step2);
|
|
11767
|
+
lines.push(`# next: ${clean(step2.why)}${line ? `: ${clean(line)}` : ""}`);
|
|
11603
11768
|
}
|
|
11604
11769
|
if (body.meta?.complete === false) {
|
|
11605
11770
|
const issues = (body.meta.issues ?? []).map((issue) => `${clean(issue.source)}: ${clean(String(issue.code))}`);
|
|
@@ -11642,7 +11807,54 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11642
11807
|
return lines.concat(footerOf(body)).join("\n");
|
|
11643
11808
|
}, "compactText");
|
|
11644
11809
|
|
|
11645
|
-
// 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
|
|
11811
|
+
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11812
|
+
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11813
|
+
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
11814
|
+
var snake3 = /* @__PURE__ */ __name((name) => name.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
11815
|
+
var typed = /* @__PURE__ */ __name((command, key) => command.getOptionValueSource(key) === "cli", "typed");
|
|
11816
|
+
var typedArgs = /* @__PURE__ */ __name((command) => {
|
|
11817
|
+
const root = rootOf2(command);
|
|
11818
|
+
if (root.getOptionValue("fields") !== void 0)
|
|
11819
|
+
return void 0;
|
|
11820
|
+
if (command.options.some((option) => option.negate && typed(command, option.attributeName())))
|
|
11821
|
+
return void 0;
|
|
11822
|
+
const positional = command.registeredArguments.flatMap((argument, index) => {
|
|
11823
|
+
const value = command.processedArgs[index];
|
|
11824
|
+
const word = Array.isArray(value) ? value.join(" ") : value;
|
|
11825
|
+
return word === void 0 || word === "" ? [] : [[argument.name(), word]];
|
|
11826
|
+
});
|
|
11827
|
+
const own = command.options.map((option) => option.attributeName()).filter((key) => typed(command, key)).map((key) => [snake3(key), command.getOptionValue(key)]);
|
|
11828
|
+
const global = CARRIED.filter((key) => typed(root, key)).map((key) => [snake3(key), root.getOptionValue(key)]);
|
|
11829
|
+
return Object.fromEntries([...positional, ...own, ...global]);
|
|
11830
|
+
}, "typedArgs");
|
|
11831
|
+
var declaresRow = /* @__PURE__ */ __name((command) => {
|
|
11832
|
+
const { rows: rows2 } = environmentOf(command);
|
|
11833
|
+
return rowShapeOf(command, rows2 && entityRows(rows2)) !== GENERIC_ROW;
|
|
11834
|
+
}, "declaresRow");
|
|
11835
|
+
var pathOf3 = /* @__PURE__ */ __name((command) => {
|
|
11836
|
+
const words = [];
|
|
11837
|
+
for (let at2 = command; at2.parent; at2 = at2.parent)
|
|
11838
|
+
words.unshift(at2.name());
|
|
11839
|
+
return words.join(" ");
|
|
11840
|
+
}, "pathOf");
|
|
11841
|
+
var step = /* @__PURE__ */ __name((command, id6, args, why) => ({
|
|
11842
|
+
kind: "command",
|
|
11843
|
+
step: id6,
|
|
11844
|
+
command: pathOf3(command),
|
|
11845
|
+
args,
|
|
11846
|
+
why,
|
|
11847
|
+
safe_to_auto_execute: true
|
|
11848
|
+
}), "step");
|
|
11849
|
+
var compactStep = /* @__PURE__ */ __name((command, args, why) => rootOf2(command).getOptionValue("compact") === true || !declaresRow(command) ? [] : [
|
|
11850
|
+
step(command, "output.compact", { ...Object.fromEntries(Object.entries(args).filter(([key]) => !NOT_WITH_COMPACT.has(key))), compact: true }, why)
|
|
11851
|
+
], "compactStep");
|
|
11852
|
+
var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
11853
|
+
const args = typedArgs(command);
|
|
11854
|
+
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11855
|
+
}, "largeAnswerSteps");
|
|
11856
|
+
|
|
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
|
|
11646
11858
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11647
11859
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11648
11860
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11656,7 +11868,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11656
11868
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11657
11869
|
}, "strip");
|
|
11658
11870
|
|
|
11659
|
-
// 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
|
|
11660
11872
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11661
11873
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11662
11874
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11699,7 +11911,7 @@ var itemOf = /* @__PURE__ */ __name((item, { next = [], missing, meta } = {}) =>
|
|
|
11699
11911
|
};
|
|
11700
11912
|
return body;
|
|
11701
11913
|
}, "itemOf");
|
|
11702
|
-
var
|
|
11914
|
+
var snake4 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
11703
11915
|
var snakeKeysKeeping = /* @__PURE__ */ __name((verbatim) => {
|
|
11704
11916
|
const kept = new Set(verbatim);
|
|
11705
11917
|
const convert = /* @__PURE__ */ __name((value) => {
|
|
@@ -11710,7 +11922,7 @@ var snakeKeysKeeping = /* @__PURE__ */ __name((verbatim) => {
|
|
|
11710
11922
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => {
|
|
11711
11923
|
if (inner === void 0)
|
|
11712
11924
|
return [];
|
|
11713
|
-
const name =
|
|
11925
|
+
const name = snake4(key);
|
|
11714
11926
|
return [[name, kept.has(key) || kept.has(name) ? inner : convert(inner)]];
|
|
11715
11927
|
}));
|
|
11716
11928
|
}, "convert");
|
|
@@ -11750,7 +11962,16 @@ var sealed = /* @__PURE__ */ __name((value) => {
|
|
|
11750
11962
|
const { meta, ...rest } = withoutProviderRefs(value);
|
|
11751
11963
|
return { ...rest, meta: metaNow(meta) };
|
|
11752
11964
|
}, "sealed");
|
|
11753
|
-
var compactSteps = /* @__PURE__ */ __name((root, steps) => steps.map((
|
|
11965
|
+
var compactSteps = /* @__PURE__ */ __name((root, steps) => steps.map((step2) => step2.kind === "command" ? { ...step2, line: `${step2.line ?? stepLine(root, step2)} ${COMPACT_FLAG}` } : step2), "compactSteps");
|
|
11966
|
+
var withLargeAnswerStep = /* @__PURE__ */ __name((command, body) => {
|
|
11967
|
+
if ((body.next?.length ?? 0) >= MAX_NEXT_STEPS)
|
|
11968
|
+
return body;
|
|
11969
|
+
const added = largeAnswerSteps(command);
|
|
11970
|
+
if (added.length === 0 || Buffer.byteLength(JSON.stringify(body)) <= SOFT_OUTPUT_BYTES)
|
|
11971
|
+
return body;
|
|
11972
|
+
const root = rootOf2(command);
|
|
11973
|
+
return { ...body, next: [...body.next ?? [], ...withLines(root, runnable(root, added))] };
|
|
11974
|
+
}, "withLargeAnswerStep");
|
|
11754
11975
|
var linesOf = /* @__PURE__ */ __name((body) => jsonlOf("items" in body ? body : { items: [body.item], page: { mode: "page", limit: 1, has_more: false }, meta: body.meta }), "linesOf");
|
|
11755
11976
|
var jsonlRecords = /* @__PURE__ */ __name((body) => linesOf(sealed(body)).split("\n").map((line) => JSON.parse(line)), "jsonlRecords");
|
|
11756
11977
|
var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams, compact, full }, body, view) => {
|
|
@@ -11762,9 +11983,10 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
|
|
|
11762
11983
|
const kept = withoutProviderRefs({ ...body, ...next.length > 0 ? { next } : {} });
|
|
11763
11984
|
if (next.length === 0)
|
|
11764
11985
|
delete kept.next;
|
|
11765
|
-
const
|
|
11986
|
+
const sealedBody = sealed(kept);
|
|
11766
11987
|
const environment = environmentOf(command);
|
|
11767
11988
|
const drawn = compact && !environment.agent;
|
|
11989
|
+
const whole = format === "json" && !drawn && !environment.agent ? withLargeAnswerStep(command, sealedBody) : sealedBody;
|
|
11768
11990
|
if (drawn) {
|
|
11769
11991
|
const lined = whole.next ? { ...whole, next: compactSteps(root, whole.next) } : whole;
|
|
11770
11992
|
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
@@ -11784,8 +12006,8 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
|
|
|
11784
12006
|
setExitCode(command, code);
|
|
11785
12007
|
if (drawn || format === "json")
|
|
11786
12008
|
return;
|
|
11787
|
-
for (const
|
|
11788
|
-
renderer.note(
|
|
12009
|
+
for (const step2 of next)
|
|
12010
|
+
renderer.note(step2.kind === "command" ? `\u2192 ${step2.why}: ${stepLine(root, step2)}` : `\u2192 ${step2.why}`);
|
|
11789
12011
|
}, "renderAnswer");
|
|
11790
12012
|
var renderDocument = /* @__PURE__ */ __name(({ renderer }, document2) => renderer.result(document2), "renderDocument");
|
|
11791
12013
|
var itemAnswer = /* @__PURE__ */ __name((item) => sealed(itemOf(item)), "itemAnswer");
|
|
@@ -11900,6 +12122,8 @@ export {
|
|
|
11900
12122
|
readConfigFile,
|
|
11901
12123
|
rememberAccount,
|
|
11902
12124
|
recalledAccount,
|
|
12125
|
+
withSettingDefaults,
|
|
12126
|
+
settingRows,
|
|
11903
12127
|
NONE_NAMED,
|
|
11904
12128
|
namedProfile,
|
|
11905
12129
|
NoProfileHere,
|
|
@@ -12009,7 +12233,6 @@ export {
|
|
|
12009
12233
|
rowsOfEntity,
|
|
12010
12234
|
rowShapeOf,
|
|
12011
12235
|
compactText,
|
|
12012
|
-
withoutProviderRefs,
|
|
12013
12236
|
IMAGE_MODELS,
|
|
12014
12237
|
DEFAULT_IMAGE_MODEL,
|
|
12015
12238
|
imageModel,
|
|
@@ -12022,6 +12245,7 @@ export {
|
|
|
12022
12245
|
commandAt,
|
|
12023
12246
|
runnable,
|
|
12024
12247
|
stepLine,
|
|
12248
|
+
withoutProviderRefs,
|
|
12025
12249
|
answerSchema,
|
|
12026
12250
|
listOf,
|
|
12027
12251
|
itemOf,
|