@wirecat/cli-memo 0.131.61 → 0.131.62
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-WPBMSWJF.js → all-profiles-L6EBORCV.js} +5 -5
- package/dist/bundle/{anthropic-FZRVISSX.js → anthropic-42PADP4V.js} +2 -2
- package/dist/bundle/{app-server-QGIZPU4R.js → app-server-QBJG7OGQ.js} +35 -35
- package/dist/bundle/auto-Z4MEU5OY.js +85 -0
- package/dist/bundle/{bun-AO76624P.js → bun-NYSNYHAD.js} +2 -2
- package/dist/bundle/{bun-sqlite-HYBE66QU.js → bun-sqlite-B46U7KI7.js} +2 -2
- package/dist/bundle/{chunk-233N77WN.js → chunk-2UCLF4AO.js} +273 -272
- package/dist/bundle/{chunk-CTRVHHBK.js → chunk-2VDRVJCR.js} +5 -5
- package/dist/bundle/{chunk-YRHLPKTG.js → chunk-2XVXF4RW.js} +2 -2
- package/dist/bundle/{chunk-IZZU4NS6.js → chunk-347UBASY.js} +3 -3
- package/dist/bundle/{chunk-RRHSJ7CR.js → chunk-37E74SKW.js} +62 -62
- package/dist/bundle/{chunk-7DPHHUSZ.js → chunk-3ZXWLFUG.js} +21 -21
- package/dist/bundle/{chunk-WFDGEREJ.js → chunk-4GTZSCUE.js} +2 -2
- package/dist/bundle/{chunk-OFERGS4J.js → chunk-4SUROBD4.js} +2 -2
- package/dist/bundle/{chunk-5ZVWDMDT.js → chunk-5D7BPC33.js} +1 -1
- package/dist/bundle/{chunk-RRPUM4RS.js → chunk-6OZ2WI7Y.js} +2 -2
- package/dist/bundle/{chunk-B4VCZOLF.js → chunk-724DPWN6.js} +1 -1
- package/dist/bundle/{chunk-4WKZ3UIZ.js → chunk-A524HPDV.js} +1 -1
- package/dist/bundle/{chunk-2Q55K5HY.js → chunk-ACG5QN77.js} +2 -2
- package/dist/bundle/{chunk-WMRR2SNG.js → chunk-B3SERZMP.js} +1 -1
- package/dist/bundle/{chunk-SSX6S3EG.js → chunk-DKO7WEXJ.js} +1 -1
- package/dist/bundle/{chunk-YVCNJKDA.js → chunk-E5JQFEIQ.js} +42 -42
- package/dist/bundle/{chunk-LIW42UCX.js → chunk-EGI6JHIA.js} +9 -9
- package/dist/bundle/{chunk-2UXFM5GE.js → chunk-FC5PK6M6.js} +12 -12
- package/dist/bundle/{chunk-6YK3RZZJ.js → chunk-FD3OQYFL.js} +4 -4
- package/dist/bundle/{chunk-HLTGPK6P.js → chunk-FG4Q6T72.js} +4 -4
- package/dist/bundle/{chunk-ETYD55QD.js → chunk-FH4P5UQA.js} +3 -3
- package/dist/bundle/{chunk-7CKXTTZG.js → chunk-FWRBJAQZ.js} +2 -2
- package/dist/bundle/{chunk-F6E7DSJO.js → chunk-H3COKFXP.js} +98 -32
- package/dist/bundle/{chunk-6NHJ4TTJ.js → chunk-HGNWJJDT.js} +336 -335
- package/dist/bundle/{chunk-OQSOQYSQ.js → chunk-HKC7GDJD.js} +4 -4
- package/dist/bundle/{chunk-3FDJSMLJ.js → chunk-HMJ3D7XE.js} +5 -4
- package/dist/bundle/{chunk-XYFYZP2N.js → chunk-I5L7MLZ6.js} +1 -1
- package/dist/bundle/{chunk-3FPF5DBU.js → chunk-K5VF47E2.js} +5 -5
- package/dist/bundle/{chunk-KZRBIHQL.js → chunk-KREN56SX.js} +5 -5
- package/dist/bundle/{chunk-K6FQVROA.js → chunk-LK6D26RK.js} +21 -21
- package/dist/bundle/{chunk-6AEQACVV.js → chunk-MWAXS4BX.js} +7 -7
- package/dist/bundle/{chunk-D4PK5OXW.js → chunk-NZJUMLTD.js} +1 -1
- package/dist/bundle/{chunk-UTUUXAPS.js → chunk-O2NQCWRM.js} +28 -28
- package/dist/bundle/{chunk-35OBIX5A.js → chunk-OXBETHGN.js} +8 -8
- package/dist/bundle/{chunk-OIHKFGHK.js → chunk-PKUBC2ME.js} +3 -3
- package/dist/bundle/{chunk-7ETYPYIN.js → chunk-Q3VEUHC7.js} +12 -12
- package/dist/bundle/{chunk-RT476OFI.js → chunk-RGZUDHAQ.js} +7 -7
- package/dist/bundle/{chunk-UTSMQ7KI.js → chunk-RLX5SC2X.js} +1 -1
- package/dist/bundle/{chunk-PSYZ33UQ.js → chunk-RP6VV35S.js} +1 -1
- package/dist/bundle/{chunk-37ILRM2G.js → chunk-RTLQHLHG.js} +4 -4
- package/dist/bundle/{chunk-4HLYKLGJ.js → chunk-SIBQ34LX.js} +1 -1
- package/dist/bundle/{chunk-JAJSTFBB.js → chunk-SIJA2UYC.js} +6 -6
- package/dist/bundle/{chunk-XT7EJLA4.js → chunk-SJ36WSEI.js} +4 -4
- package/dist/bundle/{chunk-MQCBJGXA.js → chunk-SJ55SMBE.js} +9 -9
- package/dist/bundle/{chunk-I6LNI45S.js → chunk-SOQGV3ZM.js} +5 -5
- package/dist/bundle/{chunk-5SD4CV2D.js → chunk-TBSWOVM3.js} +571 -293
- package/dist/bundle/{chunk-STXMSLU6.js → chunk-TKPIS4G2.js} +1 -1
- package/dist/bundle/{chunk-XU7UER3B.js → chunk-TSKGEK2S.js} +10 -10
- package/dist/bundle/{chunk-2VMZLQ5K.js → chunk-V7TJSYFK.js} +2 -2
- package/dist/bundle/{chunk-KGZM5WYK.js → chunk-VTKLHYCZ.js} +4 -4
- package/dist/bundle/{chunk-7E46JN6V.js → chunk-VX4HNQLN.js} +2 -2
- package/dist/bundle/{chunk-OEPBIWHI.js → chunk-WDWKG7FJ.js} +150 -150
- package/dist/bundle/{chunk-OWVHNTY6.js → chunk-WDZOEBTE.js} +6 -6
- package/dist/bundle/{chunk-7NKBX7FC.js → chunk-XVREIQ2N.js} +2 -2
- package/dist/bundle/{chunk-R7ZD7TNI.js → chunk-XX37LSNV.js} +1 -1
- package/dist/bundle/{chunk-Y264FW55.js → chunk-ZUQXDJ7A.js} +1 -1
- package/dist/bundle/{command-contract-4TGN6GSP.js → command-contract-SIXWLKAS.js} +11 -11
- package/dist/bundle/{decode-S3PPQHID.js → decode-2Z4GCIGA.js} +2 -2
- package/dist/bundle/{echarts-AH6U7X2S.js → echarts-JADCSUD7.js} +2 -2
- package/dist/bundle/{embed-4NSZECMB.js → embed-ZLEPINEK.js} +3 -3
- package/dist/bundle/{embedder-EGRA7YEY.js → embedder-E3DHPZCK.js} +6 -6
- package/dist/bundle/{entry-O3V72WZP.js → entry-SFLEGFSN.js} +4 -4
- package/dist/bundle/failure-B33C3BFU.js +65 -0
- package/dist/bundle/{first-run-S7RRDIGX.js → first-run-ZKDGFY6P.js} +5 -5
- package/dist/bundle/{first-screen-YKJAQUVE.js → first-screen-IQEU7XF2.js} +12 -12
- package/dist/bundle/{instructions-ETUUZKBM.js → instructions-ECXOBMWS.js} +1 -1
- package/dist/bundle/{mcp-J3K7RC5W.js → mcp-Y4XMDC5Q.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-O4XVOEGO.js → node-A6363DJ4.js} +2 -2
- package/dist/bundle/{node-sqlite-PC3K43U7.js → node-sqlite-FA2P77PW.js} +3 -3
- package/dist/bundle/{oauth-MBJUEG2Z.js → oauth-DBGARGR7.js} +4 -4
- package/dist/bundle/{open-5FAYV6JM.js → open-5YYG2VWH.js} +2 -2
- package/dist/bundle/{openai-57CRSGLH.js → openai-BPVP7TZ7.js} +7 -7
- package/dist/bundle/{process-NAW4COYH.js → process-DGPZRHQA.js} +1 -1
- package/dist/bundle/{program-CFJAGFYD.js → program-DSQWICNB.js} +584 -281
- package/dist/bundle/{prompt-FT2MMVS7.js → prompt-NTAZWPWA.js} +2 -2
- package/dist/bundle/{recognize-PEYPOI3Q.js → recognize-OGEP5VD3.js} +1 -1
- package/dist/bundle/{remote-FQAXACFW.js → remote-DER2PFH6.js} +4 -4
- package/dist/bundle/{rerank-4KEB4X6T.js → rerank-PB5ACFHS.js} +4 -4
- package/dist/bundle/{serve-LCTIHO37.js → serve-KNEY4BXK.js} +6 -6
- package/dist/bundle/server-IQILK5YP.js +61 -0
- package/dist/bundle/server-NKI7SVK5.js +48 -0
- package/dist/bundle/{server-XQLRMM73.js → server-ZHFC3PIP.js} +55 -52
- package/dist/bundle/{state-YF4M4RHC.js → state-JMCWHHZM.js} +3 -3
- package/dist/bundle/{store-EQEMYMCC.js → store-6H4FPFTX.js} +9 -9
- package/dist/bundle/store-maintenance-command-IFVWSQMJ.js +47 -0
- package/dist/bundle/update-LR5BVLBD.js +68 -0
- package/dist/config-issues.d.ts +4 -1
- package/dist/config-issues.d.ts.map +1 -1
- package/dist/config-issues.js +6 -2
- package/dist/config-issues.js.map +1 -1
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +11 -7
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest.d.ts +29 -4
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +124 -39
- package/dist/digest/digest.js.map +1 -1
- package/dist/digest/sync-health.d.ts +51 -0
- package/dist/digest/sync-health.d.ts.map +1 -0
- package/dist/digest/sync-health.js +116 -0
- package/dist/digest/sync-health.js.map +1 -0
- package/dist/digest/tasks.d.ts +38 -0
- package/dist/digest/tasks.d.ts.map +1 -0
- package/dist/digest/tasks.js +108 -0
- package/dist/digest/tasks.js.map +1 -0
- package/dist/digest/text.d.ts.map +1 -1
- package/dist/digest/text.js +9 -2
- package/dist/digest/text.js.map +1 -1
- package/dist/knowledge/messenger-sync.d.ts +5 -0
- package/dist/knowledge/messenger-sync.d.ts.map +1 -1
- package/dist/knowledge/messenger-sync.js +12 -9
- package/dist/knowledge/messenger-sync.js.map +1 -1
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +5 -3
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/mcp/granted.d.ts +13 -0
- package/dist/mcp/granted.d.ts.map +1 -0
- package/dist/mcp/granted.js +19 -0
- package/dist/mcp/granted.js.map +1 -0
- package/dist/search/command.d.ts.map +1 -1
- package/dist/search/command.js +10 -3
- package/dist/search/command.js.map +1 -1
- package/dist/search/lane-gates.d.ts +30 -0
- package/dist/search/lane-gates.d.ts.map +1 -0
- package/dist/search/lane-gates.js +59 -0
- package/dist/search/lane-gates.js.map +1 -0
- package/dist/search/search.d.ts +3 -2
- package/dist/search/search.d.ts.map +1 -1
- package/dist/search/search.js +23 -2
- package/dist/search/search.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/morning-digest/SKILL.md +24 -10
- package/dist/bundle/auto-5VPCO4DD.js +0 -85
- package/dist/bundle/failure-CFGWWTV5.js +0 -65
- package/dist/bundle/server-AQTWRRAJ.js +0 -61
- package/dist/bundle/server-JIFODLCU.js +0 -48
- package/dist/bundle/store-maintenance-command-7IC3LTYY.js +0 -47
- package/dist/bundle/update-T237KLFA.js +0 -68
- /package/dist/bundle/{chunk-GFNWVGLD.js → chunk-C3XNJQD7.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SIJA2UYC.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FH4P5UQA.js";
|
|
16
16
|
import {
|
|
17
17
|
envName,
|
|
18
18
|
readOnlyLockOf,
|
|
19
19
|
readOnlyRefusal
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RP6VV35S.js";
|
|
21
21
|
import {
|
|
22
22
|
carries
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZUQXDJ7A.js";
|
|
24
24
|
import {
|
|
25
25
|
BUSINESS_KINDS,
|
|
26
26
|
DEAL_ROLES,
|
|
@@ -75,23 +75,23 @@ import {
|
|
|
75
75
|
text,
|
|
76
76
|
time,
|
|
77
77
|
untrusted
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-37E74SKW.js";
|
|
79
79
|
import {
|
|
80
80
|
isCliFailure,
|
|
81
81
|
storeDamaged
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-2XVXF4RW.js";
|
|
83
83
|
import {
|
|
84
84
|
readSharedSection,
|
|
85
85
|
sharedConfigPath,
|
|
86
86
|
writeSharedSection
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-HKC7GDJD.js";
|
|
88
88
|
import {
|
|
89
89
|
filesPresent,
|
|
90
90
|
sharedModelsDirectory
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-347UBASY.js";
|
|
92
92
|
import {
|
|
93
93
|
storePath
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-NZJUMLTD.js";
|
|
95
95
|
import {
|
|
96
96
|
configFilePath,
|
|
97
97
|
createRecordLog,
|
|
@@ -3957,7 +3957,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3957
3957
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3958
3958
|
}), "commandsDocument");
|
|
3959
3959
|
|
|
3960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3961
3961
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3962
3962
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3963
3963
|
messageId: message2.id,
|
|
@@ -4063,7 +4063,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4063
4063
|
}, "guardedWrite");
|
|
4064
4064
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4065
4065
|
|
|
4066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4067
4067
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4068
4068
|
try {
|
|
4069
4069
|
return work();
|
|
@@ -4090,7 +4090,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4090
4090
|
return projectFields(value, fields);
|
|
4091
4091
|
}), "projectFields");
|
|
4092
4092
|
|
|
4093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4094
4094
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4095
4095
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4096
4096
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4112,7 +4112,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4112
4112
|
}
|
|
4113
4113
|
}, "withAbort");
|
|
4114
4114
|
|
|
4115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4116
4116
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4117
4117
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4118
4118
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4512,7 +4512,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4512
4512
|
}
|
|
4513
4513
|
}, "assertRetentionEvidenceRead");
|
|
4514
4514
|
|
|
4515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4516
4516
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4517
4517
|
import { join } from "node:path";
|
|
4518
4518
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4534,12 +4534,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4534
4534
|
}, "profilesWithAccounts");
|
|
4535
4535
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4536
4536
|
|
|
4537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4538
4538
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4539
4539
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4540
4540
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4541
4541
|
|
|
4542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4543
4543
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4544
4544
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4545
4545
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4575,7 +4575,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4575
4575
|
return value;
|
|
4576
4576
|
}, "atDetail");
|
|
4577
4577
|
|
|
4578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/output.js
|
|
4579
4579
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4580
4580
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4581
4581
|
if (other)
|
|
@@ -4639,7 +4639,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4639
4639
|
}, "warn")
|
|
4640
4640
|
}), "silence");
|
|
4641
4641
|
|
|
4642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4642
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4643
4643
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4644
4644
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4645
4645
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4673,7 +4673,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4673
4673
|
cache: "cache.answered"
|
|
4674
4674
|
};
|
|
4675
4675
|
|
|
4676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4677
4677
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4678
4678
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4679
4679
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4686,13 +4686,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4686
4686
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4687
4687
|
}), "snakeLogger");
|
|
4688
4688
|
|
|
4689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4690
4690
|
import { randomUUID } from "node:crypto";
|
|
4691
4691
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4692
4692
|
import { userInfo } from "node:os";
|
|
4693
4693
|
import { join as join2, sep } from "node:path";
|
|
4694
4694
|
|
|
4695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4696
4696
|
var diagnostic = {
|
|
4697
4697
|
event: true,
|
|
4698
4698
|
operation: true,
|
|
@@ -4762,7 +4762,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4762
4762
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4763
4763
|
].sort();
|
|
4764
4764
|
|
|
4765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4766
4766
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4767
4767
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4768
4768
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5115,7 +5115,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5115
5115
|
};
|
|
5116
5116
|
}, "metadataOf");
|
|
5117
5117
|
|
|
5118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5119
5119
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5120
5120
|
import { randomBytes } from "node:crypto";
|
|
5121
5121
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5150,7 +5150,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5150
5150
|
var attempts = new AsyncLocalStorage2();
|
|
5151
5151
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5152
5152
|
|
|
5153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5154
5154
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5155
5155
|
const recording = startRecording(options);
|
|
5156
5156
|
try {
|
|
@@ -5342,7 +5342,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5342
5342
|
return void 0;
|
|
5343
5343
|
}, "partialOutcome");
|
|
5344
5344
|
|
|
5345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5346
5346
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5347
5347
|
if (ms2 === void 0)
|
|
5348
5348
|
return body();
|
|
@@ -5368,7 +5368,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5368
5368
|
}
|
|
5369
5369
|
}, "withDeadline");
|
|
5370
5370
|
|
|
5371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5372
5372
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5373
5373
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5374
5374
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5410,10 +5410,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5410
5410
|
return root;
|
|
5411
5411
|
}, "rootOf");
|
|
5412
5412
|
|
|
5413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5414
5414
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5415
5415
|
|
|
5416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5417
5417
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5418
5418
|
try {
|
|
5419
5419
|
const url3 = new URL(value);
|
|
@@ -5423,7 +5423,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5423
5423
|
}
|
|
5424
5424
|
}, "endpoint");
|
|
5425
5425
|
|
|
5426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5427
5427
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5428
5428
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5429
5429
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5492,7 +5492,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5492
5492
|
};
|
|
5493
5493
|
}, "modelTarget");
|
|
5494
5494
|
|
|
5495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5496
5496
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5497
5497
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5498
5498
|
var AI_FIELDS = {
|
|
@@ -5536,7 +5536,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5536
5536
|
};
|
|
5537
5537
|
}, "resolveAISettings");
|
|
5538
5538
|
|
|
5539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5540
5540
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5541
5541
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5542
5542
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5550,7 +5550,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5550
5550
|
return ms2;
|
|
5551
5551
|
}, "parseDuration");
|
|
5552
5552
|
|
|
5553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5554
5554
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5555
5555
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5556
5556
|
var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
|
|
@@ -5812,7 +5812,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5812
5812
|
}, "vectorModelKey");
|
|
5813
5813
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5814
5814
|
|
|
5815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5816
5816
|
var HISTORY_MAX_DAYS = 1095;
|
|
5817
5817
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5818
5818
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5859,7 +5859,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5859
5859
|
return { batch: { ...batch, messages }, skipped };
|
|
5860
5860
|
}, "limitBatch");
|
|
5861
5861
|
|
|
5862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5863
5863
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5864
5864
|
import { join as join3 } from "node:path";
|
|
5865
5865
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5948,10 +5948,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5948
5948
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5949
5949
|
}, "registryProfiles");
|
|
5950
5950
|
|
|
5951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5952
5952
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5953
5953
|
|
|
5954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5955
5955
|
var REPAIR_WORDS = {
|
|
5956
5956
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5957
5957
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6192,7 +6192,7 @@ ${parts.join(",\n")}
|
|
|
6192
6192
|
${indent}${close}`;
|
|
6193
6193
|
}, "serialise");
|
|
6194
6194
|
|
|
6195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6196
6196
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6197
6197
|
var SECTIONS = ["personal", "bot"];
|
|
6198
6198
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6487,7 +6487,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6487
6487
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6488
6488
|
}, "readConfigFile");
|
|
6489
6489
|
|
|
6490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6491
6491
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6492
6492
|
import { dirname, join as join4 } from "node:path";
|
|
6493
6493
|
var DEFAULT_CONFIG = {
|
|
@@ -6516,7 +6516,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6516
6516
|
}
|
|
6517
6517
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6518
6518
|
|
|
6519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6520
6520
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6521
6521
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6522
6522
|
const path2 = key.split(".");
|
|
@@ -6549,7 +6549,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6549
6549
|
};
|
|
6550
6550
|
}), "settingRows");
|
|
6551
6551
|
|
|
6552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6553
6553
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6554
6554
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6555
6555
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -7059,7 +7059,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
7059
7059
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
7060
7060
|
}, "given");
|
|
7061
7061
|
|
|
7062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
7063
7063
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
7064
7064
|
const slot = environmentOf(command).exit;
|
|
7065
7065
|
if (slot)
|
|
@@ -7181,7 +7181,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7181
7181
|
return words2.join(" ");
|
|
7182
7182
|
}, "commandPath");
|
|
7183
7183
|
|
|
7184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7185
7185
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7186
7186
|
var FETCH = { remote: "read", local: "write" };
|
|
7187
7187
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7296,7 +7296,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7296
7296
|
throw readOnlyRefusal(lock, what);
|
|
7297
7297
|
}, "refuseUnderReadOnly");
|
|
7298
7298
|
|
|
7299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7300
7300
|
var account = strictObject({
|
|
7301
7301
|
provider: text,
|
|
7302
7302
|
id,
|
|
@@ -7306,7 +7306,7 @@ var account = strictObject({
|
|
|
7306
7306
|
scope: optional(picklist(["personal", "work"]))
|
|
7307
7307
|
});
|
|
7308
7308
|
|
|
7309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7310
7310
|
var accountSession = strictObject({
|
|
7311
7311
|
current: boolean(),
|
|
7312
7312
|
client: nullable(text),
|
|
@@ -7316,7 +7316,7 @@ var accountSession = strictObject({
|
|
|
7316
7316
|
created_at: optional(nullable(time))
|
|
7317
7317
|
});
|
|
7318
7318
|
|
|
7319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7320
7320
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7321
7321
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7322
7322
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7334,7 +7334,7 @@ var accountPrivacy = strictObject({
|
|
|
7334
7334
|
});
|
|
7335
7335
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7336
7336
|
|
|
7337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7338
7338
|
var accountProfile = strictObject({
|
|
7339
7339
|
profile: id,
|
|
7340
7340
|
current: boolean(),
|
|
@@ -7346,7 +7346,7 @@ var accountProfile = strictObject({
|
|
|
7346
7346
|
bot: optional(literal(true))
|
|
7347
7347
|
});
|
|
7348
7348
|
|
|
7349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7350
7350
|
var milliseconds = pipe(number(), minValue(0));
|
|
7351
7351
|
var counterReading = strictObject({
|
|
7352
7352
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7358,7 +7358,7 @@ var counterReading = strictObject({
|
|
|
7358
7358
|
});
|
|
7359
7359
|
var selection = record(string(), unknown());
|
|
7360
7360
|
|
|
7361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7362
7362
|
var adminRow = strictObject({
|
|
7363
7363
|
ref: reference,
|
|
7364
7364
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7411,7 +7411,7 @@ var adminReport = strictObject({
|
|
|
7411
7411
|
rows: array(adminRow)
|
|
7412
7412
|
});
|
|
7413
7413
|
|
|
7414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7415
7415
|
var closeSuggestion = strictObject({
|
|
7416
7416
|
as: picklist(["done", "dismissed"]),
|
|
7417
7417
|
/** The agent's name. */
|
|
@@ -7473,7 +7473,7 @@ var task = strictObject({
|
|
|
7473
7473
|
updated_at: optional(time)
|
|
7474
7474
|
});
|
|
7475
7475
|
|
|
7476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7477
7477
|
var agendaChat = strictObject({
|
|
7478
7478
|
chat: reference,
|
|
7479
7479
|
title: nullable(text),
|
|
@@ -7543,11 +7543,11 @@ var agenda = strictObject({
|
|
|
7543
7543
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7544
7544
|
});
|
|
7545
7545
|
|
|
7546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7547
7547
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7548
7548
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7549
7549
|
|
|
7550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7551
7551
|
var attachment = strictObject({
|
|
7552
7552
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7553
7553
|
message: optional(reference),
|
|
@@ -7585,7 +7585,7 @@ var attachment = strictObject({
|
|
|
7585
7585
|
});
|
|
7586
7586
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7587
7587
|
|
|
7588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7589
7589
|
var actionableError = objectWithRest({
|
|
7590
7590
|
code: text,
|
|
7591
7591
|
message: text,
|
|
@@ -7602,7 +7602,7 @@ var batchResult = strictObject({
|
|
|
7602
7602
|
max_error_percent: count
|
|
7603
7603
|
});
|
|
7604
7604
|
|
|
7605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7606
7606
|
var extractionItem = strictObject({
|
|
7607
7607
|
ref: reference,
|
|
7608
7608
|
attachment: count,
|
|
@@ -7635,7 +7635,7 @@ var extractionReport = strictObject({
|
|
|
7635
7635
|
cursor: optional(text)
|
|
7636
7636
|
});
|
|
7637
7637
|
|
|
7638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7639
7639
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7640
7640
|
var attachmentBytes = strictObject({
|
|
7641
7641
|
ref: reference,
|
|
@@ -7663,7 +7663,7 @@ var attachmentTextChange = strictObject({
|
|
|
7663
7663
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7664
7664
|
});
|
|
7665
7665
|
|
|
7666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7667
7667
|
var chart = strictObject({
|
|
7668
7668
|
version: literal(1),
|
|
7669
7669
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7678,7 +7678,7 @@ var chart = strictObject({
|
|
|
7678
7678
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7679
7679
|
});
|
|
7680
7680
|
|
|
7681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7682
7682
|
var member = strictObject({
|
|
7683
7683
|
id,
|
|
7684
7684
|
name: nullable(text),
|
|
@@ -7701,7 +7701,7 @@ var member = strictObject({
|
|
|
7701
7701
|
check: optional(record(string(), unknown()))
|
|
7702
7702
|
});
|
|
7703
7703
|
|
|
7704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7705
7705
|
var setting = optional(nullable(boolean()));
|
|
7706
7706
|
var chat = strictObject({
|
|
7707
7707
|
ref: reference,
|
|
@@ -7742,7 +7742,7 @@ var chat = strictObject({
|
|
|
7742
7742
|
members: optional(array(member))
|
|
7743
7743
|
});
|
|
7744
7744
|
|
|
7745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7746
7746
|
var named2 = strictObject({
|
|
7747
7747
|
id,
|
|
7748
7748
|
title: nullable(text),
|
|
@@ -7765,7 +7765,7 @@ var folder = strictObject({
|
|
|
7765
7765
|
excluded_chats: optional(array(named2))
|
|
7766
7766
|
});
|
|
7767
7767
|
|
|
7768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7769
7769
|
var inviteLink = strictObject({
|
|
7770
7770
|
link: text,
|
|
7771
7771
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7781,7 +7781,7 @@ var inviteLink = strictObject({
|
|
|
7781
7781
|
joined_count: optional(count)
|
|
7782
7782
|
});
|
|
7783
7783
|
|
|
7784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7785
7785
|
var operated = { operation_id: id, chat_id: id };
|
|
7786
7786
|
var group = strictObject({
|
|
7787
7787
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7861,7 +7861,7 @@ var chatFolderOrder = strictObject({
|
|
|
7861
7861
|
folders: array(strictObject({ id, title: text }))
|
|
7862
7862
|
});
|
|
7863
7863
|
|
|
7864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7865
7865
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7866
7866
|
var chatRemoval = strictObject(operated2);
|
|
7867
7867
|
var chatMuting = strictObject({
|
|
@@ -7872,7 +7872,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7872
7872
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7873
7873
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7874
7874
|
|
|
7875
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7876
7876
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7877
7877
|
var chatEvent = strictObject({
|
|
7878
7878
|
chat_id: id,
|
|
@@ -7889,7 +7889,7 @@ var chatEvent = strictObject({
|
|
|
7889
7889
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7890
7890
|
});
|
|
7891
7891
|
|
|
7892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7893
7893
|
var chatMetadata = strictObject({
|
|
7894
7894
|
chat_id: id,
|
|
7895
7895
|
title: nullable(text),
|
|
@@ -7904,7 +7904,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7904
7904
|
has_more: boolean()
|
|
7905
7905
|
});
|
|
7906
7906
|
|
|
7907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7908
7908
|
var action = picklist(["report", "delete", "remove"]);
|
|
7909
7909
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7910
7910
|
var chatRules = strictObject({
|
|
@@ -7941,7 +7941,7 @@ var chatModeration = strictObject({
|
|
|
7941
7941
|
}))
|
|
7942
7942
|
});
|
|
7943
7943
|
|
|
7944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7945
7945
|
var optionalCount = optional(count);
|
|
7946
7946
|
var minutes = nullable(number());
|
|
7947
7947
|
var chatStats = strictObject({
|
|
@@ -8015,7 +8015,7 @@ var taskStats = strictObject({
|
|
|
8015
8015
|
}))
|
|
8016
8016
|
});
|
|
8017
8017
|
|
|
8018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8019
8019
|
var memberCount = strictObject({
|
|
8020
8020
|
day: pipe(text, isoDate()),
|
|
8021
8021
|
participants: nullable(count),
|
|
@@ -8038,7 +8038,7 @@ var chatTracking = strictObject({
|
|
|
8038
8038
|
tracked: boolean()
|
|
8039
8039
|
});
|
|
8040
8040
|
|
|
8041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8042
8042
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8043
8043
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8044
8044
|
var profileFields = {
|
|
@@ -8076,7 +8076,7 @@ var profileFields = {
|
|
|
8076
8076
|
}))
|
|
8077
8077
|
};
|
|
8078
8078
|
|
|
8079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8080
8080
|
var contact = strictObject({
|
|
8081
8081
|
ref: reference,
|
|
8082
8082
|
id,
|
|
@@ -8107,7 +8107,7 @@ var contact = strictObject({
|
|
|
8107
8107
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8108
8108
|
});
|
|
8109
8109
|
|
|
8110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
8111
8111
|
var WEIGHTS = {
|
|
8112
8112
|
bot: 3,
|
|
8113
8113
|
scam: 3,
|
|
@@ -8132,7 +8132,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8132
8132
|
var DIGITS = /\d{5,}/;
|
|
8133
8133
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8134
8134
|
|
|
8135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8136
8136
|
var linkedIdentity = strictObject({
|
|
8137
8137
|
provider: text,
|
|
8138
8138
|
id,
|
|
@@ -8174,7 +8174,7 @@ var contactCheck = strictObject({
|
|
|
8174
8174
|
checked_at: time
|
|
8175
8175
|
});
|
|
8176
8176
|
|
|
8177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8178
8178
|
var quoted = strictObject({
|
|
8179
8179
|
id,
|
|
8180
8180
|
sender_id: nullable(id),
|
|
@@ -8293,7 +8293,7 @@ var message = strictObject({
|
|
|
8293
8293
|
provider_metadata: providerMetadata
|
|
8294
8294
|
});
|
|
8295
8295
|
|
|
8296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8297
8297
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8298
8298
|
var contextMessage = strictObject({
|
|
8299
8299
|
locator: reference,
|
|
@@ -8493,7 +8493,7 @@ var contactPreparation = strictObject({
|
|
|
8493
8493
|
})
|
|
8494
8494
|
});
|
|
8495
8495
|
|
|
8496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8497
8497
|
var contactNote = strictObject({
|
|
8498
8498
|
id,
|
|
8499
8499
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8505,13 +8505,13 @@ var contactNote = strictObject({
|
|
|
8505
8505
|
updated_at: time
|
|
8506
8506
|
});
|
|
8507
8507
|
|
|
8508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8509
8509
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8510
8510
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8511
8511
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8512
8512
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8513
8513
|
|
|
8514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8515
8515
|
var conversation = strictObject({
|
|
8516
8516
|
id,
|
|
8517
8517
|
chat: reference,
|
|
@@ -8526,7 +8526,7 @@ var conversation = strictObject({
|
|
|
8526
8526
|
rules_version: count
|
|
8527
8527
|
});
|
|
8528
8528
|
|
|
8529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8530
8530
|
var conversationBuild = strictObject({
|
|
8531
8531
|
chat: id,
|
|
8532
8532
|
messages: count,
|
|
@@ -8551,7 +8551,7 @@ var catchUpPreparation = strictObject({
|
|
|
8551
8551
|
prepared: optional(conversationPreparation)
|
|
8552
8552
|
});
|
|
8553
8553
|
|
|
8554
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8555
8555
|
var conversationDetails = union([
|
|
8556
8556
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8557
8557
|
message
|
|
@@ -8641,7 +8641,7 @@ var conversationHit = strictObject({
|
|
|
8641
8641
|
stale: boolean()
|
|
8642
8642
|
});
|
|
8643
8643
|
|
|
8644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8645
8645
|
var counters = strictObject({
|
|
8646
8646
|
cutoff: time,
|
|
8647
8647
|
max_age_ms: milliseconds,
|
|
@@ -8671,7 +8671,7 @@ var counterRefresh = strictObject({
|
|
|
8671
8671
|
complete: optional(boolean())
|
|
8672
8672
|
});
|
|
8673
8673
|
|
|
8674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8675
8675
|
var nullableText = nullable(text);
|
|
8676
8676
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8677
8677
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8761,7 +8761,7 @@ var stage = strictObject({
|
|
|
8761
8761
|
untrusted
|
|
8762
8762
|
});
|
|
8763
8763
|
|
|
8764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8765
8765
|
var document = strictObject({
|
|
8766
8766
|
ref: reference,
|
|
8767
8767
|
id,
|
|
@@ -8776,7 +8776,7 @@ var document = strictObject({
|
|
|
8776
8776
|
owners: optional(array(text))
|
|
8777
8777
|
});
|
|
8778
8778
|
|
|
8779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8780
8780
|
var documentLink = strictObject({
|
|
8781
8781
|
ref: reference,
|
|
8782
8782
|
url: text,
|
|
@@ -8787,7 +8787,7 @@ var documentLink = strictObject({
|
|
|
8787
8787
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8788
8788
|
});
|
|
8789
8789
|
|
|
8790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8791
8791
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8792
8792
|
var contribution = strictObject({
|
|
8793
8793
|
message: evidenceMessage,
|
|
@@ -8817,7 +8817,7 @@ var retentionStay = strictObject({
|
|
|
8817
8817
|
});
|
|
8818
8818
|
var evidence = union([contribution, retentionStay]);
|
|
8819
8819
|
|
|
8820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8821
8821
|
var fact = strictObject({
|
|
8822
8822
|
ref: reference,
|
|
8823
8823
|
id,
|
|
@@ -8847,7 +8847,7 @@ var fact = strictObject({
|
|
|
8847
8847
|
updated_at: time
|
|
8848
8848
|
});
|
|
8849
8849
|
|
|
8850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8851
8851
|
var hit = strictObject({
|
|
8852
8852
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8853
8853
|
ref: reference,
|
|
@@ -8889,7 +8889,7 @@ var hit = strictObject({
|
|
|
8889
8889
|
untrusted
|
|
8890
8890
|
});
|
|
8891
8891
|
|
|
8892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8893
8893
|
var identity = strictObject({
|
|
8894
8894
|
ref: reference,
|
|
8895
8895
|
provider: text,
|
|
@@ -8902,7 +8902,7 @@ var identity = strictObject({
|
|
|
8902
8902
|
person: optional(nullable(reference))
|
|
8903
8903
|
});
|
|
8904
8904
|
|
|
8905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8906
8906
|
var imageEmbedding = strictObject({
|
|
8907
8907
|
model: text,
|
|
8908
8908
|
embedded: count,
|
|
@@ -8911,13 +8911,13 @@ var imageEmbedding = strictObject({
|
|
|
8911
8911
|
more: boolean()
|
|
8912
8912
|
});
|
|
8913
8913
|
|
|
8914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8915
8915
|
import { spawn } from "node:child_process";
|
|
8916
8916
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8917
8917
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8918
8918
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8919
8919
|
|
|
8920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8921
8921
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8922
8922
|
const total = input.total ?? null;
|
|
8923
8923
|
const updated = input.updatedAt ?? null;
|
|
@@ -8933,7 +8933,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8933
8933
|
};
|
|
8934
8934
|
}, "progressOf");
|
|
8935
8935
|
|
|
8936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8937
8937
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8938
8938
|
const run = currentRun();
|
|
8939
8939
|
const trace = traceId ?? run.traceId;
|
|
@@ -8947,7 +8947,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8947
8947
|
}));
|
|
8948
8948
|
}, "recordLogFor");
|
|
8949
8949
|
|
|
8950
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8951
8951
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8952
8952
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8953
8953
|
const out = openSync(log, "a", 384);
|
|
@@ -9102,7 +9102,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
9102
9102
|
return { job: id6, pid, chat: input.chat, log };
|
|
9103
9103
|
}, "startArchiveJob");
|
|
9104
9104
|
|
|
9105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
9106
9106
|
var problem = strictObject({ code: text, message: text });
|
|
9107
9107
|
var job = strictObject({
|
|
9108
9108
|
id,
|
|
@@ -9125,7 +9125,7 @@ var job = strictObject({
|
|
|
9125
9125
|
error: optional(problem)
|
|
9126
9126
|
});
|
|
9127
9127
|
|
|
9128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
9129
9129
|
var joinRequest = strictObject({
|
|
9130
9130
|
person_id: id,
|
|
9131
9131
|
name: nullable(text),
|
|
@@ -9136,7 +9136,7 @@ var joinRequest = strictObject({
|
|
|
9136
9136
|
about: optional(text)
|
|
9137
9137
|
});
|
|
9138
9138
|
|
|
9139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
9140
9140
|
var botProfile = strictObject({
|
|
9141
9141
|
name: text,
|
|
9142
9142
|
token: text,
|
|
@@ -9229,7 +9229,7 @@ var stickerInventory = strictObject({
|
|
|
9229
9229
|
url: optional(nullable(text))
|
|
9230
9230
|
});
|
|
9231
9231
|
|
|
9232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9233
9233
|
var pollVote = strictObject({
|
|
9234
9234
|
person_id: id,
|
|
9235
9235
|
name: nullable(text),
|
|
@@ -9239,7 +9239,7 @@ var pollVote = strictObject({
|
|
|
9239
9239
|
voted_at: time
|
|
9240
9240
|
});
|
|
9241
9241
|
|
|
9242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9243
9243
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9244
9244
|
var observation = strictObject({
|
|
9245
9245
|
value: pipe(number(), minValue(0)),
|
|
@@ -9281,7 +9281,7 @@ var serveSummary = strictObject({
|
|
|
9281
9281
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9282
9282
|
});
|
|
9283
9283
|
|
|
9284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9285
9285
|
var mailCounts = strictObject({
|
|
9286
9286
|
by: picklist(["day", "week", "sender"]),
|
|
9287
9287
|
received: count,
|
|
@@ -9296,7 +9296,7 @@ var mailCounts = strictObject({
|
|
|
9296
9296
|
}))
|
|
9297
9297
|
});
|
|
9298
9298
|
|
|
9299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9300
9300
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9301
9301
|
var base = { id, evidence: array(evidence2) };
|
|
9302
9302
|
var finding = variant("kind", [
|
|
@@ -9440,7 +9440,7 @@ var mailFindings = strictObject({
|
|
|
9440
9440
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9441
9441
|
});
|
|
9442
9442
|
|
|
9443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9444
9444
|
var mediaArchive = strictObject({
|
|
9445
9445
|
directory: text,
|
|
9446
9446
|
chats: count,
|
|
@@ -9472,7 +9472,7 @@ var mediaArchiveTimer = union([
|
|
|
9472
9472
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9473
9473
|
]);
|
|
9474
9474
|
|
|
9475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9476
9476
|
var preparationId = pipe(string(), minLength(1));
|
|
9477
9477
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9478
9478
|
var preparationTime = nullable(isoTime);
|
|
@@ -9564,7 +9564,7 @@ var preparationMeeting = strictObject({
|
|
|
9564
9564
|
updated_at: isoTime
|
|
9565
9565
|
});
|
|
9566
9566
|
|
|
9567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9568
9568
|
var meetingEvidence = preparationEvidence;
|
|
9569
9569
|
var meetingPersonContext = strictObject({
|
|
9570
9570
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9586,7 +9586,7 @@ var meetingPersonContext = strictObject({
|
|
|
9586
9586
|
})
|
|
9587
9587
|
});
|
|
9588
9588
|
|
|
9589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9590
9590
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9591
9591
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9592
9592
|
var finding2 = variant("kind", [
|
|
@@ -9624,7 +9624,7 @@ var meetingFindings = strictObject({
|
|
|
9624
9624
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9625
9625
|
});
|
|
9626
9626
|
|
|
9627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9628
9628
|
var communicationCoverage = strictObject({
|
|
9629
9629
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9630
9630
|
query: string(),
|
|
@@ -9669,7 +9669,7 @@ var preparationCommunications = strictObject({
|
|
|
9669
9669
|
}))
|
|
9670
9670
|
});
|
|
9671
9671
|
|
|
9672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9673
9673
|
var meetingPreparation = strictObject({
|
|
9674
9674
|
communications: optional(preparationCommunications),
|
|
9675
9675
|
schema_version: literal(1),
|
|
@@ -9782,7 +9782,7 @@ var meetingPreparation = strictObject({
|
|
|
9782
9782
|
})
|
|
9783
9783
|
});
|
|
9784
9784
|
|
|
9785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9786
9786
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9787
9787
|
var id3 = pipe(string(), minLength(1));
|
|
9788
9788
|
var text3 = string();
|
|
@@ -9846,7 +9846,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9846
9846
|
})
|
|
9847
9847
|
});
|
|
9848
9848
|
|
|
9849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9850
9850
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9851
9851
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9852
9852
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9876,7 +9876,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9876
9876
|
})
|
|
9877
9877
|
});
|
|
9878
9878
|
|
|
9879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9880
9880
|
var text4 = string();
|
|
9881
9881
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9882
9882
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9893,7 +9893,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9893
9893
|
persistence: literal("proposal-only")
|
|
9894
9894
|
});
|
|
9895
9895
|
|
|
9896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9897
9897
|
var memory = strictObject({
|
|
9898
9898
|
ref: reference,
|
|
9899
9899
|
id,
|
|
@@ -9920,7 +9920,7 @@ var memory = strictObject({
|
|
|
9920
9920
|
updated_at: time
|
|
9921
9921
|
});
|
|
9922
9922
|
|
|
9923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9924
9924
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9925
9925
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9926
9926
|
var mention = strictObject({
|
|
@@ -9963,13 +9963,13 @@ var mentionRebuild = strictObject({
|
|
|
9963
9963
|
mentions: count
|
|
9964
9964
|
});
|
|
9965
9965
|
|
|
9966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9967
9967
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9968
9968
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9969
9969
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9970
9970
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9971
9971
|
|
|
9972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9973
9973
|
var messageTranscript = strictObject({
|
|
9974
9974
|
message_id: id,
|
|
9975
9975
|
text,
|
|
@@ -10027,7 +10027,7 @@ var evidencePacket = strictObject({
|
|
|
10027
10027
|
}))
|
|
10028
10028
|
});
|
|
10029
10029
|
|
|
10030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
10031
10031
|
var messageThread = strictObject({
|
|
10032
10032
|
ref: reference,
|
|
10033
10033
|
chat: id,
|
|
@@ -10044,7 +10044,7 @@ var messageThread = strictObject({
|
|
|
10044
10044
|
});
|
|
10045
10045
|
var messageContext = union([message, messageThread]);
|
|
10046
10046
|
|
|
10047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
10048
10048
|
var messageCounts = strictObject({
|
|
10049
10049
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
10050
10050
|
total: count,
|
|
@@ -10057,7 +10057,7 @@ var messageCounts = strictObject({
|
|
|
10057
10057
|
}))
|
|
10058
10058
|
});
|
|
10059
10059
|
|
|
10060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
10061
10061
|
var messageLink = strictObject({
|
|
10062
10062
|
ref: reference,
|
|
10063
10063
|
url: nullable(text),
|
|
@@ -10074,7 +10074,7 @@ var messageLink = strictObject({
|
|
|
10074
10074
|
})))
|
|
10075
10075
|
});
|
|
10076
10076
|
|
|
10077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
10078
10078
|
var savedMessageFile = strictObject({
|
|
10079
10079
|
kind: text,
|
|
10080
10080
|
path: text,
|
|
@@ -10161,7 +10161,7 @@ var messageSyncAll = strictObject({
|
|
|
10161
10161
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10162
10162
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10163
10163
|
|
|
10164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10165
10165
|
var messageWrite = strictObject({
|
|
10166
10166
|
operation_id: id,
|
|
10167
10167
|
message,
|
|
@@ -10176,7 +10176,7 @@ var draftWrite = strictObject({
|
|
|
10176
10176
|
});
|
|
10177
10177
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10178
10178
|
|
|
10179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10180
10180
|
var model2 = strictObject({
|
|
10181
10181
|
id,
|
|
10182
10182
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10211,7 +10211,7 @@ var chosenModel = strictObject({
|
|
|
10211
10211
|
estimate_seconds: nullable(count)
|
|
10212
10212
|
});
|
|
10213
10213
|
|
|
10214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10215
10215
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10216
10216
|
var modelKey = strictObject({
|
|
10217
10217
|
provider: text,
|
|
@@ -10221,7 +10221,7 @@ var modelKey = strictObject({
|
|
|
10221
10221
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10222
10222
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10223
10223
|
|
|
10224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10225
10225
|
var link = {
|
|
10226
10226
|
target_text: nullable(text),
|
|
10227
10227
|
kind: text,
|
|
@@ -10262,7 +10262,7 @@ var note = strictObject({
|
|
|
10262
10262
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10263
10263
|
});
|
|
10264
10264
|
|
|
10265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10266
10266
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10267
10267
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10268
10268
|
var graph = strictObject({
|
|
@@ -10296,14 +10296,14 @@ var officialStats = strictObject({
|
|
|
10296
10296
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10297
10297
|
});
|
|
10298
10298
|
|
|
10299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10300
10300
|
var person2 = strictObject({
|
|
10301
10301
|
ref: reference,
|
|
10302
10302
|
name: nullable(text),
|
|
10303
10303
|
identities: optional(array(identity))
|
|
10304
10304
|
});
|
|
10305
10305
|
|
|
10306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10307
10307
|
var poll = strictObject({
|
|
10308
10308
|
chat_id: id,
|
|
10309
10309
|
message_id: id,
|
|
@@ -10319,11 +10319,11 @@ var poll = strictObject({
|
|
|
10319
10319
|
});
|
|
10320
10320
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10321
10321
|
|
|
10322
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10323
10323
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10324
10324
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10325
10325
|
|
|
10326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10327
10327
|
var figures = record(string(), number());
|
|
10328
10328
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10329
10329
|
var rankingRow = strictObject({
|
|
@@ -10370,7 +10370,7 @@ var ranking = strictObject({
|
|
|
10370
10370
|
rows: array(rankingRow)
|
|
10371
10371
|
});
|
|
10372
10372
|
|
|
10373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10374
10374
|
var reaction = strictObject({
|
|
10375
10375
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10376
10376
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10378,7 +10378,7 @@ var reaction = strictObject({
|
|
|
10378
10378
|
reacted_at: time
|
|
10379
10379
|
});
|
|
10380
10380
|
|
|
10381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10382
10382
|
var reactionChange = strictObject({
|
|
10383
10383
|
operation_id: id,
|
|
10384
10384
|
chat_id: id,
|
|
@@ -10386,7 +10386,7 @@ var reactionChange = strictObject({
|
|
|
10386
10386
|
reaction: nullable(text)
|
|
10387
10387
|
});
|
|
10388
10388
|
|
|
10389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10390
10390
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10391
10391
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10392
10392
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10397,7 +10397,7 @@ var recipientChange = strictObject({
|
|
|
10397
10397
|
...partial(recipientOff).entries
|
|
10398
10398
|
});
|
|
10399
10399
|
|
|
10400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10401
10401
|
var events = array(record(string(), unknown()));
|
|
10402
10402
|
var recordedRun = strictObject({
|
|
10403
10403
|
run_id: id,
|
|
@@ -10469,7 +10469,7 @@ var runHit = strictObject({
|
|
|
10469
10469
|
});
|
|
10470
10470
|
var runLocation = strictObject({ path: text });
|
|
10471
10471
|
|
|
10472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10473
10473
|
var relationship = strictObject({
|
|
10474
10474
|
id,
|
|
10475
10475
|
from: reference,
|
|
@@ -10492,7 +10492,7 @@ var relationship = strictObject({
|
|
|
10492
10492
|
created_at: time
|
|
10493
10493
|
});
|
|
10494
10494
|
|
|
10495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10496
10496
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10497
10497
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10498
10498
|
var responseTimes = strictObject({
|
|
@@ -10509,7 +10509,7 @@ var waitingChats = strictObject({
|
|
|
10509
10509
|
by_kind: strictObject({ private: count, group: count })
|
|
10510
10510
|
});
|
|
10511
10511
|
|
|
10512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10513
10513
|
var retentionCohort = strictObject({
|
|
10514
10514
|
/** The first day of the joining day or week. */
|
|
10515
10515
|
cohort: text,
|
|
@@ -10557,7 +10557,7 @@ var retention = strictObject({
|
|
|
10557
10557
|
rows: array(retentionCohort)
|
|
10558
10558
|
});
|
|
10559
10559
|
|
|
10560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10561
10561
|
var savedSearch = strictObject({
|
|
10562
10562
|
id,
|
|
10563
10563
|
/** `null` for a run in the history. */
|
|
@@ -10574,7 +10574,7 @@ var savedSearch = strictObject({
|
|
|
10574
10574
|
});
|
|
10575
10575
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10576
10576
|
|
|
10577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10578
10578
|
var sendAttempt = strictObject({
|
|
10579
10579
|
at: time,
|
|
10580
10580
|
profile: text,
|
|
@@ -10602,7 +10602,7 @@ var sendAttempt = strictObject({
|
|
|
10602
10602
|
error_code: optional(text)
|
|
10603
10603
|
});
|
|
10604
10604
|
|
|
10605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10606
10606
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10607
10607
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10608
10608
|
var infoSchema = strictObject({
|
|
@@ -10823,7 +10823,7 @@ var storeRepair = union([
|
|
|
10823
10823
|
]);
|
|
10824
10824
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10825
10825
|
|
|
10826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10827
10827
|
var range = strictObject({ from: number(), to: number() });
|
|
10828
10828
|
var storeChatStatus = strictObject({
|
|
10829
10829
|
chat_id: id,
|
|
@@ -10921,7 +10921,7 @@ var storeJobRetry = union([
|
|
|
10921
10921
|
]);
|
|
10922
10922
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10923
10923
|
|
|
10924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10925
10925
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10926
10926
|
var storeTable = strictObject({
|
|
10927
10927
|
name: text,
|
|
@@ -10930,7 +10930,7 @@ var storeTable = strictObject({
|
|
|
10930
10930
|
bytes: optional(nullable(count))
|
|
10931
10931
|
});
|
|
10932
10932
|
|
|
10933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10934
10934
|
var tagTarget = variant("type", [
|
|
10935
10935
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10936
10936
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10961,7 +10961,7 @@ var automaticTags = strictObject({
|
|
|
10961
10961
|
dry_run: boolean()
|
|
10962
10962
|
});
|
|
10963
10963
|
|
|
10964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10965
10965
|
var tagging = strictObject({
|
|
10966
10966
|
tag: text,
|
|
10967
10967
|
type: picklist(TAG_TYPES),
|
|
@@ -10974,7 +10974,7 @@ var tagging = strictObject({
|
|
|
10974
10974
|
created_at: time
|
|
10975
10975
|
});
|
|
10976
10976
|
|
|
10977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10978
10978
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10979
10979
|
var taskPair = strictObject({
|
|
10980
10980
|
task: nullable(side),
|
|
@@ -10997,7 +10997,7 @@ var taskPair = strictObject({
|
|
|
10997
10997
|
created_at: time
|
|
10998
10998
|
});
|
|
10999
10999
|
|
|
11000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
11001
11001
|
var nullableTime = nullable(time);
|
|
11002
11002
|
var link2 = strictObject({
|
|
11003
11003
|
id,
|
|
@@ -11171,7 +11171,7 @@ var taskReview = strictObject({
|
|
|
11171
11171
|
untrusted
|
|
11172
11172
|
});
|
|
11173
11173
|
|
|
11174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11175
11175
|
var topic = strictObject({
|
|
11176
11176
|
id,
|
|
11177
11177
|
title: text,
|
|
@@ -11185,7 +11185,7 @@ var topic = strictObject({
|
|
|
11185
11185
|
untrusted
|
|
11186
11186
|
});
|
|
11187
11187
|
|
|
11188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11188
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11189
11189
|
var ENTITIES = {
|
|
11190
11190
|
sync_progress: progress,
|
|
11191
11191
|
deal,
|
|
@@ -11472,7 +11472,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11472
11472
|
return [name, definition];
|
|
11473
11473
|
})), "entityDefinitions");
|
|
11474
11474
|
|
|
11475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11476
11476
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11477
11477
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11478
11478
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11506,7 +11506,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11506
11506
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11507
11507
|
}, "answerRow");
|
|
11508
11508
|
|
|
11509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11510
11510
|
import { join as join6 } from "node:path";
|
|
11511
11511
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11512
11512
|
var IMAGE_MODELS = [
|
|
@@ -11560,7 +11560,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11560
11560
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11561
11561
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11562
11562
|
|
|
11563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11564
11564
|
var STEPS2 = defineSteps([
|
|
11565
11565
|
...STEPS,
|
|
11566
11566
|
{
|
|
@@ -11838,7 +11838,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11838
11838
|
].join(" ");
|
|
11839
11839
|
}, "stepLine");
|
|
11840
11840
|
|
|
11841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11842
11842
|
var where = [{ field: "ref" }];
|
|
11843
11843
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11844
11844
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11930,7 +11930,7 @@ var STATUS_ROWS = {
|
|
|
11930
11930
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11931
11931
|
};
|
|
11932
11932
|
|
|
11933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11934
11934
|
var TEXT_CHARS = 400;
|
|
11935
11935
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11936
11936
|
var messageRow = {
|
|
@@ -12296,7 +12296,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12296
12296
|
return lines.concat(footerOf(body)).join("\n");
|
|
12297
12297
|
}, "compactText");
|
|
12298
12298
|
|
|
12299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12300
12300
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12301
12301
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12302
12302
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12343,7 +12343,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12343
12343
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12344
12344
|
}, "largeAnswerSteps");
|
|
12345
12345
|
|
|
12346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12347
12347
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12348
12348
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12349
12349
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12357,7 +12357,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12357
12357
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12358
12358
|
}, "strip");
|
|
12359
12359
|
|
|
12360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_562287bbc40b862fa82b63f307e02b11/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12361
12361
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12362
12362
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12363
12363
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|