@wirecat/mail-cli 0.31.0 → 0.33.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 +24 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-XL62TNUO.js → all-profiles-W3CGXEEJ.js} +10 -10
- package/dist/bundle/{anthropic-3MSWVYCE.js → anthropic-UMDO5AKP.js} +5 -5
- package/dist/bundle/{app-server-RRNR5XFA.js → app-server-4SICQ5RP.js} +50 -50
- package/dist/bundle/{bun-E3F3PEQQ.js → bun-QVVCH4MJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-UOFN77LO.js → bun-sqlite-CHD4AIUK.js} +6 -6
- package/dist/bundle/{chunk-JYGFEMTR.js → chunk-2BFXHCZW.js} +2 -2
- package/dist/bundle/{chunk-NEJU74O4.js → chunk-2L6D54BR.js} +8 -8
- package/dist/bundle/{chunk-BS6WYCNZ.js → chunk-2P44S7XK.js} +27 -30
- package/dist/bundle/{chunk-TUXNILKR.js → chunk-2X344EUT.js} +8 -8
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
- package/dist/bundle/{chunk-UFMR2TB3.js → chunk-47YNANPZ.js} +2 -2
- package/dist/bundle/{chunk-7C6FGWDH.js → chunk-6IS4BEN4.js} +4 -4
- package/dist/bundle/{chunk-ITU6K7LU.js → chunk-6VCQ4CTK.js} +1 -1
- package/dist/bundle/{chunk-NYQPKZWL.js → chunk-74BYHR44.js} +590 -604
- package/dist/bundle/{chunk-T72DWT37.js → chunk-7OYZU5SP.js} +4 -4
- package/dist/bundle/{chunk-4BW5JACS.js → chunk-AEKWEYIG.js} +17 -17
- package/dist/bundle/{chunk-3CJ4C6BB.js → chunk-BF73DBAA.js} +13 -13
- package/dist/bundle/{chunk-7KCBPAQS.js → chunk-BI5P7JWM.js} +2 -2
- package/dist/bundle/{chunk-7MEVD5PI.js → chunk-BRRHYXUP.js} +19 -19
- package/dist/bundle/{chunk-GZLCZU5B.js → chunk-BZY5W35X.js} +7 -7
- package/dist/bundle/{chunk-6UOUDIXL.js → chunk-CHNNKHLL.js} +7468 -7317
- package/dist/bundle/{chunk-QVGCHTTU.js → chunk-CIG4UVP6.js} +12 -12
- package/dist/bundle/{chunk-D6D6JLXG.js → chunk-CZ6ZXDSO.js} +46 -37
- package/dist/bundle/{chunk-7E7YXQ52.js → chunk-DI74RP6R.js} +18 -18
- package/dist/bundle/{chunk-IX3GUNGV.js → chunk-EW3JFV7J.js} +4 -4
- package/dist/bundle/{chunk-GWKGZOSO.js → chunk-FSMCXQH2.js} +2 -2
- package/dist/bundle/{chunk-DDCDOBZS.js → chunk-GZYICXO4.js} +1 -1
- package/dist/bundle/{chunk-BKRIIZPV.js → chunk-H46MANPR.js} +3 -3
- package/dist/bundle/{chunk-OP5ZLH53.js → chunk-HFFHL7SV.js} +55 -55
- package/dist/bundle/{chunk-DCR3IWC7.js → chunk-I3UAD4EI.js} +33 -32
- package/dist/bundle/{chunk-EMVLCION.js → chunk-IBIFX2LK.js} +2 -2
- package/dist/bundle/{chunk-BNP7WLDQ.js → chunk-IPSLQX64.js} +2 -2
- package/dist/bundle/{chunk-DPDS6IZJ.js → chunk-JADBHKBP.js} +1 -1
- package/dist/bundle/{chunk-DWBY7DMF.js → chunk-JCQ47WR4.js} +5 -5
- package/dist/bundle/{chunk-LGDJDD5J.js → chunk-JUYUWMTG.js} +4 -4
- package/dist/bundle/{chunk-OXHQNEXU.js → chunk-KLLT572M.js} +3 -3
- package/dist/bundle/{chunk-5YRR52NH.js → chunk-L3MKFI3Y.js} +2 -2
- package/dist/bundle/{chunk-PZL7DHVJ.js → chunk-LACMDMDI.js} +9 -9
- package/dist/bundle/{chunk-DZSS2IUK.js → chunk-LB5FTCPZ.js} +3 -4
- package/dist/bundle/{chunk-JLIVJSCF.js → chunk-LFBD6RTX.js} +2 -2
- package/dist/bundle/{chunk-QSXJ2BVQ.js → chunk-LKGJMM6W.js} +6 -6
- package/dist/bundle/{chunk-NV3WPD3B.js → chunk-LXAX6AZU.js} +6 -6
- package/dist/bundle/{chunk-H2QTUZ3C.js → chunk-LXUHYDNE.js} +1 -1
- package/dist/bundle/{chunk-I3BQ2QIY.js → chunk-MJ7DUSHT.js} +14 -14
- package/dist/bundle/{chunk-4ME2NHNJ.js → chunk-MNJ3BMPZ.js} +3 -3
- package/dist/bundle/{chunk-THZHNCJP.js → chunk-MT7T5N2N.js} +4 -4
- package/dist/bundle/{chunk-KPFB2VUY.js → chunk-OFMYFFEF.js} +461 -402
- package/dist/bundle/{chunk-WZGFC7D5.js → chunk-OOYIPK4F.js} +1 -1
- package/dist/bundle/{chunk-NUN7DBR4.js → chunk-OWAJN74H.js} +17 -18
- package/dist/bundle/{chunk-S2QO6KUI.js → chunk-QN423PC6.js} +3 -3
- package/dist/bundle/{chunk-EV5SR3OC.js → chunk-QO7BK4WD.js} +8 -8
- package/dist/bundle/{chunk-GXBNTKJW.js → chunk-RENCSP47.js} +3 -3
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
- package/dist/bundle/{chunk-HZCINHHS.js → chunk-S6CHYNFE.js} +2 -2
- package/dist/bundle/{chunk-E3IOR37T.js → chunk-SDWYOYGN.js} +4 -4
- package/dist/bundle/{chunk-MS5XYEYW.js → chunk-SW7YGW3T.js} +28 -7
- package/dist/bundle/{chunk-BXMLIKUM.js → chunk-SYUIAMVA.js} +181 -156
- package/dist/bundle/{chunk-HZL3X4XR.js → chunk-TBZLGT7R.js} +20 -17
- package/dist/bundle/{chunk-FRXDSR45.js → chunk-TK77DCE5.js} +1 -1
- package/dist/bundle/{chunk-P6CYVOL6.js → chunk-UAV74EY4.js} +1 -1
- package/dist/bundle/{chunk-SQA5JI7Q.js → chunk-UG2QDGAH.js} +1 -1
- package/dist/bundle/{chunk-ECZSYLSL.js → chunk-UWF3SSRL.js} +25 -8
- package/dist/bundle/{chunk-QANXOKYQ.js → chunk-UX76GMQM.js} +6 -6
- package/dist/bundle/{chunk-I5Y6Y7Q5.js → chunk-UYZDH5LK.js} +1 -1
- package/dist/bundle/{chunk-3V6J7VPF.js → chunk-XN5KH24X.js} +5 -5
- package/dist/bundle/{chunk-FYP2M6IT.js → chunk-XQXYAOBV.js} +30 -29
- package/dist/bundle/{chunk-PIXFZZUZ.js → chunk-Y2P2LC5R.js} +21 -11
- package/dist/bundle/command-contract-NRNQAFFE.js +36 -0
- package/dist/bundle/{command-server-entry-A3FCP24M.js → command-server-entry-G2ZHCN5J.js} +25 -25
- package/dist/bundle/{decode-FI2ISRNZ.js → decode-U6V6D6XH.js} +5 -5
- package/dist/bundle/{dispatch-DSVN7MNG.js → dispatch-RHIK22OA.js} +8 -8
- package/dist/bundle/{dist-NLOOZJ64.js → dist-X5G2IMYG.js} +15 -15
- package/dist/bundle/{echarts-PMAJUJFE.js → echarts-UZJ6AREV.js} +2 -2
- package/dist/bundle/{embed-OIMT6SAX.js → embed-FEXLUH3T.js} +6 -6
- package/dist/bundle/{embedder-Q5IF5WIM.js → embedder-NHQARKFJ.js} +9 -9
- package/dist/bundle/{failure-COTPFUP4.js → failure-7DIA4OET.js} +2 -2
- package/dist/bundle/{first-run-4L53QWOT.js → first-run-PS5NR2QG.js} +12 -12
- package/dist/bundle/first-screen-C2WTLOG2.js +34 -0
- package/dist/bundle/{instructions-ZJGGGXOA.js → instructions-SDDUBGH4.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
- package/dist/bundle/{node-DCSOHRD6.js → node-ELCNUOCE.js} +2 -2
- package/dist/bundle/{node-sqlite-7F77K5JA.js → node-sqlite-2E5MKZMH.js} +7 -7
- package/dist/bundle/{oauth-LVPMEN6M.js → oauth-JGPEIY3M.js} +7 -7
- package/dist/bundle/{open-XM5LWEN6.js → open-6DEMCZAB.js} +5 -5
- package/dist/bundle/{openai-H2LCGK22.js → openai-IVKDU5AH.js} +15 -15
- package/dist/bundle/{process-MFC5VSPT.js → process-67DAKAAQ.js} +1 -1
- package/dist/bundle/{program-ZQ43ZYKZ.js → program-ESJDQMAJ.js} +498 -481
- package/dist/bundle/{prompt-3LZAZNQ4.js → prompt-ZBWOT5KG.js} +5 -5
- package/dist/bundle/{recognize-GYQMHFY2.js → recognize-UUBH2DOH.js} +4 -4
- package/dist/bundle/{remote-P2MD5G64.js → remote-UYTNWNOB.js} +9 -9
- package/dist/bundle/{rerank-A5X6THV6.js → rerank-X2633CQN.js} +7 -7
- package/dist/bundle/{serve-IEC3EUKS.js → serve-CP7Q4OVW.js} +9 -9
- package/dist/bundle/{server-3REPXFNI.js → server-I7MXRSAG.js} +42 -42
- package/dist/bundle/server-QGTMJ7SF.js +67 -0
- package/dist/bundle/{sqlite-runtime-AOLQGC5J.js → sqlite-runtime-BX55LI5G.js} +6 -6
- package/dist/bundle/{state-D3P5IXXA.js → state-LLNJQXFH.js} +6 -6
- package/dist/bundle/{store-MZCQXBVW.js → store-K4KU5N75.js} +19 -19
- package/dist/bundle/{store-DIN6OY3K.js → store-N27XI3VV.js} +17 -17
- package/dist/bundle/store-maintenance-command-VPAFQCNA.js +58 -0
- package/dist/commands/messages.js +1 -1
- package/dist/commands/messages.js.map +1 -1
- package/dist/mail/cleanup.d.ts.map +1 -1
- package/dist/mail/cleanup.js +4 -3
- package/dist/mail/cleanup.js.map +1 -1
- package/dist/mail/rules/apply.js +1 -1
- package/dist/mail/rules/apply.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-YRNKDQDL.js +0 -36
- package/dist/bundle/first-screen-ZPQLAAIS.js +0 -34
- package/dist/bundle/server-E2QTFURI.js +0 -67
- package/dist/bundle/store-maintenance-command-UMVFI6M6.js +0 -58
- /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SW7YGW3T.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-2X344EUT.js";
|
|
27
27
|
import {
|
|
28
28
|
carries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UG2QDGAH.js";
|
|
30
30
|
import {
|
|
31
31
|
permissionCeiling
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MNJ3BMPZ.js";
|
|
33
33
|
import {
|
|
34
34
|
note
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-H46MANPR.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-XQXYAOBV.js";
|
|
81
81
|
import {
|
|
82
82
|
BUSINESS_KINDS,
|
|
83
83
|
CRM_ACTIVITY_KINDS,
|
|
@@ -97,6 +97,7 @@ import {
|
|
|
97
97
|
RELATION_KINDS,
|
|
98
98
|
STANDINGS,
|
|
99
99
|
TAG_TYPES,
|
|
100
|
+
callStats,
|
|
100
101
|
describeQuery,
|
|
101
102
|
event,
|
|
102
103
|
meeting,
|
|
@@ -111,28 +112,31 @@ import {
|
|
|
111
112
|
meetingSpeaker,
|
|
112
113
|
meetingStats,
|
|
113
114
|
meetingSummary,
|
|
114
|
-
meetingTranscript
|
|
115
|
-
|
|
115
|
+
meetingTranscript,
|
|
116
|
+
parseLucene,
|
|
117
|
+
readsZone,
|
|
118
|
+
timezoneOf
|
|
119
|
+
} from "./chunk-OFMYFFEF.js";
|
|
116
120
|
import {
|
|
117
121
|
isCliFailure,
|
|
118
122
|
storeDamaged
|
|
119
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-L3MKFI3Y.js";
|
|
120
124
|
import {
|
|
121
125
|
endpoint
|
|
122
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-JCQ47WR4.js";
|
|
123
127
|
import {
|
|
124
128
|
readSharedSection,
|
|
125
129
|
repairConfigText,
|
|
126
130
|
sharedConfigPath,
|
|
127
131
|
writeSharedSection
|
|
128
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-BZY5W35X.js";
|
|
129
133
|
import {
|
|
130
134
|
filesPresent,
|
|
131
135
|
sharedModelsDirectory
|
|
132
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-JUYUWMTG.js";
|
|
133
137
|
import {
|
|
134
138
|
storePath
|
|
135
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-IPSLQX64.js";
|
|
136
140
|
import {
|
|
137
141
|
configFilePath,
|
|
138
142
|
createRecordLog,
|
|
@@ -141,7 +145,7 @@ import {
|
|
|
141
145
|
resolvePaths,
|
|
142
146
|
saveConfigFile,
|
|
143
147
|
writeSecurely
|
|
144
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-BRRHYXUP.js";
|
|
145
149
|
import {
|
|
146
150
|
COMPACT_FLAG,
|
|
147
151
|
MAX_NEXT_STEPS,
|
|
@@ -195,17 +199,17 @@ import {
|
|
|
195
199
|
url,
|
|
196
200
|
variant,
|
|
197
201
|
writes
|
|
198
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-UWF3SSRL.js";
|
|
199
203
|
import {
|
|
200
204
|
CliError,
|
|
201
205
|
isCliError,
|
|
202
206
|
visibleControls
|
|
203
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-BI5P7JWM.js";
|
|
204
208
|
import {
|
|
205
209
|
__name
|
|
206
210
|
} from "./chunk-ZVVMGPBJ.js";
|
|
207
211
|
|
|
208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
209
213
|
import { readFileSync } from "node:fs";
|
|
210
214
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
211
215
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -259,7 +263,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
259
263
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
260
264
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
261
265
|
|
|
262
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
266
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.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
|
|
263
267
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
264
268
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
265
269
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3760,7 +3764,7 @@ __name(useColor, "useColor");
|
|
|
3760
3764
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3761
3765
|
var program = new Command();
|
|
3762
3766
|
|
|
3763
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3767
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.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
|
|
3764
3768
|
var argumentInfoSchema = object({
|
|
3765
3769
|
name: string(),
|
|
3766
3770
|
required: boolean(),
|
|
@@ -3834,7 +3838,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3834
3838
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3835
3839
|
});
|
|
3836
3840
|
|
|
3837
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3841
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.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
|
|
3838
3842
|
import { isDeepStrictEqual } from "node:util";
|
|
3839
3843
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3840
3844
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3944,7 +3948,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3944
3948
|
return result;
|
|
3945
3949
|
}, "sharedCommand");
|
|
3946
3950
|
|
|
3947
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3951
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.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
|
|
3948
3952
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3949
3953
|
let command = root;
|
|
3950
3954
|
const path2 = [];
|
|
@@ -3962,7 +3966,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3962
3966
|
}
|
|
3963
3967
|
}, "refuseJoinedPath");
|
|
3964
3968
|
|
|
3965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
3966
3970
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3967
3971
|
var requests = new AsyncLocalStorage();
|
|
3968
3972
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3977,7 +3981,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3977
3981
|
return direct;
|
|
3978
3982
|
}, "exitCodeSet");
|
|
3979
3983
|
|
|
3980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3981
3985
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3982
3986
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3983
3987
|
messageId: message2.id,
|
|
@@ -4083,7 +4087,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4083
4087
|
}, "guardedWrite");
|
|
4084
4088
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4085
4089
|
|
|
4086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4087
4091
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4088
4092
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4089
4093
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4266,7 +4270,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4266
4270
|
}
|
|
4267
4271
|
}, "withAbort");
|
|
4268
4272
|
|
|
4269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4270
4274
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4271
4275
|
import { join } from "node:path";
|
|
4272
4276
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4288,7 +4292,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4288
4292
|
}, "profilesWithAccounts");
|
|
4289
4293
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4290
4294
|
|
|
4291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4292
4296
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4293
4297
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4294
4298
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4331,7 +4335,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4331
4335
|
};
|
|
4332
4336
|
}, "runBudget");
|
|
4333
4337
|
|
|
4334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4335
4339
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4336
4340
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4337
4341
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4369,7 +4373,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4369
4373
|
progress: "sync.progress"
|
|
4370
4374
|
};
|
|
4371
4375
|
|
|
4372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4373
4377
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4374
4378
|
const recording = startRecording(options);
|
|
4375
4379
|
try {
|
|
@@ -4584,7 +4588,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4584
4588
|
return void 0;
|
|
4585
4589
|
}, "partialOutcome");
|
|
4586
4590
|
|
|
4587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4588
4592
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4589
4593
|
if (ms2 === void 0)
|
|
4590
4594
|
return body();
|
|
@@ -4610,7 +4614,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4610
4614
|
}
|
|
4611
4615
|
}, "withDeadline");
|
|
4612
4616
|
|
|
4613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4614
4618
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4615
4619
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4616
4620
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4679,10 +4683,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4679
4683
|
return void 0;
|
|
4680
4684
|
}, "sampleCommand");
|
|
4681
4685
|
|
|
4682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4683
4687
|
import { existsSync as existsSync5 } from "node:fs";
|
|
4684
4688
|
|
|
4685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4686
4690
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4687
4691
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4688
4692
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4751,7 +4755,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4751
4755
|
};
|
|
4752
4756
|
}, "modelTarget");
|
|
4753
4757
|
|
|
4754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4755
4759
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4756
4760
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4757
4761
|
var AI_FIELDS = {
|
|
@@ -4795,7 +4799,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4795
4799
|
};
|
|
4796
4800
|
}, "resolveAISettings");
|
|
4797
4801
|
|
|
4798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
4799
4803
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4800
4804
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4801
4805
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4809,7 +4813,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4809
4813
|
return ms2;
|
|
4810
4814
|
}, "parseDuration");
|
|
4811
4815
|
|
|
4812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
4813
4817
|
import { existsSync as existsSync2 } from "node:fs";
|
|
4814
4818
|
import { join as join2 } from "node:path";
|
|
4815
4819
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -5086,7 +5090,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5086
5090
|
}, "vectorModelKey");
|
|
5087
5091
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5088
5092
|
|
|
5089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5090
5094
|
var HISTORY_MAX_DAYS = 1095;
|
|
5091
5095
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5092
5096
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5133,7 +5137,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5133
5137
|
return { batch: { ...batch, messages }, skipped };
|
|
5134
5138
|
}, "limitBatch");
|
|
5135
5139
|
|
|
5136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5137
5141
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5138
5142
|
import { join as join3 } from "node:path";
|
|
5139
5143
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5222,7 +5226,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5222
5226
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5223
5227
|
}, "registryProfiles");
|
|
5224
5228
|
|
|
5225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5226
5230
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5227
5231
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5228
5232
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5517,7 +5521,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5517
5521
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5518
5522
|
}, "readConfigFile");
|
|
5519
5523
|
|
|
5520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5521
5525
|
import { existsSync as existsSync4, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5522
5526
|
import { dirname, join as join4 } from "node:path";
|
|
5523
5527
|
var DEFAULT_CONFIG = {
|
|
@@ -5546,7 +5550,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5546
5550
|
}
|
|
5547
5551
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5548
5552
|
|
|
5549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5550
5554
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5551
5555
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5552
5556
|
const path2 = key.split(".");
|
|
@@ -5568,7 +5572,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5568
5572
|
return { config, added };
|
|
5569
5573
|
}, "withSettingDefaults");
|
|
5570
5574
|
|
|
5571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5572
5576
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5573
5577
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5574
5578
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6094,7 +6098,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6094
6098
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6095
6099
|
}, "given");
|
|
6096
6100
|
|
|
6097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6098
6102
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6099
6103
|
const { deadline, signal, app } = environmentOf(command);
|
|
6100
6104
|
const now = deadline?.();
|
|
@@ -6234,7 +6238,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6234
6238
|
return words2.join(" ");
|
|
6235
6239
|
}, "commandPath");
|
|
6236
6240
|
|
|
6237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6238
6242
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6239
6243
|
var FETCH = { remote: "read", local: "write" };
|
|
6240
6244
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6299,7 +6303,8 @@ var changesStore = /* @__PURE__ */ __name((command) => {
|
|
|
6299
6303
|
STORE_WRITES.add(command);
|
|
6300
6304
|
return command;
|
|
6301
6305
|
}, "changesStore");
|
|
6302
|
-
var
|
|
6306
|
+
var OWNER_FILES = /* @__PURE__ */ new WeakSet();
|
|
6307
|
+
var savesFiles = /* @__PURE__ */ __name((command) => OWNER_FILES.has(command) || command.name() === "download" || [...command.options.map((option) => option.attributeName()), ...command.registeredArguments.map((one) => one.name())].map((name) => name.toLowerCase()).some((name) => name === "dir" || name.endsWith("dir") || name === "output"), "savesFiles");
|
|
6303
6308
|
var fetchesOnly = /* @__PURE__ */ __name((command) => {
|
|
6304
6309
|
const effects = metaOf(command).effects;
|
|
6305
6310
|
return effects?.remote === "read" && effects.local === "write" && !STORE_WRITES.has(command) && !changesAuthority(command) && !OTHER_SERVICE.has(command) && !savesFiles(command);
|
|
@@ -6316,7 +6321,7 @@ var writesFileNow = /* @__PURE__ */ __name((command) => {
|
|
|
6316
6321
|
const option = FILE_OPTION.get(command);
|
|
6317
6322
|
return option === void 0 || command.opts()[option] !== void 0;
|
|
6318
6323
|
}, "writesFileNow");
|
|
6319
|
-
var readsOverMcp = /* @__PURE__ */ __name((command) => fetchesOnly(command) || FILE_OPTION.has(command), "readsOverMcp");
|
|
6324
|
+
var readsOverMcp = /* @__PURE__ */ __name((command) => fetchesOnly(command) && !LOGIN.has(command) || FILE_OPTION.has(command), "readsOverMcp");
|
|
6320
6325
|
var readsOverMcpAt = /* @__PURE__ */ __name((root) => (path2) => {
|
|
6321
6326
|
let at2 = root;
|
|
6322
6327
|
for (const word of path2)
|
|
@@ -6373,7 +6378,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6373
6378
|
throw readOnlyRefusal(lock, what);
|
|
6374
6379
|
}, "refuseUnderReadOnly");
|
|
6375
6380
|
|
|
6376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6377
6382
|
var account = strictObject({
|
|
6378
6383
|
provider: text,
|
|
6379
6384
|
id,
|
|
@@ -6383,7 +6388,7 @@ var account = strictObject({
|
|
|
6383
6388
|
scope: optional(picklist(["personal", "work"]))
|
|
6384
6389
|
});
|
|
6385
6390
|
|
|
6386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6387
6392
|
var accountSession = strictObject({
|
|
6388
6393
|
current: boolean(),
|
|
6389
6394
|
client: nullable(text),
|
|
@@ -6393,7 +6398,7 @@ var accountSession = strictObject({
|
|
|
6393
6398
|
created_at: optional(nullable(time))
|
|
6394
6399
|
});
|
|
6395
6400
|
|
|
6396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6397
6402
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6398
6403
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6399
6404
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6422,7 +6427,7 @@ var accountRemoval = strictObject({
|
|
|
6422
6427
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6423
6428
|
});
|
|
6424
6429
|
|
|
6425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6430
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6426
6431
|
var accountProfile = strictObject({
|
|
6427
6432
|
profile: id,
|
|
6428
6433
|
current: boolean(),
|
|
@@ -6434,7 +6439,7 @@ var accountProfile = strictObject({
|
|
|
6434
6439
|
bot: optional(literal(true))
|
|
6435
6440
|
});
|
|
6436
6441
|
|
|
6437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6438
6443
|
var milliseconds = pipe(number(), minValue(0));
|
|
6439
6444
|
var counterReading = strictObject({
|
|
6440
6445
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6446,7 +6451,7 @@ var counterReading = strictObject({
|
|
|
6446
6451
|
});
|
|
6447
6452
|
var selection = record(string(), unknown());
|
|
6448
6453
|
|
|
6449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6450
6455
|
var adminRow = strictObject({
|
|
6451
6456
|
ref: reference,
|
|
6452
6457
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6499,7 +6504,7 @@ var adminReport = strictObject({
|
|
|
6499
6504
|
rows: array(adminRow)
|
|
6500
6505
|
});
|
|
6501
6506
|
|
|
6502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6503
6508
|
var closeSuggestion = strictObject({
|
|
6504
6509
|
as: picklist(["done", "dismissed"]),
|
|
6505
6510
|
/** The agent's name. */
|
|
@@ -6561,7 +6566,7 @@ var task = strictObject({
|
|
|
6561
6566
|
updated_at: optional(time)
|
|
6562
6567
|
});
|
|
6563
6568
|
|
|
6564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6565
6570
|
var agendaChat = strictObject({
|
|
6566
6571
|
chat: reference,
|
|
6567
6572
|
title: nullable(text),
|
|
@@ -6631,11 +6636,11 @@ var agenda = strictObject({
|
|
|
6631
6636
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6632
6637
|
});
|
|
6633
6638
|
|
|
6634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6635
6640
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6636
6641
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6637
6642
|
|
|
6638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6639
6644
|
var attachment = strictObject({
|
|
6640
6645
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6641
6646
|
message: optional(reference),
|
|
@@ -6680,7 +6685,7 @@ var hitFile = strictObject({
|
|
|
6680
6685
|
local_path: optional(text)
|
|
6681
6686
|
});
|
|
6682
6687
|
|
|
6683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6688
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6684
6689
|
var actionableError = objectWithRest({
|
|
6685
6690
|
code: text,
|
|
6686
6691
|
message: text,
|
|
@@ -6697,7 +6702,7 @@ var batchResult = strictObject({
|
|
|
6697
6702
|
max_error_percent: count
|
|
6698
6703
|
});
|
|
6699
6704
|
|
|
6700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6701
6706
|
var extractionItem = strictObject({
|
|
6702
6707
|
ref: reference,
|
|
6703
6708
|
attachment: count,
|
|
@@ -6730,7 +6735,7 @@ var extractionReport = strictObject({
|
|
|
6730
6735
|
cursor: optional(text)
|
|
6731
6736
|
});
|
|
6732
6737
|
|
|
6733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6738
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6734
6739
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6735
6740
|
var attachmentBytes = strictObject({
|
|
6736
6741
|
ref: reference,
|
|
@@ -6761,7 +6766,7 @@ var attachmentTextChange = strictObject({
|
|
|
6761
6766
|
text: optional(text)
|
|
6762
6767
|
});
|
|
6763
6768
|
|
|
6764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6765
6770
|
var WEIGHTS = {
|
|
6766
6771
|
bot: 3,
|
|
6767
6772
|
scam: 3,
|
|
@@ -6786,7 +6791,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6786
6791
|
var DIGITS = /\d{5,}/;
|
|
6787
6792
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6788
6793
|
|
|
6789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
6790
6795
|
var linkedIdentity = strictObject({
|
|
6791
6796
|
provider: text,
|
|
6792
6797
|
id,
|
|
@@ -6841,7 +6846,7 @@ var contactCheck = strictObject({
|
|
|
6841
6846
|
checked_at: time
|
|
6842
6847
|
});
|
|
6843
6848
|
|
|
6844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6845
6850
|
var member = strictObject({
|
|
6846
6851
|
id,
|
|
6847
6852
|
name: nullable(text),
|
|
@@ -6864,7 +6869,7 @@ var member = strictObject({
|
|
|
6864
6869
|
check: optional(record(string(), unknown()))
|
|
6865
6870
|
});
|
|
6866
6871
|
|
|
6867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6872
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6868
6873
|
var setting = optional(nullable(boolean()));
|
|
6869
6874
|
var chat = strictObject({
|
|
6870
6875
|
ref: reference,
|
|
@@ -6905,7 +6910,7 @@ var chat = strictObject({
|
|
|
6905
6910
|
members: optional(array(member))
|
|
6906
6911
|
});
|
|
6907
6912
|
|
|
6908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6909
6914
|
var quoted = strictObject({
|
|
6910
6915
|
id,
|
|
6911
6916
|
sender_id: nullable(id),
|
|
@@ -7024,7 +7029,7 @@ var message = strictObject({
|
|
|
7024
7029
|
provider_metadata: providerMetadata
|
|
7025
7030
|
});
|
|
7026
7031
|
|
|
7027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7032
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7028
7033
|
var recordedMeeting = strictObject({
|
|
7029
7034
|
ref: reference,
|
|
7030
7035
|
meeting_id: count,
|
|
@@ -7037,7 +7042,7 @@ var recordedMeeting = strictObject({
|
|
|
7037
7042
|
people: array(reference)
|
|
7038
7043
|
});
|
|
7039
7044
|
|
|
7040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7041
7046
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7042
7047
|
var contextMessage = strictObject({
|
|
7043
7048
|
locator: reference,
|
|
@@ -7243,7 +7248,7 @@ var contactPreparation = strictObject({
|
|
|
7243
7248
|
})
|
|
7244
7249
|
});
|
|
7245
7250
|
|
|
7246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7247
7252
|
var nullableText = nullable(text);
|
|
7248
7253
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7249
7254
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7354,7 +7359,7 @@ var stage = strictObject({
|
|
|
7354
7359
|
untrusted
|
|
7355
7360
|
});
|
|
7356
7361
|
|
|
7357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7358
7363
|
var nullableText2 = nullable(text);
|
|
7359
7364
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7360
7365
|
var standing = picklist(STANDINGS);
|
|
@@ -7528,7 +7533,7 @@ var dealBrief = strictObject({
|
|
|
7528
7533
|
not_read: coverage2.entries.not_read
|
|
7529
7534
|
});
|
|
7530
7535
|
|
|
7531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7532
7537
|
var chart = strictObject({
|
|
7533
7538
|
version: literal(1),
|
|
7534
7539
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7543,7 +7548,7 @@ var chart = strictObject({
|
|
|
7543
7548
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7544
7549
|
});
|
|
7545
7550
|
|
|
7546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7547
7552
|
var named = strictObject({
|
|
7548
7553
|
id,
|
|
7549
7554
|
title: nullable(text),
|
|
@@ -7566,7 +7571,7 @@ var folder = strictObject({
|
|
|
7566
7571
|
excluded_chats: optional(array(named))
|
|
7567
7572
|
});
|
|
7568
7573
|
|
|
7569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7570
7575
|
var inviteLink = strictObject({
|
|
7571
7576
|
link: text,
|
|
7572
7577
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7582,7 +7587,7 @@ var inviteLink = strictObject({
|
|
|
7582
7587
|
joined_count: optional(count)
|
|
7583
7588
|
});
|
|
7584
7589
|
|
|
7585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7586
7591
|
var operated = { operation_id: id, chat_id: id };
|
|
7587
7592
|
var group = strictObject({
|
|
7588
7593
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7662,7 +7667,7 @@ var chatFolderOrder = strictObject({
|
|
|
7662
7667
|
folders: array(strictObject({ id, title: text }))
|
|
7663
7668
|
});
|
|
7664
7669
|
|
|
7665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7666
7671
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7667
7672
|
var chatRemoval = strictObject(operated2);
|
|
7668
7673
|
var chatMuting = strictObject({
|
|
@@ -7673,7 +7678,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7673
7678
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7674
7679
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7675
7680
|
|
|
7676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7677
7682
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7678
7683
|
var chatEvent = strictObject({
|
|
7679
7684
|
chat_id: id,
|
|
@@ -7690,7 +7695,7 @@ var chatEvent = strictObject({
|
|
|
7690
7695
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7691
7696
|
});
|
|
7692
7697
|
|
|
7693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7694
7699
|
var chatMetadata = strictObject({
|
|
7695
7700
|
chat_id: id,
|
|
7696
7701
|
title: nullable(text),
|
|
@@ -7705,7 +7710,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7705
7710
|
has_more: boolean()
|
|
7706
7711
|
});
|
|
7707
7712
|
|
|
7708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7713
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7709
7714
|
var action = picklist(["report", "delete", "remove"]);
|
|
7710
7715
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7711
7716
|
var chatRules = strictObject({
|
|
@@ -7742,7 +7747,7 @@ var chatModeration = strictObject({
|
|
|
7742
7747
|
}))
|
|
7743
7748
|
});
|
|
7744
7749
|
|
|
7745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7746
7751
|
var optionalCount = optional(count);
|
|
7747
7752
|
var minutes = nullable(number());
|
|
7748
7753
|
var chatStats = strictObject({
|
|
@@ -7818,7 +7823,7 @@ var taskStats = strictObject({
|
|
|
7818
7823
|
}))
|
|
7819
7824
|
});
|
|
7820
7825
|
|
|
7821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7822
7827
|
var memberCount = strictObject({
|
|
7823
7828
|
day: pipe(text, isoDate()),
|
|
7824
7829
|
participants: nullable(count),
|
|
@@ -7841,7 +7846,7 @@ var chatTracking = strictObject({
|
|
|
7841
7846
|
tracked: boolean()
|
|
7842
7847
|
});
|
|
7843
7848
|
|
|
7844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7845
7850
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7846
7851
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7847
7852
|
var profileFields = {
|
|
@@ -7879,7 +7884,7 @@ var profileFields = {
|
|
|
7879
7884
|
}))
|
|
7880
7885
|
};
|
|
7881
7886
|
|
|
7882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7883
7888
|
var contact = strictObject({
|
|
7884
7889
|
ref: reference,
|
|
7885
7890
|
id,
|
|
@@ -7910,7 +7915,7 @@ var contact = strictObject({
|
|
|
7910
7915
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7911
7916
|
});
|
|
7912
7917
|
|
|
7913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7914
7919
|
var contactNote = strictObject({
|
|
7915
7920
|
id,
|
|
7916
7921
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7922,13 +7927,13 @@ var contactNote = strictObject({
|
|
|
7922
7927
|
updated_at: time
|
|
7923
7928
|
});
|
|
7924
7929
|
|
|
7925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7926
7931
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7927
7932
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7928
7933
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7929
7934
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7930
7935
|
|
|
7931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7932
7937
|
var conversation = strictObject({
|
|
7933
7938
|
id,
|
|
7934
7939
|
chat: reference,
|
|
@@ -7943,7 +7948,7 @@ var conversation = strictObject({
|
|
|
7943
7948
|
rules_version: count
|
|
7944
7949
|
});
|
|
7945
7950
|
|
|
7946
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7947
7952
|
var conversationBuild = strictObject({
|
|
7948
7953
|
chat: id,
|
|
7949
7954
|
messages: count,
|
|
@@ -7968,7 +7973,7 @@ var catchUpPreparation = strictObject({
|
|
|
7968
7973
|
prepared: optional(conversationPreparation)
|
|
7969
7974
|
});
|
|
7970
7975
|
|
|
7971
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7972
7977
|
var conversationDetails = union([
|
|
7973
7978
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7974
7979
|
message
|
|
@@ -8058,7 +8063,7 @@ var conversationHit = strictObject({
|
|
|
8058
8063
|
stale: boolean()
|
|
8059
8064
|
});
|
|
8060
8065
|
|
|
8061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8062
8067
|
var counters = strictObject({
|
|
8063
8068
|
cutoff: time,
|
|
8064
8069
|
max_age_ms: milliseconds,
|
|
@@ -8088,7 +8093,7 @@ var counterRefresh = strictObject({
|
|
|
8088
8093
|
complete: optional(boolean())
|
|
8089
8094
|
});
|
|
8090
8095
|
|
|
8091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8092
8097
|
var document = strictObject({
|
|
8093
8098
|
ref: reference,
|
|
8094
8099
|
id,
|
|
@@ -8103,7 +8108,7 @@ var document = strictObject({
|
|
|
8103
8108
|
owners: optional(array(text))
|
|
8104
8109
|
});
|
|
8105
8110
|
|
|
8106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8107
8112
|
var documentLink = strictObject({
|
|
8108
8113
|
ref: reference,
|
|
8109
8114
|
url: text,
|
|
@@ -8114,7 +8119,7 @@ var documentLink = strictObject({
|
|
|
8114
8119
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8115
8120
|
});
|
|
8116
8121
|
|
|
8117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8118
8123
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8119
8124
|
var contribution = strictObject({
|
|
8120
8125
|
message: evidenceMessage,
|
|
@@ -8144,7 +8149,7 @@ var retentionStay = strictObject({
|
|
|
8144
8149
|
});
|
|
8145
8150
|
var evidence = union([contribution, retentionStay]);
|
|
8146
8151
|
|
|
8147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8148
8153
|
var fact = strictObject({
|
|
8149
8154
|
ref: reference,
|
|
8150
8155
|
id,
|
|
@@ -8175,7 +8180,7 @@ var fact = strictObject({
|
|
|
8175
8180
|
updated_at: time
|
|
8176
8181
|
});
|
|
8177
8182
|
|
|
8178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8179
8184
|
var hit = strictObject({
|
|
8180
8185
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8181
8186
|
ref: reference,
|
|
@@ -8223,7 +8228,7 @@ var hit = strictObject({
|
|
|
8223
8228
|
untrusted
|
|
8224
8229
|
});
|
|
8225
8230
|
|
|
8226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8231
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8227
8232
|
var identity = strictObject({
|
|
8228
8233
|
ref: reference,
|
|
8229
8234
|
provider: text,
|
|
@@ -8239,7 +8244,7 @@ var identity = strictObject({
|
|
|
8239
8244
|
person: optional(nullable(reference))
|
|
8240
8245
|
});
|
|
8241
8246
|
|
|
8242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8243
8248
|
var imageEmbedding = strictObject({
|
|
8244
8249
|
model: text,
|
|
8245
8250
|
embedded: count,
|
|
@@ -8248,13 +8253,13 @@ var imageEmbedding = strictObject({
|
|
|
8248
8253
|
more: boolean()
|
|
8249
8254
|
});
|
|
8250
8255
|
|
|
8251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8252
8257
|
import { spawn } from "node:child_process";
|
|
8253
8258
|
import { randomBytes } from "node:crypto";
|
|
8254
8259
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8255
8260
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8256
8261
|
|
|
8257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8262
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8258
8263
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8259
8264
|
const total = input.total ?? null;
|
|
8260
8265
|
const updated = input.updatedAt ?? null;
|
|
@@ -8270,7 +8275,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8270
8275
|
};
|
|
8271
8276
|
}, "progressOf");
|
|
8272
8277
|
|
|
8273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8274
8279
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8275
8280
|
const run = currentRun();
|
|
8276
8281
|
const trace = traceId ?? run.traceId;
|
|
@@ -8284,7 +8289,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8284
8289
|
}));
|
|
8285
8290
|
}, "recordLogFor");
|
|
8286
8291
|
|
|
8287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8288
8293
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8289
8294
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8290
8295
|
const out = openSync(log, "a", 384);
|
|
@@ -8439,7 +8444,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8439
8444
|
return { job: id6, pid, chat: input.chat, log };
|
|
8440
8445
|
}, "startArchiveJob");
|
|
8441
8446
|
|
|
8442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8443
8448
|
var problem = strictObject({ code: text, message: text });
|
|
8444
8449
|
var job = strictObject({
|
|
8445
8450
|
id,
|
|
@@ -8462,7 +8467,7 @@ var job = strictObject({
|
|
|
8462
8467
|
error: optional(problem)
|
|
8463
8468
|
});
|
|
8464
8469
|
|
|
8465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8466
8471
|
var joinRequest = strictObject({
|
|
8467
8472
|
person_id: id,
|
|
8468
8473
|
name: nullable(text),
|
|
@@ -8473,7 +8478,7 @@ var joinRequest = strictObject({
|
|
|
8473
8478
|
about: optional(text)
|
|
8474
8479
|
});
|
|
8475
8480
|
|
|
8476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8477
8482
|
var botProfile = strictObject({
|
|
8478
8483
|
name: text,
|
|
8479
8484
|
token: text,
|
|
@@ -8597,7 +8602,7 @@ var stickerInventory = strictObject({
|
|
|
8597
8602
|
url: optional(nullable(text))
|
|
8598
8603
|
});
|
|
8599
8604
|
|
|
8600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8601
8606
|
var pollVote = strictObject({
|
|
8602
8607
|
person_id: id,
|
|
8603
8608
|
name: nullable(text),
|
|
@@ -8607,7 +8612,7 @@ var pollVote = strictObject({
|
|
|
8607
8612
|
voted_at: time
|
|
8608
8613
|
});
|
|
8609
8614
|
|
|
8610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8611
8616
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8612
8617
|
var observation = strictObject({
|
|
8613
8618
|
value: pipe(number(), minValue(0)),
|
|
@@ -8649,7 +8654,7 @@ var serveSummary = strictObject({
|
|
|
8649
8654
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8650
8655
|
});
|
|
8651
8656
|
|
|
8652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8653
8658
|
var mailCounts = strictObject({
|
|
8654
8659
|
by: picklist(["day", "week", "sender"]),
|
|
8655
8660
|
received: count,
|
|
@@ -8664,7 +8669,7 @@ var mailCounts = strictObject({
|
|
|
8664
8669
|
}))
|
|
8665
8670
|
});
|
|
8666
8671
|
|
|
8667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8668
8673
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8669
8674
|
var base = { id, evidence: array(evidence2) };
|
|
8670
8675
|
var finding = variant("kind", [
|
|
@@ -8808,7 +8813,7 @@ var mailFindings = strictObject({
|
|
|
8808
8813
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8809
8814
|
});
|
|
8810
8815
|
|
|
8811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8812
8817
|
var mediaArchive = strictObject({
|
|
8813
8818
|
directory: text,
|
|
8814
8819
|
chats: count,
|
|
@@ -8840,7 +8845,7 @@ var mediaArchiveTimer = union([
|
|
|
8840
8845
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8841
8846
|
]);
|
|
8842
8847
|
|
|
8843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8848
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8844
8849
|
var preparationId = pipe(string(), minLength(1));
|
|
8845
8850
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8846
8851
|
var preparationTime = nullable(isoTime);
|
|
@@ -8932,7 +8937,7 @@ var preparationMeeting = strictObject({
|
|
|
8932
8937
|
updated_at: isoTime
|
|
8933
8938
|
});
|
|
8934
8939
|
|
|
8935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8936
8941
|
var meetingEvidence = preparationEvidence;
|
|
8937
8942
|
var meetingPersonContext = strictObject({
|
|
8938
8943
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8954,7 +8959,7 @@ var meetingPersonContext = strictObject({
|
|
|
8954
8959
|
})
|
|
8955
8960
|
});
|
|
8956
8961
|
|
|
8957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8958
8963
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8959
8964
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8960
8965
|
var finding2 = variant("kind", [
|
|
@@ -8992,7 +8997,7 @@ var meetingFindings = strictObject({
|
|
|
8992
8997
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8993
8998
|
});
|
|
8994
8999
|
|
|
8995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8996
9001
|
var communicationCoverage = strictObject({
|
|
8997
9002
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8998
9003
|
query: string(),
|
|
@@ -9037,7 +9042,7 @@ var preparationCommunications = strictObject({
|
|
|
9037
9042
|
}))
|
|
9038
9043
|
});
|
|
9039
9044
|
|
|
9040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9041
9046
|
var meetingPreparation = strictObject({
|
|
9042
9047
|
communications: optional(preparationCommunications),
|
|
9043
9048
|
schema_version: literal(1),
|
|
@@ -9150,7 +9155,7 @@ var meetingPreparation = strictObject({
|
|
|
9150
9155
|
})
|
|
9151
9156
|
});
|
|
9152
9157
|
|
|
9153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9154
9159
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9155
9160
|
var id3 = pipe(string(), minLength(1));
|
|
9156
9161
|
var text3 = string();
|
|
@@ -9214,7 +9219,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9214
9219
|
})
|
|
9215
9220
|
});
|
|
9216
9221
|
|
|
9217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9218
9223
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9219
9224
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9220
9225
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9244,7 +9249,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9244
9249
|
})
|
|
9245
9250
|
});
|
|
9246
9251
|
|
|
9247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9248
9253
|
var text4 = string();
|
|
9249
9254
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9250
9255
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9261,7 +9266,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9261
9266
|
persistence: literal("proposal-only")
|
|
9262
9267
|
});
|
|
9263
9268
|
|
|
9264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9265
9270
|
var memory = strictObject({
|
|
9266
9271
|
ref: reference,
|
|
9267
9272
|
id,
|
|
@@ -9289,7 +9294,7 @@ var memory = strictObject({
|
|
|
9289
9294
|
updated_at: time
|
|
9290
9295
|
});
|
|
9291
9296
|
|
|
9292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9293
9298
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9294
9299
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9295
9300
|
var mention = strictObject({
|
|
@@ -9333,13 +9338,13 @@ var mentionRebuild = strictObject({
|
|
|
9333
9338
|
mentions: count
|
|
9334
9339
|
});
|
|
9335
9340
|
|
|
9336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9341
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9337
9342
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9338
9343
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9339
9344
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9340
9345
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9341
9346
|
|
|
9342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9343
9348
|
var messageTranscript = strictObject({
|
|
9344
9349
|
message_id: id,
|
|
9345
9350
|
text,
|
|
@@ -9397,7 +9402,7 @@ var evidencePacket = strictObject({
|
|
|
9397
9402
|
}))
|
|
9398
9403
|
});
|
|
9399
9404
|
|
|
9400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9401
9406
|
var messageThread = strictObject({
|
|
9402
9407
|
ref: reference,
|
|
9403
9408
|
chat: id,
|
|
@@ -9414,7 +9419,7 @@ var messageThread = strictObject({
|
|
|
9414
9419
|
});
|
|
9415
9420
|
var messageContext = union([message, messageThread]);
|
|
9416
9421
|
|
|
9417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9418
9423
|
var messageCounts = strictObject({
|
|
9419
9424
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9420
9425
|
total: count,
|
|
@@ -9427,7 +9432,7 @@ var messageCounts = strictObject({
|
|
|
9427
9432
|
}))
|
|
9428
9433
|
});
|
|
9429
9434
|
|
|
9430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9431
9436
|
var messageLink = strictObject({
|
|
9432
9437
|
ref: reference,
|
|
9433
9438
|
url: nullable(text),
|
|
@@ -9444,7 +9449,7 @@ var messageLink = strictObject({
|
|
|
9444
9449
|
})))
|
|
9445
9450
|
});
|
|
9446
9451
|
|
|
9447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9452
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9448
9453
|
var savedMessageFile = strictObject({
|
|
9449
9454
|
kind: text,
|
|
9450
9455
|
path: text,
|
|
@@ -9531,7 +9536,7 @@ var messageSyncAll = strictObject({
|
|
|
9531
9536
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9532
9537
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9533
9538
|
|
|
9534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9535
9540
|
var messageWrite = strictObject({
|
|
9536
9541
|
operation_id: id,
|
|
9537
9542
|
message,
|
|
@@ -9546,7 +9551,7 @@ var draftWrite = strictObject({
|
|
|
9546
9551
|
});
|
|
9547
9552
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9548
9553
|
|
|
9549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9550
9555
|
var model2 = strictObject({
|
|
9551
9556
|
id,
|
|
9552
9557
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9581,7 +9586,7 @@ var chosenModel = strictObject({
|
|
|
9581
9586
|
estimate_seconds: nullable(count)
|
|
9582
9587
|
});
|
|
9583
9588
|
|
|
9584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9585
9590
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9586
9591
|
var modelKey = strictObject({
|
|
9587
9592
|
provider: text,
|
|
@@ -9591,7 +9596,7 @@ var modelKey = strictObject({
|
|
|
9591
9596
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9592
9597
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9593
9598
|
|
|
9594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9595
9600
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9596
9601
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9597
9602
|
var graph = strictObject({
|
|
@@ -9625,14 +9630,14 @@ var officialStats = strictObject({
|
|
|
9625
9630
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9626
9631
|
});
|
|
9627
9632
|
|
|
9628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9629
9634
|
var person2 = strictObject({
|
|
9630
9635
|
ref: reference,
|
|
9631
9636
|
name: nullable(text),
|
|
9632
9637
|
identities: optional(array(identity))
|
|
9633
9638
|
});
|
|
9634
9639
|
|
|
9635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9636
9641
|
var poll = strictObject({
|
|
9637
9642
|
chat_id: id,
|
|
9638
9643
|
message_id: id,
|
|
@@ -9648,11 +9653,11 @@ var poll = strictObject({
|
|
|
9648
9653
|
});
|
|
9649
9654
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9650
9655
|
|
|
9651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9652
9657
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9653
9658
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9654
9659
|
|
|
9655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9656
9661
|
var figures = record(string(), number());
|
|
9657
9662
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9658
9663
|
var rankingRow = strictObject({
|
|
@@ -9699,7 +9704,7 @@ var ranking = strictObject({
|
|
|
9699
9704
|
rows: array(rankingRow)
|
|
9700
9705
|
});
|
|
9701
9706
|
|
|
9702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9703
9708
|
var reaction = strictObject({
|
|
9704
9709
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9705
9710
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9707,7 +9712,7 @@ var reaction = strictObject({
|
|
|
9707
9712
|
reacted_at: time
|
|
9708
9713
|
});
|
|
9709
9714
|
|
|
9710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9711
9716
|
var reactionChange = strictObject({
|
|
9712
9717
|
operation_id: id,
|
|
9713
9718
|
chat_id: id,
|
|
@@ -9715,7 +9720,7 @@ var reactionChange = strictObject({
|
|
|
9715
9720
|
reaction: nullable(text)
|
|
9716
9721
|
});
|
|
9717
9722
|
|
|
9718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9719
9724
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9720
9725
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9721
9726
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9726,7 +9731,7 @@ var recipientChange = strictObject({
|
|
|
9726
9731
|
...partial(recipientOff).entries
|
|
9727
9732
|
});
|
|
9728
9733
|
|
|
9729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9730
9735
|
var events = array(record(string(), unknown()));
|
|
9731
9736
|
var recordedRun = strictObject({
|
|
9732
9737
|
run_id: id,
|
|
@@ -9798,7 +9803,7 @@ var runHit = strictObject({
|
|
|
9798
9803
|
});
|
|
9799
9804
|
var runLocation = strictObject({ path: text });
|
|
9800
9805
|
|
|
9801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9802
9807
|
var relationship = strictObject({
|
|
9803
9808
|
id,
|
|
9804
9809
|
from: reference,
|
|
@@ -9825,7 +9830,7 @@ var relationship = strictObject({
|
|
|
9825
9830
|
created_at: time
|
|
9826
9831
|
});
|
|
9827
9832
|
|
|
9828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9829
9834
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9830
9835
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9831
9836
|
var responseTimes = strictObject({
|
|
@@ -9842,7 +9847,7 @@ var waitingChats = strictObject({
|
|
|
9842
9847
|
by_kind: strictObject({ private: count, group: count })
|
|
9843
9848
|
});
|
|
9844
9849
|
|
|
9845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9846
9851
|
var retentionCohort = strictObject({
|
|
9847
9852
|
/** The first day of the joining day or week. */
|
|
9848
9853
|
cohort: text,
|
|
@@ -9890,7 +9895,7 @@ var retention = strictObject({
|
|
|
9890
9895
|
rows: array(retentionCohort)
|
|
9891
9896
|
});
|
|
9892
9897
|
|
|
9893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9898
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9894
9899
|
var savedSearch = strictObject({
|
|
9895
9900
|
id,
|
|
9896
9901
|
/** `null` for a run in the history. */
|
|
@@ -9907,7 +9912,7 @@ var savedSearch = strictObject({
|
|
|
9907
9912
|
});
|
|
9908
9913
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9909
9914
|
|
|
9910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9915
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9911
9916
|
var sendAttempt = strictObject({
|
|
9912
9917
|
at: time,
|
|
9913
9918
|
profile: text,
|
|
@@ -9935,7 +9940,7 @@ var sendAttempt = strictObject({
|
|
|
9935
9940
|
error_code: optional(text)
|
|
9936
9941
|
});
|
|
9937
9942
|
|
|
9938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9939
9944
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9940
9945
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9941
9946
|
var infoSchema = strictObject({
|
|
@@ -10165,7 +10170,7 @@ var storeRepair = union([
|
|
|
10165
10170
|
]);
|
|
10166
10171
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10167
10172
|
|
|
10168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10169
10174
|
var range = strictObject({ from: number(), to: number() });
|
|
10170
10175
|
var storeChatStatus = strictObject({
|
|
10171
10176
|
chat_id: id,
|
|
@@ -10263,7 +10268,7 @@ var storeJobRetry = union([
|
|
|
10263
10268
|
]);
|
|
10264
10269
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10265
10270
|
|
|
10266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10267
10272
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10268
10273
|
var storeTable = strictObject({
|
|
10269
10274
|
name: text,
|
|
@@ -10272,7 +10277,7 @@ var storeTable = strictObject({
|
|
|
10272
10277
|
bytes: optional(nullable(count))
|
|
10273
10278
|
});
|
|
10274
10279
|
|
|
10275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10276
10281
|
var tagTarget = variant("type", [
|
|
10277
10282
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10278
10283
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10303,7 +10308,7 @@ var automaticTags = strictObject({
|
|
|
10303
10308
|
dry_run: boolean()
|
|
10304
10309
|
});
|
|
10305
10310
|
|
|
10306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10307
10312
|
var tagging = strictObject({
|
|
10308
10313
|
tag: text,
|
|
10309
10314
|
type: picklist(TAG_TYPES),
|
|
@@ -10316,7 +10321,7 @@ var tagging = strictObject({
|
|
|
10316
10321
|
created_at: time
|
|
10317
10322
|
});
|
|
10318
10323
|
|
|
10319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10320
10325
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10321
10326
|
var taskPair = strictObject({
|
|
10322
10327
|
task: nullable(side),
|
|
@@ -10339,7 +10344,7 @@ var taskPair = strictObject({
|
|
|
10339
10344
|
created_at: time
|
|
10340
10345
|
});
|
|
10341
10346
|
|
|
10342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10343
10348
|
var nullableTime = nullable(time);
|
|
10344
10349
|
var link = strictObject({
|
|
10345
10350
|
id,
|
|
@@ -10513,7 +10518,7 @@ var taskReview = strictObject({
|
|
|
10513
10518
|
untrusted
|
|
10514
10519
|
});
|
|
10515
10520
|
|
|
10516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10517
10522
|
var template = strictObject({
|
|
10518
10523
|
key: text,
|
|
10519
10524
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10525,7 +10530,7 @@ var template = strictObject({
|
|
|
10525
10530
|
updated_by: nullable(text)
|
|
10526
10531
|
});
|
|
10527
10532
|
|
|
10528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10533
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10529
10534
|
var topic = strictObject({
|
|
10530
10535
|
id,
|
|
10531
10536
|
title: text,
|
|
@@ -10539,7 +10544,7 @@ var topic = strictObject({
|
|
|
10539
10544
|
untrusted
|
|
10540
10545
|
});
|
|
10541
10546
|
|
|
10542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10543
10548
|
var ENTITIES = {
|
|
10544
10549
|
sync_progress: progress,
|
|
10545
10550
|
deal,
|
|
@@ -10714,6 +10719,7 @@ var ENTITIES = {
|
|
|
10714
10719
|
meeting_link: meetingLink,
|
|
10715
10720
|
meeting_stats: meetingStats,
|
|
10716
10721
|
meeting_counts: meetingCounts,
|
|
10722
|
+
call_stats: callStats,
|
|
10717
10723
|
meeting_speaker: meetingSpeaker,
|
|
10718
10724
|
meeting_participants: meetingParticipants,
|
|
10719
10725
|
meeting_passage: meetingPassage,
|
|
@@ -10834,7 +10840,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10834
10840
|
return [name, definition];
|
|
10835
10841
|
})), "entityDefinitions");
|
|
10836
10842
|
|
|
10837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10838
10844
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10839
10845
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10840
10846
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10868,7 +10874,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10868
10874
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10869
10875
|
}, "answerRow");
|
|
10870
10876
|
|
|
10871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10872
10878
|
import { join as join6 } from "node:path";
|
|
10873
10879
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10874
10880
|
var IMAGE_MODELS = [
|
|
@@ -10922,7 +10928,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10922
10928
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
10923
10929
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10924
10930
|
|
|
10925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10926
10932
|
var STEPS2 = defineSteps([
|
|
10927
10933
|
...STEPS,
|
|
10928
10934
|
{
|
|
@@ -11212,7 +11218,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11212
11218
|
].join(" ");
|
|
11213
11219
|
}, "stepLine");
|
|
11214
11220
|
|
|
11215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11216
11222
|
var where = [{ field: "ref" }];
|
|
11217
11223
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11218
11224
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11304,7 +11310,7 @@ var STATUS_ROWS = {
|
|
|
11304
11310
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11305
11311
|
};
|
|
11306
11312
|
|
|
11307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11308
11314
|
var TEXT_CHARS = 400;
|
|
11309
11315
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11310
11316
|
var messageRow = {
|
|
@@ -11672,7 +11678,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11672
11678
|
return lines.concat(footerOf(body)).join("\n");
|
|
11673
11679
|
}, "compactText");
|
|
11674
11680
|
|
|
11675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11676
11682
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11677
11683
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11678
11684
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11730,7 +11736,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11730
11736
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11731
11737
|
}, "largeAnswerSteps");
|
|
11732
11738
|
|
|
11733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11734
11740
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11735
11741
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11736
11742
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11744,7 +11750,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11744
11750
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11745
11751
|
}, "strip");
|
|
11746
11752
|
|
|
11747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11748
11754
|
var OPEN = "\u27E6";
|
|
11749
11755
|
var CLOSE = "\u27E7";
|
|
11750
11756
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11828,7 +11834,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11828
11834
|
return result;
|
|
11829
11835
|
}, "withFieldsMarked");
|
|
11830
11836
|
|
|
11831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11832
11838
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11833
11839
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11834
11840
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11934,9 +11940,27 @@ var withLargeAnswerStep = /* @__PURE__ */ __name((command, body) => {
|
|
|
11934
11940
|
}, "withLargeAnswerStep");
|
|
11935
11941
|
var linesOf = /* @__PURE__ */ __name((body) => jsonlOf("items" in body ? body : { items: [body.item], page: { mode: "page", limit: 1, has_more: false }, meta: body.meta }), "linesOf");
|
|
11936
11942
|
var jsonlRecords = /* @__PURE__ */ __name((body) => linesOf(sealed(body)).split("\n").map((line) => JSON.parse(line)), "jsonlRecords");
|
|
11943
|
+
var listZone = /* @__PURE__ */ __name((command) => {
|
|
11944
|
+
const registry = metaOf(command).query;
|
|
11945
|
+
const words2 = command.processedArgs.at(-1);
|
|
11946
|
+
const text5 = Array.isArray(words2) ? words2.join(" ") : typeof words2 === "string" ? words2 : "";
|
|
11947
|
+
const times = new Set(registry?.fields.filter(({ type }) => type === "time").map(({ name }) => name));
|
|
11948
|
+
if (times.size === 0 || text5.trim() === "")
|
|
11949
|
+
return void 0;
|
|
11950
|
+
try {
|
|
11951
|
+
if (!readsZone(parseLucene(text5, { defaultField: "none" }), times))
|
|
11952
|
+
return void 0;
|
|
11953
|
+
} catch {
|
|
11954
|
+
return void 0;
|
|
11955
|
+
}
|
|
11956
|
+
return timezoneOf(command.optsWithGlobals().timezone);
|
|
11957
|
+
}, "listZone");
|
|
11937
11958
|
var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams, compact, full }, body, view) => {
|
|
11938
11959
|
if (!isBody(body))
|
|
11939
11960
|
refuse(body);
|
|
11961
|
+
const zone = "items" in body && body.meta?.timezone === void 0 ? listZone(command) : void 0;
|
|
11962
|
+
if (zone)
|
|
11963
|
+
body = { ...body, meta: { ...body.meta, timezone: zone } };
|
|
11940
11964
|
const root = rootOf2(command);
|
|
11941
11965
|
const runnableSteps = runnable(root, body.next);
|
|
11942
11966
|
const next = environmentOf(command).agent ? runnableSteps : withLines(root, runnableSteps);
|
|
@@ -12099,6 +12123,7 @@ export {
|
|
|
12099
12123
|
fixVerb,
|
|
12100
12124
|
issueMessage,
|
|
12101
12125
|
readConfigFile,
|
|
12126
|
+
DEFAULT_CONFIG,
|
|
12102
12127
|
accountFileFor,
|
|
12103
12128
|
rememberAccount,
|
|
12104
12129
|
recalledAccount,
|