@wirecat/cli-memo 0.131.45 → 0.131.47
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-ZBASDAVU.js → all-profiles-75EGCXK3.js} +5 -5
- package/dist/bundle/{anthropic-3ZS3RCUH.js → anthropic-PTAYBCPR.js} +3 -3
- package/dist/bundle/{app-server-PQF22PMD.js → app-server-YSUBXGGB.js} +41 -38
- package/dist/bundle/auto-GB35FRTV.js +86 -0
- package/dist/bundle/{bun-3CGVV3V2.js → bun-3AIG5ML4.js} +2 -2
- package/dist/bundle/{bun-sqlite-D6T3ESTG.js → bun-sqlite-5FCGI6EO.js} +2 -2
- package/dist/bundle/{chunk-CAPDRDQU.js → chunk-25RDNYKZ.js} +5 -5
- package/dist/bundle/{chunk-L45FSDH3.js → chunk-32QM6X5H.js} +1 -1
- package/dist/bundle/{chunk-NB267XRJ.js → chunk-3HPFTKDH.js} +4 -4
- package/dist/bundle/{chunk-UP2K5XUA.js → chunk-4LWX2WOB.js} +3 -3
- package/dist/bundle/{chunk-TVZEELSS.js → chunk-5N6HWFXN.js} +508 -338
- package/dist/bundle/{chunk-SK3TPK5Y.js → chunk-6IVHND3S.js} +4 -4
- package/dist/bundle/{chunk-75EEQB2R.js → chunk-6QNPOBR5.js} +11 -11
- package/dist/bundle/{chunk-75RJJQ2Q.js → chunk-6TKWJKPS.js} +10 -10
- package/dist/bundle/{chunk-CH37NCAP.js → chunk-BNIWLVWG.js} +3 -3
- package/dist/bundle/{chunk-IQ2MW47B.js → chunk-CODD5SXC.js} +27 -27
- package/dist/bundle/{chunk-HAPE26JK.js → chunk-DDADFHR7.js} +12 -12
- package/dist/bundle/{chunk-CGJFYMVZ.js → chunk-DMTLG2GD.js} +7 -7
- package/dist/bundle/{chunk-GOJZ3FQY.js → chunk-DS4DOK75.js} +22 -21
- package/dist/bundle/{chunk-PMUAUR5S.js → chunk-DWBTCOF2.js} +4 -4
- package/dist/bundle/{chunk-5IYS3BWO.js → chunk-EFQCDCLY.js} +56 -56
- package/dist/bundle/{chunk-IYJGFBNN.js → chunk-ELKK5M66.js} +5 -5
- package/dist/bundle/{chunk-YDNM5KYV.js → chunk-EVZI54B5.js} +4 -4
- package/dist/bundle/{chunk-GTPWWGQI.js → chunk-F4HMPMET.js} +7 -7
- package/dist/bundle/{chunk-2OYB4PWV.js → chunk-FSAMZHIM.js} +5 -5
- package/dist/bundle/{chunk-G3FRUKAD.js → chunk-G3YSCD77.js} +182 -158
- package/dist/bundle/{chunk-NTFEJ52I.js → chunk-G4W42RGE.js} +1 -1
- package/dist/bundle/{chunk-7EA6M6RA.js → chunk-GA3KFYEZ.js} +4 -4
- package/dist/bundle/{chunk-CXRCADXS.js → chunk-GOFPCOEI.js} +9 -9
- package/dist/bundle/{chunk-65MK55RS.js → chunk-GQLSVXS2.js} +20 -20
- package/dist/bundle/{chunk-YWTWDX4F.js → chunk-HCZV537M.js} +1 -1
- package/dist/bundle/{chunk-OMBFF6Z6.js → chunk-HVTW2M6T.js} +1 -1
- package/dist/bundle/{chunk-EJ2PEYQU.js → chunk-HYEYRFWX.js} +1 -1
- package/dist/bundle/{chunk-AOSSO4YI.js → chunk-I2RDACUF.js} +6 -6
- package/dist/bundle/{chunk-KE3CYUON.js → chunk-ILK5BCBB.js} +1 -1
- package/dist/bundle/{chunk-U4J7TAOW.js → chunk-IPLPMD6H.js} +1 -1
- package/dist/bundle/{chunk-7WJEQ36E.js → chunk-IPMBB6W5.js} +2 -2
- package/dist/bundle/{chunk-ZJXAYYLF.js → chunk-J324GKJM.js} +1 -1
- package/dist/bundle/{chunk-PXSGUVZP.js → chunk-KLBZJZD2.js} +637 -119
- package/dist/bundle/{chunk-FMMIPFTU.js → chunk-KWM7HLAI.js} +4 -4
- package/dist/bundle/{chunk-CRLYBXV5.js → chunk-LE7NROV6.js} +43 -36
- package/dist/bundle/{chunk-25MS26SH.js → chunk-MCMEBL3C.js} +23 -10
- package/dist/bundle/{chunk-FRT7URL7.js → chunk-MMJDQQFX.js} +483 -282
- package/dist/bundle/{chunk-TKFG75MJ.js → chunk-MSBRZ5QD.js} +2 -2
- package/dist/bundle/{chunk-IJBJ47GI.js → chunk-N5QQFDNV.js} +2 -2
- package/dist/bundle/{chunk-B4PZQYGP.js → chunk-N63KZFH4.js} +8 -8
- package/dist/bundle/{chunk-NBA3GJBR.js → chunk-OSCRP52P.js} +805 -347
- package/dist/bundle/{chunk-GBRK3WXY.js → chunk-PGVADNDD.js} +2 -2
- package/dist/bundle/{chunk-HXCSD2XV.js → chunk-R44PUK7G.js} +1 -1
- package/dist/bundle/{chunk-F2VTAFIT.js → chunk-SYTYLLYO.js} +1 -1
- package/dist/bundle/{chunk-MKVUBQEG.js → chunk-U35N3EC7.js} +1 -1
- package/dist/bundle/{chunk-5ZHM6SZW.js → chunk-U75ANK5K.js} +1 -1
- package/dist/bundle/{chunk-7G7N3IUO.js → chunk-UE4GMPBY.js} +4 -2
- package/dist/bundle/{chunk-OTOKJAYR.js → chunk-UFVGAFID.js} +3 -3
- package/dist/bundle/{chunk-OT4CLMVF.js → chunk-V3B5COFP.js} +3 -3
- package/dist/bundle/{chunk-6NQTGFAL.js → chunk-V6OYLCCM.js} +2 -2
- package/dist/bundle/{chunk-IAPKZSC5.js → chunk-W2JVP7GK.js} +1 -1
- package/dist/bundle/{chunk-LL3Z6KA3.js → chunk-W3T45MMN.js} +5 -5
- package/dist/bundle/{chunk-EJ4X6XH2.js → chunk-XRRPQCTS.js} +1 -1
- package/dist/bundle/{chunk-G6TRTDHB.js → chunk-Y4ZXDJQF.js} +2 -2
- package/dist/bundle/{chunk-WGX73SAA.js → chunk-YMK35KVV.js} +2 -2
- package/dist/bundle/{chunk-7G63XPDR.js → chunk-ZKH6LC5P.js} +7 -7
- package/dist/bundle/{chunk-C6GSSMDG.js → chunk-ZLIARJU4.js} +1 -1
- package/dist/bundle/{command-contract-K3GJRRXT.js → command-contract-YYILWWYQ.js} +11 -11
- package/dist/bundle/{decode-TTMBMSGQ.js → decode-F2A2BLIA.js} +2 -2
- package/dist/bundle/{echarts-7XN2RLJT.js → echarts-JL55HJCM.js} +2 -2
- package/dist/bundle/{embed-UKTHDQH5.js → embed-74KVORNN.js} +3 -3
- package/dist/bundle/{embedder-SCKLAVKW.js → embedder-GACNPCZN.js} +6 -6
- package/dist/bundle/{entry-VQRYB2HE.js → entry-7FI2H4RQ.js} +4 -4
- package/dist/bundle/failure-AHPPXHAW.js +66 -0
- package/dist/bundle/{first-run-RL6ZRY3Y.js → first-run-D4VBIJ7H.js} +5 -5
- package/dist/bundle/{first-screen-CRURWNKP.js → first-screen-D7Q2U7VP.js} +12 -12
- package/dist/bundle/{instructions-KGU67SPR.js → instructions-QNPIVGKX.js} +1 -1
- package/dist/bundle/{mcp-CSN7BDNG.js → mcp-AFXHH33V.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-S5LQLVMO.js → node-SPFML2D5.js} +2 -2
- package/dist/bundle/{node-sqlite-PFCIEDPX.js → node-sqlite-T3KILRCP.js} +3 -3
- package/dist/bundle/{oauth-KJOGYDPV.js → oauth-ZOGSHZF3.js} +4 -4
- package/dist/bundle/{open-TPBENKAD.js → open-XXFVCGCA.js} +2 -2
- package/dist/bundle/{openai-UOYTHO32.js → openai-JRHZLFKD.js} +7 -7
- package/dist/bundle/{process-JWKE7GPV.js → process-OGYYVVLG.js} +1 -1
- package/dist/bundle/{program-RJ6X4DXE.js → program-EFCQACPD.js} +138 -61
- package/dist/bundle/{prompt-5HQ3Z7ZS.js → prompt-53D5WVD3.js} +2 -2
- package/dist/bundle/{recognize-5ILXEPII.js → recognize-7GYZKJCD.js} +1 -1
- package/dist/bundle/{remote-WIN3HJII.js → remote-V5GUFZCG.js} +4 -4
- package/dist/bundle/{rerank-JKHDSEBI.js → rerank-FUNVBYFI.js} +4 -4
- package/dist/bundle/{serve-VMHFRDYH.js → serve-ZLUYFAXC.js} +6 -6
- package/dist/bundle/server-4OJC7ZWM.js +61 -0
- package/dist/bundle/server-CGUUZBLB.js +48 -0
- package/dist/bundle/{server-TKWVP4OJ.js → server-HJRMD3XD.js} +50 -50
- package/dist/bundle/{state-OWOLD7JI.js → state-4P7H6KBM.js} +3 -3
- package/dist/bundle/{store-6GFFSNRY.js → store-NILJK24C.js} +11 -9
- package/dist/bundle/store-maintenance-command-VP7CIBSS.js +48 -0
- package/dist/bundle/update-NPK4DT2E.js +69 -0
- package/dist/contract-overrides/doctor.d.ts.map +1 -1
- package/dist/contract-overrides/doctor.js +6 -0
- package/dist/contract-overrides/doctor.js.map +1 -1
- package/dist/doctor/command.d.ts +23 -2
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +13 -5
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +2 -0
- package/dist/examples.js.map +1 -1
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +2 -0
- package/dist/schedule/command.js.map +1 -1
- package/dist/schedule/mail-triage-input.d.ts +24 -0
- package/dist/schedule/mail-triage-input.d.ts.map +1 -0
- package/dist/schedule/mail-triage-input.js +53 -0
- package/dist/schedule/mail-triage-input.js.map +1 -0
- package/dist/store/info-command.d.ts.map +1 -1
- package/dist/store/info-command.js +23 -1
- package/dist/store/info-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/mail-triage/SKILL.md +25 -27
- package/dist/bundle/auto-NW7IP4ST.js +0 -86
- package/dist/bundle/failure-JHW2U2OF.js +0 -66
- package/dist/bundle/server-IBJ23GCB.js +0 -48
- package/dist/bundle/server-SNWCFMJN.js +0 -61
- package/dist/bundle/store-maintenance-command-7DMPWFT4.js +0 -48
- package/dist/bundle/update-KSB7VYAW.js +0 -69
- /package/dist/bundle/{chunk-DL5LDAOS.js → chunk-JPGEFBRW.js} +0 -0
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZKH6LC5P.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4LWX2WOB.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SYTYLLYO.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-W2JVP7GK.js";
|
|
25
25
|
import {
|
|
26
26
|
FACT_STATUSES,
|
|
27
27
|
FACT_TYPES,
|
|
@@ -72,17 +72,17 @@ import {
|
|
|
72
72
|
text,
|
|
73
73
|
time,
|
|
74
74
|
untrusted
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-EFQCDCLY.js";
|
|
76
76
|
import {
|
|
77
77
|
sharedConfigPath
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-EVZI54B5.js";
|
|
79
79
|
import {
|
|
80
80
|
filesPresent,
|
|
81
81
|
sharedModelsDirectory
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-UFVGAFID.js";
|
|
83
83
|
import {
|
|
84
84
|
storePath
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-IPLPMD6H.js";
|
|
86
86
|
import {
|
|
87
87
|
configFilePath,
|
|
88
88
|
createRecordLog,
|
|
@@ -3946,7 +3946,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3946
3946
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3947
3947
|
}), "commandsDocument");
|
|
3948
3948
|
|
|
3949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3950
3950
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3951
3951
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3952
3952
|
messageId: message2.id,
|
|
@@ -4052,7 +4052,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4052
4052
|
}, "guardedWrite");
|
|
4053
4053
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4054
4054
|
|
|
4055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4056
4056
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4057
4057
|
try {
|
|
4058
4058
|
return work();
|
|
@@ -4079,7 +4079,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4079
4079
|
return projectFields(value, fields);
|
|
4080
4080
|
}), "projectFields");
|
|
4081
4081
|
|
|
4082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4083
4083
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4084
4084
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4085
4085
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4101,7 +4101,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4101
4101
|
}
|
|
4102
4102
|
}, "withAbort");
|
|
4103
4103
|
|
|
4104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4105
4105
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4106
4106
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4107
4107
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4497,7 +4497,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4497
4497
|
}
|
|
4498
4498
|
}, "assertRetentionEvidenceRead");
|
|
4499
4499
|
|
|
4500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4501
4501
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4502
4502
|
import { join } from "node:path";
|
|
4503
4503
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4519,12 +4519,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4519
4519
|
}, "profilesWithAccounts");
|
|
4520
4520
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4521
4521
|
|
|
4522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4523
4523
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4524
4524
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4525
4525
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4526
4526
|
|
|
4527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4528
4528
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4529
4529
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4530
4530
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4560,7 +4560,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4560
4560
|
return value;
|
|
4561
4561
|
}, "atDetail");
|
|
4562
4562
|
|
|
4563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/output.js
|
|
4564
4564
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4565
4565
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4566
4566
|
if (other)
|
|
@@ -4624,7 +4624,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4624
4624
|
}, "warn")
|
|
4625
4625
|
}), "silence");
|
|
4626
4626
|
|
|
4627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4628
4628
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4629
4629
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4630
4630
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4658,7 +4658,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4658
4658
|
cache: "cache.answered"
|
|
4659
4659
|
};
|
|
4660
4660
|
|
|
4661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4662
4662
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4663
4663
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4664
4664
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4671,13 +4671,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4671
4671
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4672
4672
|
}), "snakeLogger");
|
|
4673
4673
|
|
|
4674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4675
4675
|
import { randomUUID } from "node:crypto";
|
|
4676
4676
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4677
4677
|
import { userInfo } from "node:os";
|
|
4678
4678
|
import { join as join2, sep } from "node:path";
|
|
4679
4679
|
|
|
4680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4681
4681
|
var diagnostic = {
|
|
4682
4682
|
event: true,
|
|
4683
4683
|
operation: true,
|
|
@@ -4747,7 +4747,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4747
4747
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4748
4748
|
].sort();
|
|
4749
4749
|
|
|
4750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4751
4751
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4752
4752
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4753
4753
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5100,7 +5100,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5100
5100
|
};
|
|
5101
5101
|
}, "metadataOf");
|
|
5102
5102
|
|
|
5103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5104
5104
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5105
5105
|
import { randomBytes } from "node:crypto";
|
|
5106
5106
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5135,7 +5135,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5135
5135
|
var attempts = new AsyncLocalStorage2();
|
|
5136
5136
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5137
5137
|
|
|
5138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5139
5139
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5140
5140
|
const recording = startRecording(options);
|
|
5141
5141
|
try {
|
|
@@ -5320,7 +5320,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5320
5320
|
return void 0;
|
|
5321
5321
|
}, "partialOutcome");
|
|
5322
5322
|
|
|
5323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5323
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5324
5324
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5325
5325
|
if (ms2 === void 0)
|
|
5326
5326
|
return body();
|
|
@@ -5346,7 +5346,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5346
5346
|
}
|
|
5347
5347
|
}, "withDeadline");
|
|
5348
5348
|
|
|
5349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5350
5350
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5351
5351
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5352
5352
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5388,10 +5388,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5388
5388
|
return root;
|
|
5389
5389
|
}, "rootOf");
|
|
5390
5390
|
|
|
5391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5392
5392
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5393
5393
|
|
|
5394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5395
5395
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5396
5396
|
try {
|
|
5397
5397
|
const url2 = new URL(value);
|
|
@@ -5401,7 +5401,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5401
5401
|
}
|
|
5402
5402
|
}, "endpoint");
|
|
5403
5403
|
|
|
5404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5405
5405
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5406
5406
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5407
5407
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5470,7 +5470,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5470
5470
|
};
|
|
5471
5471
|
}, "modelTarget");
|
|
5472
5472
|
|
|
5473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5474
5474
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5475
5475
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5476
5476
|
var AI_FIELDS = {
|
|
@@ -5514,7 +5514,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5514
5514
|
};
|
|
5515
5515
|
}, "resolveAISettings");
|
|
5516
5516
|
|
|
5517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5518
5518
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5519
5519
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5520
5520
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5528,7 +5528,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5528
5528
|
return ms2;
|
|
5529
5529
|
}, "parseDuration");
|
|
5530
5530
|
|
|
5531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5532
5532
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5533
5533
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5534
5534
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5687,7 +5687,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5687
5687
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5688
5688
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5689
5689
|
|
|
5690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5691
5691
|
var HISTORY_MAX_DAYS = 1095;
|
|
5692
5692
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5693
5693
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5734,7 +5734,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5734
5734
|
return { batch: { ...batch, messages }, skipped };
|
|
5735
5735
|
}, "limitBatch");
|
|
5736
5736
|
|
|
5737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5738
5738
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5739
5739
|
import { join as join3 } from "node:path";
|
|
5740
5740
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5823,10 +5823,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5823
5823
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5824
5824
|
}, "registryProfiles");
|
|
5825
5825
|
|
|
5826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5827
5827
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5828
5828
|
|
|
5829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5830
5830
|
var REPAIR_WORDS = {
|
|
5831
5831
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5832
5832
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6067,7 +6067,7 @@ ${parts.join(",\n")}
|
|
|
6067
6067
|
${indent}${close}`;
|
|
6068
6068
|
}, "serialise");
|
|
6069
6069
|
|
|
6070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6071
6071
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6072
6072
|
var SECTIONS = ["personal", "bot"];
|
|
6073
6073
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6362,7 +6362,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6362
6362
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6363
6363
|
}, "readConfigFile");
|
|
6364
6364
|
|
|
6365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6366
6366
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6367
6367
|
import { dirname, join as join4 } from "node:path";
|
|
6368
6368
|
var DEFAULT_CONFIG = {
|
|
@@ -6391,7 +6391,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6391
6391
|
}
|
|
6392
6392
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6393
6393
|
|
|
6394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6395
6395
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6396
6396
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6397
6397
|
const path2 = key.split(".");
|
|
@@ -6424,7 +6424,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6424
6424
|
};
|
|
6425
6425
|
}), "settingRows");
|
|
6426
6426
|
|
|
6427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6428
6428
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6429
6429
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6430
6430
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6934,7 +6934,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6934
6934
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6935
6935
|
}, "given");
|
|
6936
6936
|
|
|
6937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6938
6938
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6939
6939
|
const slot = environmentOf(command).exit;
|
|
6940
6940
|
if (slot)
|
|
@@ -6947,6 +6947,10 @@ var provide = /* @__PURE__ */ __name((program2, environment) => {
|
|
|
6947
6947
|
environments.set(program2, environment);
|
|
6948
6948
|
}, "provide");
|
|
6949
6949
|
var environmentOf = /* @__PURE__ */ __name((command) => environments.get(rootOf(command)) ?? {}, "environmentOf");
|
|
6950
|
+
var withAgentLevels = /* @__PURE__ */ __name((command, flags) => {
|
|
6951
|
+
const overrides = environmentOf(command).agent?.overrides ?? [];
|
|
6952
|
+
return overrides.length > 0 ? { ...flags, permission: [...overrides, ...flags.permission ?? []] } : flags;
|
|
6953
|
+
}, "withAgentLevels");
|
|
6950
6954
|
var secretInputOf = /* @__PURE__ */ __name((command) => {
|
|
6951
6955
|
const { stdin, stderr } = environmentOf(command);
|
|
6952
6956
|
return { ...stdin ? { input: stdin } : {}, ...stderr ? { output: stderr } : {} };
|
|
@@ -6973,9 +6977,7 @@ var outputFor = /* @__PURE__ */ __name((command) => {
|
|
|
6973
6977
|
var baseContext = /* @__PURE__ */ __name((command, resolveSettings) => {
|
|
6974
6978
|
const environment = environmentOf(command);
|
|
6975
6979
|
const env = environment.env ?? process.env;
|
|
6976
|
-
const
|
|
6977
|
-
const overrides = environment.agent?.overrides ?? [];
|
|
6978
|
-
const settings = resolveSettings(overrides.length > 0 ? { ...flags, permission: [...overrides, ...flags.permission ?? []] } : flags, { env });
|
|
6980
|
+
const settings = resolveSettings(withAgentLevels(command, command.optsWithGlobals()), { env });
|
|
6979
6981
|
const { renderer, format, color, streams, compact, full } = resolveOutput({
|
|
6980
6982
|
...settings,
|
|
6981
6983
|
env,
|
|
@@ -7047,7 +7049,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7047
7049
|
return words.join(" ");
|
|
7048
7050
|
}, "commandPath");
|
|
7049
7051
|
|
|
7050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7052
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7051
7053
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7052
7054
|
var FETCH = { remote: "read", local: "write" };
|
|
7053
7055
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7154,7 +7156,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7154
7156
|
throw readOnlyRefusal(lock, what);
|
|
7155
7157
|
}, "refuseUnderReadOnly");
|
|
7156
7158
|
|
|
7157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7158
7160
|
var account = strictObject({
|
|
7159
7161
|
provider: text,
|
|
7160
7162
|
id,
|
|
@@ -7164,7 +7166,7 @@ var account = strictObject({
|
|
|
7164
7166
|
scope: optional(picklist(["personal", "work"]))
|
|
7165
7167
|
});
|
|
7166
7168
|
|
|
7167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7168
7170
|
var accountSession = strictObject({
|
|
7169
7171
|
current: boolean(),
|
|
7170
7172
|
client: nullable(text),
|
|
@@ -7174,7 +7176,7 @@ var accountSession = strictObject({
|
|
|
7174
7176
|
created_at: optional(nullable(time))
|
|
7175
7177
|
});
|
|
7176
7178
|
|
|
7177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7178
7180
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7179
7181
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7180
7182
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7192,7 +7194,7 @@ var accountPrivacy = strictObject({
|
|
|
7192
7194
|
});
|
|
7193
7195
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7194
7196
|
|
|
7195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7197
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7196
7198
|
var accountProfile = strictObject({
|
|
7197
7199
|
profile: id,
|
|
7198
7200
|
current: boolean(),
|
|
@@ -7204,7 +7206,7 @@ var accountProfile = strictObject({
|
|
|
7204
7206
|
bot: optional(literal(true))
|
|
7205
7207
|
});
|
|
7206
7208
|
|
|
7207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7208
7210
|
var milliseconds = pipe(number(), minValue(0));
|
|
7209
7211
|
var counterReading = strictObject({
|
|
7210
7212
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7216,7 +7218,7 @@ var counterReading = strictObject({
|
|
|
7216
7218
|
});
|
|
7217
7219
|
var selection = record(string(), unknown());
|
|
7218
7220
|
|
|
7219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7220
7222
|
var adminRow = strictObject({
|
|
7221
7223
|
ref: reference,
|
|
7222
7224
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7269,7 +7271,7 @@ var adminReport = strictObject({
|
|
|
7269
7271
|
rows: array(adminRow)
|
|
7270
7272
|
});
|
|
7271
7273
|
|
|
7272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7273
7275
|
var closeSuggestion = strictObject({
|
|
7274
7276
|
as: picklist(["done", "dismissed"]),
|
|
7275
7277
|
/** The agent's name. */
|
|
@@ -7331,7 +7333,7 @@ var task = strictObject({
|
|
|
7331
7333
|
updated_at: optional(time)
|
|
7332
7334
|
});
|
|
7333
7335
|
|
|
7334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7335
7337
|
var agendaChat = strictObject({
|
|
7336
7338
|
chat: reference,
|
|
7337
7339
|
title: nullable(text),
|
|
@@ -7401,11 +7403,11 @@ var agenda = strictObject({
|
|
|
7401
7403
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7402
7404
|
});
|
|
7403
7405
|
|
|
7404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7405
7407
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7406
7408
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7407
7409
|
|
|
7408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7409
7411
|
var attachment = strictObject({
|
|
7410
7412
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7411
7413
|
message: optional(reference),
|
|
@@ -7443,7 +7445,7 @@ var attachment = strictObject({
|
|
|
7443
7445
|
});
|
|
7444
7446
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7445
7447
|
|
|
7446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7447
7449
|
var actionableError = objectWithRest({
|
|
7448
7450
|
code: text,
|
|
7449
7451
|
message: text,
|
|
@@ -7460,7 +7462,7 @@ var batchResult = strictObject({
|
|
|
7460
7462
|
max_error_percent: count
|
|
7461
7463
|
});
|
|
7462
7464
|
|
|
7463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7464
7466
|
var extractionItem = strictObject({
|
|
7465
7467
|
ref: reference,
|
|
7466
7468
|
attachment: count,
|
|
@@ -7493,7 +7495,7 @@ var extractionReport = strictObject({
|
|
|
7493
7495
|
cursor: optional(text)
|
|
7494
7496
|
});
|
|
7495
7497
|
|
|
7496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7498
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7497
7499
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7498
7500
|
var attachmentBytes = strictObject({
|
|
7499
7501
|
ref: reference,
|
|
@@ -7521,7 +7523,7 @@ var attachmentTextChange = strictObject({
|
|
|
7521
7523
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7522
7524
|
});
|
|
7523
7525
|
|
|
7524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7525
7527
|
var chart = strictObject({
|
|
7526
7528
|
version: literal(1),
|
|
7527
7529
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7536,7 +7538,7 @@ var chart = strictObject({
|
|
|
7536
7538
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7537
7539
|
});
|
|
7538
7540
|
|
|
7539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7541
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7540
7542
|
var member = strictObject({
|
|
7541
7543
|
id,
|
|
7542
7544
|
name: nullable(text),
|
|
@@ -7559,7 +7561,7 @@ var member = strictObject({
|
|
|
7559
7561
|
check: optional(record(string(), unknown()))
|
|
7560
7562
|
});
|
|
7561
7563
|
|
|
7562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7564
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7563
7565
|
var setting = optional(nullable(boolean()));
|
|
7564
7566
|
var chat = strictObject({
|
|
7565
7567
|
ref: reference,
|
|
@@ -7600,7 +7602,7 @@ var chat = strictObject({
|
|
|
7600
7602
|
members: optional(array(member))
|
|
7601
7603
|
});
|
|
7602
7604
|
|
|
7603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7604
7606
|
var named2 = strictObject({
|
|
7605
7607
|
id,
|
|
7606
7608
|
title: nullable(text),
|
|
@@ -7623,7 +7625,7 @@ var folder = strictObject({
|
|
|
7623
7625
|
excluded_chats: optional(array(named2))
|
|
7624
7626
|
});
|
|
7625
7627
|
|
|
7626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7627
7629
|
var inviteLink = strictObject({
|
|
7628
7630
|
link: text,
|
|
7629
7631
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7639,7 +7641,7 @@ var inviteLink = strictObject({
|
|
|
7639
7641
|
joined_count: optional(count)
|
|
7640
7642
|
});
|
|
7641
7643
|
|
|
7642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7643
7645
|
var operated = { operation_id: id, chat_id: id };
|
|
7644
7646
|
var group = strictObject({
|
|
7645
7647
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7719,7 +7721,7 @@ var chatFolderOrder = strictObject({
|
|
|
7719
7721
|
folders: array(strictObject({ id, title: text }))
|
|
7720
7722
|
});
|
|
7721
7723
|
|
|
7722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7723
7725
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7724
7726
|
var chatRemoval = strictObject(operated2);
|
|
7725
7727
|
var chatMuting = strictObject({
|
|
@@ -7730,7 +7732,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7730
7732
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7731
7733
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7732
7734
|
|
|
7733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7734
7736
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7735
7737
|
var chatEvent = strictObject({
|
|
7736
7738
|
chat_id: id,
|
|
@@ -7747,7 +7749,7 @@ var chatEvent = strictObject({
|
|
|
7747
7749
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7748
7750
|
});
|
|
7749
7751
|
|
|
7750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7751
7753
|
var chatMetadata = strictObject({
|
|
7752
7754
|
chat_id: id,
|
|
7753
7755
|
title: nullable(text),
|
|
@@ -7762,7 +7764,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7762
7764
|
has_more: boolean()
|
|
7763
7765
|
});
|
|
7764
7766
|
|
|
7765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7766
7768
|
var action = picklist(["report", "delete", "remove"]);
|
|
7767
7769
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7768
7770
|
var chatRules = strictObject({
|
|
@@ -7799,7 +7801,7 @@ var chatModeration = strictObject({
|
|
|
7799
7801
|
}))
|
|
7800
7802
|
});
|
|
7801
7803
|
|
|
7802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7803
7805
|
var optionalCount = optional(count);
|
|
7804
7806
|
var minutes = nullable(number());
|
|
7805
7807
|
var chatStats = strictObject({
|
|
@@ -7873,7 +7875,7 @@ var taskStats = strictObject({
|
|
|
7873
7875
|
}))
|
|
7874
7876
|
});
|
|
7875
7877
|
|
|
7876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7878
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7877
7879
|
var memberCount = strictObject({
|
|
7878
7880
|
day: pipe(text, isoDate()),
|
|
7879
7881
|
participants: nullable(count),
|
|
@@ -7896,7 +7898,7 @@ var chatTracking = strictObject({
|
|
|
7896
7898
|
tracked: boolean()
|
|
7897
7899
|
});
|
|
7898
7900
|
|
|
7899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7900
7902
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7901
7903
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7902
7904
|
var profileFields = {
|
|
@@ -7934,7 +7936,7 @@ var profileFields = {
|
|
|
7934
7936
|
}))
|
|
7935
7937
|
};
|
|
7936
7938
|
|
|
7937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7938
7940
|
var contact = strictObject({
|
|
7939
7941
|
ref: reference,
|
|
7940
7942
|
id,
|
|
@@ -7965,7 +7967,7 @@ var contact = strictObject({
|
|
|
7965
7967
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7966
7968
|
});
|
|
7967
7969
|
|
|
7968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7969
7971
|
var WEIGHTS = {
|
|
7970
7972
|
bot: 3,
|
|
7971
7973
|
scam: 3,
|
|
@@ -7990,7 +7992,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7990
7992
|
var DIGITS = /\d{5,}/;
|
|
7991
7993
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7992
7994
|
|
|
7993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7994
7996
|
var linkedIdentity = strictObject({
|
|
7995
7997
|
provider: text,
|
|
7996
7998
|
id,
|
|
@@ -8031,7 +8033,7 @@ var contactCheck = strictObject({
|
|
|
8031
8033
|
checked_at: time
|
|
8032
8034
|
});
|
|
8033
8035
|
|
|
8034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8035
8037
|
var quoted = strictObject({
|
|
8036
8038
|
id,
|
|
8037
8039
|
sender_id: nullable(id),
|
|
@@ -8150,7 +8152,7 @@ var message = strictObject({
|
|
|
8150
8152
|
provider_metadata: providerMetadata
|
|
8151
8153
|
});
|
|
8152
8154
|
|
|
8153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8154
8156
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8155
8157
|
var contextMessage = strictObject({
|
|
8156
8158
|
locator: reference,
|
|
@@ -8348,7 +8350,7 @@ var contactPreparation = strictObject({
|
|
|
8348
8350
|
})
|
|
8349
8351
|
});
|
|
8350
8352
|
|
|
8351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8352
8354
|
var contactNote = strictObject({
|
|
8353
8355
|
id,
|
|
8354
8356
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8360,13 +8362,13 @@ var contactNote = strictObject({
|
|
|
8360
8362
|
updated_at: time
|
|
8361
8363
|
});
|
|
8362
8364
|
|
|
8363
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8364
8366
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8365
8367
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8366
8368
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8367
8369
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8368
8370
|
|
|
8369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8370
8372
|
var conversation = strictObject({
|
|
8371
8373
|
id,
|
|
8372
8374
|
chat: reference,
|
|
@@ -8381,7 +8383,7 @@ var conversation = strictObject({
|
|
|
8381
8383
|
rules_version: count
|
|
8382
8384
|
});
|
|
8383
8385
|
|
|
8384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8385
8387
|
var conversationBuild = strictObject({
|
|
8386
8388
|
chat: id,
|
|
8387
8389
|
messages: count,
|
|
@@ -8406,7 +8408,7 @@ var catchUpPreparation = strictObject({
|
|
|
8406
8408
|
prepared: optional(conversationPreparation)
|
|
8407
8409
|
});
|
|
8408
8410
|
|
|
8409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8411
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8410
8412
|
var conversationDetails = union([
|
|
8411
8413
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8412
8414
|
message
|
|
@@ -8496,7 +8498,7 @@ var conversationHit = strictObject({
|
|
|
8496
8498
|
stale: boolean()
|
|
8497
8499
|
});
|
|
8498
8500
|
|
|
8499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8500
8502
|
var counters = strictObject({
|
|
8501
8503
|
cutoff: time,
|
|
8502
8504
|
max_age_ms: milliseconds,
|
|
@@ -8526,7 +8528,7 @@ var counterRefresh = strictObject({
|
|
|
8526
8528
|
complete: optional(boolean())
|
|
8527
8529
|
});
|
|
8528
8530
|
|
|
8529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8530
8532
|
var nullableText = nullable(text);
|
|
8531
8533
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8532
8534
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8555,6 +8557,14 @@ var deal = strictObject({
|
|
|
8555
8557
|
/** The CRM account it is a copy from; `null` for the owner's own. */
|
|
8556
8558
|
account: crmAccount,
|
|
8557
8559
|
external_id: nullableText,
|
|
8560
|
+
/** A CRM copy's assignee, the identity `<account>/user/<id>`. */
|
|
8561
|
+
assignee: nullableText,
|
|
8562
|
+
/** A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. */
|
|
8563
|
+
provider_metadata: record(string(), strictObject({
|
|
8564
|
+
label: nullable(string()),
|
|
8565
|
+
value: unknown(),
|
|
8566
|
+
option_id: optional(union([string(), array(string())]))
|
|
8567
|
+
})),
|
|
8558
8568
|
people: array(strictObject({ ...party.entries, role: picklist(["owner", "contact", "decision-maker"]) })),
|
|
8559
8569
|
author: strictObject({
|
|
8560
8570
|
type: picklist(["person", "bot"]),
|
|
@@ -8605,7 +8615,7 @@ var stage = strictObject({
|
|
|
8605
8615
|
untrusted
|
|
8606
8616
|
});
|
|
8607
8617
|
|
|
8608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8618
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8609
8619
|
var document = strictObject({
|
|
8610
8620
|
ref: reference,
|
|
8611
8621
|
id,
|
|
@@ -8620,7 +8630,7 @@ var document = strictObject({
|
|
|
8620
8630
|
owners: optional(array(text))
|
|
8621
8631
|
});
|
|
8622
8632
|
|
|
8623
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8624
8634
|
var documentLink = strictObject({
|
|
8625
8635
|
ref: reference,
|
|
8626
8636
|
url: text,
|
|
@@ -8631,7 +8641,7 @@ var documentLink = strictObject({
|
|
|
8631
8641
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8632
8642
|
});
|
|
8633
8643
|
|
|
8634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8635
8645
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8636
8646
|
var contribution = strictObject({
|
|
8637
8647
|
message: evidenceMessage,
|
|
@@ -8661,7 +8671,7 @@ var retentionStay = strictObject({
|
|
|
8661
8671
|
});
|
|
8662
8672
|
var evidence = union([contribution, retentionStay]);
|
|
8663
8673
|
|
|
8664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8665
8675
|
var fact = strictObject({
|
|
8666
8676
|
ref: reference,
|
|
8667
8677
|
id,
|
|
@@ -8691,7 +8701,7 @@ var fact = strictObject({
|
|
|
8691
8701
|
updated_at: time
|
|
8692
8702
|
});
|
|
8693
8703
|
|
|
8694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8695
8705
|
var hit = strictObject({
|
|
8696
8706
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8697
8707
|
ref: reference,
|
|
@@ -8729,7 +8739,7 @@ var hit = strictObject({
|
|
|
8729
8739
|
untrusted
|
|
8730
8740
|
});
|
|
8731
8741
|
|
|
8732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8733
8743
|
var identity = strictObject({
|
|
8734
8744
|
ref: reference,
|
|
8735
8745
|
provider: text,
|
|
@@ -8742,7 +8752,7 @@ var identity = strictObject({
|
|
|
8742
8752
|
person: optional(nullable(reference))
|
|
8743
8753
|
});
|
|
8744
8754
|
|
|
8745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8746
8756
|
var imageEmbedding = strictObject({
|
|
8747
8757
|
model: text,
|
|
8748
8758
|
embedded: count,
|
|
@@ -8751,13 +8761,13 @@ var imageEmbedding = strictObject({
|
|
|
8751
8761
|
more: boolean()
|
|
8752
8762
|
});
|
|
8753
8763
|
|
|
8754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8755
8765
|
import { spawn } from "node:child_process";
|
|
8756
8766
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8757
8767
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8758
8768
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8759
8769
|
|
|
8760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8761
8771
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8762
8772
|
const total = input.total ?? null;
|
|
8763
8773
|
const updated = input.updatedAt ?? null;
|
|
@@ -8773,7 +8783,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8773
8783
|
};
|
|
8774
8784
|
}, "progressOf");
|
|
8775
8785
|
|
|
8776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8777
8787
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8778
8788
|
const run = currentRun();
|
|
8779
8789
|
const trace = traceId ?? run.traceId;
|
|
@@ -8787,7 +8797,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8787
8797
|
}));
|
|
8788
8798
|
}, "recordLogFor");
|
|
8789
8799
|
|
|
8790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8791
8801
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8792
8802
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8793
8803
|
const out = openSync(log, "a", 384);
|
|
@@ -8942,7 +8952,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8942
8952
|
return { job: id6, pid, chat: input.chat, log };
|
|
8943
8953
|
}, "startArchiveJob");
|
|
8944
8954
|
|
|
8945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8946
8956
|
var problem = strictObject({ code: text, message: text });
|
|
8947
8957
|
var job = strictObject({
|
|
8948
8958
|
id,
|
|
@@ -8965,7 +8975,7 @@ var job = strictObject({
|
|
|
8965
8975
|
error: optional(problem)
|
|
8966
8976
|
});
|
|
8967
8977
|
|
|
8968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8969
8979
|
var joinRequest = strictObject({
|
|
8970
8980
|
person_id: id,
|
|
8971
8981
|
name: nullable(text),
|
|
@@ -8976,7 +8986,7 @@ var joinRequest = strictObject({
|
|
|
8976
8986
|
about: optional(text)
|
|
8977
8987
|
});
|
|
8978
8988
|
|
|
8979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8980
8990
|
var botProfile = strictObject({
|
|
8981
8991
|
name: text,
|
|
8982
8992
|
token: text,
|
|
@@ -9069,7 +9079,7 @@ var stickerInventory = strictObject({
|
|
|
9069
9079
|
url: optional(nullable(text))
|
|
9070
9080
|
});
|
|
9071
9081
|
|
|
9072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9073
9083
|
var pollVote = strictObject({
|
|
9074
9084
|
person_id: id,
|
|
9075
9085
|
name: nullable(text),
|
|
@@ -9079,7 +9089,7 @@ var pollVote = strictObject({
|
|
|
9079
9089
|
voted_at: time
|
|
9080
9090
|
});
|
|
9081
9091
|
|
|
9082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9092
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9083
9093
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9084
9094
|
var observation = strictObject({
|
|
9085
9095
|
value: pipe(number(), minValue(0)),
|
|
@@ -9121,7 +9131,7 @@ var serveSummary = strictObject({
|
|
|
9121
9131
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9122
9132
|
});
|
|
9123
9133
|
|
|
9124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9125
9135
|
var mailCounts = strictObject({
|
|
9126
9136
|
by: picklist(["day", "week", "sender"]),
|
|
9127
9137
|
received: count,
|
|
@@ -9136,7 +9146,7 @@ var mailCounts = strictObject({
|
|
|
9136
9146
|
}))
|
|
9137
9147
|
});
|
|
9138
9148
|
|
|
9139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9140
9150
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9141
9151
|
var base = { id, evidence: array(evidence2) };
|
|
9142
9152
|
var finding = variant("kind", [
|
|
@@ -9280,7 +9290,7 @@ var mailFindings = strictObject({
|
|
|
9280
9290
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9281
9291
|
});
|
|
9282
9292
|
|
|
9283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9284
9294
|
var mediaArchive = strictObject({
|
|
9285
9295
|
directory: text,
|
|
9286
9296
|
chats: count,
|
|
@@ -9312,7 +9322,7 @@ var mediaArchiveTimer = union([
|
|
|
9312
9322
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9313
9323
|
]);
|
|
9314
9324
|
|
|
9315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9316
9326
|
var preparationId = pipe(string(), minLength(1));
|
|
9317
9327
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9318
9328
|
var preparationTime = nullable(isoTime);
|
|
@@ -9404,7 +9414,7 @@ var preparationMeeting = strictObject({
|
|
|
9404
9414
|
updated_at: isoTime
|
|
9405
9415
|
});
|
|
9406
9416
|
|
|
9407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9408
9418
|
var meetingEvidence = preparationEvidence;
|
|
9409
9419
|
var meetingPersonContext = strictObject({
|
|
9410
9420
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9426,7 +9436,7 @@ var meetingPersonContext = strictObject({
|
|
|
9426
9436
|
})
|
|
9427
9437
|
});
|
|
9428
9438
|
|
|
9429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9430
9440
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9431
9441
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9432
9442
|
var finding2 = variant("kind", [
|
|
@@ -9464,7 +9474,7 @@ var meetingFindings = strictObject({
|
|
|
9464
9474
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9465
9475
|
});
|
|
9466
9476
|
|
|
9467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9468
9478
|
var communicationCoverage = strictObject({
|
|
9469
9479
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9470
9480
|
query: string(),
|
|
@@ -9509,7 +9519,7 @@ var preparationCommunications = strictObject({
|
|
|
9509
9519
|
}))
|
|
9510
9520
|
});
|
|
9511
9521
|
|
|
9512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9513
9523
|
var meetingPreparation = strictObject({
|
|
9514
9524
|
communications: optional(preparationCommunications),
|
|
9515
9525
|
schema_version: literal(1),
|
|
@@ -9622,7 +9632,7 @@ var meetingPreparation = strictObject({
|
|
|
9622
9632
|
})
|
|
9623
9633
|
});
|
|
9624
9634
|
|
|
9625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9626
9636
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9627
9637
|
var id3 = pipe(string(), minLength(1));
|
|
9628
9638
|
var text3 = string();
|
|
@@ -9686,7 +9696,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9686
9696
|
})
|
|
9687
9697
|
});
|
|
9688
9698
|
|
|
9689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9690
9700
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9691
9701
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9692
9702
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9716,7 +9726,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9716
9726
|
})
|
|
9717
9727
|
});
|
|
9718
9728
|
|
|
9719
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9729
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9720
9730
|
var text4 = string();
|
|
9721
9731
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9722
9732
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9733,7 +9743,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9733
9743
|
persistence: literal("proposal-only")
|
|
9734
9744
|
});
|
|
9735
9745
|
|
|
9736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9746
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9737
9747
|
var memory = strictObject({
|
|
9738
9748
|
ref: reference,
|
|
9739
9749
|
id,
|
|
@@ -9760,7 +9770,7 @@ var memory = strictObject({
|
|
|
9760
9770
|
updated_at: time
|
|
9761
9771
|
});
|
|
9762
9772
|
|
|
9763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9764
9774
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9765
9775
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9766
9776
|
var mention = strictObject({
|
|
@@ -9803,13 +9813,13 @@ var mentionRebuild = strictObject({
|
|
|
9803
9813
|
mentions: count
|
|
9804
9814
|
});
|
|
9805
9815
|
|
|
9806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9807
9817
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9808
9818
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9809
9819
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9810
9820
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9811
9821
|
|
|
9812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9813
9823
|
var messageTranscript = strictObject({
|
|
9814
9824
|
message_id: id,
|
|
9815
9825
|
text,
|
|
@@ -9867,7 +9877,7 @@ var evidencePacket = strictObject({
|
|
|
9867
9877
|
}))
|
|
9868
9878
|
});
|
|
9869
9879
|
|
|
9870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9871
9881
|
var messageThread = strictObject({
|
|
9872
9882
|
ref: reference,
|
|
9873
9883
|
chat: id,
|
|
@@ -9884,7 +9894,7 @@ var messageThread = strictObject({
|
|
|
9884
9894
|
});
|
|
9885
9895
|
var messageContext = union([message, messageThread]);
|
|
9886
9896
|
|
|
9887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9888
9898
|
var messageCounts = strictObject({
|
|
9889
9899
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9890
9900
|
total: count,
|
|
@@ -9897,7 +9907,7 @@ var messageCounts = strictObject({
|
|
|
9897
9907
|
}))
|
|
9898
9908
|
});
|
|
9899
9909
|
|
|
9900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9901
9911
|
var messageLink = strictObject({
|
|
9902
9912
|
ref: reference,
|
|
9903
9913
|
url: nullable(text),
|
|
@@ -9914,7 +9924,7 @@ var messageLink = strictObject({
|
|
|
9914
9924
|
})))
|
|
9915
9925
|
});
|
|
9916
9926
|
|
|
9917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9918
9928
|
var savedMessageFile = strictObject({
|
|
9919
9929
|
kind: text,
|
|
9920
9930
|
path: text,
|
|
@@ -10001,7 +10011,7 @@ var messageSyncAll = strictObject({
|
|
|
10001
10011
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10002
10012
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10003
10013
|
|
|
10004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10005
10015
|
var messageWrite = strictObject({
|
|
10006
10016
|
operation_id: id,
|
|
10007
10017
|
message,
|
|
@@ -10016,7 +10026,7 @@ var draftWrite = strictObject({
|
|
|
10016
10026
|
});
|
|
10017
10027
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10018
10028
|
|
|
10019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10020
10030
|
var model2 = strictObject({
|
|
10021
10031
|
id,
|
|
10022
10032
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10033,7 +10043,7 @@ var model2 = strictObject({
|
|
|
10033
10043
|
path: text
|
|
10034
10044
|
});
|
|
10035
10045
|
|
|
10036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10037
10047
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10038
10048
|
var modelKey = strictObject({
|
|
10039
10049
|
provider: text,
|
|
@@ -10043,7 +10053,7 @@ var modelKey = strictObject({
|
|
|
10043
10053
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10044
10054
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10045
10055
|
|
|
10046
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10047
10057
|
var link = {
|
|
10048
10058
|
target_text: nullable(text),
|
|
10049
10059
|
kind: text,
|
|
@@ -10084,7 +10094,7 @@ var note = strictObject({
|
|
|
10084
10094
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10085
10095
|
});
|
|
10086
10096
|
|
|
10087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10088
10098
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10089
10099
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10090
10100
|
var graph = strictObject({
|
|
@@ -10118,14 +10128,14 @@ var officialStats = strictObject({
|
|
|
10118
10128
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10119
10129
|
});
|
|
10120
10130
|
|
|
10121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10122
10132
|
var person2 = strictObject({
|
|
10123
10133
|
ref: reference,
|
|
10124
10134
|
name: nullable(text),
|
|
10125
10135
|
identities: optional(array(identity))
|
|
10126
10136
|
});
|
|
10127
10137
|
|
|
10128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10129
10139
|
var poll = strictObject({
|
|
10130
10140
|
chat_id: id,
|
|
10131
10141
|
message_id: id,
|
|
@@ -10141,11 +10151,11 @@ var poll = strictObject({
|
|
|
10141
10151
|
});
|
|
10142
10152
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10143
10153
|
|
|
10144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10145
10155
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10146
10156
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10147
10157
|
|
|
10148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10149
10159
|
var figures = record(string(), number());
|
|
10150
10160
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10151
10161
|
var rankingRow = strictObject({
|
|
@@ -10192,7 +10202,7 @@ var ranking = strictObject({
|
|
|
10192
10202
|
rows: array(rankingRow)
|
|
10193
10203
|
});
|
|
10194
10204
|
|
|
10195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10196
10206
|
var reaction = strictObject({
|
|
10197
10207
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10198
10208
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10200,7 +10210,7 @@ var reaction = strictObject({
|
|
|
10200
10210
|
reacted_at: time
|
|
10201
10211
|
});
|
|
10202
10212
|
|
|
10203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10204
10214
|
var reactionChange = strictObject({
|
|
10205
10215
|
operation_id: id,
|
|
10206
10216
|
chat_id: id,
|
|
@@ -10208,7 +10218,7 @@ var reactionChange = strictObject({
|
|
|
10208
10218
|
reaction: nullable(text)
|
|
10209
10219
|
});
|
|
10210
10220
|
|
|
10211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10212
10222
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10213
10223
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10214
10224
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10219,7 +10229,7 @@ var recipientChange = strictObject({
|
|
|
10219
10229
|
...partial(recipientOff).entries
|
|
10220
10230
|
});
|
|
10221
10231
|
|
|
10222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10223
10233
|
var events = array(record(string(), unknown()));
|
|
10224
10234
|
var recordedRun = strictObject({
|
|
10225
10235
|
run_id: id,
|
|
@@ -10291,7 +10301,7 @@ var runHit = strictObject({
|
|
|
10291
10301
|
});
|
|
10292
10302
|
var runLocation = strictObject({ path: text });
|
|
10293
10303
|
|
|
10294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10295
10305
|
var relationship = strictObject({
|
|
10296
10306
|
id,
|
|
10297
10307
|
from: reference,
|
|
@@ -10308,7 +10318,7 @@ var relationship = strictObject({
|
|
|
10308
10318
|
created_at: time
|
|
10309
10319
|
});
|
|
10310
10320
|
|
|
10311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10312
10322
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10313
10323
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10314
10324
|
var responseTimes = strictObject({
|
|
@@ -10325,7 +10335,7 @@ var waitingChats = strictObject({
|
|
|
10325
10335
|
by_kind: strictObject({ private: count, group: count })
|
|
10326
10336
|
});
|
|
10327
10337
|
|
|
10328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10329
10339
|
var retentionCohort = strictObject({
|
|
10330
10340
|
/** The first day of the joining day or week. */
|
|
10331
10341
|
cohort: text,
|
|
@@ -10373,7 +10383,7 @@ var retention = strictObject({
|
|
|
10373
10383
|
rows: array(retentionCohort)
|
|
10374
10384
|
});
|
|
10375
10385
|
|
|
10376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10377
10387
|
var savedSearch = strictObject({
|
|
10378
10388
|
id,
|
|
10379
10389
|
/** `null` for a run in the history. */
|
|
@@ -10390,7 +10400,7 @@ var savedSearch = strictObject({
|
|
|
10390
10400
|
});
|
|
10391
10401
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10392
10402
|
|
|
10393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10394
10404
|
var sendAttempt = strictObject({
|
|
10395
10405
|
at: time,
|
|
10396
10406
|
profile: text,
|
|
@@ -10418,7 +10428,7 @@ var sendAttempt = strictObject({
|
|
|
10418
10428
|
error_code: optional(text)
|
|
10419
10429
|
});
|
|
10420
10430
|
|
|
10421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10431
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10422
10432
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10423
10433
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10424
10434
|
var infoSchema = strictObject({
|
|
@@ -10573,12 +10583,25 @@ var storeBackup = strictObject({
|
|
|
10573
10583
|
encrypted: optional(literal(true))
|
|
10574
10584
|
});
|
|
10575
10585
|
var storeDecrypt = strictObject({ path: text, from: text, bytes: count });
|
|
10576
|
-
var storeRestore =
|
|
10577
|
-
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
|
|
10581
|
-
|
|
10586
|
+
var storeRestore = union([
|
|
10587
|
+
strictObject({
|
|
10588
|
+
path: text,
|
|
10589
|
+
restored_from: text,
|
|
10590
|
+
kept_at: nullable(text),
|
|
10591
|
+
schema: count
|
|
10592
|
+
}),
|
|
10593
|
+
/** From a rollback copy: its tables put back in place, the store returned to `schema` from `was`. */
|
|
10594
|
+
strictObject({
|
|
10595
|
+
path: text,
|
|
10596
|
+
restored_from: text,
|
|
10597
|
+
rolled_back: literal(true),
|
|
10598
|
+
schema: count,
|
|
10599
|
+
was: count,
|
|
10600
|
+
tables: array(strictObject({ table: text, rows: count })),
|
|
10601
|
+
rebuilt: array(text),
|
|
10602
|
+
foreign_key_violations: count
|
|
10603
|
+
})
|
|
10604
|
+
]);
|
|
10582
10605
|
var storeReset = union([
|
|
10583
10606
|
strictObject({ ...absent.entries, reset: literal(false) }),
|
|
10584
10607
|
strictObject({
|
|
@@ -10626,7 +10649,7 @@ var storeRepair = union([
|
|
|
10626
10649
|
]);
|
|
10627
10650
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10628
10651
|
|
|
10629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10630
10653
|
var range = strictObject({ from: number(), to: number() });
|
|
10631
10654
|
var storeChatStatus = strictObject({
|
|
10632
10655
|
chat_id: id,
|
|
@@ -10724,7 +10747,7 @@ var storeJobRetry = union([
|
|
|
10724
10747
|
]);
|
|
10725
10748
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10726
10749
|
|
|
10727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10728
10751
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10729
10752
|
var storeTable = strictObject({
|
|
10730
10753
|
name: text,
|
|
@@ -10733,7 +10756,7 @@ var storeTable = strictObject({
|
|
|
10733
10756
|
bytes: optional(nullable(count))
|
|
10734
10757
|
});
|
|
10735
10758
|
|
|
10736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10759
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10737
10760
|
var tagTarget = variant("type", [
|
|
10738
10761
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10739
10762
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10764,7 +10787,7 @@ var automaticTags = strictObject({
|
|
|
10764
10787
|
dry_run: boolean()
|
|
10765
10788
|
});
|
|
10766
10789
|
|
|
10767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10768
10791
|
var tagging = strictObject({
|
|
10769
10792
|
tag: text,
|
|
10770
10793
|
type: picklist(TAG_TYPES),
|
|
@@ -10777,7 +10800,7 @@ var tagging = strictObject({
|
|
|
10777
10800
|
created_at: time
|
|
10778
10801
|
});
|
|
10779
10802
|
|
|
10780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10781
10804
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10782
10805
|
var taskPair = strictObject({
|
|
10783
10806
|
task: nullable(side),
|
|
@@ -10800,7 +10823,7 @@ var taskPair = strictObject({
|
|
|
10800
10823
|
created_at: time
|
|
10801
10824
|
});
|
|
10802
10825
|
|
|
10803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10804
10827
|
var nullableTime = nullable(time);
|
|
10805
10828
|
var link2 = strictObject({
|
|
10806
10829
|
id,
|
|
@@ -10974,7 +10997,7 @@ var taskReview = strictObject({
|
|
|
10974
10997
|
untrusted
|
|
10975
10998
|
});
|
|
10976
10999
|
|
|
10977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10978
11001
|
var topic = strictObject({
|
|
10979
11002
|
id,
|
|
10980
11003
|
title: text,
|
|
@@ -10988,7 +11011,7 @@ var topic = strictObject({
|
|
|
10988
11011
|
untrusted
|
|
10989
11012
|
});
|
|
10990
11013
|
|
|
10991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10992
11015
|
var ENTITIES = {
|
|
10993
11016
|
sync_progress: progress,
|
|
10994
11017
|
deal,
|
|
@@ -11274,7 +11297,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11274
11297
|
return [name, definition];
|
|
11275
11298
|
})), "entityDefinitions");
|
|
11276
11299
|
|
|
11277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11278
11301
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11279
11302
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11280
11303
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11308,7 +11331,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11308
11331
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11309
11332
|
}, "answerRow");
|
|
11310
11333
|
|
|
11311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11312
11335
|
import { join as join6 } from "node:path";
|
|
11313
11336
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11314
11337
|
var IMAGE_MODELS = [
|
|
@@ -11362,7 +11385,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11362
11385
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11363
11386
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11364
11387
|
|
|
11365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11366
11389
|
var STEPS2 = defineSteps([
|
|
11367
11390
|
...STEPS,
|
|
11368
11391
|
{
|
|
@@ -11634,7 +11657,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11634
11657
|
].join(" ");
|
|
11635
11658
|
}, "stepLine");
|
|
11636
11659
|
|
|
11637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11638
11661
|
var where = [{ field: "ref" }];
|
|
11639
11662
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11640
11663
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11726,7 +11749,7 @@ var STATUS_ROWS = {
|
|
|
11726
11749
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11727
11750
|
};
|
|
11728
11751
|
|
|
11729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11730
11753
|
var TEXT_CHARS = 400;
|
|
11731
11754
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11732
11755
|
var messageRow = {
|
|
@@ -12092,7 +12115,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12092
12115
|
return lines.concat(footerOf(body)).join("\n");
|
|
12093
12116
|
}, "compactText");
|
|
12094
12117
|
|
|
12095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12096
12119
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12097
12120
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12098
12121
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12139,7 +12162,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12139
12162
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12140
12163
|
}, "largeAnswerSteps");
|
|
12141
12164
|
|
|
12142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12143
12166
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12144
12167
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12145
12168
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12153,7 +12176,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12153
12176
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12154
12177
|
}, "strip");
|
|
12155
12178
|
|
|
12156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12157
12180
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12158
12181
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12159
12182
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12418,6 +12441,7 @@ export {
|
|
|
12418
12441
|
setExitCode,
|
|
12419
12442
|
provide,
|
|
12420
12443
|
environmentOf,
|
|
12444
|
+
withAgentLevels,
|
|
12421
12445
|
secretInputOf,
|
|
12422
12446
|
outputFor,
|
|
12423
12447
|
baseContext,
|