@wirecat/cli-memo 0.131.67 → 0.131.69
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-W3GRNNLJ.js → all-profiles-6JKSPBBO.js} +5 -5
- package/dist/bundle/{anthropic-GWMYHBO4.js → anthropic-YA2N6EJ4.js} +2 -2
- package/dist/bundle/{app-server-RQ26EXNI.js → app-server-UP3AL2XQ.js} +35 -35
- package/dist/bundle/auto-IKZIROGF.js +85 -0
- package/dist/bundle/{bun-KKLPQTG5.js → bun-OUFOAYV4.js} +2 -2
- package/dist/bundle/{bun-sqlite-WKIZJNTG.js → bun-sqlite-5RZTFU2Q.js} +2 -2
- package/dist/bundle/{chunk-R4H5HSQZ.js → chunk-22CDLXSR.js} +4 -4
- package/dist/bundle/{chunk-XI5UABKO.js → chunk-267N22E4.js} +1 -1
- package/dist/bundle/{chunk-7IKET6ES.js → chunk-276KPJI5.js} +2 -2
- package/dist/bundle/{chunk-32ROGX5N.js → chunk-2C7Z7CKD.js} +1 -1
- package/dist/bundle/{chunk-NNUJWCEJ.js → chunk-2DQYP2K3.js} +1 -1
- package/dist/bundle/{chunk-TQXXOUOX.js → chunk-2F35N6BI.js} +1 -1
- package/dist/bundle/{chunk-BOOEDDVY.js → chunk-2NFI7SDW.js} +83 -63
- package/dist/bundle/{chunk-ECMYCWG2.js → chunk-3LGLKLBA.js} +2 -2
- package/dist/bundle/{chunk-Q4JYHQ47.js → chunk-3TFK7RBA.js} +342 -323
- package/dist/bundle/{chunk-VVTC2YAX.js → chunk-3YVLNOPE.js} +4 -4
- package/dist/bundle/{chunk-MLF5FLAP.js → chunk-4HSWIXYE.js} +4 -4
- package/dist/bundle/{chunk-GU3MRYK2.js → chunk-53EAI4VZ.js} +1 -1
- package/dist/bundle/{chunk-ZU6HZLZP.js → chunk-5EHUHZU5.js} +429 -90
- package/dist/bundle/{chunk-MCA265JM.js → chunk-5MUR6D2G.js} +19 -1
- package/dist/bundle/{chunk-ZVXXJYNW.js → chunk-5OMM4CDT.js} +2 -2
- package/dist/bundle/{chunk-AGNWFOAJ.js → chunk-67VEVKMJ.js} +1 -1
- package/dist/bundle/{chunk-JG7EDH7K.js → chunk-7JFLHRQL.js} +1 -1
- package/dist/bundle/{chunk-CQNYBTWP.js → chunk-7L4PBN5S.js} +2 -2
- package/dist/bundle/{chunk-WJ2OYD2D.js → chunk-BGWPKEKK.js} +4 -4
- package/dist/bundle/{chunk-TPYXULNG.js → chunk-BJJULUUC.js} +5 -5
- package/dist/bundle/{chunk-VUCD4DAQ.js → chunk-ECHN36DC.js} +4 -4
- package/dist/bundle/{chunk-TXWVZVDK.js → chunk-EDPA54WQ.js} +3 -3
- package/dist/bundle/{chunk-JEKIBI7P.js → chunk-EKSOPEFQ.js} +4 -4
- package/dist/bundle/{chunk-ZOIW2YEU.js → chunk-EO4JMJFZ.js} +7 -7
- package/dist/bundle/{chunk-7DANHJF6.js → chunk-FQ54GW57.js} +31 -31
- package/dist/bundle/{chunk-DNDELSVT.js → chunk-FZHYGJQ2.js} +5 -5
- package/dist/bundle/{chunk-IKZBO7NV.js → chunk-GGFL64HF.js} +623 -509
- package/dist/bundle/{chunk-FBSHWCIZ.js → chunk-GVEY6743.js} +9 -9
- package/dist/bundle/{chunk-TNHFKR6P.js → chunk-GVP6CAPH.js} +21 -21
- package/dist/bundle/{chunk-4JTCNMW6.js → chunk-IHHXGTMX.js} +1 -1
- package/dist/bundle/{chunk-TWTAWPC7.js → chunk-IJAILIZR.js} +12 -12
- package/dist/bundle/{chunk-XK4VVGMH.js → chunk-JMGQATR6.js} +2 -2
- package/dist/bundle/{chunk-GHN2KYMO.js → chunk-LYAJUZM4.js} +21 -21
- package/dist/bundle/{chunk-YAFSD345.js → chunk-MK6SQ32Q.js} +12 -12
- package/dist/bundle/{chunk-XVPMSMSP.js → chunk-MWQI6FSU.js} +3 -3
- package/dist/bundle/{chunk-7OMKWYFN.js → chunk-MYLNRBDF.js} +16 -9
- package/dist/bundle/{chunk-W7FYMZOW.js → chunk-N73YBQ42.js} +6 -6
- package/dist/bundle/{chunk-ZNBLWLCD.js → chunk-OAO5UCPJ.js} +151 -151
- package/dist/bundle/{chunk-OUSLPKWY.js → chunk-OBQ7TSUB.js} +1 -1
- package/dist/bundle/{chunk-TFAUB6JO.js → chunk-OHA7HDPX.js} +374 -306
- package/dist/bundle/{chunk-QCWA3JUT.js → chunk-PHSYMVYX.js} +2 -2
- package/dist/bundle/{chunk-HUPZ6XYH.js → chunk-PSYQPO6D.js} +2 -2
- package/dist/bundle/{chunk-SKBDI7LU.js → chunk-QAXIZHK7.js} +28 -28
- package/dist/bundle/{chunk-GUWRR7F2.js → chunk-QZU5IM5E.js} +2 -2
- package/dist/bundle/{chunk-SUCG5HBF.js → chunk-RHW3DDWI.js} +1 -1
- package/dist/bundle/{chunk-OU4PN7PF.js → chunk-TV75OHKJ.js} +7 -7
- package/dist/bundle/{chunk-4C6RU7DG.js → chunk-TVZXLAID.js} +4 -4
- package/dist/bundle/{chunk-7KYVUVDS.js → chunk-TXOXPQN2.js} +2 -2
- package/dist/bundle/{chunk-QMTCYKAA.js → chunk-UEMI6FXR.js} +6 -6
- package/dist/bundle/{chunk-QFSMJTEA.js → chunk-V2YS63Z5.js} +1 -1
- package/dist/bundle/{chunk-6SFTVGNL.js → chunk-VPKJZKXV.js} +1 -1
- package/dist/bundle/{chunk-XYL7GDCX.js → chunk-W2FFA7T5.js} +5 -5
- package/dist/bundle/{chunk-DNS2QWK3.js → chunk-WNA2WNDK.js} +3 -3
- package/dist/bundle/{chunk-ORKWFXWV.js → chunk-XTEJXJJ3.js} +10 -10
- package/dist/bundle/{chunk-GJ3P7RJF.js → chunk-YTJWIJIG.js} +5 -5
- package/dist/bundle/{chunk-PBOVHHYG.js → chunk-YXXAPVAZ.js} +8 -8
- package/dist/bundle/{command-contract-46BU5YKL.js → command-contract-OGW2DX4C.js} +11 -11
- package/dist/bundle/{decode-KRVQZPSB.js → decode-IJMDTGTW.js} +2 -2
- package/dist/bundle/{echarts-O6QQRVZE.js → echarts-EHYUXOKP.js} +2 -2
- package/dist/bundle/{embed-DA4H2F4F.js → embed-RUY3UIVC.js} +3 -3
- package/dist/bundle/{embedder-HWAFLIYM.js → embedder-P6WBMEGP.js} +6 -6
- package/dist/bundle/{entry-DE7GJOIZ.js → entry-7S2ONYSF.js} +4 -4
- package/dist/bundle/failure-NRZUB77S.js +65 -0
- package/dist/bundle/{first-run-GOBPIKQF.js → first-run-MLIFZSVH.js} +5 -5
- package/dist/bundle/{first-screen-3V3HWSQM.js → first-screen-DGTTK6VK.js} +12 -12
- package/dist/bundle/{instructions-GYYMBSZW.js → instructions-ZMG4FLGO.js} +1 -1
- package/dist/bundle/{mcp-6RDHWRXG.js → mcp-CFIL7WZU.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-R3OFASC5.js → node-QYL4B7JS.js} +2 -2
- package/dist/bundle/{node-sqlite-DYHDZJ5A.js → node-sqlite-ESTT2OCF.js} +3 -3
- package/dist/bundle/{oauth-SMCDSCXQ.js → oauth-CFQFSIRQ.js} +4 -4
- package/dist/bundle/{open-GX7RPGQW.js → open-3XO2HMIT.js} +2 -2
- package/dist/bundle/{openai-WM4TRXCC.js → openai-STUNDBD6.js} +7 -7
- package/dist/bundle/{process-NT5OZH2V.js → process-P4UAJCZX.js} +1 -1
- package/dist/bundle/{program-YQ3UT2LI.js → program-BXL5ZOVQ.js} +2052 -1870
- package/dist/bundle/{prompt-5XJNSXCW.js → prompt-ZCYMFMIG.js} +2 -2
- package/dist/bundle/{recognize-DQNGZLRX.js → recognize-V3BY33FK.js} +1 -1
- package/dist/bundle/{remote-RMRYJZSZ.js → remote-IP4QR7SP.js} +4 -4
- package/dist/bundle/{rerank-5J6JM43S.js → rerank-VKUSF3DM.js} +4 -4
- package/dist/bundle/{serve-4RVWOQVC.js → serve-VBIUARHJ.js} +6 -6
- package/dist/bundle/server-AASCSGCI.js +61 -0
- package/dist/bundle/{server-NKCRFK26.js → server-JLPZUC42.js} +49 -49
- package/dist/bundle/server-YQLPZK4Z.js +48 -0
- package/dist/bundle/{state-MGVPOLPZ.js → state-UBAIZ2WP.js} +3 -3
- package/dist/bundle/{store-IEK4PPOE.js → store-VQQVUA4W.js} +9 -9
- package/dist/bundle/store-maintenance-command-GCBABKEZ.js +47 -0
- package/dist/bundle/update-M54Z3SEU.js +68 -0
- package/dist/digest/backfill.d.ts +9 -0
- package/dist/digest/backfill.d.ts.map +1 -0
- package/dist/digest/backfill.js +142 -0
- package/dist/digest/backfill.js.map +1 -0
- package/dist/digest/command.d.ts +2 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +18 -1
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest.d.ts +6 -1
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +26 -15
- package/dist/digest/digest.js.map +1 -1
- package/dist/digest/sync-health.d.ts +1 -2
- package/dist/digest/sync-health.d.ts.map +1 -1
- package/dist/digest/tasks.d.ts +14 -1
- package/dist/digest/tasks.d.ts.map +1 -1
- package/dist/digest/tasks.js +31 -4
- package/dist/digest/tasks.js.map +1 -1
- package/dist/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +1 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +7 -1
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +17 -6
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/project-context.d.ts.map +1 -1
- package/dist/knowledge/project-context.js +3 -2
- package/dist/knowledge/project-context.js.map +1 -1
- package/dist/knowledge/relationships.d.ts +2 -0
- package/dist/knowledge/relationships.d.ts.map +1 -1
- package/dist/knowledge/relationships.js +11 -2
- package/dist/knowledge/relationships.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +18 -0
- package/dist/reasons.js.map +1 -1
- package/dist/schedule/command.d.ts +2 -1
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +6 -2
- package/dist/schedule/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/cli-memo/topics/projects.md +7 -0
- package/skills/mail-triage/SKILL.md +25 -19
- package/skills/morning-digest/SKILL.md +15 -1
- package/dist/bundle/auto-FR6LX5KO.js +0 -85
- package/dist/bundle/failure-U3VNIQNX.js +0 -65
- package/dist/bundle/server-HH2X6G7V.js +0 -61
- package/dist/bundle/server-MS3JKMGF.js +0 -48
- package/dist/bundle/store-maintenance-command-GSS2AY4J.js +0 -47
- package/dist/bundle/update-S5XRRWTH.js +0 -68
- /package/dist/bundle/{chunk-DS7NXKAN.js → chunk-AWVQHWIS.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N73YBQ42.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EDPA54WQ.js";
|
|
16
16
|
import {
|
|
17
17
|
envName,
|
|
18
18
|
readOnlyLockOf,
|
|
19
19
|
readOnlyRefusal
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2DQYP2K3.js";
|
|
21
21
|
import {
|
|
22
22
|
carries
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IHHXGTMX.js";
|
|
24
24
|
import {
|
|
25
25
|
BUSINESS_KINDS,
|
|
26
26
|
DEAL_ROLES,
|
|
@@ -76,23 +76,23 @@ import {
|
|
|
76
76
|
text,
|
|
77
77
|
time,
|
|
78
78
|
untrusted
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-2NFI7SDW.js";
|
|
80
80
|
import {
|
|
81
81
|
isCliFailure,
|
|
82
82
|
storeDamaged
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-3LGLKLBA.js";
|
|
84
84
|
import {
|
|
85
85
|
readSharedSection,
|
|
86
86
|
sharedConfigPath,
|
|
87
87
|
writeSharedSection
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-BGWPKEKK.js";
|
|
89
89
|
import {
|
|
90
90
|
filesPresent,
|
|
91
91
|
sharedModelsDirectory
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-WNA2WNDK.js";
|
|
93
93
|
import {
|
|
94
94
|
storePath
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-V2YS63Z5.js";
|
|
96
96
|
import {
|
|
97
97
|
configFilePath,
|
|
98
98
|
createRecordLog,
|
|
@@ -3958,7 +3958,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3958
3958
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3959
3959
|
}), "commandsDocument");
|
|
3960
3960
|
|
|
3961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3962
3962
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3963
3963
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3964
3964
|
messageId: message2.id,
|
|
@@ -4064,7 +4064,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4064
4064
|
}, "guardedWrite");
|
|
4065
4065
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4066
4066
|
|
|
4067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4068
4068
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4069
4069
|
try {
|
|
4070
4070
|
return work();
|
|
@@ -4091,7 +4091,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4091
4091
|
return projectFields(value, fields);
|
|
4092
4092
|
}), "projectFields");
|
|
4093
4093
|
|
|
4094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4095
4095
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4096
4096
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4097
4097
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4113,7 +4113,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4113
4113
|
}
|
|
4114
4114
|
}, "withAbort");
|
|
4115
4115
|
|
|
4116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4117
4117
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4118
4118
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4119
4119
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4513,7 +4513,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4513
4513
|
}
|
|
4514
4514
|
}, "assertRetentionEvidenceRead");
|
|
4515
4515
|
|
|
4516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4517
4517
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4518
4518
|
import { join } from "node:path";
|
|
4519
4519
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4535,12 +4535,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4535
4535
|
}, "profilesWithAccounts");
|
|
4536
4536
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4537
4537
|
|
|
4538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4539
4539
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4540
4540
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4541
4541
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4542
4542
|
|
|
4543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4544
4544
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4545
4545
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4546
4546
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4576,7 +4576,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4576
4576
|
return value;
|
|
4577
4577
|
}, "atDetail");
|
|
4578
4578
|
|
|
4579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/output.js
|
|
4580
4580
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4581
4581
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4582
4582
|
if (other)
|
|
@@ -4640,7 +4640,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4640
4640
|
}, "warn")
|
|
4641
4641
|
}), "silence");
|
|
4642
4642
|
|
|
4643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4644
4644
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4645
4645
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4646
4646
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4674,7 +4674,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4674
4674
|
cache: "cache.answered"
|
|
4675
4675
|
};
|
|
4676
4676
|
|
|
4677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4678
4678
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4679
4679
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4680
4680
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4687,13 +4687,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4687
4687
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4688
4688
|
}), "snakeLogger");
|
|
4689
4689
|
|
|
4690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4691
4691
|
import { randomUUID } from "node:crypto";
|
|
4692
4692
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4693
4693
|
import { userInfo } from "node:os";
|
|
4694
4694
|
import { join as join2, sep } from "node:path";
|
|
4695
4695
|
|
|
4696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4697
4697
|
var diagnostic = {
|
|
4698
4698
|
event: true,
|
|
4699
4699
|
operation: true,
|
|
@@ -4763,7 +4763,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4763
4763
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4764
4764
|
].sort();
|
|
4765
4765
|
|
|
4766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4767
4767
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4768
4768
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4769
4769
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5116,7 +5116,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5116
5116
|
};
|
|
5117
5117
|
}, "metadataOf");
|
|
5118
5118
|
|
|
5119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5120
5120
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5121
5121
|
import { randomBytes } from "node:crypto";
|
|
5122
5122
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5151,7 +5151,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5151
5151
|
var attempts = new AsyncLocalStorage2();
|
|
5152
5152
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5153
5153
|
|
|
5154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5155
5155
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5156
5156
|
const recording = startRecording(options);
|
|
5157
5157
|
try {
|
|
@@ -5343,7 +5343,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5343
5343
|
return void 0;
|
|
5344
5344
|
}, "partialOutcome");
|
|
5345
5345
|
|
|
5346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5347
5347
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5348
5348
|
if (ms2 === void 0)
|
|
5349
5349
|
return body();
|
|
@@ -5369,7 +5369,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5369
5369
|
}
|
|
5370
5370
|
}, "withDeadline");
|
|
5371
5371
|
|
|
5372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5373
5373
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5374
5374
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5375
5375
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5411,10 +5411,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5411
5411
|
return root;
|
|
5412
5412
|
}, "rootOf");
|
|
5413
5413
|
|
|
5414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5415
5415
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5416
5416
|
|
|
5417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5418
5418
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5419
5419
|
try {
|
|
5420
5420
|
const url3 = new URL(value);
|
|
@@ -5424,7 +5424,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5424
5424
|
}
|
|
5425
5425
|
}, "endpoint");
|
|
5426
5426
|
|
|
5427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5428
5428
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5429
5429
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5430
5430
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5493,7 +5493,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5493
5493
|
};
|
|
5494
5494
|
}, "modelTarget");
|
|
5495
5495
|
|
|
5496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5497
5497
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5498
5498
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5499
5499
|
var AI_FIELDS = {
|
|
@@ -5537,7 +5537,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5537
5537
|
};
|
|
5538
5538
|
}, "resolveAISettings");
|
|
5539
5539
|
|
|
5540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5541
5541
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5542
5542
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5543
5543
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5551,7 +5551,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5551
5551
|
return ms2;
|
|
5552
5552
|
}, "parseDuration");
|
|
5553
5553
|
|
|
5554
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5555
5555
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5556
5556
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5557
5557
|
var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
|
|
@@ -5813,7 +5813,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5813
5813
|
}, "vectorModelKey");
|
|
5814
5814
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5815
5815
|
|
|
5816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5817
5817
|
var HISTORY_MAX_DAYS = 1095;
|
|
5818
5818
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5819
5819
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5860,7 +5860,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5860
5860
|
return { batch: { ...batch, messages }, skipped };
|
|
5861
5861
|
}, "limitBatch");
|
|
5862
5862
|
|
|
5863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5864
5864
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5865
5865
|
import { join as join3 } from "node:path";
|
|
5866
5866
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5949,10 +5949,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5949
5949
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5950
5950
|
}, "registryProfiles");
|
|
5951
5951
|
|
|
5952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5953
5953
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5954
5954
|
|
|
5955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5956
5956
|
var REPAIR_WORDS = {
|
|
5957
5957
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5958
5958
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6193,7 +6193,7 @@ ${parts.join(",\n")}
|
|
|
6193
6193
|
${indent}${close}`;
|
|
6194
6194
|
}, "serialise");
|
|
6195
6195
|
|
|
6196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6197
6197
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6198
6198
|
var SECTIONS = ["personal", "bot"];
|
|
6199
6199
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6488,7 +6488,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6488
6488
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6489
6489
|
}, "readConfigFile");
|
|
6490
6490
|
|
|
6491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6492
6492
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6493
6493
|
import { dirname, join as join4 } from "node:path";
|
|
6494
6494
|
var DEFAULT_CONFIG = {
|
|
@@ -6517,7 +6517,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6517
6517
|
}
|
|
6518
6518
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6519
6519
|
|
|
6520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6521
6521
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6522
6522
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6523
6523
|
const path2 = key.split(".");
|
|
@@ -6550,7 +6550,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6550
6550
|
};
|
|
6551
6551
|
}), "settingRows");
|
|
6552
6552
|
|
|
6553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6554
6554
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6555
6555
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6556
6556
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -7060,7 +7060,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
7060
7060
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
7061
7061
|
}, "given");
|
|
7062
7062
|
|
|
7063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
7064
7064
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
7065
7065
|
const slot = environmentOf(command).exit;
|
|
7066
7066
|
if (slot)
|
|
@@ -7182,7 +7182,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7182
7182
|
return words2.join(" ");
|
|
7183
7183
|
}, "commandPath");
|
|
7184
7184
|
|
|
7185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7186
7186
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7187
7187
|
var FETCH = { remote: "read", local: "write" };
|
|
7188
7188
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7302,7 +7302,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7302
7302
|
throw readOnlyRefusal(lock, what);
|
|
7303
7303
|
}, "refuseUnderReadOnly");
|
|
7304
7304
|
|
|
7305
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7305
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7306
7306
|
var account = strictObject({
|
|
7307
7307
|
provider: text,
|
|
7308
7308
|
id,
|
|
@@ -7312,7 +7312,7 @@ var account = strictObject({
|
|
|
7312
7312
|
scope: optional(picklist(["personal", "work"]))
|
|
7313
7313
|
});
|
|
7314
7314
|
|
|
7315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7316
7316
|
var accountSession = strictObject({
|
|
7317
7317
|
current: boolean(),
|
|
7318
7318
|
client: nullable(text),
|
|
@@ -7322,7 +7322,7 @@ var accountSession = strictObject({
|
|
|
7322
7322
|
created_at: optional(nullable(time))
|
|
7323
7323
|
});
|
|
7324
7324
|
|
|
7325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7326
7326
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7327
7327
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7328
7328
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7351,7 +7351,7 @@ var accountRemoval = strictObject({
|
|
|
7351
7351
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
7352
7352
|
});
|
|
7353
7353
|
|
|
7354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7355
7355
|
var accountProfile = strictObject({
|
|
7356
7356
|
profile: id,
|
|
7357
7357
|
current: boolean(),
|
|
@@ -7363,7 +7363,7 @@ var accountProfile = strictObject({
|
|
|
7363
7363
|
bot: optional(literal(true))
|
|
7364
7364
|
});
|
|
7365
7365
|
|
|
7366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7367
7367
|
var milliseconds = pipe(number(), minValue(0));
|
|
7368
7368
|
var counterReading = strictObject({
|
|
7369
7369
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7375,7 +7375,7 @@ var counterReading = strictObject({
|
|
|
7375
7375
|
});
|
|
7376
7376
|
var selection = record(string(), unknown());
|
|
7377
7377
|
|
|
7378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7379
7379
|
var adminRow = strictObject({
|
|
7380
7380
|
ref: reference,
|
|
7381
7381
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7428,7 +7428,7 @@ var adminReport = strictObject({
|
|
|
7428
7428
|
rows: array(adminRow)
|
|
7429
7429
|
});
|
|
7430
7430
|
|
|
7431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7431
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7432
7432
|
var closeSuggestion = strictObject({
|
|
7433
7433
|
as: picklist(["done", "dismissed"]),
|
|
7434
7434
|
/** The agent's name. */
|
|
@@ -7490,7 +7490,7 @@ var task = strictObject({
|
|
|
7490
7490
|
updated_at: optional(time)
|
|
7491
7491
|
});
|
|
7492
7492
|
|
|
7493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7494
7494
|
var agendaChat = strictObject({
|
|
7495
7495
|
chat: reference,
|
|
7496
7496
|
title: nullable(text),
|
|
@@ -7560,11 +7560,11 @@ var agenda = strictObject({
|
|
|
7560
7560
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7561
7561
|
});
|
|
7562
7562
|
|
|
7563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7564
7564
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7565
7565
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7566
7566
|
|
|
7567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7568
7568
|
var attachment = strictObject({
|
|
7569
7569
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7570
7570
|
message: optional(reference),
|
|
@@ -7602,7 +7602,7 @@ var attachment = strictObject({
|
|
|
7602
7602
|
});
|
|
7603
7603
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7604
7604
|
|
|
7605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7606
7606
|
var actionableError = objectWithRest({
|
|
7607
7607
|
code: text,
|
|
7608
7608
|
message: text,
|
|
@@ -7619,7 +7619,7 @@ var batchResult = strictObject({
|
|
|
7619
7619
|
max_error_percent: count
|
|
7620
7620
|
});
|
|
7621
7621
|
|
|
7622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7623
7623
|
var extractionItem = strictObject({
|
|
7624
7624
|
ref: reference,
|
|
7625
7625
|
attachment: count,
|
|
@@ -7652,7 +7652,7 @@ var extractionReport = strictObject({
|
|
|
7652
7652
|
cursor: optional(text)
|
|
7653
7653
|
});
|
|
7654
7654
|
|
|
7655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7656
7656
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7657
7657
|
var attachmentBytes = strictObject({
|
|
7658
7658
|
ref: reference,
|
|
@@ -7680,7 +7680,7 @@ var attachmentTextChange = strictObject({
|
|
|
7680
7680
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7681
7681
|
});
|
|
7682
7682
|
|
|
7683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7684
7684
|
var chart = strictObject({
|
|
7685
7685
|
version: literal(1),
|
|
7686
7686
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7695,7 +7695,7 @@ var chart = strictObject({
|
|
|
7695
7695
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7696
7696
|
});
|
|
7697
7697
|
|
|
7698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7699
7699
|
var member = strictObject({
|
|
7700
7700
|
id,
|
|
7701
7701
|
name: nullable(text),
|
|
@@ -7718,7 +7718,7 @@ var member = strictObject({
|
|
|
7718
7718
|
check: optional(record(string(), unknown()))
|
|
7719
7719
|
});
|
|
7720
7720
|
|
|
7721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7722
7722
|
var setting = optional(nullable(boolean()));
|
|
7723
7723
|
var chat = strictObject({
|
|
7724
7724
|
ref: reference,
|
|
@@ -7759,7 +7759,7 @@ var chat = strictObject({
|
|
|
7759
7759
|
members: optional(array(member))
|
|
7760
7760
|
});
|
|
7761
7761
|
|
|
7762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7763
7763
|
var named2 = strictObject({
|
|
7764
7764
|
id,
|
|
7765
7765
|
title: nullable(text),
|
|
@@ -7782,7 +7782,7 @@ var folder = strictObject({
|
|
|
7782
7782
|
excluded_chats: optional(array(named2))
|
|
7783
7783
|
});
|
|
7784
7784
|
|
|
7785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7786
7786
|
var inviteLink = strictObject({
|
|
7787
7787
|
link: text,
|
|
7788
7788
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7798,7 +7798,7 @@ var inviteLink = strictObject({
|
|
|
7798
7798
|
joined_count: optional(count)
|
|
7799
7799
|
});
|
|
7800
7800
|
|
|
7801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7802
7802
|
var operated = { operation_id: id, chat_id: id };
|
|
7803
7803
|
var group = strictObject({
|
|
7804
7804
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7878,7 +7878,7 @@ var chatFolderOrder = strictObject({
|
|
|
7878
7878
|
folders: array(strictObject({ id, title: text }))
|
|
7879
7879
|
});
|
|
7880
7880
|
|
|
7881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7882
7882
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7883
7883
|
var chatRemoval = strictObject(operated2);
|
|
7884
7884
|
var chatMuting = strictObject({
|
|
@@ -7889,7 +7889,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7889
7889
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7890
7890
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7891
7891
|
|
|
7892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7893
7893
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7894
7894
|
var chatEvent = strictObject({
|
|
7895
7895
|
chat_id: id,
|
|
@@ -7906,7 +7906,7 @@ var chatEvent = strictObject({
|
|
|
7906
7906
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7907
7907
|
});
|
|
7908
7908
|
|
|
7909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7910
7910
|
var chatMetadata = strictObject({
|
|
7911
7911
|
chat_id: id,
|
|
7912
7912
|
title: nullable(text),
|
|
@@ -7921,7 +7921,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7921
7921
|
has_more: boolean()
|
|
7922
7922
|
});
|
|
7923
7923
|
|
|
7924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7925
7925
|
var action = picklist(["report", "delete", "remove"]);
|
|
7926
7926
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7927
7927
|
var chatRules = strictObject({
|
|
@@ -7958,7 +7958,7 @@ var chatModeration = strictObject({
|
|
|
7958
7958
|
}))
|
|
7959
7959
|
});
|
|
7960
7960
|
|
|
7961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7962
7962
|
var optionalCount = optional(count);
|
|
7963
7963
|
var minutes = nullable(number());
|
|
7964
7964
|
var chatStats = strictObject({
|
|
@@ -8032,7 +8032,7 @@ var taskStats = strictObject({
|
|
|
8032
8032
|
}))
|
|
8033
8033
|
});
|
|
8034
8034
|
|
|
8035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8036
8036
|
var memberCount = strictObject({
|
|
8037
8037
|
day: pipe(text, isoDate()),
|
|
8038
8038
|
participants: nullable(count),
|
|
@@ -8055,7 +8055,7 @@ var chatTracking = strictObject({
|
|
|
8055
8055
|
tracked: boolean()
|
|
8056
8056
|
});
|
|
8057
8057
|
|
|
8058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8059
8059
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8060
8060
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8061
8061
|
var profileFields = {
|
|
@@ -8093,7 +8093,7 @@ var profileFields = {
|
|
|
8093
8093
|
}))
|
|
8094
8094
|
};
|
|
8095
8095
|
|
|
8096
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8097
8097
|
var contact = strictObject({
|
|
8098
8098
|
ref: reference,
|
|
8099
8099
|
id,
|
|
@@ -8124,7 +8124,7 @@ var contact = strictObject({
|
|
|
8124
8124
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8125
8125
|
});
|
|
8126
8126
|
|
|
8127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
8128
8128
|
var WEIGHTS = {
|
|
8129
8129
|
bot: 3,
|
|
8130
8130
|
scam: 3,
|
|
@@ -8149,7 +8149,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8149
8149
|
var DIGITS = /\d{5,}/;
|
|
8150
8150
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8151
8151
|
|
|
8152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8153
8153
|
var linkedIdentity = strictObject({
|
|
8154
8154
|
provider: text,
|
|
8155
8155
|
id,
|
|
@@ -8191,7 +8191,7 @@ var contactCheck = strictObject({
|
|
|
8191
8191
|
checked_at: time
|
|
8192
8192
|
});
|
|
8193
8193
|
|
|
8194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8195
8195
|
var quoted = strictObject({
|
|
8196
8196
|
id,
|
|
8197
8197
|
sender_id: nullable(id),
|
|
@@ -8310,7 +8310,7 @@ var message = strictObject({
|
|
|
8310
8310
|
provider_metadata: providerMetadata
|
|
8311
8311
|
});
|
|
8312
8312
|
|
|
8313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8314
8314
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8315
8315
|
var contextMessage = strictObject({
|
|
8316
8316
|
locator: reference,
|
|
@@ -8510,7 +8510,7 @@ var contactPreparation = strictObject({
|
|
|
8510
8510
|
})
|
|
8511
8511
|
});
|
|
8512
8512
|
|
|
8513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8514
8514
|
var contactNote = strictObject({
|
|
8515
8515
|
id,
|
|
8516
8516
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8522,13 +8522,13 @@ var contactNote = strictObject({
|
|
|
8522
8522
|
updated_at: time
|
|
8523
8523
|
});
|
|
8524
8524
|
|
|
8525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8526
8526
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8527
8527
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8528
8528
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8529
8529
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8530
8530
|
|
|
8531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8532
8532
|
var conversation = strictObject({
|
|
8533
8533
|
id,
|
|
8534
8534
|
chat: reference,
|
|
@@ -8543,7 +8543,7 @@ var conversation = strictObject({
|
|
|
8543
8543
|
rules_version: count
|
|
8544
8544
|
});
|
|
8545
8545
|
|
|
8546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8547
8547
|
var conversationBuild = strictObject({
|
|
8548
8548
|
chat: id,
|
|
8549
8549
|
messages: count,
|
|
@@ -8568,7 +8568,7 @@ var catchUpPreparation = strictObject({
|
|
|
8568
8568
|
prepared: optional(conversationPreparation)
|
|
8569
8569
|
});
|
|
8570
8570
|
|
|
8571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8572
8572
|
var conversationDetails = union([
|
|
8573
8573
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8574
8574
|
message
|
|
@@ -8658,7 +8658,7 @@ var conversationHit = strictObject({
|
|
|
8658
8658
|
stale: boolean()
|
|
8659
8659
|
});
|
|
8660
8660
|
|
|
8661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8662
8662
|
var counters = strictObject({
|
|
8663
8663
|
cutoff: time,
|
|
8664
8664
|
max_age_ms: milliseconds,
|
|
@@ -8688,7 +8688,7 @@ var counterRefresh = strictObject({
|
|
|
8688
8688
|
complete: optional(boolean())
|
|
8689
8689
|
});
|
|
8690
8690
|
|
|
8691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8692
8692
|
var nullableText = nullable(text);
|
|
8693
8693
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8694
8694
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8778,7 +8778,7 @@ var stage = strictObject({
|
|
|
8778
8778
|
untrusted
|
|
8779
8779
|
});
|
|
8780
8780
|
|
|
8781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8782
8782
|
var document = strictObject({
|
|
8783
8783
|
ref: reference,
|
|
8784
8784
|
id,
|
|
@@ -8793,7 +8793,7 @@ var document = strictObject({
|
|
|
8793
8793
|
owners: optional(array(text))
|
|
8794
8794
|
});
|
|
8795
8795
|
|
|
8796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8797
8797
|
var documentLink = strictObject({
|
|
8798
8798
|
ref: reference,
|
|
8799
8799
|
url: text,
|
|
@@ -8804,7 +8804,7 @@ var documentLink = strictObject({
|
|
|
8804
8804
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8805
8805
|
});
|
|
8806
8806
|
|
|
8807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8808
8808
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8809
8809
|
var contribution = strictObject({
|
|
8810
8810
|
message: evidenceMessage,
|
|
@@ -8834,7 +8834,7 @@ var retentionStay = strictObject({
|
|
|
8834
8834
|
});
|
|
8835
8835
|
var evidence = union([contribution, retentionStay]);
|
|
8836
8836
|
|
|
8837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8838
8838
|
var fact = strictObject({
|
|
8839
8839
|
ref: reference,
|
|
8840
8840
|
id,
|
|
@@ -8865,7 +8865,7 @@ var fact = strictObject({
|
|
|
8865
8865
|
updated_at: time
|
|
8866
8866
|
});
|
|
8867
8867
|
|
|
8868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8869
8869
|
var hit = strictObject({
|
|
8870
8870
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8871
8871
|
ref: reference,
|
|
@@ -8907,7 +8907,7 @@ var hit = strictObject({
|
|
|
8907
8907
|
untrusted
|
|
8908
8908
|
});
|
|
8909
8909
|
|
|
8910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8911
8911
|
var identity = strictObject({
|
|
8912
8912
|
ref: reference,
|
|
8913
8913
|
provider: text,
|
|
@@ -8920,7 +8920,7 @@ var identity = strictObject({
|
|
|
8920
8920
|
person: optional(nullable(reference))
|
|
8921
8921
|
});
|
|
8922
8922
|
|
|
8923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8924
8924
|
var imageEmbedding = strictObject({
|
|
8925
8925
|
model: text,
|
|
8926
8926
|
embedded: count,
|
|
@@ -8929,13 +8929,13 @@ var imageEmbedding = strictObject({
|
|
|
8929
8929
|
more: boolean()
|
|
8930
8930
|
});
|
|
8931
8931
|
|
|
8932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8933
8933
|
import { spawn } from "node:child_process";
|
|
8934
8934
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8935
8935
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8936
8936
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8937
8937
|
|
|
8938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8939
8939
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8940
8940
|
const total = input.total ?? null;
|
|
8941
8941
|
const updated = input.updatedAt ?? null;
|
|
@@ -8966,7 +8966,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8966
8966
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8967
8967
|
}, "progressLine");
|
|
8968
8968
|
|
|
8969
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8970
8970
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8971
8971
|
const run = currentRun();
|
|
8972
8972
|
const trace = traceId ?? run.traceId;
|
|
@@ -8980,7 +8980,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8980
8980
|
}));
|
|
8981
8981
|
}, "recordLogFor");
|
|
8982
8982
|
|
|
8983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8983
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8984
8984
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8985
8985
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8986
8986
|
const out = openSync(log, "a", 384);
|
|
@@ -9135,7 +9135,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
9135
9135
|
return { job: id6, pid, chat: input.chat, log };
|
|
9136
9136
|
}, "startArchiveJob");
|
|
9137
9137
|
|
|
9138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
9139
9139
|
var problem = strictObject({ code: text, message: text });
|
|
9140
9140
|
var job = strictObject({
|
|
9141
9141
|
id,
|
|
@@ -9158,7 +9158,7 @@ var job = strictObject({
|
|
|
9158
9158
|
error: optional(problem)
|
|
9159
9159
|
});
|
|
9160
9160
|
|
|
9161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
9162
9162
|
var joinRequest = strictObject({
|
|
9163
9163
|
person_id: id,
|
|
9164
9164
|
name: nullable(text),
|
|
@@ -9169,7 +9169,7 @@ var joinRequest = strictObject({
|
|
|
9169
9169
|
about: optional(text)
|
|
9170
9170
|
});
|
|
9171
9171
|
|
|
9172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
9173
9173
|
var botProfile = strictObject({
|
|
9174
9174
|
name: text,
|
|
9175
9175
|
token: text,
|
|
@@ -9264,7 +9264,7 @@ var stickerInventory = strictObject({
|
|
|
9264
9264
|
url: optional(nullable(text))
|
|
9265
9265
|
});
|
|
9266
9266
|
|
|
9267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9268
9268
|
var pollVote = strictObject({
|
|
9269
9269
|
person_id: id,
|
|
9270
9270
|
name: nullable(text),
|
|
@@ -9274,7 +9274,7 @@ var pollVote = strictObject({
|
|
|
9274
9274
|
voted_at: time
|
|
9275
9275
|
});
|
|
9276
9276
|
|
|
9277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9278
9278
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9279
9279
|
var observation = strictObject({
|
|
9280
9280
|
value: pipe(number(), minValue(0)),
|
|
@@ -9316,7 +9316,7 @@ var serveSummary = strictObject({
|
|
|
9316
9316
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9317
9317
|
});
|
|
9318
9318
|
|
|
9319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9320
9320
|
var mailCounts = strictObject({
|
|
9321
9321
|
by: picklist(["day", "week", "sender"]),
|
|
9322
9322
|
received: count,
|
|
@@ -9331,7 +9331,7 @@ var mailCounts = strictObject({
|
|
|
9331
9331
|
}))
|
|
9332
9332
|
});
|
|
9333
9333
|
|
|
9334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9335
9335
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9336
9336
|
var base = { id, evidence: array(evidence2) };
|
|
9337
9337
|
var finding = variant("kind", [
|
|
@@ -9475,7 +9475,7 @@ var mailFindings = strictObject({
|
|
|
9475
9475
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9476
9476
|
});
|
|
9477
9477
|
|
|
9478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9478
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9479
9479
|
var mediaArchive = strictObject({
|
|
9480
9480
|
directory: text,
|
|
9481
9481
|
chats: count,
|
|
@@ -9507,7 +9507,7 @@ var mediaArchiveTimer = union([
|
|
|
9507
9507
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9508
9508
|
]);
|
|
9509
9509
|
|
|
9510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9511
9511
|
var preparationId = pipe(string(), minLength(1));
|
|
9512
9512
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9513
9513
|
var preparationTime = nullable(isoTime);
|
|
@@ -9599,7 +9599,7 @@ var preparationMeeting = strictObject({
|
|
|
9599
9599
|
updated_at: isoTime
|
|
9600
9600
|
});
|
|
9601
9601
|
|
|
9602
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9602
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9603
9603
|
var meetingEvidence = preparationEvidence;
|
|
9604
9604
|
var meetingPersonContext = strictObject({
|
|
9605
9605
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9621,7 +9621,7 @@ var meetingPersonContext = strictObject({
|
|
|
9621
9621
|
})
|
|
9622
9622
|
});
|
|
9623
9623
|
|
|
9624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9625
9625
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9626
9626
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9627
9627
|
var finding2 = variant("kind", [
|
|
@@ -9659,7 +9659,7 @@ var meetingFindings = strictObject({
|
|
|
9659
9659
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9660
9660
|
});
|
|
9661
9661
|
|
|
9662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9663
9663
|
var communicationCoverage = strictObject({
|
|
9664
9664
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9665
9665
|
query: string(),
|
|
@@ -9704,7 +9704,7 @@ var preparationCommunications = strictObject({
|
|
|
9704
9704
|
}))
|
|
9705
9705
|
});
|
|
9706
9706
|
|
|
9707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9708
9708
|
var meetingPreparation = strictObject({
|
|
9709
9709
|
communications: optional(preparationCommunications),
|
|
9710
9710
|
schema_version: literal(1),
|
|
@@ -9817,7 +9817,7 @@ var meetingPreparation = strictObject({
|
|
|
9817
9817
|
})
|
|
9818
9818
|
});
|
|
9819
9819
|
|
|
9820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9821
9821
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9822
9822
|
var id3 = pipe(string(), minLength(1));
|
|
9823
9823
|
var text3 = string();
|
|
@@ -9881,7 +9881,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9881
9881
|
})
|
|
9882
9882
|
});
|
|
9883
9883
|
|
|
9884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9885
9885
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9886
9886
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9887
9887
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9911,7 +9911,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9911
9911
|
})
|
|
9912
9912
|
});
|
|
9913
9913
|
|
|
9914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9915
9915
|
var text4 = string();
|
|
9916
9916
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9917
9917
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9928,7 +9928,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9928
9928
|
persistence: literal("proposal-only")
|
|
9929
9929
|
});
|
|
9930
9930
|
|
|
9931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9932
9932
|
var memory = strictObject({
|
|
9933
9933
|
ref: reference,
|
|
9934
9934
|
id,
|
|
@@ -9956,7 +9956,7 @@ var memory = strictObject({
|
|
|
9956
9956
|
updated_at: time
|
|
9957
9957
|
});
|
|
9958
9958
|
|
|
9959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9960
9960
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9961
9961
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9962
9962
|
var mention = strictObject({
|
|
@@ -9999,13 +9999,13 @@ var mentionRebuild = strictObject({
|
|
|
9999
9999
|
mentions: count
|
|
10000
10000
|
});
|
|
10001
10001
|
|
|
10002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
10003
10003
|
var operated3 = { operation_id: id, chat_id: id };
|
|
10004
10004
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
10005
10005
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
10006
10006
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
10007
10007
|
|
|
10008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
10009
10009
|
var messageTranscript = strictObject({
|
|
10010
10010
|
message_id: id,
|
|
10011
10011
|
text,
|
|
@@ -10063,7 +10063,7 @@ var evidencePacket = strictObject({
|
|
|
10063
10063
|
}))
|
|
10064
10064
|
});
|
|
10065
10065
|
|
|
10066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
10067
10067
|
var messageThread = strictObject({
|
|
10068
10068
|
ref: reference,
|
|
10069
10069
|
chat: id,
|
|
@@ -10080,7 +10080,7 @@ var messageThread = strictObject({
|
|
|
10080
10080
|
});
|
|
10081
10081
|
var messageContext = union([message, messageThread]);
|
|
10082
10082
|
|
|
10083
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
10084
10084
|
var messageCounts = strictObject({
|
|
10085
10085
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
10086
10086
|
total: count,
|
|
@@ -10093,7 +10093,7 @@ var messageCounts = strictObject({
|
|
|
10093
10093
|
}))
|
|
10094
10094
|
});
|
|
10095
10095
|
|
|
10096
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
10097
10097
|
var messageLink = strictObject({
|
|
10098
10098
|
ref: reference,
|
|
10099
10099
|
url: nullable(text),
|
|
@@ -10110,7 +10110,7 @@ var messageLink = strictObject({
|
|
|
10110
10110
|
})))
|
|
10111
10111
|
});
|
|
10112
10112
|
|
|
10113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
10114
10114
|
var savedMessageFile = strictObject({
|
|
10115
10115
|
kind: text,
|
|
10116
10116
|
path: text,
|
|
@@ -10197,7 +10197,7 @@ var messageSyncAll = strictObject({
|
|
|
10197
10197
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10198
10198
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10199
10199
|
|
|
10200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10201
10201
|
var messageWrite = strictObject({
|
|
10202
10202
|
operation_id: id,
|
|
10203
10203
|
message,
|
|
@@ -10212,7 +10212,7 @@ var draftWrite = strictObject({
|
|
|
10212
10212
|
});
|
|
10213
10213
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10214
10214
|
|
|
10215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10216
10216
|
var model2 = strictObject({
|
|
10217
10217
|
id,
|
|
10218
10218
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10247,7 +10247,7 @@ var chosenModel = strictObject({
|
|
|
10247
10247
|
estimate_seconds: nullable(count)
|
|
10248
10248
|
});
|
|
10249
10249
|
|
|
10250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10251
10251
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10252
10252
|
var modelKey = strictObject({
|
|
10253
10253
|
provider: text,
|
|
@@ -10257,7 +10257,7 @@ var modelKey = strictObject({
|
|
|
10257
10257
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10258
10258
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10259
10259
|
|
|
10260
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10261
10261
|
var link = {
|
|
10262
10262
|
target_text: nullable(text),
|
|
10263
10263
|
kind: text,
|
|
@@ -10298,7 +10298,7 @@ var note = strictObject({
|
|
|
10298
10298
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10299
10299
|
});
|
|
10300
10300
|
|
|
10301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10302
10302
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10303
10303
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10304
10304
|
var graph = strictObject({
|
|
@@ -10332,14 +10332,14 @@ var officialStats = strictObject({
|
|
|
10332
10332
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10333
10333
|
});
|
|
10334
10334
|
|
|
10335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10336
10336
|
var person2 = strictObject({
|
|
10337
10337
|
ref: reference,
|
|
10338
10338
|
name: nullable(text),
|
|
10339
10339
|
identities: optional(array(identity))
|
|
10340
10340
|
});
|
|
10341
10341
|
|
|
10342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10343
10343
|
var poll = strictObject({
|
|
10344
10344
|
chat_id: id,
|
|
10345
10345
|
message_id: id,
|
|
@@ -10355,11 +10355,11 @@ var poll = strictObject({
|
|
|
10355
10355
|
});
|
|
10356
10356
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10357
10357
|
|
|
10358
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10359
10359
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10360
10360
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10361
10361
|
|
|
10362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10363
10363
|
var figures = record(string(), number());
|
|
10364
10364
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10365
10365
|
var rankingRow = strictObject({
|
|
@@ -10406,7 +10406,7 @@ var ranking = strictObject({
|
|
|
10406
10406
|
rows: array(rankingRow)
|
|
10407
10407
|
});
|
|
10408
10408
|
|
|
10409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10410
10410
|
var reaction = strictObject({
|
|
10411
10411
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10412
10412
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10414,7 +10414,7 @@ var reaction = strictObject({
|
|
|
10414
10414
|
reacted_at: time
|
|
10415
10415
|
});
|
|
10416
10416
|
|
|
10417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10418
10418
|
var reactionChange = strictObject({
|
|
10419
10419
|
operation_id: id,
|
|
10420
10420
|
chat_id: id,
|
|
@@ -10422,7 +10422,7 @@ var reactionChange = strictObject({
|
|
|
10422
10422
|
reaction: nullable(text)
|
|
10423
10423
|
});
|
|
10424
10424
|
|
|
10425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10426
10426
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10427
10427
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10428
10428
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10433,7 +10433,7 @@ var recipientChange = strictObject({
|
|
|
10433
10433
|
...partial(recipientOff).entries
|
|
10434
10434
|
});
|
|
10435
10435
|
|
|
10436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10437
10437
|
var events = array(record(string(), unknown()));
|
|
10438
10438
|
var recordedRun = strictObject({
|
|
10439
10439
|
run_id: id,
|
|
@@ -10505,7 +10505,7 @@ var runHit = strictObject({
|
|
|
10505
10505
|
});
|
|
10506
10506
|
var runLocation = strictObject({ path: text });
|
|
10507
10507
|
|
|
10508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10509
10509
|
var relationship = strictObject({
|
|
10510
10510
|
id,
|
|
10511
10511
|
from: reference,
|
|
@@ -10528,7 +10528,7 @@ var relationship = strictObject({
|
|
|
10528
10528
|
created_at: time
|
|
10529
10529
|
});
|
|
10530
10530
|
|
|
10531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10532
10532
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10533
10533
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10534
10534
|
var responseTimes = strictObject({
|
|
@@ -10545,7 +10545,7 @@ var waitingChats = strictObject({
|
|
|
10545
10545
|
by_kind: strictObject({ private: count, group: count })
|
|
10546
10546
|
});
|
|
10547
10547
|
|
|
10548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10549
10549
|
var retentionCohort = strictObject({
|
|
10550
10550
|
/** The first day of the joining day or week. */
|
|
10551
10551
|
cohort: text,
|
|
@@ -10593,7 +10593,7 @@ var retention = strictObject({
|
|
|
10593
10593
|
rows: array(retentionCohort)
|
|
10594
10594
|
});
|
|
10595
10595
|
|
|
10596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10597
10597
|
var savedSearch = strictObject({
|
|
10598
10598
|
id,
|
|
10599
10599
|
/** `null` for a run in the history. */
|
|
@@ -10610,7 +10610,7 @@ var savedSearch = strictObject({
|
|
|
10610
10610
|
});
|
|
10611
10611
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10612
10612
|
|
|
10613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10614
10614
|
var sendAttempt = strictObject({
|
|
10615
10615
|
at: time,
|
|
10616
10616
|
profile: text,
|
|
@@ -10638,7 +10638,7 @@ var sendAttempt = strictObject({
|
|
|
10638
10638
|
error_code: optional(text)
|
|
10639
10639
|
});
|
|
10640
10640
|
|
|
10641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10642
10642
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10643
10643
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10644
10644
|
var infoSchema = strictObject({
|
|
@@ -10859,7 +10859,7 @@ var storeRepair = union([
|
|
|
10859
10859
|
]);
|
|
10860
10860
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10861
10861
|
|
|
10862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10863
10863
|
var range = strictObject({ from: number(), to: number() });
|
|
10864
10864
|
var storeChatStatus = strictObject({
|
|
10865
10865
|
chat_id: id,
|
|
@@ -10957,7 +10957,7 @@ var storeJobRetry = union([
|
|
|
10957
10957
|
]);
|
|
10958
10958
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10959
10959
|
|
|
10960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10961
10961
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10962
10962
|
var storeTable = strictObject({
|
|
10963
10963
|
name: text,
|
|
@@ -10966,7 +10966,7 @@ var storeTable = strictObject({
|
|
|
10966
10966
|
bytes: optional(nullable(count))
|
|
10967
10967
|
});
|
|
10968
10968
|
|
|
10969
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10970
10970
|
var tagTarget = variant("type", [
|
|
10971
10971
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10972
10972
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10997,7 +10997,7 @@ var automaticTags = strictObject({
|
|
|
10997
10997
|
dry_run: boolean()
|
|
10998
10998
|
});
|
|
10999
10999
|
|
|
11000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
11001
11001
|
var tagging = strictObject({
|
|
11002
11002
|
tag: text,
|
|
11003
11003
|
type: picklist(TAG_TYPES),
|
|
@@ -11010,7 +11010,7 @@ var tagging = strictObject({
|
|
|
11010
11010
|
created_at: time
|
|
11011
11011
|
});
|
|
11012
11012
|
|
|
11013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
11014
11014
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
11015
11015
|
var taskPair = strictObject({
|
|
11016
11016
|
task: nullable(side),
|
|
@@ -11033,7 +11033,7 @@ var taskPair = strictObject({
|
|
|
11033
11033
|
created_at: time
|
|
11034
11034
|
});
|
|
11035
11035
|
|
|
11036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
11037
11037
|
var nullableTime = nullable(time);
|
|
11038
11038
|
var link2 = strictObject({
|
|
11039
11039
|
id,
|
|
@@ -11207,7 +11207,7 @@ var taskReview = strictObject({
|
|
|
11207
11207
|
untrusted
|
|
11208
11208
|
});
|
|
11209
11209
|
|
|
11210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
11211
11211
|
var template = strictObject({
|
|
11212
11212
|
key: text,
|
|
11213
11213
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -11219,7 +11219,7 @@ var template = strictObject({
|
|
|
11219
11219
|
updated_by: nullable(text)
|
|
11220
11220
|
});
|
|
11221
11221
|
|
|
11222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11223
11223
|
var topic = strictObject({
|
|
11224
11224
|
id,
|
|
11225
11225
|
title: text,
|
|
@@ -11233,7 +11233,7 @@ var topic = strictObject({
|
|
|
11233
11233
|
untrusted
|
|
11234
11234
|
});
|
|
11235
11235
|
|
|
11236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11237
11237
|
var ENTITIES = {
|
|
11238
11238
|
sync_progress: progress,
|
|
11239
11239
|
deal,
|
|
@@ -11522,7 +11522,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11522
11522
|
return [name, definition];
|
|
11523
11523
|
})), "entityDefinitions");
|
|
11524
11524
|
|
|
11525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11526
11526
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11527
11527
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11528
11528
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11556,7 +11556,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11556
11556
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11557
11557
|
}, "answerRow");
|
|
11558
11558
|
|
|
11559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11560
11560
|
import { join as join6 } from "node:path";
|
|
11561
11561
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11562
11562
|
var IMAGE_MODELS = [
|
|
@@ -11610,7 +11610,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11610
11610
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11611
11611
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11612
11612
|
|
|
11613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11614
11614
|
var STEPS2 = defineSteps([
|
|
11615
11615
|
...STEPS,
|
|
11616
11616
|
{
|
|
@@ -11888,7 +11888,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11888
11888
|
].join(" ");
|
|
11889
11889
|
}, "stepLine");
|
|
11890
11890
|
|
|
11891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11892
11892
|
var where = [{ field: "ref" }];
|
|
11893
11893
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11894
11894
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11980,7 +11980,7 @@ var STATUS_ROWS = {
|
|
|
11980
11980
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11981
11981
|
};
|
|
11982
11982
|
|
|
11983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11983
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11984
11984
|
var TEXT_CHARS = 400;
|
|
11985
11985
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11986
11986
|
var messageRow = {
|
|
@@ -12346,7 +12346,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12346
12346
|
return lines.concat(footerOf(body)).join("\n");
|
|
12347
12347
|
}, "compactText");
|
|
12348
12348
|
|
|
12349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12350
12350
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12351
12351
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12352
12352
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12393,7 +12393,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12393
12393
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12394
12394
|
}, "largeAnswerSteps");
|
|
12395
12395
|
|
|
12396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12397
12397
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12398
12398
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12399
12399
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12407,7 +12407,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12407
12407
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12408
12408
|
}, "strip");
|
|
12409
12409
|
|
|
12410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12411
12411
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12412
12412
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12413
12413
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|