@wirecat/mail-cli 0.25.0 → 0.26.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 +35 -0
- package/README.md +3 -0
- package/contracts/wirecat.json +1325 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bin/mail.js.map +1 -1
- package/dist/bundle/{all-profiles-QEV2PSOR.js → all-profiles-6NXVQLUQ.js} +11 -11
- package/dist/bundle/{anthropic-5NKQXIHM.js → anthropic-OLNFE2CL.js} +5 -5
- package/dist/bundle/{app-server-G2CJNT4R.js → app-server-J76N6XIK.js} +51 -51
- package/dist/bundle/{bun-6HBYWQIX.js → bun-6PYDHXNR.js} +2 -2
- package/dist/bundle/{bun-sqlite-DXIQ7BVR.js → bun-sqlite-QD5PFHPS.js} +6 -6
- package/dist/bundle/{chunk-5ZYFV6FD.js → chunk-2E2EV4HD.js} +103 -71
- package/dist/bundle/{chunk-T27IMG6X.js → chunk-2TCS4PLJ.js} +1 -1
- package/dist/bundle/{chunk-EXVY76VO.js → chunk-3J2UJFBJ.js} +19 -18
- package/dist/bundle/{chunk-LVGX7VTD.js → chunk-3RY4HC4V.js} +63 -5
- package/dist/bundle/{chunk-LGZPKKBN.js → chunk-3XTKQ5EM.js} +3 -2
- package/dist/bundle/{chunk-CIWWNBVW.js → chunk-4Q6KAV4O.js} +8 -8
- package/dist/bundle/{chunk-IXO4SCKE.js → chunk-52M5BAEG.js} +1 -1
- package/dist/bundle/{chunk-DIA56CS7.js → chunk-5WROIMUV.js} +11 -7
- package/dist/bundle/{chunk-ADKMBXY4.js → chunk-66C66FNK.js} +1 -1
- package/dist/bundle/{chunk-MBFPFWCO.js → chunk-76EKZSDK.js} +27 -27
- package/dist/bundle/{chunk-XQYKIZMG.js → chunk-76VSHS5Y.js} +12 -9
- package/dist/bundle/{chunk-L4QVOEOB.js → chunk-7C6FGWDH.js} +4 -4
- package/dist/bundle/{chunk-VUBZFMGP.js → chunk-7KCBPAQS.js} +2 -2
- package/dist/bundle/{chunk-TY644DKQ.js → chunk-7MEVD5PI.js} +57 -28
- package/dist/bundle/{chunk-7GLJSJ7M.js → chunk-A3EBRXOQ.js} +1 -1
- package/dist/bundle/{chunk-XMDEM6BZ.js → chunk-A6XETABW.js} +276 -254
- package/dist/bundle/{chunk-S2QRAKQI.js → chunk-AJ5K74X6.js} +17 -17
- package/dist/bundle/{chunk-QQUY4MZY.js → chunk-BDYQQ6G2.js} +1 -1
- package/dist/bundle/{chunk-JG4MNYG2.js → chunk-BMGRDZM3.js} +1 -1
- package/dist/bundle/{chunk-WX6OYVCH.js → chunk-CFBIPM7T.js} +363 -270
- package/dist/bundle/{chunk-HEIDAHRC.js → chunk-CZI45AQM.js} +2 -2
- package/dist/bundle/{chunk-VL6H2BND.js → chunk-DKIVYAXW.js} +18 -17
- package/dist/bundle/{chunk-IZOYW4Z4.js → chunk-ECZSYLSL.js} +24 -9
- package/dist/bundle/{chunk-NMZQTYKJ.js → chunk-EDWJ7IYH.js} +1 -1
- package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-G5LHHAW2.js → chunk-GIG7F6UW.js} +6 -6
- package/dist/bundle/{chunk-PHHH2NQP.js → chunk-H2IJQH5X.js} +15 -113
- package/dist/bundle/{chunk-QB3DP2TN.js → chunk-HI5XUETY.js} +2 -2
- package/dist/bundle/{chunk-PGC5TRH6.js → chunk-HNSBXC6U.js} +3 -3
- package/dist/bundle/{chunk-4W4EVVL4.js → chunk-IX3GUNGV.js} +4 -4
- package/dist/bundle/{chunk-VFU7PVPQ.js → chunk-JNKXU7AE.js} +62 -60
- package/dist/bundle/{chunk-BC7PFQL7.js → chunk-JVJG54QK.js} +40 -2
- package/dist/bundle/{chunk-PP3YOAWG.js → chunk-KXASCNOV.js} +3 -3
- package/dist/bundle/{chunk-3XVR2ROR.js → chunk-LMTQMYUF.js} +31 -31
- package/dist/bundle/{chunk-CBYBZCQP.js → chunk-LTZGLOKE.js} +3 -2
- package/dist/bundle/{chunk-HJSJBNCJ.js → chunk-M2LATBP2.js} +28 -9
- package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-HLXVUMZJ.js → chunk-M4Y33SJJ.js} +2 -2
- package/dist/bundle/{chunk-MWGH3M46.js → chunk-M7ECSGSN.js} +3 -3
- package/dist/bundle/{chunk-OLLIWNFG.js → chunk-M7RHPCXM.js} +3 -3
- package/dist/bundle/{chunk-B7SWTH5O.js → chunk-MIWSCTLG.js} +2 -2
- package/dist/bundle/{chunk-GY4XCLCO.js → chunk-NBJU6MBU.js} +8 -8
- package/dist/bundle/{chunk-Z5T6OW3V.js → chunk-NMFPK3MU.js} +4 -4
- package/dist/bundle/{chunk-HEYVMAAQ.js → chunk-OGE7YG4J.js} +2 -2
- package/dist/bundle/{chunk-A6BPOX5O.js → chunk-PJ6YMNJG.js} +3954 -3685
- package/dist/bundle/{chunk-OLKCJBZY.js → chunk-PY2IOVUN.js} +5 -5
- package/dist/bundle/{chunk-WOAYHCM2.js → chunk-QI6EXKSH.js} +1 -1
- package/dist/bundle/{chunk-YNS2YVUR.js → chunk-QJGG6QYV.js} +9 -9
- package/dist/bundle/{chunk-K2OGF7KC.js → chunk-RXKIP2ML.js} +2 -2
- package/dist/bundle/{chunk-SMTBV62X.js → chunk-T7SHPALQ.js} +26 -24
- package/dist/bundle/{chunk-GJRYZXBN.js → chunk-UE2NKPA4.js} +9 -9
- package/dist/bundle/{chunk-P6GXNT7Z.js → chunk-UNJUCK5R.js} +13 -13
- package/dist/bundle/{chunk-ND5H5ADM.js → chunk-V32L23NN.js} +4 -4
- package/dist/bundle/{chunk-IACWKZWS.js → chunk-V4PFD25P.js} +1 -1
- package/dist/bundle/{chunk-37F6QYTO.js → chunk-VA4V73SL.js} +6 -6
- package/dist/bundle/{chunk-U6IQ6YQ2.js → chunk-VJPLIXV4.js} +8 -2
- package/dist/bundle/{chunk-PQMJ5BXH.js → chunk-VWRT57QU.js} +4 -4
- package/dist/bundle/{chunk-KFB2X6KE.js → chunk-XELZCDWE.js} +191 -160
- package/dist/bundle/{chunk-KK4HD3SI.js → chunk-XUJEZ5YF.js} +6 -6
- package/dist/bundle/{chunk-434YOD6A.js → chunk-XZ7CQ6NA.js} +4 -4
- package/dist/bundle/{chunk-5QYK3LWS.js → chunk-YM345236.js} +119 -38
- package/dist/bundle/{chunk-J4OYK4WL.js → chunk-YXGHC3NP.js} +12 -12
- package/dist/bundle/{chunk-FZZD4AFY.js → chunk-ZZSZN4CJ.js} +22 -15
- package/dist/bundle/command-contract-NNEXHZW5.js +36 -0
- package/dist/bundle/{command-server-entry-XMSSY5ID.js → command-server-entry-AIBWNC5D.js} +25 -25
- package/dist/bundle/{decode-RYGB4PGT.js → decode-H7KLRD33.js} +5 -5
- package/dist/bundle/{dispatch-PLQOIZG5.js → dispatch-DSVN7MNG.js} +8 -8
- package/dist/bundle/{dist-GY2AQETI.js → dist-YYSP43J3.js} +19 -15
- package/dist/bundle/{echarts-7CM2MCMW.js → echarts-VSD3LS6D.js} +2 -2
- package/dist/bundle/{embed-FTBDPOPT.js → embed-UENZ5HN3.js} +6 -6
- package/dist/bundle/{embedder-B43WGNBD.js → embedder-MJMGOJT7.js} +9 -9
- package/dist/bundle/{failure-XP5QYV2T.js → failure-COTPFUP4.js} +2 -2
- package/dist/bundle/{first-run-XIIUARNM.js → first-run-HYALREFN.js} +12 -12
- package/dist/bundle/first-screen-GPF5RHBX.js +34 -0
- package/dist/bundle/{instructions-R7OHVAWH.js → instructions-WOHRYOLN.js} +1 -1
- package/dist/bundle/mail.js +15 -20
- package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-3N2JGZ7V.js → node-4BRWJJCE.js} +2 -2
- package/dist/bundle/{node-sqlite-WFJXW3CZ.js → node-sqlite-D3QESEYQ.js} +7 -7
- package/dist/bundle/{oauth-SVJLQTWV.js → oauth-T7TTOBIZ.js} +7 -7
- package/dist/bundle/{open-ZDONVKSX.js → open-6P6627QB.js} +5 -5
- package/dist/bundle/{openai-XVEW6XOU.js → openai-FIMCJGAP.js} +21 -20
- package/dist/bundle/{process-YAHHUFR5.js → process-35IH3WHC.js} +1 -1
- package/dist/bundle/{program-HU2UVMJE.js → program-IEXB72IK.js} +1475 -987
- package/dist/bundle/{prompt-JAJ2CUJI.js → prompt-HFBCPMVL.js} +5 -5
- package/dist/bundle/{recognize-UFBWUNFR.js → recognize-CNL4HJ7Z.js} +4 -4
- package/dist/bundle/{remote-2GFOVLCR.js → remote-AYGZI7HT.js} +9 -9
- package/dist/bundle/{rerank-BGPSMXTL.js → rerank-5C2OZZXD.js} +7 -7
- package/dist/bundle/{serve-CB3XJTH3.js → serve-S6OYBDIB.js} +9 -9
- package/dist/bundle/{server-M7FQY7TX.js → server-VKO6E6PI.js} +42 -42
- package/dist/bundle/server-WXSHVDME.js +68 -0
- package/dist/bundle/{sqlite-runtime-AEV6PGDR.js → sqlite-runtime-DBTGNTVE.js} +6 -6
- package/dist/bundle/{state-YLBEQLBI.js → state-ZQG6AL2Y.js} +6 -6
- package/dist/bundle/{store-EKWKY6GG.js → store-B7BXWILZ.js} +21 -19
- package/dist/bundle/{store-CDUL3HKK.js → store-LY4QKTOO.js} +17 -17
- package/dist/bundle/store-maintenance-command-UR6NQDVV.js +58 -0
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +57 -19
- package/dist/commands/rules.js.map +1 -1
- package/dist/commands/session-start.d.ts.map +1 -1
- package/dist/commands/session-start.js +1 -1
- package/dist/commands/session-start.js.map +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +13 -12
- package/dist/config.js.map +1 -1
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +7 -2
- package/dist/discovery.js.map +1 -1
- package/dist/identity.d.ts +2 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +34 -0
- package/dist/identity.js.map +1 -1
- package/dist/mail/domain-age.d.ts +1 -1
- package/dist/mail/domain-age.d.ts.map +1 -1
- package/dist/mail/domain-age.js +9 -3
- package/dist/mail/domain-age.js.map +1 -1
- package/dist/mail/rules/file.d.ts.map +1 -1
- package/dist/mail/rules/file.js +4 -1
- package/dist/mail/rules/file.js.map +1 -1
- package/dist/mail/rules/query.d.ts +2 -1
- package/dist/mail/rules/query.d.ts.map +1 -1
- package/dist/mail/rules/query.js +16 -3
- package/dist/mail/rules/query.js.map +1 -1
- package/dist/oauth.d.ts +3 -1
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +48 -34
- package/dist/oauth.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +5 -0
- package/dist/reasons.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +2 -21
- package/dist/store.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +10 -9
- package/dist/bundle/chunk-K6HR6HCO.js +0 -32
- package/dist/bundle/command-contract-XSW2Q33S.js +0 -36
- package/dist/bundle/first-screen-Z7HC6PQU.js +0 -34
- package/dist/bundle/server-34GEF22R.js +0 -68
- package/dist/bundle/store-maintenance-command-XH2JUM5F.js +0 -58
- /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-XWBPP2HX.js} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5WROIMUV.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
providerErrorKey,
|
|
24
24
|
renderEvent,
|
|
25
25
|
runContextOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-76VSHS5Y.js";
|
|
27
27
|
import {
|
|
28
28
|
carries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-V4PFD25P.js";
|
|
30
30
|
import {
|
|
31
31
|
permissionCeiling
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-M7ECSGSN.js";
|
|
33
33
|
import {
|
|
34
34
|
note
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-M7RHPCXM.js";
|
|
36
36
|
import {
|
|
37
37
|
CATEGORIES,
|
|
38
38
|
FACT_STATUSES,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
typedCommand,
|
|
78
78
|
untrusted,
|
|
79
79
|
useAsProcessRun
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-76EKZSDK.js";
|
|
81
81
|
import {
|
|
82
82
|
BUSINESS_KINDS,
|
|
83
83
|
CRM_ACTIVITY_KINDS,
|
|
@@ -112,26 +112,26 @@ import {
|
|
|
112
112
|
meetingStats,
|
|
113
113
|
meetingSummary,
|
|
114
114
|
meetingTranscript
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-2E2EV4HD.js";
|
|
116
116
|
import {
|
|
117
117
|
isCliFailure,
|
|
118
118
|
storeDamaged
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-VJPLIXV4.js";
|
|
120
120
|
import {
|
|
121
121
|
endpoint
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-3RY4HC4V.js";
|
|
123
123
|
import {
|
|
124
124
|
readSharedSection,
|
|
125
125
|
sharedConfigPath,
|
|
126
126
|
writeSharedSection
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-XUJEZ5YF.js";
|
|
128
128
|
import {
|
|
129
129
|
filesPresent,
|
|
130
130
|
sharedModelsDirectory
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-XZ7CQ6NA.js";
|
|
132
132
|
import {
|
|
133
133
|
storePath
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-3XTKQ5EM.js";
|
|
135
135
|
import {
|
|
136
136
|
configFilePath,
|
|
137
137
|
createRecordLog,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
resolvePaths,
|
|
141
141
|
saveConfigFile,
|
|
142
142
|
writeSecurely
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-7MEVD5PI.js";
|
|
144
144
|
import {
|
|
145
145
|
COMPACT_FLAG,
|
|
146
146
|
MAX_NEXT_STEPS,
|
|
@@ -194,17 +194,17 @@ import {
|
|
|
194
194
|
url,
|
|
195
195
|
variant,
|
|
196
196
|
writes
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-ECZSYLSL.js";
|
|
198
198
|
import {
|
|
199
199
|
CliError,
|
|
200
200
|
isCliError,
|
|
201
201
|
visibleControls
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-7KCBPAQS.js";
|
|
203
203
|
import {
|
|
204
204
|
__name
|
|
205
205
|
} from "./chunk-ZVVMGPBJ.js";
|
|
206
206
|
|
|
207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
208
208
|
import { readFileSync } from "node:fs";
|
|
209
209
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
210
210
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -258,7 +258,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
258
258
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
259
259
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
262
262
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
263
263
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
264
264
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3759,7 +3759,7 @@ __name(useColor, "useColor");
|
|
|
3759
3759
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3760
3760
|
var program = new Command();
|
|
3761
3761
|
|
|
3762
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3762
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
3763
3763
|
var argumentInfoSchema = object({
|
|
3764
3764
|
name: string(),
|
|
3765
3765
|
required: boolean(),
|
|
@@ -3797,7 +3797,7 @@ var commandInfoSchema = object({
|
|
|
3797
3797
|
summary: optional(string()),
|
|
3798
3798
|
description: string(),
|
|
3799
3799
|
usage: string(),
|
|
3800
|
-
origin: picklist(["handwritten", "generated"]),
|
|
3800
|
+
origin: picklist(["handwritten", "generated", "cli-core"]),
|
|
3801
3801
|
api_operation: optional(string()),
|
|
3802
3802
|
effects: optional(effectsSchema),
|
|
3803
3803
|
state: optional(picklist(["beta", "deprecated"])),
|
|
@@ -3833,9 +3833,10 @@ var commandsDocumentSchema = strictObject({
|
|
|
3833
3833
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3834
3834
|
});
|
|
3835
3835
|
|
|
3836
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3836
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
3837
3837
|
import { isDeepStrictEqual } from "node:util";
|
|
3838
3838
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3839
|
+
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
3839
3840
|
var hidden = /* @__PURE__ */ __name((command) => Boolean(command._hidden), "hidden");
|
|
3840
3841
|
var snapshot = /* @__PURE__ */ __name((command, known = /* @__PURE__ */ new Map(), children) => {
|
|
3841
3842
|
if (hidden(command))
|
|
@@ -3942,7 +3943,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3942
3943
|
return result;
|
|
3943
3944
|
}, "sharedCommand");
|
|
3944
3945
|
|
|
3945
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3946
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
3946
3947
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3947
3948
|
let command = root;
|
|
3948
3949
|
const path2 = [];
|
|
@@ -3960,7 +3961,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3960
3961
|
}
|
|
3961
3962
|
}, "refuseJoinedPath");
|
|
3962
3963
|
|
|
3963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
3964
3965
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3965
3966
|
var requests = new AsyncLocalStorage();
|
|
3966
3967
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3975,7 +3976,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3975
3976
|
return direct;
|
|
3976
3977
|
}, "exitCodeSet");
|
|
3977
3978
|
|
|
3978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3979
3980
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3980
3981
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3981
3982
|
messageId: message2.id,
|
|
@@ -4081,7 +4082,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4081
4082
|
}, "guardedWrite");
|
|
4082
4083
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4083
4084
|
|
|
4084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4085
4086
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4086
4087
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4087
4088
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4264,7 +4265,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4264
4265
|
}
|
|
4265
4266
|
}, "withAbort");
|
|
4266
4267
|
|
|
4267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4268
4269
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4269
4270
|
import { join } from "node:path";
|
|
4270
4271
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4286,7 +4287,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4286
4287
|
}, "profilesWithAccounts");
|
|
4287
4288
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4288
4289
|
|
|
4289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4290
4291
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4291
4292
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4292
4293
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4329,7 +4330,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4329
4330
|
};
|
|
4330
4331
|
}, "runBudget");
|
|
4331
4332
|
|
|
4332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4333
4334
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4334
4335
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4335
4336
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4367,7 +4368,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4367
4368
|
progress: "sync.progress"
|
|
4368
4369
|
};
|
|
4369
4370
|
|
|
4370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4371
4372
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4372
4373
|
const recording = startRecording(options);
|
|
4373
4374
|
try {
|
|
@@ -4582,7 +4583,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4582
4583
|
return void 0;
|
|
4583
4584
|
}, "partialOutcome");
|
|
4584
4585
|
|
|
4585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4586
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4586
4587
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4587
4588
|
if (ms2 === void 0)
|
|
4588
4589
|
return body();
|
|
@@ -4608,7 +4609,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4608
4609
|
}
|
|
4609
4610
|
}, "withDeadline");
|
|
4610
4611
|
|
|
4611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4612
4613
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4613
4614
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4614
4615
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4677,10 +4678,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4677
4678
|
return void 0;
|
|
4678
4679
|
}, "sampleCommand");
|
|
4679
4680
|
|
|
4680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4681
4682
|
import { existsSync as existsSync5 } from "node:fs";
|
|
4682
4683
|
|
|
4683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4684
4685
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4685
4686
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4686
4687
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4749,7 +4750,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4749
4750
|
};
|
|
4750
4751
|
}, "modelTarget");
|
|
4751
4752
|
|
|
4752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4753
4754
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4754
4755
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4755
4756
|
var AI_FIELDS = {
|
|
@@ -4793,7 +4794,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4793
4794
|
};
|
|
4794
4795
|
}, "resolveAISettings");
|
|
4795
4796
|
|
|
4796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
4797
4798
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4798
4799
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4799
4800
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4807,7 +4808,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4807
4808
|
return ms2;
|
|
4808
4809
|
}, "parseDuration");
|
|
4809
4810
|
|
|
4810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
4811
4812
|
import { existsSync as existsSync2 } from "node:fs";
|
|
4812
4813
|
import { join as join2 } from "node:path";
|
|
4813
4814
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -5084,7 +5085,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5084
5085
|
}, "vectorModelKey");
|
|
5085
5086
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5086
5087
|
|
|
5087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5088
5089
|
var HISTORY_MAX_DAYS = 1095;
|
|
5089
5090
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5090
5091
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5131,7 +5132,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5131
5132
|
return { batch: { ...batch, messages }, skipped };
|
|
5132
5133
|
}, "limitBatch");
|
|
5133
5134
|
|
|
5134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5135
5136
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5136
5137
|
import { join as join3 } from "node:path";
|
|
5137
5138
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5220,10 +5221,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5220
5221
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5221
5222
|
}, "registryProfiles");
|
|
5222
5223
|
|
|
5223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5224
5225
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5225
5226
|
|
|
5226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5227
5228
|
var REPAIR_WORDS = {
|
|
5228
5229
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5229
5230
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5464,7 +5465,7 @@ ${parts.join(",\n")}
|
|
|
5464
5465
|
${indent}${close}`;
|
|
5465
5466
|
}, "serialise");
|
|
5466
5467
|
|
|
5467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5468
5469
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5469
5470
|
var SECTIONS = ["personal", "bot"];
|
|
5470
5471
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -5758,7 +5759,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5758
5759
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5759
5760
|
}, "readConfigFile");
|
|
5760
5761
|
|
|
5761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5762
5763
|
import { existsSync as existsSync4, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5763
5764
|
import { dirname, join as join4 } from "node:path";
|
|
5764
5765
|
var DEFAULT_CONFIG = {
|
|
@@ -5787,7 +5788,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5787
5788
|
}
|
|
5788
5789
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5789
5790
|
|
|
5790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5791
5792
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5792
5793
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5793
5794
|
const path2 = key.split(".");
|
|
@@ -5809,7 +5810,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5809
5810
|
return { config, added };
|
|
5810
5811
|
}, "withSettingDefaults");
|
|
5811
5812
|
|
|
5812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5813
5814
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5814
5815
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5815
5816
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5979,11 +5980,12 @@ var fromFile = /* @__PURE__ */ __name((settings, key, fallback) => first([
|
|
|
5979
5980
|
], fallback), "fromFile");
|
|
5980
5981
|
var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
5981
5982
|
const declared = extension.permissions;
|
|
5982
|
-
const
|
|
5983
|
+
const botEntries = {
|
|
5983
5984
|
...SHARED_PROFILE_ENTRIES,
|
|
5984
5985
|
...declared ? { permissions: optional(commandPathLevels) } : {},
|
|
5985
5986
|
...extension.profile
|
|
5986
5987
|
};
|
|
5988
|
+
const profileEntries = { ...botEntries, ...extension.personal };
|
|
5987
5989
|
const defaultsOnly = { ...SHARED_DEFAULTS_ONLY, ...extension.defaults };
|
|
5988
5990
|
const defaultsEntries = { ...profileEntries, ...defaultsOnly };
|
|
5989
5991
|
const strictOf = /* @__PURE__ */ __name((entries) => strictObject(entries, objectMessage), "strictOf");
|
|
@@ -5995,7 +5997,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
5995
5997
|
defaults: optional(strictOf(defaultsEntries)),
|
|
5996
5998
|
profiles: optional(record(string(), strictOf(profileEntries), "has to be an object of profiles, by name"), {}),
|
|
5997
5999
|
personal: optional(kindSection(profileEntries)),
|
|
5998
|
-
bot: optional(kindSection({ ...
|
|
6000
|
+
bot: optional(kindSection({ ...botEntries, ...BOT_ONLY_ENTRIES }))
|
|
5999
6001
|
};
|
|
6000
6002
|
const schema2 = strictOf(configEntries);
|
|
6001
6003
|
const defaultsOnlyKeys = Object.keys(defaultsOnly);
|
|
@@ -6334,7 +6336,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6334
6336
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6335
6337
|
}, "given");
|
|
6336
6338
|
|
|
6337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6338
6340
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6339
6341
|
const { deadline, signal, app } = environmentOf(command);
|
|
6340
6342
|
const now = deadline?.();
|
|
@@ -6474,7 +6476,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6474
6476
|
return words2.join(" ");
|
|
6475
6477
|
}, "commandPath");
|
|
6476
6478
|
|
|
6477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6478
6480
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6479
6481
|
var FETCH = { remote: "read", local: "write" };
|
|
6480
6482
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6607,7 +6609,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6607
6609
|
throw readOnlyRefusal(lock, what);
|
|
6608
6610
|
}, "refuseUnderReadOnly");
|
|
6609
6611
|
|
|
6610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6611
6613
|
var account = strictObject({
|
|
6612
6614
|
provider: text,
|
|
6613
6615
|
id,
|
|
@@ -6617,7 +6619,7 @@ var account = strictObject({
|
|
|
6617
6619
|
scope: optional(picklist(["personal", "work"]))
|
|
6618
6620
|
});
|
|
6619
6621
|
|
|
6620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6621
6623
|
var accountSession = strictObject({
|
|
6622
6624
|
current: boolean(),
|
|
6623
6625
|
client: nullable(text),
|
|
@@ -6627,7 +6629,7 @@ var accountSession = strictObject({
|
|
|
6627
6629
|
created_at: optional(nullable(time))
|
|
6628
6630
|
});
|
|
6629
6631
|
|
|
6630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6631
6633
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6632
6634
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6633
6635
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6656,7 +6658,7 @@ var accountRemoval = strictObject({
|
|
|
6656
6658
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6657
6659
|
});
|
|
6658
6660
|
|
|
6659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6660
6662
|
var accountProfile = strictObject({
|
|
6661
6663
|
profile: id,
|
|
6662
6664
|
current: boolean(),
|
|
@@ -6668,7 +6670,7 @@ var accountProfile = strictObject({
|
|
|
6668
6670
|
bot: optional(literal(true))
|
|
6669
6671
|
});
|
|
6670
6672
|
|
|
6671
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6672
6674
|
var milliseconds = pipe(number(), minValue(0));
|
|
6673
6675
|
var counterReading = strictObject({
|
|
6674
6676
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6680,7 +6682,7 @@ var counterReading = strictObject({
|
|
|
6680
6682
|
});
|
|
6681
6683
|
var selection = record(string(), unknown());
|
|
6682
6684
|
|
|
6683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6684
6686
|
var adminRow = strictObject({
|
|
6685
6687
|
ref: reference,
|
|
6686
6688
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6733,7 +6735,7 @@ var adminReport = strictObject({
|
|
|
6733
6735
|
rows: array(adminRow)
|
|
6734
6736
|
});
|
|
6735
6737
|
|
|
6736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6738
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6737
6739
|
var closeSuggestion = strictObject({
|
|
6738
6740
|
as: picklist(["done", "dismissed"]),
|
|
6739
6741
|
/** The agent's name. */
|
|
@@ -6795,7 +6797,7 @@ var task = strictObject({
|
|
|
6795
6797
|
updated_at: optional(time)
|
|
6796
6798
|
});
|
|
6797
6799
|
|
|
6798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6799
6801
|
var agendaChat = strictObject({
|
|
6800
6802
|
chat: reference,
|
|
6801
6803
|
title: nullable(text),
|
|
@@ -6865,11 +6867,11 @@ var agenda = strictObject({
|
|
|
6865
6867
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6866
6868
|
});
|
|
6867
6869
|
|
|
6868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6870
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6869
6871
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6870
6872
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6871
6873
|
|
|
6872
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6873
6875
|
var attachment = strictObject({
|
|
6874
6876
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6875
6877
|
message: optional(reference),
|
|
@@ -6914,7 +6916,7 @@ var hitFile = strictObject({
|
|
|
6914
6916
|
local_path: optional(text)
|
|
6915
6917
|
});
|
|
6916
6918
|
|
|
6917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6918
6920
|
var actionableError = objectWithRest({
|
|
6919
6921
|
code: text,
|
|
6920
6922
|
message: text,
|
|
@@ -6931,7 +6933,7 @@ var batchResult = strictObject({
|
|
|
6931
6933
|
max_error_percent: count
|
|
6932
6934
|
});
|
|
6933
6935
|
|
|
6934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6935
6937
|
var extractionItem = strictObject({
|
|
6936
6938
|
ref: reference,
|
|
6937
6939
|
attachment: count,
|
|
@@ -6964,7 +6966,7 @@ var extractionReport = strictObject({
|
|
|
6964
6966
|
cursor: optional(text)
|
|
6965
6967
|
});
|
|
6966
6968
|
|
|
6967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6968
6970
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6969
6971
|
var attachmentBytes = strictObject({
|
|
6970
6972
|
ref: reference,
|
|
@@ -6995,7 +6997,7 @@ var attachmentTextChange = strictObject({
|
|
|
6995
6997
|
text: optional(text)
|
|
6996
6998
|
});
|
|
6997
6999
|
|
|
6998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6999
7001
|
var WEIGHTS = {
|
|
7000
7002
|
bot: 3,
|
|
7001
7003
|
scam: 3,
|
|
@@ -7020,7 +7022,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7020
7022
|
var DIGITS = /\d{5,}/;
|
|
7021
7023
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7022
7024
|
|
|
7023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7024
7026
|
var linkedIdentity = strictObject({
|
|
7025
7027
|
provider: text,
|
|
7026
7028
|
id,
|
|
@@ -7075,7 +7077,7 @@ var contactCheck = strictObject({
|
|
|
7075
7077
|
checked_at: time
|
|
7076
7078
|
});
|
|
7077
7079
|
|
|
7078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7080
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7079
7081
|
var member = strictObject({
|
|
7080
7082
|
id,
|
|
7081
7083
|
name: nullable(text),
|
|
@@ -7098,7 +7100,7 @@ var member = strictObject({
|
|
|
7098
7100
|
check: optional(record(string(), unknown()))
|
|
7099
7101
|
});
|
|
7100
7102
|
|
|
7101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7102
7104
|
var setting = optional(nullable(boolean()));
|
|
7103
7105
|
var chat = strictObject({
|
|
7104
7106
|
ref: reference,
|
|
@@ -7139,7 +7141,7 @@ var chat = strictObject({
|
|
|
7139
7141
|
members: optional(array(member))
|
|
7140
7142
|
});
|
|
7141
7143
|
|
|
7142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7143
7145
|
var quoted = strictObject({
|
|
7144
7146
|
id,
|
|
7145
7147
|
sender_id: nullable(id),
|
|
@@ -7258,7 +7260,20 @@ var message = strictObject({
|
|
|
7258
7260
|
provider_metadata: providerMetadata
|
|
7259
7261
|
});
|
|
7260
7262
|
|
|
7261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7264
|
+
var recordedMeeting = strictObject({
|
|
7265
|
+
ref: reference,
|
|
7266
|
+
meeting_id: count,
|
|
7267
|
+
account: strictObject({ provider: text, account: text }),
|
|
7268
|
+
title: nullable(text),
|
|
7269
|
+
started_at: nullable(time),
|
|
7270
|
+
duration_ms: nullable(count),
|
|
7271
|
+
has_transcript: boolean(),
|
|
7272
|
+
event: nullable(reference),
|
|
7273
|
+
people: array(reference)
|
|
7274
|
+
});
|
|
7275
|
+
|
|
7276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7262
7277
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7263
7278
|
var contextMessage = strictObject({
|
|
7264
7279
|
locator: reference,
|
|
@@ -7304,6 +7319,8 @@ var context = strictObject({
|
|
|
7304
7319
|
mentions: array(contextMessage),
|
|
7305
7320
|
/** Calendar events they are invited to, one occurrence per series. */
|
|
7306
7321
|
events: optional(strictObject({ upcoming: array(contextEvent), recent: array(contextEvent) })),
|
|
7322
|
+
/** Recorded meetings and calls they took part in, newest first. */
|
|
7323
|
+
meetings: optional(array(recordedMeeting)),
|
|
7307
7324
|
limits: strictObject({ messages: count, bytes: count }),
|
|
7308
7325
|
complete: boolean(),
|
|
7309
7326
|
not_read: array(strictObject({
|
|
@@ -7462,7 +7479,7 @@ var contactPreparation = strictObject({
|
|
|
7462
7479
|
})
|
|
7463
7480
|
});
|
|
7464
7481
|
|
|
7465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7466
7483
|
var nullableText = nullable(text);
|
|
7467
7484
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7468
7485
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7533,6 +7550,8 @@ var deal = strictObject({
|
|
|
7533
7550
|
updated_at: time,
|
|
7534
7551
|
/** `show` of a CRM copy whose `activities` setting is on: its activities and tasks, open ones first. */
|
|
7535
7552
|
activities: optional(array(activity)),
|
|
7553
|
+
/** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
|
|
7554
|
+
meetings: optional(array(recordedMeeting)),
|
|
7536
7555
|
untrusted
|
|
7537
7556
|
});
|
|
7538
7557
|
var lead = deal;
|
|
@@ -7571,7 +7590,7 @@ var stage = strictObject({
|
|
|
7571
7590
|
untrusted
|
|
7572
7591
|
});
|
|
7573
7592
|
|
|
7574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7593
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7575
7594
|
var nullableText2 = nullable(text);
|
|
7576
7595
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7577
7596
|
var standing = picklist(STANDINGS);
|
|
@@ -7745,7 +7764,7 @@ var dealBrief = strictObject({
|
|
|
7745
7764
|
not_read: coverage2.entries.not_read
|
|
7746
7765
|
});
|
|
7747
7766
|
|
|
7748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7749
7768
|
var chart = strictObject({
|
|
7750
7769
|
version: literal(1),
|
|
7751
7770
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7760,7 +7779,7 @@ var chart = strictObject({
|
|
|
7760
7779
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7761
7780
|
});
|
|
7762
7781
|
|
|
7763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7764
7783
|
var named = strictObject({
|
|
7765
7784
|
id,
|
|
7766
7785
|
title: nullable(text),
|
|
@@ -7783,7 +7802,7 @@ var folder = strictObject({
|
|
|
7783
7802
|
excluded_chats: optional(array(named))
|
|
7784
7803
|
});
|
|
7785
7804
|
|
|
7786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7787
7806
|
var inviteLink = strictObject({
|
|
7788
7807
|
link: text,
|
|
7789
7808
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7799,7 +7818,7 @@ var inviteLink = strictObject({
|
|
|
7799
7818
|
joined_count: optional(count)
|
|
7800
7819
|
});
|
|
7801
7820
|
|
|
7802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7803
7822
|
var operated = { operation_id: id, chat_id: id };
|
|
7804
7823
|
var group = strictObject({
|
|
7805
7824
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7879,7 +7898,7 @@ var chatFolderOrder = strictObject({
|
|
|
7879
7898
|
folders: array(strictObject({ id, title: text }))
|
|
7880
7899
|
});
|
|
7881
7900
|
|
|
7882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7883
7902
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7884
7903
|
var chatRemoval = strictObject(operated2);
|
|
7885
7904
|
var chatMuting = strictObject({
|
|
@@ -7890,7 +7909,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7890
7909
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7891
7910
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7892
7911
|
|
|
7893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7894
7913
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7895
7914
|
var chatEvent = strictObject({
|
|
7896
7915
|
chat_id: id,
|
|
@@ -7907,7 +7926,7 @@ var chatEvent = strictObject({
|
|
|
7907
7926
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7908
7927
|
});
|
|
7909
7928
|
|
|
7910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7911
7930
|
var chatMetadata = strictObject({
|
|
7912
7931
|
chat_id: id,
|
|
7913
7932
|
title: nullable(text),
|
|
@@ -7922,7 +7941,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7922
7941
|
has_more: boolean()
|
|
7923
7942
|
});
|
|
7924
7943
|
|
|
7925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7926
7945
|
var action = picklist(["report", "delete", "remove"]);
|
|
7927
7946
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7928
7947
|
var chatRules = strictObject({
|
|
@@ -7959,7 +7978,7 @@ var chatModeration = strictObject({
|
|
|
7959
7978
|
}))
|
|
7960
7979
|
});
|
|
7961
7980
|
|
|
7962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7981
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7963
7982
|
var optionalCount = optional(count);
|
|
7964
7983
|
var minutes = nullable(number());
|
|
7965
7984
|
var chatStats = strictObject({
|
|
@@ -8035,7 +8054,7 @@ var taskStats = strictObject({
|
|
|
8035
8054
|
}))
|
|
8036
8055
|
});
|
|
8037
8056
|
|
|
8038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8057
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8039
8058
|
var memberCount = strictObject({
|
|
8040
8059
|
day: pipe(text, isoDate()),
|
|
8041
8060
|
participants: nullable(count),
|
|
@@ -8058,7 +8077,7 @@ var chatTracking = strictObject({
|
|
|
8058
8077
|
tracked: boolean()
|
|
8059
8078
|
});
|
|
8060
8079
|
|
|
8061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8080
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8062
8081
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8063
8082
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8064
8083
|
var profileFields = {
|
|
@@ -8096,7 +8115,7 @@ var profileFields = {
|
|
|
8096
8115
|
}))
|
|
8097
8116
|
};
|
|
8098
8117
|
|
|
8099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8100
8119
|
var contact = strictObject({
|
|
8101
8120
|
ref: reference,
|
|
8102
8121
|
id,
|
|
@@ -8127,7 +8146,7 @@ var contact = strictObject({
|
|
|
8127
8146
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8128
8147
|
});
|
|
8129
8148
|
|
|
8130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8131
8150
|
var contactNote = strictObject({
|
|
8132
8151
|
id,
|
|
8133
8152
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8139,13 +8158,13 @@ var contactNote = strictObject({
|
|
|
8139
8158
|
updated_at: time
|
|
8140
8159
|
});
|
|
8141
8160
|
|
|
8142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8143
8162
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8144
8163
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8145
8164
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8146
8165
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8147
8166
|
|
|
8148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8149
8168
|
var conversation = strictObject({
|
|
8150
8169
|
id,
|
|
8151
8170
|
chat: reference,
|
|
@@ -8160,7 +8179,7 @@ var conversation = strictObject({
|
|
|
8160
8179
|
rules_version: count
|
|
8161
8180
|
});
|
|
8162
8181
|
|
|
8163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8164
8183
|
var conversationBuild = strictObject({
|
|
8165
8184
|
chat: id,
|
|
8166
8185
|
messages: count,
|
|
@@ -8185,7 +8204,7 @@ var catchUpPreparation = strictObject({
|
|
|
8185
8204
|
prepared: optional(conversationPreparation)
|
|
8186
8205
|
});
|
|
8187
8206
|
|
|
8188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8189
8208
|
var conversationDetails = union([
|
|
8190
8209
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8191
8210
|
message
|
|
@@ -8275,7 +8294,7 @@ var conversationHit = strictObject({
|
|
|
8275
8294
|
stale: boolean()
|
|
8276
8295
|
});
|
|
8277
8296
|
|
|
8278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8279
8298
|
var counters = strictObject({
|
|
8280
8299
|
cutoff: time,
|
|
8281
8300
|
max_age_ms: milliseconds,
|
|
@@ -8305,7 +8324,7 @@ var counterRefresh = strictObject({
|
|
|
8305
8324
|
complete: optional(boolean())
|
|
8306
8325
|
});
|
|
8307
8326
|
|
|
8308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8309
8328
|
var document = strictObject({
|
|
8310
8329
|
ref: reference,
|
|
8311
8330
|
id,
|
|
@@ -8320,7 +8339,7 @@ var document = strictObject({
|
|
|
8320
8339
|
owners: optional(array(text))
|
|
8321
8340
|
});
|
|
8322
8341
|
|
|
8323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8324
8343
|
var documentLink = strictObject({
|
|
8325
8344
|
ref: reference,
|
|
8326
8345
|
url: text,
|
|
@@ -8331,7 +8350,7 @@ var documentLink = strictObject({
|
|
|
8331
8350
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8332
8351
|
});
|
|
8333
8352
|
|
|
8334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8335
8354
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8336
8355
|
var contribution = strictObject({
|
|
8337
8356
|
message: evidenceMessage,
|
|
@@ -8361,7 +8380,7 @@ var retentionStay = strictObject({
|
|
|
8361
8380
|
});
|
|
8362
8381
|
var evidence = union([contribution, retentionStay]);
|
|
8363
8382
|
|
|
8364
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8365
8384
|
var fact = strictObject({
|
|
8366
8385
|
ref: reference,
|
|
8367
8386
|
id,
|
|
@@ -8392,7 +8411,7 @@ var fact = strictObject({
|
|
|
8392
8411
|
updated_at: time
|
|
8393
8412
|
});
|
|
8394
8413
|
|
|
8395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8396
8415
|
var hit = strictObject({
|
|
8397
8416
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8398
8417
|
ref: reference,
|
|
@@ -8438,7 +8457,7 @@ var hit = strictObject({
|
|
|
8438
8457
|
untrusted
|
|
8439
8458
|
});
|
|
8440
8459
|
|
|
8441
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8442
8461
|
var identity = strictObject({
|
|
8443
8462
|
ref: reference,
|
|
8444
8463
|
provider: text,
|
|
@@ -8454,7 +8473,7 @@ var identity = strictObject({
|
|
|
8454
8473
|
person: optional(nullable(reference))
|
|
8455
8474
|
});
|
|
8456
8475
|
|
|
8457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8458
8477
|
var imageEmbedding = strictObject({
|
|
8459
8478
|
model: text,
|
|
8460
8479
|
embedded: count,
|
|
@@ -8463,13 +8482,13 @@ var imageEmbedding = strictObject({
|
|
|
8463
8482
|
more: boolean()
|
|
8464
8483
|
});
|
|
8465
8484
|
|
|
8466
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8467
8486
|
import { spawn } from "node:child_process";
|
|
8468
8487
|
import { randomBytes } from "node:crypto";
|
|
8469
8488
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8470
8489
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8471
8490
|
|
|
8472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8473
8492
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8474
8493
|
const total = input.total ?? null;
|
|
8475
8494
|
const updated = input.updatedAt ?? null;
|
|
@@ -8485,7 +8504,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8485
8504
|
};
|
|
8486
8505
|
}, "progressOf");
|
|
8487
8506
|
|
|
8488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8489
8508
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8490
8509
|
const run = currentRun();
|
|
8491
8510
|
const trace = traceId ?? run.traceId;
|
|
@@ -8499,7 +8518,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8499
8518
|
}));
|
|
8500
8519
|
}, "recordLogFor");
|
|
8501
8520
|
|
|
8502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8503
8522
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8504
8523
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8505
8524
|
const out = openSync(log, "a", 384);
|
|
@@ -8654,7 +8673,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8654
8673
|
return { job: id6, pid, chat: input.chat, log };
|
|
8655
8674
|
}, "startArchiveJob");
|
|
8656
8675
|
|
|
8657
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8658
8677
|
var problem = strictObject({ code: text, message: text });
|
|
8659
8678
|
var job = strictObject({
|
|
8660
8679
|
id,
|
|
@@ -8677,7 +8696,7 @@ var job = strictObject({
|
|
|
8677
8696
|
error: optional(problem)
|
|
8678
8697
|
});
|
|
8679
8698
|
|
|
8680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8681
8700
|
var joinRequest = strictObject({
|
|
8682
8701
|
person_id: id,
|
|
8683
8702
|
name: nullable(text),
|
|
@@ -8688,7 +8707,7 @@ var joinRequest = strictObject({
|
|
|
8688
8707
|
about: optional(text)
|
|
8689
8708
|
});
|
|
8690
8709
|
|
|
8691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8692
8711
|
var botProfile = strictObject({
|
|
8693
8712
|
name: text,
|
|
8694
8713
|
token: text,
|
|
@@ -8812,7 +8831,7 @@ var stickerInventory = strictObject({
|
|
|
8812
8831
|
url: optional(nullable(text))
|
|
8813
8832
|
});
|
|
8814
8833
|
|
|
8815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8816
8835
|
var pollVote = strictObject({
|
|
8817
8836
|
person_id: id,
|
|
8818
8837
|
name: nullable(text),
|
|
@@ -8822,7 +8841,7 @@ var pollVote = strictObject({
|
|
|
8822
8841
|
voted_at: time
|
|
8823
8842
|
});
|
|
8824
8843
|
|
|
8825
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8826
8845
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8827
8846
|
var observation = strictObject({
|
|
8828
8847
|
value: pipe(number(), minValue(0)),
|
|
@@ -8864,7 +8883,7 @@ var serveSummary = strictObject({
|
|
|
8864
8883
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8865
8884
|
});
|
|
8866
8885
|
|
|
8867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8868
8887
|
var mailCounts = strictObject({
|
|
8869
8888
|
by: picklist(["day", "week", "sender"]),
|
|
8870
8889
|
received: count,
|
|
@@ -8879,7 +8898,7 @@ var mailCounts = strictObject({
|
|
|
8879
8898
|
}))
|
|
8880
8899
|
});
|
|
8881
8900
|
|
|
8882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8883
8902
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8884
8903
|
var base = { id, evidence: array(evidence2) };
|
|
8885
8904
|
var finding = variant("kind", [
|
|
@@ -9023,7 +9042,7 @@ var mailFindings = strictObject({
|
|
|
9023
9042
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9024
9043
|
});
|
|
9025
9044
|
|
|
9026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9027
9046
|
var mediaArchive = strictObject({
|
|
9028
9047
|
directory: text,
|
|
9029
9048
|
chats: count,
|
|
@@ -9055,7 +9074,7 @@ var mediaArchiveTimer = union([
|
|
|
9055
9074
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9056
9075
|
]);
|
|
9057
9076
|
|
|
9058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9059
9078
|
var preparationId = pipe(string(), minLength(1));
|
|
9060
9079
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9061
9080
|
var preparationTime = nullable(isoTime);
|
|
@@ -9147,7 +9166,7 @@ var preparationMeeting = strictObject({
|
|
|
9147
9166
|
updated_at: isoTime
|
|
9148
9167
|
});
|
|
9149
9168
|
|
|
9150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9151
9170
|
var meetingEvidence = preparationEvidence;
|
|
9152
9171
|
var meetingPersonContext = strictObject({
|
|
9153
9172
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9169,7 +9188,7 @@ var meetingPersonContext = strictObject({
|
|
|
9169
9188
|
})
|
|
9170
9189
|
});
|
|
9171
9190
|
|
|
9172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9173
9192
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9174
9193
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9175
9194
|
var finding2 = variant("kind", [
|
|
@@ -9207,7 +9226,7 @@ var meetingFindings = strictObject({
|
|
|
9207
9226
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9208
9227
|
});
|
|
9209
9228
|
|
|
9210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9211
9230
|
var communicationCoverage = strictObject({
|
|
9212
9231
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9213
9232
|
query: string(),
|
|
@@ -9252,7 +9271,7 @@ var preparationCommunications = strictObject({
|
|
|
9252
9271
|
}))
|
|
9253
9272
|
});
|
|
9254
9273
|
|
|
9255
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9256
9275
|
var meetingPreparation = strictObject({
|
|
9257
9276
|
communications: optional(preparationCommunications),
|
|
9258
9277
|
schema_version: literal(1),
|
|
@@ -9365,7 +9384,7 @@ var meetingPreparation = strictObject({
|
|
|
9365
9384
|
})
|
|
9366
9385
|
});
|
|
9367
9386
|
|
|
9368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9369
9388
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9370
9389
|
var id3 = pipe(string(), minLength(1));
|
|
9371
9390
|
var text3 = string();
|
|
@@ -9429,7 +9448,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9429
9448
|
})
|
|
9430
9449
|
});
|
|
9431
9450
|
|
|
9432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9433
9452
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9434
9453
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9435
9454
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9459,7 +9478,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9459
9478
|
})
|
|
9460
9479
|
});
|
|
9461
9480
|
|
|
9462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9463
9482
|
var text4 = string();
|
|
9464
9483
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9465
9484
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9476,7 +9495,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9476
9495
|
persistence: literal("proposal-only")
|
|
9477
9496
|
});
|
|
9478
9497
|
|
|
9479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9498
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9480
9499
|
var memory = strictObject({
|
|
9481
9500
|
ref: reference,
|
|
9482
9501
|
id,
|
|
@@ -9504,7 +9523,7 @@ var memory = strictObject({
|
|
|
9504
9523
|
updated_at: time
|
|
9505
9524
|
});
|
|
9506
9525
|
|
|
9507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9508
9527
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9509
9528
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9510
9529
|
var mention = strictObject({
|
|
@@ -9548,13 +9567,13 @@ var mentionRebuild = strictObject({
|
|
|
9548
9567
|
mentions: count
|
|
9549
9568
|
});
|
|
9550
9569
|
|
|
9551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9552
9571
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9553
9572
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9554
9573
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9555
9574
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9556
9575
|
|
|
9557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9558
9577
|
var messageTranscript = strictObject({
|
|
9559
9578
|
message_id: id,
|
|
9560
9579
|
text,
|
|
@@ -9612,7 +9631,7 @@ var evidencePacket = strictObject({
|
|
|
9612
9631
|
}))
|
|
9613
9632
|
});
|
|
9614
9633
|
|
|
9615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9616
9635
|
var messageThread = strictObject({
|
|
9617
9636
|
ref: reference,
|
|
9618
9637
|
chat: id,
|
|
@@ -9629,7 +9648,7 @@ var messageThread = strictObject({
|
|
|
9629
9648
|
});
|
|
9630
9649
|
var messageContext = union([message, messageThread]);
|
|
9631
9650
|
|
|
9632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9633
9652
|
var messageCounts = strictObject({
|
|
9634
9653
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9635
9654
|
total: count,
|
|
@@ -9642,7 +9661,7 @@ var messageCounts = strictObject({
|
|
|
9642
9661
|
}))
|
|
9643
9662
|
});
|
|
9644
9663
|
|
|
9645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9646
9665
|
var messageLink = strictObject({
|
|
9647
9666
|
ref: reference,
|
|
9648
9667
|
url: nullable(text),
|
|
@@ -9659,7 +9678,7 @@ var messageLink = strictObject({
|
|
|
9659
9678
|
})))
|
|
9660
9679
|
});
|
|
9661
9680
|
|
|
9662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9663
9682
|
var savedMessageFile = strictObject({
|
|
9664
9683
|
kind: text,
|
|
9665
9684
|
path: text,
|
|
@@ -9746,7 +9765,7 @@ var messageSyncAll = strictObject({
|
|
|
9746
9765
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9747
9766
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9748
9767
|
|
|
9749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9750
9769
|
var messageWrite = strictObject({
|
|
9751
9770
|
operation_id: id,
|
|
9752
9771
|
message,
|
|
@@ -9761,7 +9780,7 @@ var draftWrite = strictObject({
|
|
|
9761
9780
|
});
|
|
9762
9781
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9763
9782
|
|
|
9764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9765
9784
|
var model2 = strictObject({
|
|
9766
9785
|
id,
|
|
9767
9786
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9796,7 +9815,7 @@ var chosenModel = strictObject({
|
|
|
9796
9815
|
estimate_seconds: nullable(count)
|
|
9797
9816
|
});
|
|
9798
9817
|
|
|
9799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9800
9819
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9801
9820
|
var modelKey = strictObject({
|
|
9802
9821
|
provider: text,
|
|
@@ -9806,7 +9825,7 @@ var modelKey = strictObject({
|
|
|
9806
9825
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9807
9826
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9808
9827
|
|
|
9809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9810
9829
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9811
9830
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9812
9831
|
var graph = strictObject({
|
|
@@ -9840,14 +9859,14 @@ var officialStats = strictObject({
|
|
|
9840
9859
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9841
9860
|
});
|
|
9842
9861
|
|
|
9843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9844
9863
|
var person2 = strictObject({
|
|
9845
9864
|
ref: reference,
|
|
9846
9865
|
name: nullable(text),
|
|
9847
9866
|
identities: optional(array(identity))
|
|
9848
9867
|
});
|
|
9849
9868
|
|
|
9850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9869
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9851
9870
|
var poll = strictObject({
|
|
9852
9871
|
chat_id: id,
|
|
9853
9872
|
message_id: id,
|
|
@@ -9863,11 +9882,11 @@ var poll = strictObject({
|
|
|
9863
9882
|
});
|
|
9864
9883
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9865
9884
|
|
|
9866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9885
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9867
9886
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9868
9887
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9869
9888
|
|
|
9870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9889
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9871
9890
|
var figures = record(string(), number());
|
|
9872
9891
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9873
9892
|
var rankingRow = strictObject({
|
|
@@ -9914,7 +9933,7 @@ var ranking = strictObject({
|
|
|
9914
9933
|
rows: array(rankingRow)
|
|
9915
9934
|
});
|
|
9916
9935
|
|
|
9917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9918
9937
|
var reaction = strictObject({
|
|
9919
9938
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9920
9939
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9922,7 +9941,7 @@ var reaction = strictObject({
|
|
|
9922
9941
|
reacted_at: time
|
|
9923
9942
|
});
|
|
9924
9943
|
|
|
9925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9926
9945
|
var reactionChange = strictObject({
|
|
9927
9946
|
operation_id: id,
|
|
9928
9947
|
chat_id: id,
|
|
@@ -9930,7 +9949,7 @@ var reactionChange = strictObject({
|
|
|
9930
9949
|
reaction: nullable(text)
|
|
9931
9950
|
});
|
|
9932
9951
|
|
|
9933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9934
9953
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9935
9954
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9936
9955
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9941,7 +9960,7 @@ var recipientChange = strictObject({
|
|
|
9941
9960
|
...partial(recipientOff).entries
|
|
9942
9961
|
});
|
|
9943
9962
|
|
|
9944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9963
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9945
9964
|
var events = array(record(string(), unknown()));
|
|
9946
9965
|
var recordedRun = strictObject({
|
|
9947
9966
|
run_id: id,
|
|
@@ -10013,7 +10032,7 @@ var runHit = strictObject({
|
|
|
10013
10032
|
});
|
|
10014
10033
|
var runLocation = strictObject({ path: text });
|
|
10015
10034
|
|
|
10016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10017
10036
|
var relationship = strictObject({
|
|
10018
10037
|
id,
|
|
10019
10038
|
from: reference,
|
|
@@ -10040,7 +10059,7 @@ var relationship = strictObject({
|
|
|
10040
10059
|
created_at: time
|
|
10041
10060
|
});
|
|
10042
10061
|
|
|
10043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10044
10063
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10045
10064
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10046
10065
|
var responseTimes = strictObject({
|
|
@@ -10057,7 +10076,7 @@ var waitingChats = strictObject({
|
|
|
10057
10076
|
by_kind: strictObject({ private: count, group: count })
|
|
10058
10077
|
});
|
|
10059
10078
|
|
|
10060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10061
10080
|
var retentionCohort = strictObject({
|
|
10062
10081
|
/** The first day of the joining day or week. */
|
|
10063
10082
|
cohort: text,
|
|
@@ -10105,7 +10124,7 @@ var retention = strictObject({
|
|
|
10105
10124
|
rows: array(retentionCohort)
|
|
10106
10125
|
});
|
|
10107
10126
|
|
|
10108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10109
10128
|
var savedSearch = strictObject({
|
|
10110
10129
|
id,
|
|
10111
10130
|
/** `null` for a run in the history. */
|
|
@@ -10122,7 +10141,7 @@ var savedSearch = strictObject({
|
|
|
10122
10141
|
});
|
|
10123
10142
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10124
10143
|
|
|
10125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10126
10145
|
var sendAttempt = strictObject({
|
|
10127
10146
|
at: time,
|
|
10128
10147
|
profile: text,
|
|
@@ -10150,7 +10169,7 @@ var sendAttempt = strictObject({
|
|
|
10150
10169
|
error_code: optional(text)
|
|
10151
10170
|
});
|
|
10152
10171
|
|
|
10153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10154
10173
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10155
10174
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10156
10175
|
var infoSchema = strictObject({
|
|
@@ -10380,7 +10399,7 @@ var storeRepair = union([
|
|
|
10380
10399
|
]);
|
|
10381
10400
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10382
10401
|
|
|
10383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10384
10403
|
var range = strictObject({ from: number(), to: number() });
|
|
10385
10404
|
var storeChatStatus = strictObject({
|
|
10386
10405
|
chat_id: id,
|
|
@@ -10478,7 +10497,7 @@ var storeJobRetry = union([
|
|
|
10478
10497
|
]);
|
|
10479
10498
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10480
10499
|
|
|
10481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10482
10501
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10483
10502
|
var storeTable = strictObject({
|
|
10484
10503
|
name: text,
|
|
@@ -10487,7 +10506,7 @@ var storeTable = strictObject({
|
|
|
10487
10506
|
bytes: optional(nullable(count))
|
|
10488
10507
|
});
|
|
10489
10508
|
|
|
10490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10491
10510
|
var tagTarget = variant("type", [
|
|
10492
10511
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10493
10512
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10518,7 +10537,7 @@ var automaticTags = strictObject({
|
|
|
10518
10537
|
dry_run: boolean()
|
|
10519
10538
|
});
|
|
10520
10539
|
|
|
10521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10522
10541
|
var tagging = strictObject({
|
|
10523
10542
|
tag: text,
|
|
10524
10543
|
type: picklist(TAG_TYPES),
|
|
@@ -10531,7 +10550,7 @@ var tagging = strictObject({
|
|
|
10531
10550
|
created_at: time
|
|
10532
10551
|
});
|
|
10533
10552
|
|
|
10534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10535
10554
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10536
10555
|
var taskPair = strictObject({
|
|
10537
10556
|
task: nullable(side),
|
|
@@ -10554,7 +10573,7 @@ var taskPair = strictObject({
|
|
|
10554
10573
|
created_at: time
|
|
10555
10574
|
});
|
|
10556
10575
|
|
|
10557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10558
10577
|
var nullableTime = nullable(time);
|
|
10559
10578
|
var link = strictObject({
|
|
10560
10579
|
id,
|
|
@@ -10728,7 +10747,7 @@ var taskReview = strictObject({
|
|
|
10728
10747
|
untrusted
|
|
10729
10748
|
});
|
|
10730
10749
|
|
|
10731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10732
10751
|
var template = strictObject({
|
|
10733
10752
|
key: text,
|
|
10734
10753
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10740,7 +10759,7 @@ var template = strictObject({
|
|
|
10740
10759
|
updated_by: nullable(text)
|
|
10741
10760
|
});
|
|
10742
10761
|
|
|
10743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10744
10763
|
var topic = strictObject({
|
|
10745
10764
|
id,
|
|
10746
10765
|
title: text,
|
|
@@ -10754,7 +10773,7 @@ var topic = strictObject({
|
|
|
10754
10773
|
untrusted
|
|
10755
10774
|
});
|
|
10756
10775
|
|
|
10757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10758
10777
|
var ENTITIES = {
|
|
10759
10778
|
sync_progress: progress,
|
|
10760
10779
|
deal,
|
|
@@ -11049,7 +11068,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11049
11068
|
return [name, definition];
|
|
11050
11069
|
})), "entityDefinitions");
|
|
11051
11070
|
|
|
11052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11053
11072
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11054
11073
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11055
11074
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11083,7 +11102,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11083
11102
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11084
11103
|
}, "answerRow");
|
|
11085
11104
|
|
|
11086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11087
11106
|
import { join as join6 } from "node:path";
|
|
11088
11107
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11089
11108
|
var IMAGE_MODELS = [
|
|
@@ -11137,7 +11156,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11137
11156
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11138
11157
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11139
11158
|
|
|
11140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11141
11160
|
var STEPS2 = defineSteps([
|
|
11142
11161
|
...STEPS,
|
|
11143
11162
|
{
|
|
@@ -11152,6 +11171,15 @@ var STEPS2 = defineSteps([
|
|
|
11152
11171
|
],
|
|
11153
11172
|
why: "the local copy is missing messages; syncing brings them in"
|
|
11154
11173
|
},
|
|
11174
|
+
{
|
|
11175
|
+
id: "search.server",
|
|
11176
|
+
command: "search messages",
|
|
11177
|
+
args: [
|
|
11178
|
+
{ name: "query", required: true },
|
|
11179
|
+
{ name: "backend", required: true }
|
|
11180
|
+
],
|
|
11181
|
+
why: "only the local copy was searched, and it does not hold every message; the messenger's own search reaches the rest"
|
|
11182
|
+
},
|
|
11155
11183
|
{
|
|
11156
11184
|
id: "messages.transcribe",
|
|
11157
11185
|
command: "messages transcribe",
|
|
@@ -11418,7 +11446,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11418
11446
|
].join(" ");
|
|
11419
11447
|
}, "stepLine");
|
|
11420
11448
|
|
|
11421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11422
11450
|
var where = [{ field: "ref" }];
|
|
11423
11451
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11424
11452
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11510,7 +11538,7 @@ var STATUS_ROWS = {
|
|
|
11510
11538
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11511
11539
|
};
|
|
11512
11540
|
|
|
11513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11541
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11514
11542
|
var TEXT_CHARS = 400;
|
|
11515
11543
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11516
11544
|
var messageRow = {
|
|
@@ -11858,8 +11886,9 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11858
11886
|
} else if (isFields(body.item)) {
|
|
11859
11887
|
const sections = shape.sections ?? {};
|
|
11860
11888
|
const rest = Object.fromEntries(Object.entries(body.item).filter(([name]) => !Object.hasOwn(sections, name) && !shape.hidden?.includes(name)));
|
|
11861
|
-
|
|
11862
|
-
|
|
11889
|
+
const own = shape.oneLine ? rowsOfItems([rest], shape, clock, chars) : void 0;
|
|
11890
|
+
lines = own ? own.lines.filter((line) => line !== "") : blockOf(rest, chars, "", shape.whole).map(guarded);
|
|
11891
|
+
let dates = own?.dates ?? [];
|
|
11863
11892
|
let drawn = [];
|
|
11864
11893
|
for (const [name, entity] of Object.entries(sections)) {
|
|
11865
11894
|
const list = body.item[name];
|
|
@@ -11870,13 +11899,14 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11870
11899
|
drawn = drawn.concat([`# ${[`${clean(name)}: ${list.length}`, ...header].join(" \xB7 ")}`], rows2);
|
|
11871
11900
|
}
|
|
11872
11901
|
const when = spanOf(dates, clock);
|
|
11873
|
-
|
|
11902
|
+
const head = [...own?.header ?? [], ...when];
|
|
11903
|
+
lines = own ? (head.length ? [`# ${head.join(" \xB7 ")}`] : []).concat(lines, drawn) : lines.concat(when.length ? [`# ${when.join(" \xB7 ")}`] : [], drawn);
|
|
11874
11904
|
} else if (present(body.item))
|
|
11875
11905
|
lines = [guarded(cut(clean(String(body.item)), chars))];
|
|
11876
11906
|
return lines.concat(footerOf(body)).join("\n");
|
|
11877
11907
|
}, "compactText");
|
|
11878
11908
|
|
|
11879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11880
11910
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11881
11911
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11882
11912
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11934,7 +11964,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11934
11964
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11935
11965
|
}, "largeAnswerSteps");
|
|
11936
11966
|
|
|
11937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11938
11968
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11939
11969
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11940
11970
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11948,7 +11978,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11948
11978
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11949
11979
|
}, "strip");
|
|
11950
11980
|
|
|
11951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11981
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11952
11982
|
var OPEN = "\u27E6";
|
|
11953
11983
|
var CLOSE = "\u27E7";
|
|
11954
11984
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12032,7 +12062,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12032
12062
|
return result;
|
|
12033
12063
|
}, "withFieldsMarked");
|
|
12034
12064
|
|
|
12035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12036
12066
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12037
12067
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12038
12068
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12242,6 +12272,7 @@ export {
|
|
|
12242
12272
|
Help,
|
|
12243
12273
|
Option,
|
|
12244
12274
|
Command,
|
|
12275
|
+
hasSharedContract,
|
|
12245
12276
|
assertSharedContracts,
|
|
12246
12277
|
sharedContractOverrides,
|
|
12247
12278
|
sharedContracts,
|