@wirecat/bitrix24-cli 0.3.0 → 0.4.0
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/CHANGELOG.md +52 -0
- package/dist/api-keys.d.ts +30 -8
- package/dist/api-keys.d.ts.map +1 -1
- package/dist/api-keys.js +81 -18
- package/dist/api-keys.js.map +1 -1
- package/dist/bin/b24.js +2 -2
- package/dist/bitrix/methods.d.ts.map +1 -1
- package/dist/bitrix/methods.js +7 -3
- package/dist/bitrix/methods.js.map +1 -1
- package/dist/bitrix/transport.d.ts +4 -7
- package/dist/bitrix/transport.d.ts.map +1 -1
- package/dist/bitrix/transport.js +12 -16
- package/dist/bitrix/transport.js.map +1 -1
- package/dist/bundle/{all-profiles-QJ444GSX.js → all-profiles-MBQZCOVK.js} +6 -6
- package/dist/bundle/{anthropic-RHRAVHC2.js → anthropic-QCYLKSJJ.js} +4 -4
- package/dist/bundle/{app-server-QIT6S7AZ.js → app-server-FSLZ2Y6N.js} +42 -42
- package/dist/bundle/b24.js +12 -12
- package/dist/bundle/{bun-H6RSODZ3.js → bun-UYRQXF33.js} +2 -2
- package/dist/bundle/{bun-sqlite-BO4LTQHX.js → bun-sqlite-GXME7EMT.js} +3 -3
- package/dist/bundle/{chunk-MBDK4YXG.js → chunk-2D5W4LWL.js} +1 -1
- package/dist/bundle/{chunk-U5ACMCAQ.js → chunk-2IZ6GGU2.js} +151 -151
- package/dist/bundle/{chunk-VEWWAGTD.js → chunk-4OVK5XW2.js} +8 -8
- package/dist/bundle/{chunk-45AKJVKV.js → chunk-66QLBRIT.js} +1 -1
- package/dist/bundle/{chunk-P364PLIK.js → chunk-6BLVBGRK.js} +9 -9
- package/dist/bundle/{chunk-FOTREPNS.js → chunk-6ERX33NC.js} +8 -8
- package/dist/bundle/{chunk-LRGYKOCP.js → chunk-AMVRNYD6.js} +1 -1
- package/dist/bundle/{chunk-YZ5LHE5Q.js → chunk-AOUNT22U.js} +2 -2
- package/dist/bundle/{chunk-ZDQQCXFG.js → chunk-B252WFK7.js} +13 -13
- package/dist/bundle/{chunk-WKRQ44EH.js → chunk-BHZ5VDDY.js} +13 -13
- package/dist/bundle/{chunk-ZIAQPTUS.js → chunk-COOOXDKZ.js} +3 -3
- package/dist/bundle/{chunk-W5YAO5G5.js → chunk-CR3TLGM4.js} +9 -4
- package/dist/bundle/{chunk-D5S6QV6R.js → chunk-D2IRPC5I.js} +6 -6
- package/dist/bundle/{chunk-POC3V3AO.js → chunk-DQIQIZQS.js} +297 -256
- package/dist/bundle/{chunk-QGMDQ2PM.js → chunk-EIGPMMGC.js} +3 -3
- package/dist/bundle/{chunk-WTPMJYMD.js → chunk-ELBOQHJA.js} +45 -45
- package/dist/bundle/{chunk-LSPIOT6Z.js → chunk-EQLWU6ZB.js} +7 -7
- package/dist/bundle/{chunk-WII44RXN.js → chunk-F5NH3UJQ.js} +2 -2
- package/dist/bundle/{chunk-HAXNUIGQ.js → chunk-GTDOUP6L.js} +26 -23
- package/dist/bundle/{chunk-QQXH2OPB.js → chunk-GTFRSYYJ.js} +17 -12
- package/dist/bundle/{chunk-H2ADPPSH.js → chunk-GTMCLOYY.js} +670 -465
- package/dist/bundle/{chunk-7GRZAKBB.js → chunk-IF27EQN6.js} +2 -2
- package/dist/bundle/{chunk-FZL7F5NR.js → chunk-IWEWDVZ6.js} +22 -22
- package/dist/bundle/{program-H3TGGRQ6.js → chunk-J7OMY6EO.js} +16654 -18332
- package/dist/bundle/{chunk-QIPTIUMJ.js → chunk-JAS3OZSP.js} +4 -4
- package/dist/bundle/{chunk-OTD2ZRXD.js → chunk-JB7OXYAU.js} +4 -4
- package/dist/bundle/{chunk-ZEW4P6AH.js → chunk-K7XWCZF6.js} +8 -8
- package/dist/bundle/{chunk-YYO7D2MO.js → chunk-LAYH344Y.js} +28 -28
- package/dist/bundle/{chunk-K3UIB6ZF.js → chunk-M5XMAUGZ.js} +2 -2
- package/dist/bundle/{chunk-2KCZ7BKW.js → chunk-MPI2FDJ4.js} +11 -11
- package/dist/bundle/{chunk-HGL63O5V.js → chunk-MY6FAZRA.js} +2 -2
- package/dist/bundle/{chunk-QC53QBNC.js → chunk-NDSOBIR3.js} +3 -3
- package/dist/bundle/{chunk-XRFJWHY5.js → chunk-NEK7LKC6.js} +4 -4
- package/dist/bundle/{chunk-2SNUMZ7S.js → chunk-NKLLI4B2.js} +6 -6
- package/dist/bundle/{chunk-QMPN6WKD.js → chunk-NWKXMMON.js} +100 -81
- package/dist/bundle/{chunk-P33NDCDI.js → chunk-O7FVOICH.js} +1 -1
- package/dist/bundle/{chunk-SFRNX2TI.js → chunk-OCRCVLZQ.js} +1 -1
- package/dist/bundle/{chunk-TE3FR6MI.js → chunk-OKDC6CLH.js} +5 -5
- package/dist/bundle/{chunk-DTXERR44.js → chunk-OWILUBCI.js} +2 -2
- package/dist/bundle/{chunk-CXL33BFL.js → chunk-OYLJHX74.js} +1 -1
- package/dist/bundle/{chunk-6WY72XVQ.js → chunk-POUSZWMP.js} +4 -4
- package/dist/bundle/{chunk-N6FLBXZS.js → chunk-Q4ILKTV4.js} +3 -3
- package/dist/bundle/{chunk-FLUEXJ4X.js → chunk-Q7Z5IMVY.js} +1 -1
- package/dist/bundle/{chunk-XJXONOB5.js → chunk-QVZSLBR6.js} +1 -1
- package/dist/bundle/{chunk-IRV2PCQ2.js → chunk-SBW2Y7AZ.js} +26 -26
- package/dist/bundle/{chunk-XNHSPHUN.js → chunk-UCLWWSQK.js} +2 -2
- package/dist/bundle/{chunk-BCF7P4FZ.js → chunk-UH56WLDS.js} +8 -8
- package/dist/bundle/{chunk-ZGZT5S6B.js → chunk-VMQL4GNH.js} +55 -55
- package/dist/bundle/{chunk-XD4FRDSL.js → chunk-VTIUWHZ3.js} +5 -5
- package/dist/bundle/{chunk-SGRYYE4X.js → chunk-WJRBX5QB.js} +4 -4
- package/dist/bundle/{chunk-VL6SPMZV.js → chunk-XG6QKS7L.js} +5 -5
- package/dist/bundle/{chunk-RRJNNPR4.js → chunk-XKQZLR2X.js} +1 -1
- package/dist/bundle/{chunk-QSNROIJL.js → chunk-XOPMSWFC.js} +9 -9
- package/dist/bundle/{chunk-EVYSBZ3I.js → chunk-XR5SUCAC.js} +4 -4
- package/dist/bundle/{chunk-PH5FZX6E.js → chunk-Y5PPMGCS.js} +2 -2
- package/dist/bundle/{chunk-EXOOKUEA.js → chunk-YFZXI3NN.js} +2 -2
- package/dist/bundle/{chunk-CNNEA2M4.js → chunk-ZU4HXKEW.js} +3 -3
- package/dist/bundle/command-contract-UON4EIC4.js +30 -0
- package/dist/bundle/{decode-5ZPLTYV6.js → decode-IF2F2SFC.js} +3 -3
- package/dist/bundle/{echarts-J6LAPIX7.js → echarts-WDDVEJO2.js} +2 -2
- package/dist/bundle/{embed-YG5LDHME.js → embed-VDUGYEAR.js} +4 -4
- package/dist/bundle/{embedder-7FNUA5OZ.js → embedder-DUN62H3Z.js} +7 -7
- package/dist/bundle/{first-run-JPZNWIJN.js → first-run-NDGYBQEN.js} +8 -8
- package/dist/bundle/first-screen-QAVKP5RF.js +28 -0
- package/dist/bundle/{instructions-AXWTQHMR.js → instructions-JIIKWS7X.js} +1 -1
- package/dist/bundle/{mcp-7F46P6AM.js → mcp-33JX6KP4.js} +2 -2
- package/dist/bundle/{mcp-5RSWNTHS.js → mcp-57EQ6QJO.js} +58 -47
- package/dist/bundle/mcp-PFJER2DE.js +87 -0
- package/dist/bundle/{node-CWKAIOEM.js → node-K57WT42O.js} +2 -2
- package/dist/bundle/{node-sqlite-LSEKVRDA.js → node-sqlite-KS6ORRIG.js} +4 -4
- package/dist/bundle/{oauth-THYNLRLD.js → oauth-SLSANN37.js} +5 -5
- package/dist/bundle/{open-E47QYKFC.js → open-WJPHADEX.js} +3 -3
- package/dist/bundle/{openai-EWSGC3BC.js → openai-HXB3GTOD.js} +12 -12
- package/dist/bundle/{process-WKTEA3WE.js → process-P73TFAXT.js} +1 -1
- package/dist/bundle/program-7BMG5NIN.js +2250 -0
- package/dist/bundle/{prompt-CAQ7QR3U.js → prompt-WDPV37R4.js} +3 -3
- package/dist/bundle/{recognize-6KGHNZC3.js → recognize-CXIFL6IV.js} +2 -2
- package/dist/bundle/{remote-3UO2WDC3.js → remote-Q4VJ4OQW.js} +5 -5
- package/dist/bundle/{rerank-2JVDPZBX.js → rerank-SUFYK63I.js} +5 -5
- package/dist/bundle/{serve-ES7AG5IK.js → serve-B7PGFOC2.js} +7 -7
- package/dist/bundle/server-4DBNJWW6.js +58 -0
- package/dist/bundle/server-OKE7SXJ2.js +45 -0
- package/dist/bundle/{state-7NH5G4XJ.js → state-EZCCXQV7.js} +4 -4
- package/dist/bundle/{store-7O4JQD2Z.js → store-MZ7JBYR6.js} +12 -12
- package/dist/bundle/store-maintenance-command-T5QZMENJ.js +47 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +57 -7
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/crm-writes.d.ts.map +1 -1
- package/dist/commands/crm-writes.js +24 -8
- package/dist/commands/crm-writes.js.map +1 -1
- package/dist/commands/crm.d.ts.map +1 -1
- package/dist/commands/crm.js +29 -3
- package/dist/commands/crm.js.map +1 -1
- package/dist/commands/fields.d.ts +3 -0
- package/dist/commands/fields.d.ts.map +1 -0
- package/dist/commands/fields.js +45 -0
- package/dist/commands/fields.js.map +1 -0
- package/dist/commands/write.d.ts +6 -1
- package/dist/commands/write.d.ts.map +1 -1
- package/dist/commands/write.js +7 -5
- package/dist/commands/write.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/crm/conditions.js +1 -1
- package/dist/crm/conditions.js.map +1 -1
- package/dist/crm/custom-query.d.ts +19 -0
- package/dist/crm/custom-query.d.ts.map +1 -0
- package/dist/crm/custom-query.js +79 -0
- package/dist/crm/custom-query.js.map +1 -0
- package/dist/crm/deal.d.ts +1 -0
- package/dist/crm/deal.d.ts.map +1 -1
- package/dist/crm/fields.d.ts +44 -0
- package/dist/crm/fields.d.ts.map +1 -0
- package/dist/crm/fields.js +143 -0
- package/dist/crm/fields.js.map +1 -0
- package/dist/crm/items.d.ts +7 -1
- package/dist/crm/items.d.ts.map +1 -1
- package/dist/crm/items.js +17 -15
- package/dist/crm/items.js.map +1 -1
- package/dist/crm/lead.d.ts +1 -0
- package/dist/crm/lead.d.ts.map +1 -1
- package/dist/crm/organization.d.ts +1 -0
- package/dist/crm/organization.d.ts.map +1 -1
- package/dist/crm/person.d.ts +1 -0
- package/dist/crm/person.d.ts.map +1 -1
- package/dist/crm/values.d.ts +7 -1
- package/dist/crm/values.d.ts.map +1 -1
- package/dist/crm/values.js +12 -3
- package/dist/crm/values.js.map +1 -1
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +4 -1
- package/dist/mcp.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -1
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/bitrix24-cli/SKILL.md +8 -3
- package/dist/bundle/command-contract-OKQOE6G4.js +0 -30
- package/dist/bundle/first-screen-VQM4MTS7.js +0 -28
- package/dist/bundle/mcp-J5R5A65I.js +0 -87
- package/dist/bundle/server-5LE5LNUQ.js +0 -45
- package/dist/bundle/server-BU4VBM6S.js +0 -58
- package/dist/bundle/store-maintenance-command-UDVGEY2D.js +0 -47
- /package/dist/bundle/{chunk-4PDYYS5K.js → chunk-NDTJE6JQ.js} +0 -0
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6ERX33NC.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZU4HXKEW.js";
|
|
17
17
|
import {
|
|
18
18
|
carries
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QVZSLBR6.js";
|
|
20
20
|
import {
|
|
21
21
|
filesPresent,
|
|
22
22
|
sharedModelsDirectory
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WJRBX5QB.js";
|
|
24
24
|
import {
|
|
25
25
|
CEILING_KEY,
|
|
26
26
|
COMMAND_PATH_KEY,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
permissionOverrides,
|
|
35
35
|
projectFields,
|
|
36
36
|
resolveOutput
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-VTIUWHZ3.js";
|
|
38
38
|
import {
|
|
39
39
|
FACT_STATUSES,
|
|
40
40
|
LINK_KINDS,
|
|
@@ -61,13 +61,13 @@ import {
|
|
|
61
61
|
text,
|
|
62
62
|
time,
|
|
63
63
|
untrusted
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-6BLVBGRK.js";
|
|
65
65
|
import {
|
|
66
66
|
sharedConfigPath
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-OKDC6CLH.js";
|
|
68
68
|
import {
|
|
69
69
|
storePath
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-OWILUBCI.js";
|
|
71
71
|
import {
|
|
72
72
|
FACT_TYPES,
|
|
73
73
|
FIELD_TYPES,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
meetingStats,
|
|
94
94
|
meetingSummary,
|
|
95
95
|
meetingTranscript
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-VMQL4GNH.js";
|
|
97
97
|
import {
|
|
98
98
|
COMPACT_FLAG,
|
|
99
99
|
CliError,
|
|
@@ -156,12 +156,12 @@ import {
|
|
|
156
156
|
visibleControls,
|
|
157
157
|
writeSecurely,
|
|
158
158
|
writes
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-SBW2Y7AZ.js";
|
|
160
160
|
import {
|
|
161
161
|
__name
|
|
162
162
|
} from "./chunk-ZVVMGPBJ.js";
|
|
163
163
|
|
|
164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
165
165
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
166
166
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
167
167
|
const name = envName(app, "READ_ONLY");
|
|
@@ -172,7 +172,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
172
172
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
173
173
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
174
174
|
|
|
175
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
175
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
176
176
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
177
177
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
178
178
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3673,7 +3673,7 @@ __name(useColor, "useColor");
|
|
|
3673
3673
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3674
3674
|
var program = new Command();
|
|
3675
3675
|
|
|
3676
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3676
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3677
3677
|
var argumentInfoSchema = object({
|
|
3678
3678
|
name: string(),
|
|
3679
3679
|
required: boolean(),
|
|
@@ -3747,7 +3747,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3747
3747
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3748
3748
|
});
|
|
3749
3749
|
|
|
3750
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3750
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3751
3751
|
import { isDeepStrictEqual } from "node:util";
|
|
3752
3752
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3753
3753
|
var hidden = /* @__PURE__ */ __name((command) => Boolean(command._hidden), "hidden");
|
|
@@ -3856,7 +3856,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3856
3856
|
return result;
|
|
3857
3857
|
}, "sharedCommand");
|
|
3858
3858
|
|
|
3859
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3859
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3860
3860
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3861
3861
|
let command = root;
|
|
3862
3862
|
const path2 = [];
|
|
@@ -3874,7 +3874,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
}, "refuseJoinedPath");
|
|
3876
3876
|
|
|
3877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3878
3878
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3879
3879
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3880
3880
|
messageId: message2.id,
|
|
@@ -3980,7 +3980,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
3980
3980
|
}, "guardedWrite");
|
|
3981
3981
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
3982
3982
|
|
|
3983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3983
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
3984
3984
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
3985
3985
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
3986
3986
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4163,7 +4163,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4163
4163
|
}
|
|
4164
4164
|
}, "withAbort");
|
|
4165
4165
|
|
|
4166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4167
4167
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4168
4168
|
import { join } from "node:path";
|
|
4169
4169
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4185,7 +4185,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4185
4185
|
}, "profilesWithAccounts");
|
|
4186
4186
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4187
4187
|
|
|
4188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4188
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4189
4189
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4190
4190
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4191
4191
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4219,7 +4219,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4219
4219
|
cache: "cache.answered"
|
|
4220
4220
|
};
|
|
4221
4221
|
|
|
4222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4223
4223
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4224
4224
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4225
4225
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4232,13 +4232,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4232
4232
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4233
4233
|
}), "snakeLogger");
|
|
4234
4234
|
|
|
4235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4236
4236
|
import { randomUUID } from "node:crypto";
|
|
4237
4237
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4238
4238
|
import { userInfo } from "node:os";
|
|
4239
4239
|
import { join as join2, sep } from "node:path";
|
|
4240
4240
|
|
|
4241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4242
4242
|
var diagnostic = {
|
|
4243
4243
|
event: true,
|
|
4244
4244
|
operation: true,
|
|
@@ -4308,7 +4308,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4308
4308
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4309
4309
|
].sort();
|
|
4310
4310
|
|
|
4311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4312
4312
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4313
4313
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4314
4314
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -4661,7 +4661,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
4661
4661
|
};
|
|
4662
4662
|
}, "metadataOf");
|
|
4663
4663
|
|
|
4664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
4665
4665
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4666
4666
|
import { randomBytes } from "node:crypto";
|
|
4667
4667
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -4699,7 +4699,7 @@ var attempts = new AsyncLocalStorage2();
|
|
|
4699
4699
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
4700
4700
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
4701
4701
|
|
|
4702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4703
4703
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4704
4704
|
const recording = startRecording(options);
|
|
4705
4705
|
try {
|
|
@@ -4884,7 +4884,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4884
4884
|
return void 0;
|
|
4885
4885
|
}, "partialOutcome");
|
|
4886
4886
|
|
|
4887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4888
4888
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4889
4889
|
if (ms2 === void 0)
|
|
4890
4890
|
return body();
|
|
@@ -4910,7 +4910,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4910
4910
|
}
|
|
4911
4911
|
}, "withDeadline");
|
|
4912
4912
|
|
|
4913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4914
4914
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4915
4915
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4916
4916
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4979,10 +4979,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4979
4979
|
return void 0;
|
|
4980
4980
|
}, "sampleCommand");
|
|
4981
4981
|
|
|
4982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4983
4983
|
import { existsSync as existsSync4 } from "node:fs";
|
|
4984
4984
|
|
|
4985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
4986
4986
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
4987
4987
|
try {
|
|
4988
4988
|
const url2 = new URL(value);
|
|
@@ -4992,7 +4992,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
4992
4992
|
}
|
|
4993
4993
|
}, "endpoint");
|
|
4994
4994
|
|
|
4995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4996
4996
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4997
4997
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4998
4998
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5061,7 +5061,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5061
5061
|
};
|
|
5062
5062
|
}, "modelTarget");
|
|
5063
5063
|
|
|
5064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5065
5065
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5066
5066
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5067
5067
|
var AI_FIELDS = {
|
|
@@ -5105,7 +5105,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5105
5105
|
};
|
|
5106
5106
|
}, "resolveAISettings");
|
|
5107
5107
|
|
|
5108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5109
5109
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5110
5110
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5111
5111
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5119,7 +5119,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5119
5119
|
return ms2;
|
|
5120
5120
|
}, "parseDuration");
|
|
5121
5121
|
|
|
5122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5123
5123
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5124
5124
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5125
5125
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5278,7 +5278,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5278
5278
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5279
5279
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5280
5280
|
|
|
5281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5282
5282
|
var HISTORY_MAX_DAYS = 1095;
|
|
5283
5283
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5284
5284
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5325,7 +5325,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5325
5325
|
return { batch: { ...batch, messages }, skipped };
|
|
5326
5326
|
}, "limitBatch");
|
|
5327
5327
|
|
|
5328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5329
5329
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5330
5330
|
import { join as join3 } from "node:path";
|
|
5331
5331
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5414,10 +5414,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5414
5414
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5415
5415
|
}, "registryProfiles");
|
|
5416
5416
|
|
|
5417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5418
5418
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5419
5419
|
|
|
5420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5421
5421
|
var REPAIR_WORDS = {
|
|
5422
5422
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5423
5423
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5658,7 +5658,7 @@ ${parts.join(",\n")}
|
|
|
5658
5658
|
${indent}${close}`;
|
|
5659
5659
|
}, "serialise");
|
|
5660
5660
|
|
|
5661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5662
5662
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5663
5663
|
var SECTIONS = ["personal", "bot"];
|
|
5664
5664
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -5952,7 +5952,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5952
5952
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5953
5953
|
}, "readConfigFile");
|
|
5954
5954
|
|
|
5955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5956
5956
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
5957
5957
|
import { dirname, join as join4 } from "node:path";
|
|
5958
5958
|
var DEFAULT_CONFIG = {
|
|
@@ -5981,7 +5981,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5981
5981
|
}
|
|
5982
5982
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5983
5983
|
|
|
5984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5985
5985
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5986
5986
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5987
5987
|
const path2 = key.split(".");
|
|
@@ -6003,7 +6003,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
6003
6003
|
return { config, added };
|
|
6004
6004
|
}, "withSettingDefaults");
|
|
6005
6005
|
|
|
6006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6007
6007
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6008
6008
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6009
6009
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6513,7 +6513,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6513
6513
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6514
6514
|
}, "given");
|
|
6515
6515
|
|
|
6516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6517
6517
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6518
6518
|
const slot = environmentOf(command).exit;
|
|
6519
6519
|
if (slot)
|
|
@@ -6626,7 +6626,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6626
6626
|
return words.join(" ");
|
|
6627
6627
|
}, "commandPath");
|
|
6628
6628
|
|
|
6629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6630
6630
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6631
6631
|
var FETCH = { remote: "read", local: "write" };
|
|
6632
6632
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6750,7 +6750,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6750
6750
|
throw readOnlyRefusal(lock, what);
|
|
6751
6751
|
}, "refuseUnderReadOnly");
|
|
6752
6752
|
|
|
6753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6754
6754
|
var account = strictObject({
|
|
6755
6755
|
provider: text,
|
|
6756
6756
|
id,
|
|
@@ -6760,7 +6760,7 @@ var account = strictObject({
|
|
|
6760
6760
|
scope: optional(picklist(["personal", "work"]))
|
|
6761
6761
|
});
|
|
6762
6762
|
|
|
6763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6764
6764
|
var accountSession = strictObject({
|
|
6765
6765
|
current: boolean(),
|
|
6766
6766
|
client: nullable(text),
|
|
@@ -6770,7 +6770,7 @@ var accountSession = strictObject({
|
|
|
6770
6770
|
created_at: optional(nullable(time))
|
|
6771
6771
|
});
|
|
6772
6772
|
|
|
6773
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6774
6774
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6775
6775
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6776
6776
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6788,7 +6788,7 @@ var accountPrivacy = strictObject({
|
|
|
6788
6788
|
});
|
|
6789
6789
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
6790
6790
|
|
|
6791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6792
6792
|
var accountProfile = strictObject({
|
|
6793
6793
|
profile: id,
|
|
6794
6794
|
current: boolean(),
|
|
@@ -6800,7 +6800,7 @@ var accountProfile = strictObject({
|
|
|
6800
6800
|
bot: optional(literal(true))
|
|
6801
6801
|
});
|
|
6802
6802
|
|
|
6803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6804
6804
|
var milliseconds = pipe(number(), minValue(0));
|
|
6805
6805
|
var counterReading = strictObject({
|
|
6806
6806
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6812,7 +6812,7 @@ var counterReading = strictObject({
|
|
|
6812
6812
|
});
|
|
6813
6813
|
var selection = record(string(), unknown());
|
|
6814
6814
|
|
|
6815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6816
6816
|
var adminRow = strictObject({
|
|
6817
6817
|
ref: reference,
|
|
6818
6818
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6865,7 +6865,7 @@ var adminReport = strictObject({
|
|
|
6865
6865
|
rows: array(adminRow)
|
|
6866
6866
|
});
|
|
6867
6867
|
|
|
6868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6869
6869
|
var closeSuggestion = strictObject({
|
|
6870
6870
|
as: picklist(["done", "dismissed"]),
|
|
6871
6871
|
/** The agent's name. */
|
|
@@ -6927,7 +6927,7 @@ var task = strictObject({
|
|
|
6927
6927
|
updated_at: optional(time)
|
|
6928
6928
|
});
|
|
6929
6929
|
|
|
6930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6931
6931
|
var agendaChat = strictObject({
|
|
6932
6932
|
chat: reference,
|
|
6933
6933
|
title: nullable(text),
|
|
@@ -6997,11 +6997,11 @@ var agenda = strictObject({
|
|
|
6997
6997
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6998
6998
|
});
|
|
6999
6999
|
|
|
7000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7001
7001
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7002
7002
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7003
7003
|
|
|
7004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7005
7005
|
var attachment = strictObject({
|
|
7006
7006
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7007
7007
|
message: optional(reference),
|
|
@@ -7039,7 +7039,7 @@ var attachment = strictObject({
|
|
|
7039
7039
|
});
|
|
7040
7040
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7041
7041
|
|
|
7042
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7042
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7043
7043
|
var actionableError = objectWithRest({
|
|
7044
7044
|
code: text,
|
|
7045
7045
|
message: text,
|
|
@@ -7056,7 +7056,7 @@ var batchResult = strictObject({
|
|
|
7056
7056
|
max_error_percent: count
|
|
7057
7057
|
});
|
|
7058
7058
|
|
|
7059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7060
7060
|
var extractionItem = strictObject({
|
|
7061
7061
|
ref: reference,
|
|
7062
7062
|
attachment: count,
|
|
@@ -7089,7 +7089,7 @@ var extractionReport = strictObject({
|
|
|
7089
7089
|
cursor: optional(text)
|
|
7090
7090
|
});
|
|
7091
7091
|
|
|
7092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7092
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7093
7093
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7094
7094
|
var attachmentBytes = strictObject({
|
|
7095
7095
|
ref: reference,
|
|
@@ -7117,7 +7117,7 @@ var attachmentTextChange = strictObject({
|
|
|
7117
7117
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7118
7118
|
});
|
|
7119
7119
|
|
|
7120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7121
7121
|
var chart = strictObject({
|
|
7122
7122
|
version: literal(1),
|
|
7123
7123
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7132,7 +7132,7 @@ var chart = strictObject({
|
|
|
7132
7132
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7133
7133
|
});
|
|
7134
7134
|
|
|
7135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7136
7136
|
var member = strictObject({
|
|
7137
7137
|
id,
|
|
7138
7138
|
name: nullable(text),
|
|
@@ -7155,7 +7155,7 @@ var member = strictObject({
|
|
|
7155
7155
|
check: optional(record(string(), unknown()))
|
|
7156
7156
|
});
|
|
7157
7157
|
|
|
7158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7159
7159
|
var setting = optional(nullable(boolean()));
|
|
7160
7160
|
var chat = strictObject({
|
|
7161
7161
|
ref: reference,
|
|
@@ -7196,7 +7196,7 @@ var chat = strictObject({
|
|
|
7196
7196
|
members: optional(array(member))
|
|
7197
7197
|
});
|
|
7198
7198
|
|
|
7199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7200
7200
|
var named = strictObject({
|
|
7201
7201
|
id,
|
|
7202
7202
|
title: nullable(text),
|
|
@@ -7219,7 +7219,7 @@ var folder = strictObject({
|
|
|
7219
7219
|
excluded_chats: optional(array(named))
|
|
7220
7220
|
});
|
|
7221
7221
|
|
|
7222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7223
7223
|
var inviteLink = strictObject({
|
|
7224
7224
|
link: text,
|
|
7225
7225
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7235,7 +7235,7 @@ var inviteLink = strictObject({
|
|
|
7235
7235
|
joined_count: optional(count)
|
|
7236
7236
|
});
|
|
7237
7237
|
|
|
7238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7239
7239
|
var operated = { operation_id: id, chat_id: id };
|
|
7240
7240
|
var group = strictObject({
|
|
7241
7241
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7315,7 +7315,7 @@ var chatFolderOrder = strictObject({
|
|
|
7315
7315
|
folders: array(strictObject({ id, title: text }))
|
|
7316
7316
|
});
|
|
7317
7317
|
|
|
7318
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7318
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7319
7319
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7320
7320
|
var chatRemoval = strictObject(operated2);
|
|
7321
7321
|
var chatMuting = strictObject({
|
|
@@ -7326,7 +7326,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7326
7326
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7327
7327
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7328
7328
|
|
|
7329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7330
7330
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7331
7331
|
var chatEvent = strictObject({
|
|
7332
7332
|
chat_id: id,
|
|
@@ -7343,7 +7343,7 @@ var chatEvent = strictObject({
|
|
|
7343
7343
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7344
7344
|
});
|
|
7345
7345
|
|
|
7346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7347
7347
|
var chatMetadata = strictObject({
|
|
7348
7348
|
chat_id: id,
|
|
7349
7349
|
title: nullable(text),
|
|
@@ -7358,7 +7358,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7358
7358
|
has_more: boolean()
|
|
7359
7359
|
});
|
|
7360
7360
|
|
|
7361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7362
7362
|
var action = picklist(["report", "delete", "remove"]);
|
|
7363
7363
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7364
7364
|
var chatRules = strictObject({
|
|
@@ -7395,7 +7395,7 @@ var chatModeration = strictObject({
|
|
|
7395
7395
|
}))
|
|
7396
7396
|
});
|
|
7397
7397
|
|
|
7398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7399
7399
|
var optionalCount = optional(count);
|
|
7400
7400
|
var minutes = nullable(number());
|
|
7401
7401
|
var chatStats = strictObject({
|
|
@@ -7469,7 +7469,7 @@ var taskStats = strictObject({
|
|
|
7469
7469
|
}))
|
|
7470
7470
|
});
|
|
7471
7471
|
|
|
7472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7473
7473
|
var memberCount = strictObject({
|
|
7474
7474
|
day: pipe(text, isoDate()),
|
|
7475
7475
|
participants: nullable(count),
|
|
@@ -7492,7 +7492,7 @@ var chatTracking = strictObject({
|
|
|
7492
7492
|
tracked: boolean()
|
|
7493
7493
|
});
|
|
7494
7494
|
|
|
7495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7496
7496
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7497
7497
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7498
7498
|
var profileFields = {
|
|
@@ -7530,7 +7530,7 @@ var profileFields = {
|
|
|
7530
7530
|
}))
|
|
7531
7531
|
};
|
|
7532
7532
|
|
|
7533
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7533
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7534
7534
|
var contact = strictObject({
|
|
7535
7535
|
ref: reference,
|
|
7536
7536
|
id,
|
|
@@ -7561,7 +7561,7 @@ var contact = strictObject({
|
|
|
7561
7561
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7562
7562
|
});
|
|
7563
7563
|
|
|
7564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7564
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7565
7565
|
var WEIGHTS = {
|
|
7566
7566
|
bot: 3,
|
|
7567
7567
|
scam: 3,
|
|
@@ -7586,7 +7586,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7586
7586
|
var DIGITS = /\d{5,}/;
|
|
7587
7587
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7588
7588
|
|
|
7589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7590
7590
|
var linkedIdentity = strictObject({
|
|
7591
7591
|
provider: text,
|
|
7592
7592
|
id,
|
|
@@ -7627,7 +7627,7 @@ var contactCheck = strictObject({
|
|
|
7627
7627
|
checked_at: time
|
|
7628
7628
|
});
|
|
7629
7629
|
|
|
7630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7630
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7631
7631
|
var quoted = strictObject({
|
|
7632
7632
|
id,
|
|
7633
7633
|
sender_id: nullable(id),
|
|
@@ -7746,7 +7746,7 @@ var message = strictObject({
|
|
|
7746
7746
|
provider_metadata: providerMetadata
|
|
7747
7747
|
});
|
|
7748
7748
|
|
|
7749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7749
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7750
7750
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7751
7751
|
var contextMessage = strictObject({
|
|
7752
7752
|
locator: reference,
|
|
@@ -7944,7 +7944,7 @@ var contactPreparation = strictObject({
|
|
|
7944
7944
|
})
|
|
7945
7945
|
});
|
|
7946
7946
|
|
|
7947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7948
7948
|
var contactNote = strictObject({
|
|
7949
7949
|
id,
|
|
7950
7950
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7956,13 +7956,13 @@ var contactNote = strictObject({
|
|
|
7956
7956
|
updated_at: time
|
|
7957
7957
|
});
|
|
7958
7958
|
|
|
7959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7960
7960
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7961
7961
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7962
7962
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7963
7963
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7964
7964
|
|
|
7965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7966
7966
|
var conversation = strictObject({
|
|
7967
7967
|
id,
|
|
7968
7968
|
chat: reference,
|
|
@@ -7977,7 +7977,7 @@ var conversation = strictObject({
|
|
|
7977
7977
|
rules_version: count
|
|
7978
7978
|
});
|
|
7979
7979
|
|
|
7980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7981
7981
|
var conversationBuild = strictObject({
|
|
7982
7982
|
chat: id,
|
|
7983
7983
|
messages: count,
|
|
@@ -8002,7 +8002,7 @@ var catchUpPreparation = strictObject({
|
|
|
8002
8002
|
prepared: optional(conversationPreparation)
|
|
8003
8003
|
});
|
|
8004
8004
|
|
|
8005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8006
8006
|
var conversationDetails = union([
|
|
8007
8007
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8008
8008
|
message
|
|
@@ -8092,7 +8092,7 @@ var conversationHit = strictObject({
|
|
|
8092
8092
|
stale: boolean()
|
|
8093
8093
|
});
|
|
8094
8094
|
|
|
8095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8095
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8096
8096
|
var counters = strictObject({
|
|
8097
8097
|
cutoff: time,
|
|
8098
8098
|
max_age_ms: milliseconds,
|
|
@@ -8122,7 +8122,7 @@ var counterRefresh = strictObject({
|
|
|
8122
8122
|
complete: optional(boolean())
|
|
8123
8123
|
});
|
|
8124
8124
|
|
|
8125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8126
8126
|
var document = strictObject({
|
|
8127
8127
|
ref: reference,
|
|
8128
8128
|
id,
|
|
@@ -8137,7 +8137,7 @@ var document = strictObject({
|
|
|
8137
8137
|
owners: optional(array(text))
|
|
8138
8138
|
});
|
|
8139
8139
|
|
|
8140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8141
8141
|
var documentLink = strictObject({
|
|
8142
8142
|
ref: reference,
|
|
8143
8143
|
url: text,
|
|
@@ -8148,7 +8148,7 @@ var documentLink = strictObject({
|
|
|
8148
8148
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8149
8149
|
});
|
|
8150
8150
|
|
|
8151
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8151
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8152
8152
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8153
8153
|
var contribution = strictObject({
|
|
8154
8154
|
message: evidenceMessage,
|
|
@@ -8178,7 +8178,7 @@ var retentionStay = strictObject({
|
|
|
8178
8178
|
});
|
|
8179
8179
|
var evidence = union([contribution, retentionStay]);
|
|
8180
8180
|
|
|
8181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8182
8182
|
var fact = strictObject({
|
|
8183
8183
|
ref: reference,
|
|
8184
8184
|
id,
|
|
@@ -8208,9 +8208,9 @@ var fact = strictObject({
|
|
|
8208
8208
|
updated_at: time
|
|
8209
8209
|
});
|
|
8210
8210
|
|
|
8211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8212
8212
|
var hit = strictObject({
|
|
8213
|
-
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8213
|
+
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8214
8214
|
ref: reference,
|
|
8215
8215
|
provider: text,
|
|
8216
8216
|
url: optional(text),
|
|
@@ -8246,7 +8246,7 @@ var hit = strictObject({
|
|
|
8246
8246
|
untrusted
|
|
8247
8247
|
});
|
|
8248
8248
|
|
|
8249
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8250
8250
|
var identity = strictObject({
|
|
8251
8251
|
ref: reference,
|
|
8252
8252
|
provider: text,
|
|
@@ -8259,7 +8259,7 @@ var identity = strictObject({
|
|
|
8259
8259
|
person: optional(nullable(reference))
|
|
8260
8260
|
});
|
|
8261
8261
|
|
|
8262
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8262
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8263
8263
|
var imageEmbedding = strictObject({
|
|
8264
8264
|
model: text,
|
|
8265
8265
|
embedded: count,
|
|
@@ -8268,13 +8268,13 @@ var imageEmbedding = strictObject({
|
|
|
8268
8268
|
more: boolean()
|
|
8269
8269
|
});
|
|
8270
8270
|
|
|
8271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8272
8272
|
import { spawn } from "node:child_process";
|
|
8273
8273
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8274
8274
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8275
8275
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8276
8276
|
|
|
8277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8278
8278
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8279
8279
|
const total = input.total ?? null;
|
|
8280
8280
|
const updated = input.updatedAt ?? null;
|
|
@@ -8290,7 +8290,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8290
8290
|
};
|
|
8291
8291
|
}, "progressOf");
|
|
8292
8292
|
|
|
8293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8294
8294
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8295
8295
|
const run = currentRun();
|
|
8296
8296
|
const trace = traceId ?? run.traceId;
|
|
@@ -8304,7 +8304,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8304
8304
|
}));
|
|
8305
8305
|
}, "recordLogFor");
|
|
8306
8306
|
|
|
8307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8308
8308
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8309
8309
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8310
8310
|
const out = openSync(log, "a", 384);
|
|
@@ -8459,7 +8459,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8459
8459
|
return { job: id6, pid, chat: input.chat, log };
|
|
8460
8460
|
}, "startArchiveJob");
|
|
8461
8461
|
|
|
8462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8463
8463
|
var problem = strictObject({ code: text, message: text });
|
|
8464
8464
|
var job = strictObject({
|
|
8465
8465
|
id,
|
|
@@ -8482,7 +8482,7 @@ var job = strictObject({
|
|
|
8482
8482
|
error: optional(problem)
|
|
8483
8483
|
});
|
|
8484
8484
|
|
|
8485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8486
8486
|
var joinRequest = strictObject({
|
|
8487
8487
|
person_id: id,
|
|
8488
8488
|
name: nullable(text),
|
|
@@ -8493,7 +8493,7 @@ var joinRequest = strictObject({
|
|
|
8493
8493
|
about: optional(text)
|
|
8494
8494
|
});
|
|
8495
8495
|
|
|
8496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8497
8497
|
var botProfile = strictObject({
|
|
8498
8498
|
name: text,
|
|
8499
8499
|
token: text,
|
|
@@ -8570,7 +8570,7 @@ var stickerInventory = strictObject({
|
|
|
8570
8570
|
url: optional(nullable(text))
|
|
8571
8571
|
});
|
|
8572
8572
|
|
|
8573
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8573
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8574
8574
|
var pollVote = strictObject({
|
|
8575
8575
|
person_id: id,
|
|
8576
8576
|
name: nullable(text),
|
|
@@ -8580,7 +8580,7 @@ var pollVote = strictObject({
|
|
|
8580
8580
|
voted_at: time
|
|
8581
8581
|
});
|
|
8582
8582
|
|
|
8583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8584
8584
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8585
8585
|
var observation = strictObject({
|
|
8586
8586
|
value: pipe(number(), minValue(0)),
|
|
@@ -8622,7 +8622,7 @@ var serveSummary = strictObject({
|
|
|
8622
8622
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8623
8623
|
});
|
|
8624
8624
|
|
|
8625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8626
8626
|
var mailCounts = strictObject({
|
|
8627
8627
|
by: picklist(["day", "week", "sender"]),
|
|
8628
8628
|
received: count,
|
|
@@ -8637,7 +8637,7 @@ var mailCounts = strictObject({
|
|
|
8637
8637
|
}))
|
|
8638
8638
|
});
|
|
8639
8639
|
|
|
8640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8641
8641
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8642
8642
|
var base = { id, evidence: array(evidence2) };
|
|
8643
8643
|
var finding = variant("kind", [
|
|
@@ -8781,7 +8781,7 @@ var mailFindings = strictObject({
|
|
|
8781
8781
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
8782
8782
|
});
|
|
8783
8783
|
|
|
8784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8785
8785
|
var mediaArchive = strictObject({
|
|
8786
8786
|
directory: text,
|
|
8787
8787
|
chats: count,
|
|
@@ -8813,7 +8813,7 @@ var mediaArchiveTimer = union([
|
|
|
8813
8813
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8814
8814
|
]);
|
|
8815
8815
|
|
|
8816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8817
8817
|
var preparationId = pipe(string(), minLength(1));
|
|
8818
8818
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8819
8819
|
var preparationTime = nullable(isoTime);
|
|
@@ -8905,7 +8905,7 @@ var preparationMeeting = strictObject({
|
|
|
8905
8905
|
updated_at: isoTime
|
|
8906
8906
|
});
|
|
8907
8907
|
|
|
8908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8909
8909
|
var meetingEvidence = preparationEvidence;
|
|
8910
8910
|
var meetingPersonContext = strictObject({
|
|
8911
8911
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8927,7 +8927,7 @@ var meetingPersonContext = strictObject({
|
|
|
8927
8927
|
})
|
|
8928
8928
|
});
|
|
8929
8929
|
|
|
8930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8931
8931
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8932
8932
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8933
8933
|
var finding2 = variant("kind", [
|
|
@@ -8965,7 +8965,7 @@ var meetingFindings = strictObject({
|
|
|
8965
8965
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8966
8966
|
});
|
|
8967
8967
|
|
|
8968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8969
8969
|
var communicationCoverage = strictObject({
|
|
8970
8970
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8971
8971
|
query: string(),
|
|
@@ -9010,7 +9010,7 @@ var preparationCommunications = strictObject({
|
|
|
9010
9010
|
}))
|
|
9011
9011
|
});
|
|
9012
9012
|
|
|
9013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9014
9014
|
var meetingPreparation = strictObject({
|
|
9015
9015
|
communications: optional(preparationCommunications),
|
|
9016
9016
|
schema_version: literal(1),
|
|
@@ -9123,7 +9123,7 @@ var meetingPreparation = strictObject({
|
|
|
9123
9123
|
})
|
|
9124
9124
|
});
|
|
9125
9125
|
|
|
9126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9127
9127
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9128
9128
|
var id3 = pipe(string(), minLength(1));
|
|
9129
9129
|
var text3 = string();
|
|
@@ -9187,7 +9187,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9187
9187
|
})
|
|
9188
9188
|
});
|
|
9189
9189
|
|
|
9190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9191
9191
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9192
9192
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9193
9193
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9217,7 +9217,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9217
9217
|
})
|
|
9218
9218
|
});
|
|
9219
9219
|
|
|
9220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9221
9221
|
var text4 = string();
|
|
9222
9222
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9223
9223
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9234,7 +9234,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9234
9234
|
persistence: literal("proposal-only")
|
|
9235
9235
|
});
|
|
9236
9236
|
|
|
9237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9238
9238
|
var memory = strictObject({
|
|
9239
9239
|
ref: reference,
|
|
9240
9240
|
id,
|
|
@@ -9261,7 +9261,7 @@ var memory = strictObject({
|
|
|
9261
9261
|
updated_at: time
|
|
9262
9262
|
});
|
|
9263
9263
|
|
|
9264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9265
9265
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9266
9266
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9267
9267
|
var mention = strictObject({
|
|
@@ -9304,13 +9304,13 @@ var mentionRebuild = strictObject({
|
|
|
9304
9304
|
mentions: count
|
|
9305
9305
|
});
|
|
9306
9306
|
|
|
9307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9308
9308
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9309
9309
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9310
9310
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9311
9311
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9312
9312
|
|
|
9313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9314
9314
|
var messageTranscript = strictObject({
|
|
9315
9315
|
message_id: id,
|
|
9316
9316
|
text,
|
|
@@ -9368,7 +9368,7 @@ var evidencePacket = strictObject({
|
|
|
9368
9368
|
}))
|
|
9369
9369
|
});
|
|
9370
9370
|
|
|
9371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9372
9372
|
var messageThread = strictObject({
|
|
9373
9373
|
ref: reference,
|
|
9374
9374
|
chat: id,
|
|
@@ -9385,7 +9385,7 @@ var messageThread = strictObject({
|
|
|
9385
9385
|
});
|
|
9386
9386
|
var messageContext = union([message, messageThread]);
|
|
9387
9387
|
|
|
9388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9389
9389
|
var messageCounts = strictObject({
|
|
9390
9390
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9391
9391
|
total: count,
|
|
@@ -9398,7 +9398,7 @@ var messageCounts = strictObject({
|
|
|
9398
9398
|
}))
|
|
9399
9399
|
});
|
|
9400
9400
|
|
|
9401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9402
9402
|
var messageLink = strictObject({
|
|
9403
9403
|
ref: reference,
|
|
9404
9404
|
url: nullable(text),
|
|
@@ -9415,7 +9415,7 @@ var messageLink = strictObject({
|
|
|
9415
9415
|
})))
|
|
9416
9416
|
});
|
|
9417
9417
|
|
|
9418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9419
9419
|
var savedMessageFile = strictObject({
|
|
9420
9420
|
kind: text,
|
|
9421
9421
|
path: text,
|
|
@@ -9502,7 +9502,7 @@ var messageSyncAll = strictObject({
|
|
|
9502
9502
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9503
9503
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9504
9504
|
|
|
9505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9506
9506
|
var messageWrite = strictObject({
|
|
9507
9507
|
operation_id: id,
|
|
9508
9508
|
message,
|
|
@@ -9517,7 +9517,7 @@ var draftWrite = strictObject({
|
|
|
9517
9517
|
});
|
|
9518
9518
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9519
9519
|
|
|
9520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9521
9521
|
var model2 = strictObject({
|
|
9522
9522
|
id,
|
|
9523
9523
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9534,7 +9534,7 @@ var model2 = strictObject({
|
|
|
9534
9534
|
path: text
|
|
9535
9535
|
});
|
|
9536
9536
|
|
|
9537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9538
9538
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9539
9539
|
var modelKey = strictObject({
|
|
9540
9540
|
provider: text,
|
|
@@ -9544,7 +9544,7 @@ var modelKey = strictObject({
|
|
|
9544
9544
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9545
9545
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9546
9546
|
|
|
9547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9548
9548
|
var link = {
|
|
9549
9549
|
target_text: nullable(text),
|
|
9550
9550
|
kind: text,
|
|
@@ -9585,7 +9585,7 @@ var note = strictObject({
|
|
|
9585
9585
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
9586
9586
|
});
|
|
9587
9587
|
|
|
9588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9589
9589
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9590
9590
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9591
9591
|
var graph = strictObject({
|
|
@@ -9619,14 +9619,14 @@ var officialStats = strictObject({
|
|
|
9619
9619
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9620
9620
|
});
|
|
9621
9621
|
|
|
9622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9623
9623
|
var person2 = strictObject({
|
|
9624
9624
|
ref: reference,
|
|
9625
9625
|
name: nullable(text),
|
|
9626
9626
|
identities: optional(array(identity))
|
|
9627
9627
|
});
|
|
9628
9628
|
|
|
9629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9630
9630
|
var poll = strictObject({
|
|
9631
9631
|
chat_id: id,
|
|
9632
9632
|
message_id: id,
|
|
@@ -9642,11 +9642,11 @@ var poll = strictObject({
|
|
|
9642
9642
|
});
|
|
9643
9643
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9644
9644
|
|
|
9645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9645
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9646
9646
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9647
9647
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9648
9648
|
|
|
9649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9650
9650
|
var figures = record(string(), number());
|
|
9651
9651
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9652
9652
|
var rankingRow = strictObject({
|
|
@@ -9693,7 +9693,7 @@ var ranking = strictObject({
|
|
|
9693
9693
|
rows: array(rankingRow)
|
|
9694
9694
|
});
|
|
9695
9695
|
|
|
9696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9697
9697
|
var reaction = strictObject({
|
|
9698
9698
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9699
9699
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9701,7 +9701,7 @@ var reaction = strictObject({
|
|
|
9701
9701
|
reacted_at: time
|
|
9702
9702
|
});
|
|
9703
9703
|
|
|
9704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9705
9705
|
var reactionChange = strictObject({
|
|
9706
9706
|
operation_id: id,
|
|
9707
9707
|
chat_id: id,
|
|
@@ -9709,7 +9709,7 @@ var reactionChange = strictObject({
|
|
|
9709
9709
|
reaction: nullable(text)
|
|
9710
9710
|
});
|
|
9711
9711
|
|
|
9712
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9712
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9713
9713
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9714
9714
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9715
9715
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9720,7 +9720,7 @@ var recipientChange = strictObject({
|
|
|
9720
9720
|
...partial(recipientOff).entries
|
|
9721
9721
|
});
|
|
9722
9722
|
|
|
9723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9724
9724
|
var events = array(record(string(), unknown()));
|
|
9725
9725
|
var recordedRun = strictObject({
|
|
9726
9726
|
run_id: id,
|
|
@@ -9792,7 +9792,7 @@ var runHit = strictObject({
|
|
|
9792
9792
|
});
|
|
9793
9793
|
var runLocation = strictObject({ path: text });
|
|
9794
9794
|
|
|
9795
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9796
9796
|
var relationship = strictObject({
|
|
9797
9797
|
id,
|
|
9798
9798
|
from: reference,
|
|
@@ -9809,7 +9809,7 @@ var relationship = strictObject({
|
|
|
9809
9809
|
created_at: time
|
|
9810
9810
|
});
|
|
9811
9811
|
|
|
9812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9813
9813
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9814
9814
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9815
9815
|
var responseTimes = strictObject({
|
|
@@ -9826,7 +9826,7 @@ var waitingChats = strictObject({
|
|
|
9826
9826
|
by_kind: strictObject({ private: count, group: count })
|
|
9827
9827
|
});
|
|
9828
9828
|
|
|
9829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9830
9830
|
var retentionCohort = strictObject({
|
|
9831
9831
|
/** The first day of the joining day or week. */
|
|
9832
9832
|
cohort: text,
|
|
@@ -9874,7 +9874,7 @@ var retention = strictObject({
|
|
|
9874
9874
|
rows: array(retentionCohort)
|
|
9875
9875
|
});
|
|
9876
9876
|
|
|
9877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9878
9878
|
var savedSearch = strictObject({
|
|
9879
9879
|
id,
|
|
9880
9880
|
/** `null` for a run in the history. */
|
|
@@ -9891,7 +9891,7 @@ var savedSearch = strictObject({
|
|
|
9891
9891
|
});
|
|
9892
9892
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9893
9893
|
|
|
9894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9895
9895
|
var sendAttempt = strictObject({
|
|
9896
9896
|
at: time,
|
|
9897
9897
|
profile: text,
|
|
@@ -9919,7 +9919,7 @@ var sendAttempt = strictObject({
|
|
|
9919
9919
|
error_code: optional(text)
|
|
9920
9920
|
});
|
|
9921
9921
|
|
|
9922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9923
9923
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9924
9924
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9925
9925
|
var infoSchema = strictObject({
|
|
@@ -10127,7 +10127,7 @@ var storeRepair = union([
|
|
|
10127
10127
|
]);
|
|
10128
10128
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10129
10129
|
|
|
10130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10131
10131
|
var range = strictObject({ from: number(), to: number() });
|
|
10132
10132
|
var storeChatStatus = strictObject({
|
|
10133
10133
|
chat_id: id,
|
|
@@ -10225,7 +10225,7 @@ var storeJobRetry = union([
|
|
|
10225
10225
|
]);
|
|
10226
10226
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10227
10227
|
|
|
10228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10229
10229
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10230
10230
|
var storeTable = strictObject({
|
|
10231
10231
|
name: text,
|
|
@@ -10234,7 +10234,7 @@ var storeTable = strictObject({
|
|
|
10234
10234
|
bytes: optional(nullable(count))
|
|
10235
10235
|
});
|
|
10236
10236
|
|
|
10237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10238
10238
|
var tagTarget = variant("type", [
|
|
10239
10239
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10240
10240
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10265,7 +10265,7 @@ var automaticTags = strictObject({
|
|
|
10265
10265
|
dry_run: boolean()
|
|
10266
10266
|
});
|
|
10267
10267
|
|
|
10268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10269
10269
|
var tagging = strictObject({
|
|
10270
10270
|
tag: text,
|
|
10271
10271
|
type: picklist(TAG_TYPES),
|
|
@@ -10278,7 +10278,7 @@ var tagging = strictObject({
|
|
|
10278
10278
|
created_at: time
|
|
10279
10279
|
});
|
|
10280
10280
|
|
|
10281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10282
10282
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10283
10283
|
var taskPair = strictObject({
|
|
10284
10284
|
task: nullable(side),
|
|
@@ -10301,7 +10301,7 @@ var taskPair = strictObject({
|
|
|
10301
10301
|
created_at: time
|
|
10302
10302
|
});
|
|
10303
10303
|
|
|
10304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10305
10305
|
var nullableTime = nullable(time);
|
|
10306
10306
|
var link2 = strictObject({
|
|
10307
10307
|
id,
|
|
@@ -10475,7 +10475,7 @@ var taskReview = strictObject({
|
|
|
10475
10475
|
untrusted
|
|
10476
10476
|
});
|
|
10477
10477
|
|
|
10478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10478
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10479
10479
|
var topic = strictObject({
|
|
10480
10480
|
id,
|
|
10481
10481
|
title: text,
|
|
@@ -10489,7 +10489,7 @@ var topic = strictObject({
|
|
|
10489
10489
|
untrusted
|
|
10490
10490
|
});
|
|
10491
10491
|
|
|
10492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10492
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10493
10493
|
var ENTITIES = {
|
|
10494
10494
|
sync_progress: progress,
|
|
10495
10495
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -10771,7 +10771,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10771
10771
|
return [name, definition];
|
|
10772
10772
|
})), "entityDefinitions");
|
|
10773
10773
|
|
|
10774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10775
10775
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10776
10776
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10777
10777
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10805,7 +10805,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10805
10805
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10806
10806
|
}, "answerRow");
|
|
10807
10807
|
|
|
10808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10809
10809
|
import { join as join6 } from "node:path";
|
|
10810
10810
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10811
10811
|
var IMAGE_MODELS = [
|
|
@@ -10859,7 +10859,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10859
10859
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
10860
10860
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10861
10861
|
|
|
10862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10863
10863
|
var STEPS2 = defineSteps([
|
|
10864
10864
|
...STEPS,
|
|
10865
10865
|
{
|
|
@@ -11140,7 +11140,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11140
11140
|
].join(" ");
|
|
11141
11141
|
}, "stepLine");
|
|
11142
11142
|
|
|
11143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11144
11144
|
var where = [{ field: "ref" }];
|
|
11145
11145
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11146
11146
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11232,7 +11232,7 @@ var STATUS_ROWS = {
|
|
|
11232
11232
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11233
11233
|
};
|
|
11234
11234
|
|
|
11235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11236
11236
|
var TEXT_CHARS = 400;
|
|
11237
11237
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11238
11238
|
var messageRow = {
|
|
@@ -11598,7 +11598,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11598
11598
|
return lines.concat(footerOf(body)).join("\n");
|
|
11599
11599
|
}, "compactText");
|
|
11600
11600
|
|
|
11601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11602
11602
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11603
11603
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11604
11604
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11656,7 +11656,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11656
11656
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11657
11657
|
}, "largeAnswerSteps");
|
|
11658
11658
|
|
|
11659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11660
11660
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11661
11661
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11662
11662
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11670,7 +11670,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11670
11670
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11671
11671
|
}, "strip");
|
|
11672
11672
|
|
|
11673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11674
11674
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11675
11675
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11676
11676
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|