@wirecat/cli-memo 0.131.57 → 0.131.59
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-XWRUFNP2.js → all-profiles-LHATPBN3.js} +5 -5
- package/dist/bundle/{anthropic-266QJJGV.js → anthropic-ZCFY7X3V.js} +3 -3
- package/dist/bundle/{app-server-YV3D7PPC.js → app-server-LMNKI46N.js} +35 -35
- package/dist/bundle/auto-MWAOY7KC.js +86 -0
- package/dist/bundle/{bun-22MM6T54.js → bun-Z5XDW2UR.js} +2 -2
- package/dist/bundle/{bun-sqlite-V73FFF2C.js → bun-sqlite-GC55XSRP.js} +2 -2
- package/dist/bundle/{chunk-FU3XDL34.js → chunk-2ALNQ3ZG.js} +5 -5
- package/dist/bundle/{chunk-4XKHXETB.js → chunk-3HX5I5KX.js} +726 -517
- package/dist/bundle/{chunk-TB4IRRAC.js → chunk-3L6SQL6I.js} +1 -1
- package/dist/bundle/{chunk-2LPPNYOZ.js → chunk-4JBR277T.js} +1 -1
- package/dist/bundle/{chunk-RTROEIYE.js → chunk-5QRRSPCL.js} +2 -2
- package/dist/bundle/{chunk-V4BKQWDS.js → chunk-775KV34P.js} +227 -187
- package/dist/bundle/{chunk-QHZTKYHC.js → chunk-7FAFZQYC.js} +4 -4
- package/dist/bundle/{chunk-NEWKSMXP.js → chunk-7FY7DHFV.js} +2 -2
- package/dist/bundle/{chunk-YC4KNMOZ.js → chunk-7H45WVOV.js} +5 -5
- package/dist/bundle/{chunk-PBVG3KJR.js → chunk-7IMLRFCG.js} +3 -3
- package/dist/bundle/{chunk-F5DOQOCK.js → chunk-A6HTI2EV.js} +12 -12
- package/dist/bundle/{chunk-PHWJBFZ6.js → chunk-ABLNLLM6.js} +31 -31
- package/dist/bundle/{chunk-XC6OYACL.js → chunk-AQ44SSA2.js} +13 -9
- package/dist/bundle/{chunk-NFAF27AD.js → chunk-BFDN7ZRX.js} +5 -5
- package/dist/bundle/{chunk-RYDNM3K2.js → chunk-BIKOHAZH.js} +1 -1
- package/dist/bundle/{chunk-2CF2R7SA.js → chunk-CBNN7VP2.js} +6 -6
- package/dist/bundle/{chunk-CQPMBTB6.js → chunk-CQ7NDIKS.js} +1 -1
- package/dist/bundle/{chunk-DQWHLOKG.js → chunk-ENVEZQ2F.js} +4 -4
- package/dist/bundle/{chunk-XLYMVYMU.js → chunk-EXIFPE4R.js} +22 -4
- package/dist/bundle/{chunk-MV6ZSBA3.js → chunk-FHTIB66O.js} +256 -256
- package/dist/bundle/{chunk-N2TGYTKE.js → chunk-FYG52VXO.js} +1 -1
- package/dist/bundle/{chunk-OROO3KYQ.js → chunk-GKRSFUAN.js} +1 -1
- package/dist/bundle/{chunk-72ZEEKOJ.js → chunk-HBY2VTP6.js} +3 -3
- package/dist/bundle/{chunk-GBOES7QS.js → chunk-HPMEODWD.js} +2 -2
- package/dist/bundle/{chunk-FG7ZGEZ6.js → chunk-IKMCUKAE.js} +4 -4
- package/dist/bundle/{chunk-6FABO4WB.js → chunk-IRFXP5R5.js} +1 -1
- package/dist/bundle/{chunk-IRTWA4KO.js → chunk-JCHC5EEV.js} +4 -4
- package/dist/bundle/{chunk-IY7GB2SJ.js → chunk-KG6HO3XP.js} +2 -2
- package/dist/bundle/{chunk-PE7RYCI4.js → chunk-LWVCZPQF.js} +12 -12
- package/dist/bundle/{chunk-HVHUHYNF.js → chunk-M36WYT62.js} +1 -1
- package/dist/bundle/{chunk-ONJNZ2RJ.js → chunk-M4C4PD6O.js} +1 -1
- package/dist/bundle/{chunk-XXOWA66S.js → chunk-MF3B3UAK.js} +32 -21
- package/dist/bundle/{chunk-EUE76Q4D.js → chunk-MIJKJNIA.js} +3 -3
- package/dist/bundle/{chunk-RJWL3NEL.js → chunk-MTIAWKHJ.js} +1 -1
- package/dist/bundle/{chunk-BLCYVRW3.js → chunk-N57QFHPJ.js} +7 -7
- package/dist/bundle/{chunk-WKMLLL2F.js → chunk-NQBV7NNO.js} +49 -49
- package/dist/bundle/{chunk-EQQIUVLP.js → chunk-OD5IBWOB.js} +4 -4
- package/dist/bundle/{chunk-KZDKFYIF.js → chunk-PPJXTU54.js} +156 -151
- package/dist/bundle/{chunk-Z6RSOFHK.js → chunk-PPZCQ6DC.js} +2 -2
- package/dist/bundle/{chunk-L3GFAQFP.js → chunk-PQEJBESM.js} +21 -21
- package/dist/bundle/{chunk-NDCURVJS.js → chunk-ROYHEBF4.js} +4 -4
- package/dist/bundle/{chunk-VEDOHZEU.js → chunk-SB44NDKV.js} +7 -7
- package/dist/bundle/{chunk-YTAQKOAW.js → chunk-SJAX32ZF.js} +1 -1
- package/dist/bundle/{chunk-4K2ECEHT.js → chunk-SK3GNZFF.js} +10 -10
- package/dist/bundle/{chunk-D7FZIH5H.js → chunk-TWHA3OB2.js} +9 -9
- package/dist/bundle/{chunk-XEQPZBIH.js → chunk-UQWLLRYP.js} +1 -1
- package/dist/bundle/{chunk-SMLBSPMG.js → chunk-UTCOTLJP.js} +4 -4
- package/dist/bundle/{chunk-6WWF4RST.js → chunk-UTLAFKFU.js} +412 -355
- package/dist/bundle/{chunk-5FYDQEM7.js → chunk-V5E55COY.js} +5 -5
- package/dist/bundle/{chunk-G3QR3IYN.js → chunk-W6HT56DV.js} +8 -8
- package/dist/bundle/{chunk-JYUNAC6P.js → chunk-WFF7X6LI.js} +6 -6
- package/dist/bundle/{chunk-ATEHG5O6.js → chunk-WJ3VJYM4.js} +2 -2
- package/dist/bundle/{chunk-QLCPRKFK.js → chunk-XGR7ND66.js} +28 -28
- package/dist/bundle/{chunk-3BWYMNWP.js → chunk-YA7YYH3E.js} +1 -1
- package/dist/bundle/{chunk-3N7LEJRT.js → chunk-YO4PT3MD.js} +1 -1
- package/dist/bundle/{chunk-P7L4FG5S.js → chunk-Z2R4SK5Q.js} +1 -1
- package/dist/bundle/{chunk-DUBGCFRO.js → chunk-ZELDY6H4.js} +2 -2
- package/dist/bundle/{command-contract-DKK56GZX.js → command-contract-XKSGEPXG.js} +11 -11
- package/dist/bundle/{decode-JHVAOF3N.js → decode-6PPIALX2.js} +2 -2
- package/dist/bundle/{echarts-KCOXA225.js → echarts-XQ7T6SKK.js} +2 -2
- package/dist/bundle/{embed-4NYYOVNS.js → embed-W56IWO4I.js} +3 -3
- package/dist/bundle/{embedder-SHPWEDIQ.js → embedder-IWJHHYLE.js} +6 -6
- package/dist/bundle/{entry-VZE4CVPX.js → entry-OZSQA6IT.js} +4 -4
- package/dist/bundle/failure-2V4YXERK.js +66 -0
- package/dist/bundle/{first-run-EKXME7UK.js → first-run-LT5QD4MA.js} +5 -5
- package/dist/bundle/{first-screen-QS5PVWDZ.js → first-screen-IMWQP24U.js} +12 -12
- package/dist/bundle/{instructions-ER3ONEOR.js → instructions-DHUIJMK4.js} +1 -1
- package/dist/bundle/{mcp-3ABYEJI3.js → mcp-3X7LMJSZ.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-DBZKVPDA.js → node-BSK32EM3.js} +2 -2
- package/dist/bundle/{node-sqlite-UZVU7EXS.js → node-sqlite-SYF7X36U.js} +3 -3
- package/dist/bundle/{oauth-VEFHKRWG.js → oauth-ZEWUPRPD.js} +4 -4
- package/dist/bundle/{open-XNRAMLOK.js → open-4EKQE47K.js} +2 -2
- package/dist/bundle/{openai-4XIX5RN2.js → openai-UGNJPON6.js} +7 -7
- package/dist/bundle/{process-EIGF77RB.js → process-KQ5PLFEX.js} +1 -1
- package/dist/bundle/{program-6ZIWHNZV.js → program-WSVJK4LB.js} +82 -60
- package/dist/bundle/{prompt-V7RFTWTA.js → prompt-KA6BE6HG.js} +4 -2
- package/dist/bundle/{recognize-7PWWI67V.js → recognize-ZM75USNS.js} +1 -1
- package/dist/bundle/{remote-NOKKQ2U5.js → remote-I5MIVEGH.js} +4 -4
- package/dist/bundle/{rerank-X7UWX2ZF.js → rerank-46KI3363.js} +4 -4
- package/dist/bundle/{serve-Z6YCLXXP.js → serve-QE4CSBAB.js} +6 -6
- package/dist/bundle/{server-LXD7DXU3.js → server-EFNICTJC.js} +50 -50
- package/dist/bundle/server-J3VKU7NQ.js +48 -0
- package/dist/bundle/server-MLOQ4RS7.js +61 -0
- package/dist/bundle/{state-K5D3BMKT.js → state-2W2BFTG7.js} +3 -3
- package/dist/bundle/{store-6SZBCSUF.js → store-M4Q4BIDW.js} +14 -9
- package/dist/bundle/store-maintenance-command-KYCDTJQ2.js +48 -0
- package/dist/bundle/update-JEYA6GXL.js +69 -0
- package/dist/examples.js +1 -1
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/relationships-scan.d.ts.map +1 -1
- package/dist/knowledge/relationships-scan.js +23 -2
- package/dist/knowledge/relationships-scan.js.map +1 -1
- package/dist/review/review.d.ts +1 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +5 -0
- package/dist/review/review.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/projects.md +1 -1
- package/skills/morning-digest/SKILL.md +40 -33
- package/dist/bundle/auto-B7SEJAR5.js +0 -86
- package/dist/bundle/failure-CMZXMZO6.js +0 -66
- package/dist/bundle/server-AXMJBL6J.js +0 -61
- package/dist/bundle/server-KABSY3RL.js +0 -48
- package/dist/bundle/store-maintenance-command-GTMZOLMZ.js +0 -48
- package/dist/bundle/update-63B3BTGO.js +0 -69
- /package/dist/bundle/{chunk-SO2HNIPX.js → chunk-DZ2GIEEY.js} +0 -0
|
@@ -9,19 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CBNN7VP2.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MIJKJNIA.js";
|
|
16
16
|
import {
|
|
17
17
|
envName,
|
|
18
18
|
readOnlyLockOf,
|
|
19
19
|
readOnlyRefusal
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YA7YYH3E.js";
|
|
21
21
|
import {
|
|
22
22
|
carries
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-M4C4PD6O.js";
|
|
24
24
|
import {
|
|
25
|
+
BUSINESS_KINDS,
|
|
25
26
|
DEAL_ROLES,
|
|
26
27
|
FACT_STATUSES,
|
|
27
28
|
FACT_TYPES,
|
|
@@ -74,23 +75,23 @@ import {
|
|
|
74
75
|
text,
|
|
75
76
|
time,
|
|
76
77
|
untrusted
|
|
77
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-775KV34P.js";
|
|
78
79
|
import {
|
|
79
80
|
isCliFailure,
|
|
80
81
|
storeDamaged
|
|
81
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-KG6HO3XP.js";
|
|
82
83
|
import {
|
|
83
84
|
readSharedSection,
|
|
84
85
|
sharedConfigPath,
|
|
85
86
|
writeSharedSection
|
|
86
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-ROYHEBF4.js";
|
|
87
88
|
import {
|
|
88
89
|
filesPresent,
|
|
89
90
|
sharedModelsDirectory
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-HBY2VTP6.js";
|
|
91
92
|
import {
|
|
92
93
|
storePath
|
|
93
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-GKRSFUAN.js";
|
|
94
95
|
import {
|
|
95
96
|
configFilePath,
|
|
96
97
|
createRecordLog,
|
|
@@ -3956,7 +3957,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3956
3957
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3957
3958
|
}), "commandsDocument");
|
|
3958
3959
|
|
|
3959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3960
3961
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3961
3962
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3962
3963
|
messageId: message2.id,
|
|
@@ -4062,7 +4063,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4062
4063
|
}, "guardedWrite");
|
|
4063
4064
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4064
4065
|
|
|
4065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4066
4067
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4067
4068
|
try {
|
|
4068
4069
|
return work();
|
|
@@ -4089,7 +4090,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4089
4090
|
return projectFields(value, fields);
|
|
4090
4091
|
}), "projectFields");
|
|
4091
4092
|
|
|
4092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4093
4094
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4094
4095
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4095
4096
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4111,7 +4112,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4111
4112
|
}
|
|
4112
4113
|
}, "withAbort");
|
|
4113
4114
|
|
|
4114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4115
4116
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4116
4117
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4117
4118
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4511,7 +4512,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4511
4512
|
}
|
|
4512
4513
|
}, "assertRetentionEvidenceRead");
|
|
4513
4514
|
|
|
4514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4515
4516
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4516
4517
|
import { join } from "node:path";
|
|
4517
4518
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4533,12 +4534,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4533
4534
|
}, "profilesWithAccounts");
|
|
4534
4535
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4535
4536
|
|
|
4536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4537
4538
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4538
4539
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4539
4540
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4540
4541
|
|
|
4541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4542
4543
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4543
4544
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4544
4545
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4574,7 +4575,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4574
4575
|
return value;
|
|
4575
4576
|
}, "atDetail");
|
|
4576
4577
|
|
|
4577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/output.js
|
|
4578
4579
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4579
4580
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4580
4581
|
if (other)
|
|
@@ -4638,7 +4639,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4638
4639
|
}, "warn")
|
|
4639
4640
|
}), "silence");
|
|
4640
4641
|
|
|
4641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4642
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4642
4643
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4643
4644
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4644
4645
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4672,7 +4673,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4672
4673
|
cache: "cache.answered"
|
|
4673
4674
|
};
|
|
4674
4675
|
|
|
4675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4676
4677
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4677
4678
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4678
4679
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4685,13 +4686,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4685
4686
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4686
4687
|
}), "snakeLogger");
|
|
4687
4688
|
|
|
4688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4689
4690
|
import { randomUUID } from "node:crypto";
|
|
4690
4691
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4691
4692
|
import { userInfo } from "node:os";
|
|
4692
4693
|
import { join as join2, sep } from "node:path";
|
|
4693
4694
|
|
|
4694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4695
4696
|
var diagnostic = {
|
|
4696
4697
|
event: true,
|
|
4697
4698
|
operation: true,
|
|
@@ -4761,7 +4762,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4761
4762
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4762
4763
|
].sort();
|
|
4763
4764
|
|
|
4764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4765
4766
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4766
4767
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4767
4768
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5114,7 +5115,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5114
5115
|
};
|
|
5115
5116
|
}, "metadataOf");
|
|
5116
5117
|
|
|
5117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5118
5119
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5119
5120
|
import { randomBytes } from "node:crypto";
|
|
5120
5121
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5149,7 +5150,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5149
5150
|
var attempts = new AsyncLocalStorage2();
|
|
5150
5151
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5151
5152
|
|
|
5152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5153
5154
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5154
5155
|
const recording = startRecording(options);
|
|
5155
5156
|
try {
|
|
@@ -5341,7 +5342,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5341
5342
|
return void 0;
|
|
5342
5343
|
}, "partialOutcome");
|
|
5343
5344
|
|
|
5344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5345
5346
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5346
5347
|
if (ms2 === void 0)
|
|
5347
5348
|
return body();
|
|
@@ -5367,7 +5368,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5367
5368
|
}
|
|
5368
5369
|
}, "withDeadline");
|
|
5369
5370
|
|
|
5370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5371
5372
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5372
5373
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5373
5374
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5409,10 +5410,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5409
5410
|
return root;
|
|
5410
5411
|
}, "rootOf");
|
|
5411
5412
|
|
|
5412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5413
5414
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5414
5415
|
|
|
5415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5416
5417
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5417
5418
|
try {
|
|
5418
5419
|
const url3 = new URL(value);
|
|
@@ -5422,7 +5423,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5422
5423
|
}
|
|
5423
5424
|
}, "endpoint");
|
|
5424
5425
|
|
|
5425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5426
5427
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5427
5428
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5428
5429
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5491,7 +5492,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5491
5492
|
};
|
|
5492
5493
|
}, "modelTarget");
|
|
5493
5494
|
|
|
5494
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5495
5496
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5496
5497
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5497
5498
|
var AI_FIELDS = {
|
|
@@ -5535,7 +5536,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5535
5536
|
};
|
|
5536
5537
|
}, "resolveAISettings");
|
|
5537
5538
|
|
|
5538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5539
5540
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5540
5541
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5541
5542
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5549,7 +5550,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5549
5550
|
return ms2;
|
|
5550
5551
|
}, "parseDuration");
|
|
5551
5552
|
|
|
5552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5553
5554
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5554
5555
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5555
5556
|
var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
|
|
@@ -5811,7 +5812,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5811
5812
|
}, "vectorModelKey");
|
|
5812
5813
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5813
5814
|
|
|
5814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5815
5816
|
var HISTORY_MAX_DAYS = 1095;
|
|
5816
5817
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5817
5818
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5858,7 +5859,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5858
5859
|
return { batch: { ...batch, messages }, skipped };
|
|
5859
5860
|
}, "limitBatch");
|
|
5860
5861
|
|
|
5861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5862
5863
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5863
5864
|
import { join as join3 } from "node:path";
|
|
5864
5865
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5947,10 +5948,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5947
5948
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5948
5949
|
}, "registryProfiles");
|
|
5949
5950
|
|
|
5950
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5951
5952
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5952
5953
|
|
|
5953
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5954
5955
|
var REPAIR_WORDS = {
|
|
5955
5956
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5956
5957
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6191,7 +6192,7 @@ ${parts.join(",\n")}
|
|
|
6191
6192
|
${indent}${close}`;
|
|
6192
6193
|
}, "serialise");
|
|
6193
6194
|
|
|
6194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6195
6196
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6196
6197
|
var SECTIONS = ["personal", "bot"];
|
|
6197
6198
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6486,7 +6487,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6486
6487
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6487
6488
|
}, "readConfigFile");
|
|
6488
6489
|
|
|
6489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6490
6491
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6491
6492
|
import { dirname, join as join4 } from "node:path";
|
|
6492
6493
|
var DEFAULT_CONFIG = {
|
|
@@ -6515,7 +6516,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6515
6516
|
}
|
|
6516
6517
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6517
6518
|
|
|
6518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6519
6520
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6520
6521
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6521
6522
|
const path2 = key.split(".");
|
|
@@ -6548,7 +6549,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6548
6549
|
};
|
|
6549
6550
|
}), "settingRows");
|
|
6550
6551
|
|
|
6551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6552
6553
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6553
6554
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6554
6555
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -7058,7 +7059,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
7058
7059
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
7059
7060
|
}, "given");
|
|
7060
7061
|
|
|
7061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
7062
7063
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
7063
7064
|
const slot = environmentOf(command).exit;
|
|
7064
7065
|
if (slot)
|
|
@@ -7180,7 +7181,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7180
7181
|
return words2.join(" ");
|
|
7181
7182
|
}, "commandPath");
|
|
7182
7183
|
|
|
7183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7184
7185
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7185
7186
|
var FETCH = { remote: "read", local: "write" };
|
|
7186
7187
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7295,7 +7296,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7295
7296
|
throw readOnlyRefusal(lock, what);
|
|
7296
7297
|
}, "refuseUnderReadOnly");
|
|
7297
7298
|
|
|
7298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7299
7300
|
var account = strictObject({
|
|
7300
7301
|
provider: text,
|
|
7301
7302
|
id,
|
|
@@ -7305,7 +7306,7 @@ var account = strictObject({
|
|
|
7305
7306
|
scope: optional(picklist(["personal", "work"]))
|
|
7306
7307
|
});
|
|
7307
7308
|
|
|
7308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7309
7310
|
var accountSession = strictObject({
|
|
7310
7311
|
current: boolean(),
|
|
7311
7312
|
client: nullable(text),
|
|
@@ -7315,7 +7316,7 @@ var accountSession = strictObject({
|
|
|
7315
7316
|
created_at: optional(nullable(time))
|
|
7316
7317
|
});
|
|
7317
7318
|
|
|
7318
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7319
7320
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7320
7321
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7321
7322
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7333,7 +7334,7 @@ var accountPrivacy = strictObject({
|
|
|
7333
7334
|
});
|
|
7334
7335
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7335
7336
|
|
|
7336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7337
7338
|
var accountProfile = strictObject({
|
|
7338
7339
|
profile: id,
|
|
7339
7340
|
current: boolean(),
|
|
@@ -7345,7 +7346,7 @@ var accountProfile = strictObject({
|
|
|
7345
7346
|
bot: optional(literal(true))
|
|
7346
7347
|
});
|
|
7347
7348
|
|
|
7348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7349
7350
|
var milliseconds = pipe(number(), minValue(0));
|
|
7350
7351
|
var counterReading = strictObject({
|
|
7351
7352
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7357,7 +7358,7 @@ var counterReading = strictObject({
|
|
|
7357
7358
|
});
|
|
7358
7359
|
var selection = record(string(), unknown());
|
|
7359
7360
|
|
|
7360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7361
7362
|
var adminRow = strictObject({
|
|
7362
7363
|
ref: reference,
|
|
7363
7364
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7410,7 +7411,7 @@ var adminReport = strictObject({
|
|
|
7410
7411
|
rows: array(adminRow)
|
|
7411
7412
|
});
|
|
7412
7413
|
|
|
7413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7414
7415
|
var closeSuggestion = strictObject({
|
|
7415
7416
|
as: picklist(["done", "dismissed"]),
|
|
7416
7417
|
/** The agent's name. */
|
|
@@ -7472,7 +7473,7 @@ var task = strictObject({
|
|
|
7472
7473
|
updated_at: optional(time)
|
|
7473
7474
|
});
|
|
7474
7475
|
|
|
7475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7476
7477
|
var agendaChat = strictObject({
|
|
7477
7478
|
chat: reference,
|
|
7478
7479
|
title: nullable(text),
|
|
@@ -7542,11 +7543,11 @@ var agenda = strictObject({
|
|
|
7542
7543
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7543
7544
|
});
|
|
7544
7545
|
|
|
7545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7546
7547
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7547
7548
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7548
7549
|
|
|
7549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7550
7551
|
var attachment = strictObject({
|
|
7551
7552
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7552
7553
|
message: optional(reference),
|
|
@@ -7584,7 +7585,7 @@ var attachment = strictObject({
|
|
|
7584
7585
|
});
|
|
7585
7586
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7586
7587
|
|
|
7587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7588
7589
|
var actionableError = objectWithRest({
|
|
7589
7590
|
code: text,
|
|
7590
7591
|
message: text,
|
|
@@ -7601,7 +7602,7 @@ var batchResult = strictObject({
|
|
|
7601
7602
|
max_error_percent: count
|
|
7602
7603
|
});
|
|
7603
7604
|
|
|
7604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7605
7606
|
var extractionItem = strictObject({
|
|
7606
7607
|
ref: reference,
|
|
7607
7608
|
attachment: count,
|
|
@@ -7634,7 +7635,7 @@ var extractionReport = strictObject({
|
|
|
7634
7635
|
cursor: optional(text)
|
|
7635
7636
|
});
|
|
7636
7637
|
|
|
7637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7638
7639
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7639
7640
|
var attachmentBytes = strictObject({
|
|
7640
7641
|
ref: reference,
|
|
@@ -7662,7 +7663,7 @@ var attachmentTextChange = strictObject({
|
|
|
7662
7663
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7663
7664
|
});
|
|
7664
7665
|
|
|
7665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7666
7667
|
var chart = strictObject({
|
|
7667
7668
|
version: literal(1),
|
|
7668
7669
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7677,7 +7678,7 @@ var chart = strictObject({
|
|
|
7677
7678
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7678
7679
|
});
|
|
7679
7680
|
|
|
7680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7681
7682
|
var member = strictObject({
|
|
7682
7683
|
id,
|
|
7683
7684
|
name: nullable(text),
|
|
@@ -7700,7 +7701,7 @@ var member = strictObject({
|
|
|
7700
7701
|
check: optional(record(string(), unknown()))
|
|
7701
7702
|
});
|
|
7702
7703
|
|
|
7703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7704
7705
|
var setting = optional(nullable(boolean()));
|
|
7705
7706
|
var chat = strictObject({
|
|
7706
7707
|
ref: reference,
|
|
@@ -7741,7 +7742,7 @@ var chat = strictObject({
|
|
|
7741
7742
|
members: optional(array(member))
|
|
7742
7743
|
});
|
|
7743
7744
|
|
|
7744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7745
7746
|
var named2 = strictObject({
|
|
7746
7747
|
id,
|
|
7747
7748
|
title: nullable(text),
|
|
@@ -7764,7 +7765,7 @@ var folder = strictObject({
|
|
|
7764
7765
|
excluded_chats: optional(array(named2))
|
|
7765
7766
|
});
|
|
7766
7767
|
|
|
7767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7768
7769
|
var inviteLink = strictObject({
|
|
7769
7770
|
link: text,
|
|
7770
7771
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7780,7 +7781,7 @@ var inviteLink = strictObject({
|
|
|
7780
7781
|
joined_count: optional(count)
|
|
7781
7782
|
});
|
|
7782
7783
|
|
|
7783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7784
7785
|
var operated = { operation_id: id, chat_id: id };
|
|
7785
7786
|
var group = strictObject({
|
|
7786
7787
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7860,7 +7861,7 @@ var chatFolderOrder = strictObject({
|
|
|
7860
7861
|
folders: array(strictObject({ id, title: text }))
|
|
7861
7862
|
});
|
|
7862
7863
|
|
|
7863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7864
7865
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7865
7866
|
var chatRemoval = strictObject(operated2);
|
|
7866
7867
|
var chatMuting = strictObject({
|
|
@@ -7871,7 +7872,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7871
7872
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7872
7873
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7873
7874
|
|
|
7874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7875
7876
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7876
7877
|
var chatEvent = strictObject({
|
|
7877
7878
|
chat_id: id,
|
|
@@ -7888,7 +7889,7 @@ var chatEvent = strictObject({
|
|
|
7888
7889
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7889
7890
|
});
|
|
7890
7891
|
|
|
7891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7892
7893
|
var chatMetadata = strictObject({
|
|
7893
7894
|
chat_id: id,
|
|
7894
7895
|
title: nullable(text),
|
|
@@ -7903,7 +7904,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7903
7904
|
has_more: boolean()
|
|
7904
7905
|
});
|
|
7905
7906
|
|
|
7906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7907
7908
|
var action = picklist(["report", "delete", "remove"]);
|
|
7908
7909
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7909
7910
|
var chatRules = strictObject({
|
|
@@ -7940,7 +7941,7 @@ var chatModeration = strictObject({
|
|
|
7940
7941
|
}))
|
|
7941
7942
|
});
|
|
7942
7943
|
|
|
7943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7944
7945
|
var optionalCount = optional(count);
|
|
7945
7946
|
var minutes = nullable(number());
|
|
7946
7947
|
var chatStats = strictObject({
|
|
@@ -8014,7 +8015,7 @@ var taskStats = strictObject({
|
|
|
8014
8015
|
}))
|
|
8015
8016
|
});
|
|
8016
8017
|
|
|
8017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8018
8019
|
var memberCount = strictObject({
|
|
8019
8020
|
day: pipe(text, isoDate()),
|
|
8020
8021
|
participants: nullable(count),
|
|
@@ -8037,7 +8038,7 @@ var chatTracking = strictObject({
|
|
|
8037
8038
|
tracked: boolean()
|
|
8038
8039
|
});
|
|
8039
8040
|
|
|
8040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8041
8042
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8042
8043
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8043
8044
|
var profileFields = {
|
|
@@ -8075,7 +8076,7 @@ var profileFields = {
|
|
|
8075
8076
|
}))
|
|
8076
8077
|
};
|
|
8077
8078
|
|
|
8078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8079
8080
|
var contact = strictObject({
|
|
8080
8081
|
ref: reference,
|
|
8081
8082
|
id,
|
|
@@ -8106,7 +8107,7 @@ var contact = strictObject({
|
|
|
8106
8107
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8107
8108
|
});
|
|
8108
8109
|
|
|
8109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
8110
8111
|
var WEIGHTS = {
|
|
8111
8112
|
bot: 3,
|
|
8112
8113
|
scam: 3,
|
|
@@ -8131,7 +8132,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8131
8132
|
var DIGITS = /\d{5,}/;
|
|
8132
8133
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8133
8134
|
|
|
8134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8135
8136
|
var linkedIdentity = strictObject({
|
|
8136
8137
|
provider: text,
|
|
8137
8138
|
id,
|
|
@@ -8173,7 +8174,7 @@ var contactCheck = strictObject({
|
|
|
8173
8174
|
checked_at: time
|
|
8174
8175
|
});
|
|
8175
8176
|
|
|
8176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8177
8178
|
var quoted = strictObject({
|
|
8178
8179
|
id,
|
|
8179
8180
|
sender_id: nullable(id),
|
|
@@ -8292,7 +8293,7 @@ var message = strictObject({
|
|
|
8292
8293
|
provider_metadata: providerMetadata
|
|
8293
8294
|
});
|
|
8294
8295
|
|
|
8295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8296
8297
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8297
8298
|
var contextMessage = strictObject({
|
|
8298
8299
|
locator: reference,
|
|
@@ -8492,7 +8493,7 @@ var contactPreparation = strictObject({
|
|
|
8492
8493
|
})
|
|
8493
8494
|
});
|
|
8494
8495
|
|
|
8495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8496
8497
|
var contactNote = strictObject({
|
|
8497
8498
|
id,
|
|
8498
8499
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8504,13 +8505,13 @@ var contactNote = strictObject({
|
|
|
8504
8505
|
updated_at: time
|
|
8505
8506
|
});
|
|
8506
8507
|
|
|
8507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8508
8509
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8509
8510
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8510
8511
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8511
8512
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8512
8513
|
|
|
8513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8514
8515
|
var conversation = strictObject({
|
|
8515
8516
|
id,
|
|
8516
8517
|
chat: reference,
|
|
@@ -8525,7 +8526,7 @@ var conversation = strictObject({
|
|
|
8525
8526
|
rules_version: count
|
|
8526
8527
|
});
|
|
8527
8528
|
|
|
8528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8529
8530
|
var conversationBuild = strictObject({
|
|
8530
8531
|
chat: id,
|
|
8531
8532
|
messages: count,
|
|
@@ -8550,7 +8551,7 @@ var catchUpPreparation = strictObject({
|
|
|
8550
8551
|
prepared: optional(conversationPreparation)
|
|
8551
8552
|
});
|
|
8552
8553
|
|
|
8553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8554
8555
|
var conversationDetails = union([
|
|
8555
8556
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8556
8557
|
message
|
|
@@ -8640,7 +8641,7 @@ var conversationHit = strictObject({
|
|
|
8640
8641
|
stale: boolean()
|
|
8641
8642
|
});
|
|
8642
8643
|
|
|
8643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8644
8645
|
var counters = strictObject({
|
|
8645
8646
|
cutoff: time,
|
|
8646
8647
|
max_age_ms: milliseconds,
|
|
@@ -8670,7 +8671,7 @@ var counterRefresh = strictObject({
|
|
|
8670
8671
|
complete: optional(boolean())
|
|
8671
8672
|
});
|
|
8672
8673
|
|
|
8673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8674
8675
|
var nullableText = nullable(text);
|
|
8675
8676
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8676
8677
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8760,7 +8761,7 @@ var stage = strictObject({
|
|
|
8760
8761
|
untrusted
|
|
8761
8762
|
});
|
|
8762
8763
|
|
|
8763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8764
8765
|
var document = strictObject({
|
|
8765
8766
|
ref: reference,
|
|
8766
8767
|
id,
|
|
@@ -8775,7 +8776,7 @@ var document = strictObject({
|
|
|
8775
8776
|
owners: optional(array(text))
|
|
8776
8777
|
});
|
|
8777
8778
|
|
|
8778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8779
8780
|
var documentLink = strictObject({
|
|
8780
8781
|
ref: reference,
|
|
8781
8782
|
url: text,
|
|
@@ -8786,7 +8787,7 @@ var documentLink = strictObject({
|
|
|
8786
8787
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8787
8788
|
});
|
|
8788
8789
|
|
|
8789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8790
8791
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8791
8792
|
var contribution = strictObject({
|
|
8792
8793
|
message: evidenceMessage,
|
|
@@ -8816,7 +8817,7 @@ var retentionStay = strictObject({
|
|
|
8816
8817
|
});
|
|
8817
8818
|
var evidence = union([contribution, retentionStay]);
|
|
8818
8819
|
|
|
8819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8820
8821
|
var fact = strictObject({
|
|
8821
8822
|
ref: reference,
|
|
8822
8823
|
id,
|
|
@@ -8846,9 +8847,9 @@ var fact = strictObject({
|
|
|
8846
8847
|
updated_at: time
|
|
8847
8848
|
});
|
|
8848
8849
|
|
|
8849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8850
8851
|
var hit = strictObject({
|
|
8851
|
-
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8852
|
+
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8852
8853
|
ref: reference,
|
|
8853
8854
|
provider: text,
|
|
8854
8855
|
url: optional(text),
|
|
@@ -8878,13 +8879,17 @@ var hit = strictObject({
|
|
|
8878
8879
|
lines_total: optional(count),
|
|
8879
8880
|
/** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
|
|
8880
8881
|
id: optional(pipe(string(), minLength(1))),
|
|
8882
|
+
/** A business hit's: `proposed` waits for the owner; a product or a wallet has no review and is `confirmed`. */
|
|
8883
|
+
review: optional(picklist(["proposed", "confirmed"])),
|
|
8884
|
+
/** A business hit's record in the import that made it; absent for one the owner or an agent wrote. */
|
|
8885
|
+
source_record: optional(strictObject({ provider: text, account: text, external_id: text })),
|
|
8881
8886
|
/** A message's files; absent when it has none. */
|
|
8882
8887
|
attachments: optional(array(hitFile)),
|
|
8883
8888
|
/** Absent on a note hit: the owner wrote it. */
|
|
8884
8889
|
untrusted
|
|
8885
8890
|
});
|
|
8886
8891
|
|
|
8887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8888
8893
|
var identity = strictObject({
|
|
8889
8894
|
ref: reference,
|
|
8890
8895
|
provider: text,
|
|
@@ -8897,7 +8902,7 @@ var identity = strictObject({
|
|
|
8897
8902
|
person: optional(nullable(reference))
|
|
8898
8903
|
});
|
|
8899
8904
|
|
|
8900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8901
8906
|
var imageEmbedding = strictObject({
|
|
8902
8907
|
model: text,
|
|
8903
8908
|
embedded: count,
|
|
@@ -8906,13 +8911,13 @@ var imageEmbedding = strictObject({
|
|
|
8906
8911
|
more: boolean()
|
|
8907
8912
|
});
|
|
8908
8913
|
|
|
8909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8910
8915
|
import { spawn } from "node:child_process";
|
|
8911
8916
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8912
8917
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8913
8918
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8914
8919
|
|
|
8915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8916
8921
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8917
8922
|
const total = input.total ?? null;
|
|
8918
8923
|
const updated = input.updatedAt ?? null;
|
|
@@ -8928,7 +8933,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8928
8933
|
};
|
|
8929
8934
|
}, "progressOf");
|
|
8930
8935
|
|
|
8931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8932
8937
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8933
8938
|
const run = currentRun();
|
|
8934
8939
|
const trace = traceId ?? run.traceId;
|
|
@@ -8942,7 +8947,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8942
8947
|
}));
|
|
8943
8948
|
}, "recordLogFor");
|
|
8944
8949
|
|
|
8945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8946
8951
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8947
8952
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8948
8953
|
const out = openSync(log, "a", 384);
|
|
@@ -9097,7 +9102,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
9097
9102
|
return { job: id6, pid, chat: input.chat, log };
|
|
9098
9103
|
}, "startArchiveJob");
|
|
9099
9104
|
|
|
9100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
9101
9106
|
var problem = strictObject({ code: text, message: text });
|
|
9102
9107
|
var job = strictObject({
|
|
9103
9108
|
id,
|
|
@@ -9120,7 +9125,7 @@ var job = strictObject({
|
|
|
9120
9125
|
error: optional(problem)
|
|
9121
9126
|
});
|
|
9122
9127
|
|
|
9123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
9124
9129
|
var joinRequest = strictObject({
|
|
9125
9130
|
person_id: id,
|
|
9126
9131
|
name: nullable(text),
|
|
@@ -9131,7 +9136,7 @@ var joinRequest = strictObject({
|
|
|
9131
9136
|
about: optional(text)
|
|
9132
9137
|
});
|
|
9133
9138
|
|
|
9134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
9135
9140
|
var botProfile = strictObject({
|
|
9136
9141
|
name: text,
|
|
9137
9142
|
token: text,
|
|
@@ -9224,7 +9229,7 @@ var stickerInventory = strictObject({
|
|
|
9224
9229
|
url: optional(nullable(text))
|
|
9225
9230
|
});
|
|
9226
9231
|
|
|
9227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9228
9233
|
var pollVote = strictObject({
|
|
9229
9234
|
person_id: id,
|
|
9230
9235
|
name: nullable(text),
|
|
@@ -9234,7 +9239,7 @@ var pollVote = strictObject({
|
|
|
9234
9239
|
voted_at: time
|
|
9235
9240
|
});
|
|
9236
9241
|
|
|
9237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9238
9243
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9239
9244
|
var observation = strictObject({
|
|
9240
9245
|
value: pipe(number(), minValue(0)),
|
|
@@ -9276,7 +9281,7 @@ var serveSummary = strictObject({
|
|
|
9276
9281
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9277
9282
|
});
|
|
9278
9283
|
|
|
9279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9280
9285
|
var mailCounts = strictObject({
|
|
9281
9286
|
by: picklist(["day", "week", "sender"]),
|
|
9282
9287
|
received: count,
|
|
@@ -9291,7 +9296,7 @@ var mailCounts = strictObject({
|
|
|
9291
9296
|
}))
|
|
9292
9297
|
});
|
|
9293
9298
|
|
|
9294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9295
9300
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9296
9301
|
var base = { id, evidence: array(evidence2) };
|
|
9297
9302
|
var finding = variant("kind", [
|
|
@@ -9435,7 +9440,7 @@ var mailFindings = strictObject({
|
|
|
9435
9440
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9436
9441
|
});
|
|
9437
9442
|
|
|
9438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9439
9444
|
var mediaArchive = strictObject({
|
|
9440
9445
|
directory: text,
|
|
9441
9446
|
chats: count,
|
|
@@ -9467,7 +9472,7 @@ var mediaArchiveTimer = union([
|
|
|
9467
9472
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9468
9473
|
]);
|
|
9469
9474
|
|
|
9470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9471
9476
|
var preparationId = pipe(string(), minLength(1));
|
|
9472
9477
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9473
9478
|
var preparationTime = nullable(isoTime);
|
|
@@ -9559,7 +9564,7 @@ var preparationMeeting = strictObject({
|
|
|
9559
9564
|
updated_at: isoTime
|
|
9560
9565
|
});
|
|
9561
9566
|
|
|
9562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9563
9568
|
var meetingEvidence = preparationEvidence;
|
|
9564
9569
|
var meetingPersonContext = strictObject({
|
|
9565
9570
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9581,7 +9586,7 @@ var meetingPersonContext = strictObject({
|
|
|
9581
9586
|
})
|
|
9582
9587
|
});
|
|
9583
9588
|
|
|
9584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9585
9590
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9586
9591
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9587
9592
|
var finding2 = variant("kind", [
|
|
@@ -9619,7 +9624,7 @@ var meetingFindings = strictObject({
|
|
|
9619
9624
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9620
9625
|
});
|
|
9621
9626
|
|
|
9622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9623
9628
|
var communicationCoverage = strictObject({
|
|
9624
9629
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9625
9630
|
query: string(),
|
|
@@ -9664,7 +9669,7 @@ var preparationCommunications = strictObject({
|
|
|
9664
9669
|
}))
|
|
9665
9670
|
});
|
|
9666
9671
|
|
|
9667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9668
9673
|
var meetingPreparation = strictObject({
|
|
9669
9674
|
communications: optional(preparationCommunications),
|
|
9670
9675
|
schema_version: literal(1),
|
|
@@ -9777,7 +9782,7 @@ var meetingPreparation = strictObject({
|
|
|
9777
9782
|
})
|
|
9778
9783
|
});
|
|
9779
9784
|
|
|
9780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9781
9786
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9782
9787
|
var id3 = pipe(string(), minLength(1));
|
|
9783
9788
|
var text3 = string();
|
|
@@ -9841,7 +9846,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9841
9846
|
})
|
|
9842
9847
|
});
|
|
9843
9848
|
|
|
9844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9845
9850
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9846
9851
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9847
9852
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9871,7 +9876,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9871
9876
|
})
|
|
9872
9877
|
});
|
|
9873
9878
|
|
|
9874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9875
9880
|
var text4 = string();
|
|
9876
9881
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9877
9882
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9888,7 +9893,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9888
9893
|
persistence: literal("proposal-only")
|
|
9889
9894
|
});
|
|
9890
9895
|
|
|
9891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9892
9897
|
var memory = strictObject({
|
|
9893
9898
|
ref: reference,
|
|
9894
9899
|
id,
|
|
@@ -9915,7 +9920,7 @@ var memory = strictObject({
|
|
|
9915
9920
|
updated_at: time
|
|
9916
9921
|
});
|
|
9917
9922
|
|
|
9918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9919
9924
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9920
9925
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9921
9926
|
var mention = strictObject({
|
|
@@ -9958,13 +9963,13 @@ var mentionRebuild = strictObject({
|
|
|
9958
9963
|
mentions: count
|
|
9959
9964
|
});
|
|
9960
9965
|
|
|
9961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9962
9967
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9963
9968
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9964
9969
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9965
9970
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9966
9971
|
|
|
9967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9968
9973
|
var messageTranscript = strictObject({
|
|
9969
9974
|
message_id: id,
|
|
9970
9975
|
text,
|
|
@@ -10022,7 +10027,7 @@ var evidencePacket = strictObject({
|
|
|
10022
10027
|
}))
|
|
10023
10028
|
});
|
|
10024
10029
|
|
|
10025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
10026
10031
|
var messageThread = strictObject({
|
|
10027
10032
|
ref: reference,
|
|
10028
10033
|
chat: id,
|
|
@@ -10039,7 +10044,7 @@ var messageThread = strictObject({
|
|
|
10039
10044
|
});
|
|
10040
10045
|
var messageContext = union([message, messageThread]);
|
|
10041
10046
|
|
|
10042
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
10043
10048
|
var messageCounts = strictObject({
|
|
10044
10049
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
10045
10050
|
total: count,
|
|
@@ -10052,7 +10057,7 @@ var messageCounts = strictObject({
|
|
|
10052
10057
|
}))
|
|
10053
10058
|
});
|
|
10054
10059
|
|
|
10055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
10056
10061
|
var messageLink = strictObject({
|
|
10057
10062
|
ref: reference,
|
|
10058
10063
|
url: nullable(text),
|
|
@@ -10069,7 +10074,7 @@ var messageLink = strictObject({
|
|
|
10069
10074
|
})))
|
|
10070
10075
|
});
|
|
10071
10076
|
|
|
10072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
10073
10078
|
var savedMessageFile = strictObject({
|
|
10074
10079
|
kind: text,
|
|
10075
10080
|
path: text,
|
|
@@ -10156,7 +10161,7 @@ var messageSyncAll = strictObject({
|
|
|
10156
10161
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10157
10162
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10158
10163
|
|
|
10159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10160
10165
|
var messageWrite = strictObject({
|
|
10161
10166
|
operation_id: id,
|
|
10162
10167
|
message,
|
|
@@ -10171,7 +10176,7 @@ var draftWrite = strictObject({
|
|
|
10171
10176
|
});
|
|
10172
10177
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10173
10178
|
|
|
10174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10175
10180
|
var model2 = strictObject({
|
|
10176
10181
|
id,
|
|
10177
10182
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10206,7 +10211,7 @@ var chosenModel = strictObject({
|
|
|
10206
10211
|
estimate_seconds: nullable(count)
|
|
10207
10212
|
});
|
|
10208
10213
|
|
|
10209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10210
10215
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10211
10216
|
var modelKey = strictObject({
|
|
10212
10217
|
provider: text,
|
|
@@ -10216,7 +10221,7 @@ var modelKey = strictObject({
|
|
|
10216
10221
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10217
10222
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10218
10223
|
|
|
10219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10220
10225
|
var link = {
|
|
10221
10226
|
target_text: nullable(text),
|
|
10222
10227
|
kind: text,
|
|
@@ -10257,7 +10262,7 @@ var note = strictObject({
|
|
|
10257
10262
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10258
10263
|
});
|
|
10259
10264
|
|
|
10260
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10261
10266
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10262
10267
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10263
10268
|
var graph = strictObject({
|
|
@@ -10291,14 +10296,14 @@ var officialStats = strictObject({
|
|
|
10291
10296
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10292
10297
|
});
|
|
10293
10298
|
|
|
10294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10295
10300
|
var person2 = strictObject({
|
|
10296
10301
|
ref: reference,
|
|
10297
10302
|
name: nullable(text),
|
|
10298
10303
|
identities: optional(array(identity))
|
|
10299
10304
|
});
|
|
10300
10305
|
|
|
10301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10302
10307
|
var poll = strictObject({
|
|
10303
10308
|
chat_id: id,
|
|
10304
10309
|
message_id: id,
|
|
@@ -10314,11 +10319,11 @@ var poll = strictObject({
|
|
|
10314
10319
|
});
|
|
10315
10320
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10316
10321
|
|
|
10317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10318
10323
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10319
10324
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10320
10325
|
|
|
10321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10322
10327
|
var figures = record(string(), number());
|
|
10323
10328
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10324
10329
|
var rankingRow = strictObject({
|
|
@@ -10365,7 +10370,7 @@ var ranking = strictObject({
|
|
|
10365
10370
|
rows: array(rankingRow)
|
|
10366
10371
|
});
|
|
10367
10372
|
|
|
10368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10369
10374
|
var reaction = strictObject({
|
|
10370
10375
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10371
10376
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10373,7 +10378,7 @@ var reaction = strictObject({
|
|
|
10373
10378
|
reacted_at: time
|
|
10374
10379
|
});
|
|
10375
10380
|
|
|
10376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10377
10382
|
var reactionChange = strictObject({
|
|
10378
10383
|
operation_id: id,
|
|
10379
10384
|
chat_id: id,
|
|
@@ -10381,7 +10386,7 @@ var reactionChange = strictObject({
|
|
|
10381
10386
|
reaction: nullable(text)
|
|
10382
10387
|
});
|
|
10383
10388
|
|
|
10384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10385
10390
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10386
10391
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10387
10392
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10392,7 +10397,7 @@ var recipientChange = strictObject({
|
|
|
10392
10397
|
...partial(recipientOff).entries
|
|
10393
10398
|
});
|
|
10394
10399
|
|
|
10395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10396
10401
|
var events = array(record(string(), unknown()));
|
|
10397
10402
|
var recordedRun = strictObject({
|
|
10398
10403
|
run_id: id,
|
|
@@ -10464,7 +10469,7 @@ var runHit = strictObject({
|
|
|
10464
10469
|
});
|
|
10465
10470
|
var runLocation = strictObject({ path: text });
|
|
10466
10471
|
|
|
10467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10468
10473
|
var relationship = strictObject({
|
|
10469
10474
|
id,
|
|
10470
10475
|
from: reference,
|
|
@@ -10487,7 +10492,7 @@ var relationship = strictObject({
|
|
|
10487
10492
|
created_at: time
|
|
10488
10493
|
});
|
|
10489
10494
|
|
|
10490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10491
10496
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10492
10497
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10493
10498
|
var responseTimes = strictObject({
|
|
@@ -10504,7 +10509,7 @@ var waitingChats = strictObject({
|
|
|
10504
10509
|
by_kind: strictObject({ private: count, group: count })
|
|
10505
10510
|
});
|
|
10506
10511
|
|
|
10507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10508
10513
|
var retentionCohort = strictObject({
|
|
10509
10514
|
/** The first day of the joining day or week. */
|
|
10510
10515
|
cohort: text,
|
|
@@ -10552,7 +10557,7 @@ var retention = strictObject({
|
|
|
10552
10557
|
rows: array(retentionCohort)
|
|
10553
10558
|
});
|
|
10554
10559
|
|
|
10555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10556
10561
|
var savedSearch = strictObject({
|
|
10557
10562
|
id,
|
|
10558
10563
|
/** `null` for a run in the history. */
|
|
@@ -10569,7 +10574,7 @@ var savedSearch = strictObject({
|
|
|
10569
10574
|
});
|
|
10570
10575
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10571
10576
|
|
|
10572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10573
10578
|
var sendAttempt = strictObject({
|
|
10574
10579
|
at: time,
|
|
10575
10580
|
profile: text,
|
|
@@ -10597,7 +10602,7 @@ var sendAttempt = strictObject({
|
|
|
10597
10602
|
error_code: optional(text)
|
|
10598
10603
|
});
|
|
10599
10604
|
|
|
10600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10601
10606
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10602
10607
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10603
10608
|
var infoSchema = strictObject({
|
|
@@ -10818,7 +10823,7 @@ var storeRepair = union([
|
|
|
10818
10823
|
]);
|
|
10819
10824
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10820
10825
|
|
|
10821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10822
10827
|
var range = strictObject({ from: number(), to: number() });
|
|
10823
10828
|
var storeChatStatus = strictObject({
|
|
10824
10829
|
chat_id: id,
|
|
@@ -10916,7 +10921,7 @@ var storeJobRetry = union([
|
|
|
10916
10921
|
]);
|
|
10917
10922
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10918
10923
|
|
|
10919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10920
10925
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10921
10926
|
var storeTable = strictObject({
|
|
10922
10927
|
name: text,
|
|
@@ -10925,7 +10930,7 @@ var storeTable = strictObject({
|
|
|
10925
10930
|
bytes: optional(nullable(count))
|
|
10926
10931
|
});
|
|
10927
10932
|
|
|
10928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10929
10934
|
var tagTarget = variant("type", [
|
|
10930
10935
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10931
10936
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10956,7 +10961,7 @@ var automaticTags = strictObject({
|
|
|
10956
10961
|
dry_run: boolean()
|
|
10957
10962
|
});
|
|
10958
10963
|
|
|
10959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10960
10965
|
var tagging = strictObject({
|
|
10961
10966
|
tag: text,
|
|
10962
10967
|
type: picklist(TAG_TYPES),
|
|
@@ -10969,7 +10974,7 @@ var tagging = strictObject({
|
|
|
10969
10974
|
created_at: time
|
|
10970
10975
|
});
|
|
10971
10976
|
|
|
10972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10973
10978
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10974
10979
|
var taskPair = strictObject({
|
|
10975
10980
|
task: nullable(side),
|
|
@@ -10992,7 +10997,7 @@ var taskPair = strictObject({
|
|
|
10992
10997
|
created_at: time
|
|
10993
10998
|
});
|
|
10994
10999
|
|
|
10995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10996
11001
|
var nullableTime = nullable(time);
|
|
10997
11002
|
var link2 = strictObject({
|
|
10998
11003
|
id,
|
|
@@ -11166,7 +11171,7 @@ var taskReview = strictObject({
|
|
|
11166
11171
|
untrusted
|
|
11167
11172
|
});
|
|
11168
11173
|
|
|
11169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11170
11175
|
var topic = strictObject({
|
|
11171
11176
|
id,
|
|
11172
11177
|
title: text,
|
|
@@ -11180,7 +11185,7 @@ var topic = strictObject({
|
|
|
11180
11185
|
untrusted
|
|
11181
11186
|
});
|
|
11182
11187
|
|
|
11183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11188
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11184
11189
|
var ENTITIES = {
|
|
11185
11190
|
sync_progress: progress,
|
|
11186
11191
|
deal,
|
|
@@ -11467,7 +11472,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11467
11472
|
return [name, definition];
|
|
11468
11473
|
})), "entityDefinitions");
|
|
11469
11474
|
|
|
11470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11471
11476
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11472
11477
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11473
11478
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11501,7 +11506,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11501
11506
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11502
11507
|
}, "answerRow");
|
|
11503
11508
|
|
|
11504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11505
11510
|
import { join as join6 } from "node:path";
|
|
11506
11511
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11507
11512
|
var IMAGE_MODELS = [
|
|
@@ -11555,7 +11560,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11555
11560
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11556
11561
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11557
11562
|
|
|
11558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11559
11564
|
var STEPS2 = defineSteps([
|
|
11560
11565
|
...STEPS,
|
|
11561
11566
|
{
|
|
@@ -11833,7 +11838,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11833
11838
|
].join(" ");
|
|
11834
11839
|
}, "stepLine");
|
|
11835
11840
|
|
|
11836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11837
11842
|
var where = [{ field: "ref" }];
|
|
11838
11843
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11839
11844
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11925,7 +11930,7 @@ var STATUS_ROWS = {
|
|
|
11925
11930
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11926
11931
|
};
|
|
11927
11932
|
|
|
11928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11929
11934
|
var TEXT_CHARS = 400;
|
|
11930
11935
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11931
11936
|
var messageRow = {
|
|
@@ -12291,7 +12296,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12291
12296
|
return lines.concat(footerOf(body)).join("\n");
|
|
12292
12297
|
}, "compactText");
|
|
12293
12298
|
|
|
12294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12295
12300
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12296
12301
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12297
12302
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12338,7 +12343,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12338
12343
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12339
12344
|
}, "largeAnswerSteps");
|
|
12340
12345
|
|
|
12341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12342
12347
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12343
12348
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12344
12349
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12352,7 +12357,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12352
12357
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12353
12358
|
}, "strip");
|
|
12354
12359
|
|
|
12355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12356
12361
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12357
12362
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12358
12363
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|