@wirecat/mail-cli 0.32.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 +15 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-OTCWJSJS.js → all-profiles-W3CGXEEJ.js} +10 -10
- package/dist/bundle/{anthropic-GUXHDK32.js → anthropic-UMDO5AKP.js} +5 -5
- package/dist/bundle/{app-server-GX7DOE4O.js → app-server-4SICQ5RP.js} +50 -50
- package/dist/bundle/{bun-V5QLYBZU.js → bun-QVVCH4MJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-AXD5CCO3.js → bun-sqlite-CHD4AIUK.js} +6 -6
- package/dist/bundle/{chunk-KLGZX6QT.js → chunk-2BFXHCZW.js} +2 -2
- package/dist/bundle/{chunk-AJY2IT25.js → chunk-2L6D54BR.js} +8 -8
- package/dist/bundle/{chunk-RNBG75HW.js → chunk-2P44S7XK.js} +26 -29
- package/dist/bundle/{chunk-Z6OKVD3R.js → chunk-2X344EUT.js} +8 -8
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
- package/dist/bundle/{chunk-2IYAZRTC.js → chunk-47YNANPZ.js} +2 -2
- package/dist/bundle/{chunk-7C6FGWDH.js → chunk-6IS4BEN4.js} +4 -4
- package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-6VCQ4CTK.js} +1 -1
- package/dist/bundle/{chunk-HUWQ7LXZ.js → chunk-74BYHR44.js} +584 -588
- package/dist/bundle/{chunk-U346WBJ5.js → chunk-7OYZU5SP.js} +4 -4
- package/dist/bundle/{chunk-SWXKS7JK.js → chunk-AEKWEYIG.js} +17 -17
- package/dist/bundle/{chunk-JRGPPS6H.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-PALY5PGE.js → chunk-BZY5W35X.js} +7 -7
- package/dist/bundle/{chunk-ZAD7K4TI.js → chunk-CHNNKHLL.js} +7468 -7317
- package/dist/bundle/{chunk-GPOTPA3S.js → chunk-CIG4UVP6.js} +12 -12
- package/dist/bundle/{chunk-7GW4D3OW.js → chunk-CZ6ZXDSO.js} +43 -35
- package/dist/bundle/{chunk-ANYADN3S.js → chunk-DI74RP6R.js} +18 -18
- package/dist/bundle/{chunk-IX3GUNGV.js → chunk-EW3JFV7J.js} +4 -4
- package/dist/bundle/{chunk-TWHIZJAZ.js → chunk-FSMCXQH2.js} +2 -2
- package/dist/bundle/{chunk-SEJBS7SI.js → chunk-GZYICXO4.js} +1 -1
- package/dist/bundle/{chunk-WNGMI6AZ.js → chunk-H46MANPR.js} +3 -3
- package/dist/bundle/{chunk-QHXOXYAT.js → chunk-HFFHL7SV.js} +55 -55
- package/dist/bundle/{chunk-GSXCMQWV.js → chunk-I3UAD4EI.js} +30 -30
- package/dist/bundle/{chunk-IBCGCYRU.js → chunk-IBIFX2LK.js} +2 -2
- package/dist/bundle/{chunk-FA3B2DHZ.js → chunk-IPSLQX64.js} +2 -2
- package/dist/bundle/{chunk-3URYKAJP.js → chunk-JADBHKBP.js} +1 -1
- package/dist/bundle/{chunk-GDDCKTBR.js → chunk-JCQ47WR4.js} +5 -5
- package/dist/bundle/{chunk-JUS4Y4BW.js → chunk-JUYUWMTG.js} +4 -4
- package/dist/bundle/{chunk-TDTCCHAI.js → chunk-KLLT572M.js} +3 -3
- package/dist/bundle/{chunk-O7OP5NQO.js → chunk-L3MKFI3Y.js} +2 -2
- package/dist/bundle/{chunk-T577U52I.js → chunk-LACMDMDI.js} +9 -9
- package/dist/bundle/{chunk-CD3TAITM.js → chunk-LB5FTCPZ.js} +3 -4
- package/dist/bundle/{chunk-6TRKNME5.js → chunk-LFBD6RTX.js} +2 -2
- package/dist/bundle/{chunk-PCMQYGEM.js → chunk-LKGJMM6W.js} +6 -6
- package/dist/bundle/{chunk-SDAYOJLL.js → chunk-LXAX6AZU.js} +6 -6
- package/dist/bundle/{chunk-6SJ7HHAE.js → chunk-LXUHYDNE.js} +1 -1
- package/dist/bundle/{chunk-MT2WDBG2.js → chunk-MJ7DUSHT.js} +14 -14
- package/dist/bundle/{chunk-U57QRUP7.js → chunk-MNJ3BMPZ.js} +3 -3
- package/dist/bundle/{chunk-HFA6AZWA.js → chunk-MT7T5N2N.js} +4 -4
- package/dist/bundle/{chunk-MVMNZ3Q3.js → chunk-OFMYFFEF.js} +461 -402
- package/dist/bundle/{chunk-OUM4ZO53.js → chunk-OOYIPK4F.js} +1 -1
- package/dist/bundle/{chunk-MENP3FF5.js → chunk-OWAJN74H.js} +15 -15
- package/dist/bundle/{chunk-SZZJOSIS.js → chunk-QN423PC6.js} +3 -3
- package/dist/bundle/{chunk-KLFF54AF.js → chunk-QO7BK4WD.js} +8 -8
- package/dist/bundle/{chunk-2UMEZY6D.js → chunk-RENCSP47.js} +3 -3
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
- package/dist/bundle/{chunk-IVD3JTN5.js → chunk-S6CHYNFE.js} +2 -2
- package/dist/bundle/{chunk-ZDP6A2VL.js → chunk-SDWYOYGN.js} +4 -4
- package/dist/bundle/{chunk-PCWAZVAD.js → chunk-SW7YGW3T.js} +7 -7
- package/dist/bundle/{chunk-MSK7RNOM.js → chunk-SYUIAMVA.js} +178 -154
- package/dist/bundle/{chunk-XXXVVNGI.js → chunk-TBZLGT7R.js} +17 -17
- package/dist/bundle/{chunk-4YNUQGDP.js → chunk-TK77DCE5.js} +1 -1
- package/dist/bundle/{chunk-MHXZ62CU.js → chunk-UAV74EY4.js} +1 -1
- package/dist/bundle/{chunk-WQOGHND4.js → chunk-UG2QDGAH.js} +1 -1
- package/dist/bundle/{chunk-ECZSYLSL.js → chunk-UWF3SSRL.js} +25 -8
- package/dist/bundle/{chunk-LVFI3TCG.js → chunk-UX76GMQM.js} +6 -6
- package/dist/bundle/{chunk-6XNTELM5.js → chunk-UYZDH5LK.js} +1 -1
- package/dist/bundle/{chunk-NMN5JUYL.js → chunk-XN5KH24X.js} +5 -5
- package/dist/bundle/{chunk-U7RLFLTM.js → chunk-XQXYAOBV.js} +30 -29
- package/dist/bundle/{chunk-LVJWN2PR.js → chunk-Y2P2LC5R.js} +21 -11
- package/dist/bundle/command-contract-NRNQAFFE.js +36 -0
- package/dist/bundle/{command-server-entry-BVXOPKXH.js → command-server-entry-G2ZHCN5J.js} +25 -25
- package/dist/bundle/{decode-STN3EHT7.js → decode-U6V6D6XH.js} +5 -5
- package/dist/bundle/{dispatch-DSVN7MNG.js → dispatch-RHIK22OA.js} +8 -8
- package/dist/bundle/{dist-B2JWWTNN.js → dist-X5G2IMYG.js} +15 -15
- package/dist/bundle/{echarts-QIXLXS3G.js → echarts-UZJ6AREV.js} +2 -2
- package/dist/bundle/{embed-4NC4ELYP.js → embed-FEXLUH3T.js} +6 -6
- package/dist/bundle/{embedder-HBRDIFQC.js → embedder-NHQARKFJ.js} +9 -9
- package/dist/bundle/{failure-COTPFUP4.js → failure-7DIA4OET.js} +2 -2
- package/dist/bundle/{first-run-6QF67AAZ.js → first-run-PS5NR2QG.js} +12 -12
- package/dist/bundle/first-screen-C2WTLOG2.js +34 -0
- package/dist/bundle/{instructions-MD2RZT5Z.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-IEVT2FSJ.js → node-ELCNUOCE.js} +2 -2
- package/dist/bundle/{node-sqlite-EOTTDMOG.js → node-sqlite-2E5MKZMH.js} +7 -7
- package/dist/bundle/{oauth-A5BEFGCI.js → oauth-JGPEIY3M.js} +7 -7
- package/dist/bundle/{open-HWN2EZYG.js → open-6DEMCZAB.js} +5 -5
- package/dist/bundle/{openai-PJKJ4CIU.js → openai-IVKDU5AH.js} +15 -15
- package/dist/bundle/{process-6Q23D3TO.js → process-67DAKAAQ.js} +1 -1
- package/dist/bundle/{program-WR43NPAV.js → program-ESJDQMAJ.js} +461 -466
- package/dist/bundle/{prompt-E7Q2662O.js → prompt-ZBWOT5KG.js} +5 -5
- package/dist/bundle/{recognize-4F4PIL4B.js → recognize-UUBH2DOH.js} +4 -4
- package/dist/bundle/{remote-RGJXO7XK.js → remote-UYTNWNOB.js} +9 -9
- package/dist/bundle/{rerank-EDY7PHMG.js → rerank-X2633CQN.js} +7 -7
- package/dist/bundle/{serve-Q4XF6ID2.js → serve-CP7Q4OVW.js} +9 -9
- package/dist/bundle/{server-5I72DSDF.js → server-I7MXRSAG.js} +42 -42
- package/dist/bundle/server-QGTMJ7SF.js +67 -0
- package/dist/bundle/{sqlite-runtime-PU3Z2H7C.js → sqlite-runtime-BX55LI5G.js} +6 -6
- package/dist/bundle/{state-CWSXJBU2.js → state-LLNJQXFH.js} +6 -6
- package/dist/bundle/{store-KQPKS3PX.js → store-K4KU5N75.js} +19 -19
- package/dist/bundle/{store-ZAMKKM2A.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-DZ6XRIOI.js +0 -36
- package/dist/bundle/first-screen-LXSZMK2P.js +0 -34
- package/dist/bundle/server-2Y5NSP2U.js +0 -67
- package/dist/bundle/store-maintenance-command-PMTTDR6J.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" };
|
|
@@ -6374,7 +6378,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6374
6378
|
throw readOnlyRefusal(lock, what);
|
|
6375
6379
|
}, "refuseUnderReadOnly");
|
|
6376
6380
|
|
|
6377
|
-
// 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
|
|
6378
6382
|
var account = strictObject({
|
|
6379
6383
|
provider: text,
|
|
6380
6384
|
id,
|
|
@@ -6384,7 +6388,7 @@ var account = strictObject({
|
|
|
6384
6388
|
scope: optional(picklist(["personal", "work"]))
|
|
6385
6389
|
});
|
|
6386
6390
|
|
|
6387
|
-
// 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
|
|
6388
6392
|
var accountSession = strictObject({
|
|
6389
6393
|
current: boolean(),
|
|
6390
6394
|
client: nullable(text),
|
|
@@ -6394,7 +6398,7 @@ var accountSession = strictObject({
|
|
|
6394
6398
|
created_at: optional(nullable(time))
|
|
6395
6399
|
});
|
|
6396
6400
|
|
|
6397
|
-
// 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
|
|
6398
6402
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6399
6403
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6400
6404
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6423,7 +6427,7 @@ var accountRemoval = strictObject({
|
|
|
6423
6427
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6424
6428
|
});
|
|
6425
6429
|
|
|
6426
|
-
// 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
|
|
6427
6431
|
var accountProfile = strictObject({
|
|
6428
6432
|
profile: id,
|
|
6429
6433
|
current: boolean(),
|
|
@@ -6435,7 +6439,7 @@ var accountProfile = strictObject({
|
|
|
6435
6439
|
bot: optional(literal(true))
|
|
6436
6440
|
});
|
|
6437
6441
|
|
|
6438
|
-
// 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
|
|
6439
6443
|
var milliseconds = pipe(number(), minValue(0));
|
|
6440
6444
|
var counterReading = strictObject({
|
|
6441
6445
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6447,7 +6451,7 @@ var counterReading = strictObject({
|
|
|
6447
6451
|
});
|
|
6448
6452
|
var selection = record(string(), unknown());
|
|
6449
6453
|
|
|
6450
|
-
// 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
|
|
6451
6455
|
var adminRow = strictObject({
|
|
6452
6456
|
ref: reference,
|
|
6453
6457
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6500,7 +6504,7 @@ var adminReport = strictObject({
|
|
|
6500
6504
|
rows: array(adminRow)
|
|
6501
6505
|
});
|
|
6502
6506
|
|
|
6503
|
-
// 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
|
|
6504
6508
|
var closeSuggestion = strictObject({
|
|
6505
6509
|
as: picklist(["done", "dismissed"]),
|
|
6506
6510
|
/** The agent's name. */
|
|
@@ -6562,7 +6566,7 @@ var task = strictObject({
|
|
|
6562
6566
|
updated_at: optional(time)
|
|
6563
6567
|
});
|
|
6564
6568
|
|
|
6565
|
-
// 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
|
|
6566
6570
|
var agendaChat = strictObject({
|
|
6567
6571
|
chat: reference,
|
|
6568
6572
|
title: nullable(text),
|
|
@@ -6632,11 +6636,11 @@ var agenda = strictObject({
|
|
|
6632
6636
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6633
6637
|
});
|
|
6634
6638
|
|
|
6635
|
-
// 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
|
|
6636
6640
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6637
6641
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6638
6642
|
|
|
6639
|
-
// 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
|
|
6640
6644
|
var attachment = strictObject({
|
|
6641
6645
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6642
6646
|
message: optional(reference),
|
|
@@ -6681,7 +6685,7 @@ var hitFile = strictObject({
|
|
|
6681
6685
|
local_path: optional(text)
|
|
6682
6686
|
});
|
|
6683
6687
|
|
|
6684
|
-
// 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
|
|
6685
6689
|
var actionableError = objectWithRest({
|
|
6686
6690
|
code: text,
|
|
6687
6691
|
message: text,
|
|
@@ -6698,7 +6702,7 @@ var batchResult = strictObject({
|
|
|
6698
6702
|
max_error_percent: count
|
|
6699
6703
|
});
|
|
6700
6704
|
|
|
6701
|
-
// 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
|
|
6702
6706
|
var extractionItem = strictObject({
|
|
6703
6707
|
ref: reference,
|
|
6704
6708
|
attachment: count,
|
|
@@ -6731,7 +6735,7 @@ var extractionReport = strictObject({
|
|
|
6731
6735
|
cursor: optional(text)
|
|
6732
6736
|
});
|
|
6733
6737
|
|
|
6734
|
-
// 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
|
|
6735
6739
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6736
6740
|
var attachmentBytes = strictObject({
|
|
6737
6741
|
ref: reference,
|
|
@@ -6762,7 +6766,7 @@ var attachmentTextChange = strictObject({
|
|
|
6762
6766
|
text: optional(text)
|
|
6763
6767
|
});
|
|
6764
6768
|
|
|
6765
|
-
// 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
|
|
6766
6770
|
var WEIGHTS = {
|
|
6767
6771
|
bot: 3,
|
|
6768
6772
|
scam: 3,
|
|
@@ -6787,7 +6791,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6787
6791
|
var DIGITS = /\d{5,}/;
|
|
6788
6792
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6789
6793
|
|
|
6790
|
-
// 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
|
|
6791
6795
|
var linkedIdentity = strictObject({
|
|
6792
6796
|
provider: text,
|
|
6793
6797
|
id,
|
|
@@ -6842,7 +6846,7 @@ var contactCheck = strictObject({
|
|
|
6842
6846
|
checked_at: time
|
|
6843
6847
|
});
|
|
6844
6848
|
|
|
6845
|
-
// 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
|
|
6846
6850
|
var member = strictObject({
|
|
6847
6851
|
id,
|
|
6848
6852
|
name: nullable(text),
|
|
@@ -6865,7 +6869,7 @@ var member = strictObject({
|
|
|
6865
6869
|
check: optional(record(string(), unknown()))
|
|
6866
6870
|
});
|
|
6867
6871
|
|
|
6868
|
-
// 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
|
|
6869
6873
|
var setting = optional(nullable(boolean()));
|
|
6870
6874
|
var chat = strictObject({
|
|
6871
6875
|
ref: reference,
|
|
@@ -6906,7 +6910,7 @@ var chat = strictObject({
|
|
|
6906
6910
|
members: optional(array(member))
|
|
6907
6911
|
});
|
|
6908
6912
|
|
|
6909
|
-
// 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
|
|
6910
6914
|
var quoted = strictObject({
|
|
6911
6915
|
id,
|
|
6912
6916
|
sender_id: nullable(id),
|
|
@@ -7025,7 +7029,7 @@ var message = strictObject({
|
|
|
7025
7029
|
provider_metadata: providerMetadata
|
|
7026
7030
|
});
|
|
7027
7031
|
|
|
7028
|
-
// 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
|
|
7029
7033
|
var recordedMeeting = strictObject({
|
|
7030
7034
|
ref: reference,
|
|
7031
7035
|
meeting_id: count,
|
|
@@ -7038,7 +7042,7 @@ var recordedMeeting = strictObject({
|
|
|
7038
7042
|
people: array(reference)
|
|
7039
7043
|
});
|
|
7040
7044
|
|
|
7041
|
-
// 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
|
|
7042
7046
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7043
7047
|
var contextMessage = strictObject({
|
|
7044
7048
|
locator: reference,
|
|
@@ -7244,7 +7248,7 @@ var contactPreparation = strictObject({
|
|
|
7244
7248
|
})
|
|
7245
7249
|
});
|
|
7246
7250
|
|
|
7247
|
-
// 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
|
|
7248
7252
|
var nullableText = nullable(text);
|
|
7249
7253
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7250
7254
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7355,7 +7359,7 @@ var stage = strictObject({
|
|
|
7355
7359
|
untrusted
|
|
7356
7360
|
});
|
|
7357
7361
|
|
|
7358
|
-
// 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
|
|
7359
7363
|
var nullableText2 = nullable(text);
|
|
7360
7364
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7361
7365
|
var standing = picklist(STANDINGS);
|
|
@@ -7529,7 +7533,7 @@ var dealBrief = strictObject({
|
|
|
7529
7533
|
not_read: coverage2.entries.not_read
|
|
7530
7534
|
});
|
|
7531
7535
|
|
|
7532
|
-
// 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
|
|
7533
7537
|
var chart = strictObject({
|
|
7534
7538
|
version: literal(1),
|
|
7535
7539
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7544,7 +7548,7 @@ var chart = strictObject({
|
|
|
7544
7548
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7545
7549
|
});
|
|
7546
7550
|
|
|
7547
|
-
// 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
|
|
7548
7552
|
var named = strictObject({
|
|
7549
7553
|
id,
|
|
7550
7554
|
title: nullable(text),
|
|
@@ -7567,7 +7571,7 @@ var folder = strictObject({
|
|
|
7567
7571
|
excluded_chats: optional(array(named))
|
|
7568
7572
|
});
|
|
7569
7573
|
|
|
7570
|
-
// 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
|
|
7571
7575
|
var inviteLink = strictObject({
|
|
7572
7576
|
link: text,
|
|
7573
7577
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7583,7 +7587,7 @@ var inviteLink = strictObject({
|
|
|
7583
7587
|
joined_count: optional(count)
|
|
7584
7588
|
});
|
|
7585
7589
|
|
|
7586
|
-
// 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
|
|
7587
7591
|
var operated = { operation_id: id, chat_id: id };
|
|
7588
7592
|
var group = strictObject({
|
|
7589
7593
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7663,7 +7667,7 @@ var chatFolderOrder = strictObject({
|
|
|
7663
7667
|
folders: array(strictObject({ id, title: text }))
|
|
7664
7668
|
});
|
|
7665
7669
|
|
|
7666
|
-
// 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
|
|
7667
7671
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7668
7672
|
var chatRemoval = strictObject(operated2);
|
|
7669
7673
|
var chatMuting = strictObject({
|
|
@@ -7674,7 +7678,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7674
7678
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7675
7679
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7676
7680
|
|
|
7677
|
-
// 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
|
|
7678
7682
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7679
7683
|
var chatEvent = strictObject({
|
|
7680
7684
|
chat_id: id,
|
|
@@ -7691,7 +7695,7 @@ var chatEvent = strictObject({
|
|
|
7691
7695
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7692
7696
|
});
|
|
7693
7697
|
|
|
7694
|
-
// 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
|
|
7695
7699
|
var chatMetadata = strictObject({
|
|
7696
7700
|
chat_id: id,
|
|
7697
7701
|
title: nullable(text),
|
|
@@ -7706,7 +7710,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7706
7710
|
has_more: boolean()
|
|
7707
7711
|
});
|
|
7708
7712
|
|
|
7709
|
-
// 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
|
|
7710
7714
|
var action = picklist(["report", "delete", "remove"]);
|
|
7711
7715
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7712
7716
|
var chatRules = strictObject({
|
|
@@ -7743,7 +7747,7 @@ var chatModeration = strictObject({
|
|
|
7743
7747
|
}))
|
|
7744
7748
|
});
|
|
7745
7749
|
|
|
7746
|
-
// 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
|
|
7747
7751
|
var optionalCount = optional(count);
|
|
7748
7752
|
var minutes = nullable(number());
|
|
7749
7753
|
var chatStats = strictObject({
|
|
@@ -7819,7 +7823,7 @@ var taskStats = strictObject({
|
|
|
7819
7823
|
}))
|
|
7820
7824
|
});
|
|
7821
7825
|
|
|
7822
|
-
// 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
|
|
7823
7827
|
var memberCount = strictObject({
|
|
7824
7828
|
day: pipe(text, isoDate()),
|
|
7825
7829
|
participants: nullable(count),
|
|
@@ -7842,7 +7846,7 @@ var chatTracking = strictObject({
|
|
|
7842
7846
|
tracked: boolean()
|
|
7843
7847
|
});
|
|
7844
7848
|
|
|
7845
|
-
// 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
|
|
7846
7850
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7847
7851
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7848
7852
|
var profileFields = {
|
|
@@ -7880,7 +7884,7 @@ var profileFields = {
|
|
|
7880
7884
|
}))
|
|
7881
7885
|
};
|
|
7882
7886
|
|
|
7883
|
-
// 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
|
|
7884
7888
|
var contact = strictObject({
|
|
7885
7889
|
ref: reference,
|
|
7886
7890
|
id,
|
|
@@ -7911,7 +7915,7 @@ var contact = strictObject({
|
|
|
7911
7915
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7912
7916
|
});
|
|
7913
7917
|
|
|
7914
|
-
// 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
|
|
7915
7919
|
var contactNote = strictObject({
|
|
7916
7920
|
id,
|
|
7917
7921
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7923,13 +7927,13 @@ var contactNote = strictObject({
|
|
|
7923
7927
|
updated_at: time
|
|
7924
7928
|
});
|
|
7925
7929
|
|
|
7926
|
-
// 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
|
|
7927
7931
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7928
7932
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7929
7933
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7930
7934
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7931
7935
|
|
|
7932
|
-
// 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
|
|
7933
7937
|
var conversation = strictObject({
|
|
7934
7938
|
id,
|
|
7935
7939
|
chat: reference,
|
|
@@ -7944,7 +7948,7 @@ var conversation = strictObject({
|
|
|
7944
7948
|
rules_version: count
|
|
7945
7949
|
});
|
|
7946
7950
|
|
|
7947
|
-
// 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
|
|
7948
7952
|
var conversationBuild = strictObject({
|
|
7949
7953
|
chat: id,
|
|
7950
7954
|
messages: count,
|
|
@@ -7969,7 +7973,7 @@ var catchUpPreparation = strictObject({
|
|
|
7969
7973
|
prepared: optional(conversationPreparation)
|
|
7970
7974
|
});
|
|
7971
7975
|
|
|
7972
|
-
// 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
|
|
7973
7977
|
var conversationDetails = union([
|
|
7974
7978
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7975
7979
|
message
|
|
@@ -8059,7 +8063,7 @@ var conversationHit = strictObject({
|
|
|
8059
8063
|
stale: boolean()
|
|
8060
8064
|
});
|
|
8061
8065
|
|
|
8062
|
-
// 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
|
|
8063
8067
|
var counters = strictObject({
|
|
8064
8068
|
cutoff: time,
|
|
8065
8069
|
max_age_ms: milliseconds,
|
|
@@ -8089,7 +8093,7 @@ var counterRefresh = strictObject({
|
|
|
8089
8093
|
complete: optional(boolean())
|
|
8090
8094
|
});
|
|
8091
8095
|
|
|
8092
|
-
// 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
|
|
8093
8097
|
var document = strictObject({
|
|
8094
8098
|
ref: reference,
|
|
8095
8099
|
id,
|
|
@@ -8104,7 +8108,7 @@ var document = strictObject({
|
|
|
8104
8108
|
owners: optional(array(text))
|
|
8105
8109
|
});
|
|
8106
8110
|
|
|
8107
|
-
// 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
|
|
8108
8112
|
var documentLink = strictObject({
|
|
8109
8113
|
ref: reference,
|
|
8110
8114
|
url: text,
|
|
@@ -8115,7 +8119,7 @@ var documentLink = strictObject({
|
|
|
8115
8119
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8116
8120
|
});
|
|
8117
8121
|
|
|
8118
|
-
// 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
|
|
8119
8123
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8120
8124
|
var contribution = strictObject({
|
|
8121
8125
|
message: evidenceMessage,
|
|
@@ -8145,7 +8149,7 @@ var retentionStay = strictObject({
|
|
|
8145
8149
|
});
|
|
8146
8150
|
var evidence = union([contribution, retentionStay]);
|
|
8147
8151
|
|
|
8148
|
-
// 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
|
|
8149
8153
|
var fact = strictObject({
|
|
8150
8154
|
ref: reference,
|
|
8151
8155
|
id,
|
|
@@ -8176,7 +8180,7 @@ var fact = strictObject({
|
|
|
8176
8180
|
updated_at: time
|
|
8177
8181
|
});
|
|
8178
8182
|
|
|
8179
|
-
// 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
|
|
8180
8184
|
var hit = strictObject({
|
|
8181
8185
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8182
8186
|
ref: reference,
|
|
@@ -8224,7 +8228,7 @@ var hit = strictObject({
|
|
|
8224
8228
|
untrusted
|
|
8225
8229
|
});
|
|
8226
8230
|
|
|
8227
|
-
// 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
|
|
8228
8232
|
var identity = strictObject({
|
|
8229
8233
|
ref: reference,
|
|
8230
8234
|
provider: text,
|
|
@@ -8240,7 +8244,7 @@ var identity = strictObject({
|
|
|
8240
8244
|
person: optional(nullable(reference))
|
|
8241
8245
|
});
|
|
8242
8246
|
|
|
8243
|
-
// 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
|
|
8244
8248
|
var imageEmbedding = strictObject({
|
|
8245
8249
|
model: text,
|
|
8246
8250
|
embedded: count,
|
|
@@ -8249,13 +8253,13 @@ var imageEmbedding = strictObject({
|
|
|
8249
8253
|
more: boolean()
|
|
8250
8254
|
});
|
|
8251
8255
|
|
|
8252
|
-
// 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
|
|
8253
8257
|
import { spawn } from "node:child_process";
|
|
8254
8258
|
import { randomBytes } from "node:crypto";
|
|
8255
8259
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8256
8260
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8257
8261
|
|
|
8258
|
-
// 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
|
|
8259
8263
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8260
8264
|
const total = input.total ?? null;
|
|
8261
8265
|
const updated = input.updatedAt ?? null;
|
|
@@ -8271,7 +8275,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8271
8275
|
};
|
|
8272
8276
|
}, "progressOf");
|
|
8273
8277
|
|
|
8274
|
-
// 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
|
|
8275
8279
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8276
8280
|
const run = currentRun();
|
|
8277
8281
|
const trace = traceId ?? run.traceId;
|
|
@@ -8285,7 +8289,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8285
8289
|
}));
|
|
8286
8290
|
}, "recordLogFor");
|
|
8287
8291
|
|
|
8288
|
-
// 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
|
|
8289
8293
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8290
8294
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8291
8295
|
const out = openSync(log, "a", 384);
|
|
@@ -8440,7 +8444,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8440
8444
|
return { job: id6, pid, chat: input.chat, log };
|
|
8441
8445
|
}, "startArchiveJob");
|
|
8442
8446
|
|
|
8443
|
-
// 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
|
|
8444
8448
|
var problem = strictObject({ code: text, message: text });
|
|
8445
8449
|
var job = strictObject({
|
|
8446
8450
|
id,
|
|
@@ -8463,7 +8467,7 @@ var job = strictObject({
|
|
|
8463
8467
|
error: optional(problem)
|
|
8464
8468
|
});
|
|
8465
8469
|
|
|
8466
|
-
// 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
|
|
8467
8471
|
var joinRequest = strictObject({
|
|
8468
8472
|
person_id: id,
|
|
8469
8473
|
name: nullable(text),
|
|
@@ -8474,7 +8478,7 @@ var joinRequest = strictObject({
|
|
|
8474
8478
|
about: optional(text)
|
|
8475
8479
|
});
|
|
8476
8480
|
|
|
8477
|
-
// 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
|
|
8478
8482
|
var botProfile = strictObject({
|
|
8479
8483
|
name: text,
|
|
8480
8484
|
token: text,
|
|
@@ -8598,7 +8602,7 @@ var stickerInventory = strictObject({
|
|
|
8598
8602
|
url: optional(nullable(text))
|
|
8599
8603
|
});
|
|
8600
8604
|
|
|
8601
|
-
// 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
|
|
8602
8606
|
var pollVote = strictObject({
|
|
8603
8607
|
person_id: id,
|
|
8604
8608
|
name: nullable(text),
|
|
@@ -8608,7 +8612,7 @@ var pollVote = strictObject({
|
|
|
8608
8612
|
voted_at: time
|
|
8609
8613
|
});
|
|
8610
8614
|
|
|
8611
|
-
// 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
|
|
8612
8616
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8613
8617
|
var observation = strictObject({
|
|
8614
8618
|
value: pipe(number(), minValue(0)),
|
|
@@ -8650,7 +8654,7 @@ var serveSummary = strictObject({
|
|
|
8650
8654
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8651
8655
|
});
|
|
8652
8656
|
|
|
8653
|
-
// 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
|
|
8654
8658
|
var mailCounts = strictObject({
|
|
8655
8659
|
by: picklist(["day", "week", "sender"]),
|
|
8656
8660
|
received: count,
|
|
@@ -8665,7 +8669,7 @@ var mailCounts = strictObject({
|
|
|
8665
8669
|
}))
|
|
8666
8670
|
});
|
|
8667
8671
|
|
|
8668
|
-
// 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
|
|
8669
8673
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8670
8674
|
var base = { id, evidence: array(evidence2) };
|
|
8671
8675
|
var finding = variant("kind", [
|
|
@@ -8809,7 +8813,7 @@ var mailFindings = strictObject({
|
|
|
8809
8813
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8810
8814
|
});
|
|
8811
8815
|
|
|
8812
|
-
// 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
|
|
8813
8817
|
var mediaArchive = strictObject({
|
|
8814
8818
|
directory: text,
|
|
8815
8819
|
chats: count,
|
|
@@ -8841,7 +8845,7 @@ var mediaArchiveTimer = union([
|
|
|
8841
8845
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8842
8846
|
]);
|
|
8843
8847
|
|
|
8844
|
-
// 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
|
|
8845
8849
|
var preparationId = pipe(string(), minLength(1));
|
|
8846
8850
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8847
8851
|
var preparationTime = nullable(isoTime);
|
|
@@ -8933,7 +8937,7 @@ var preparationMeeting = strictObject({
|
|
|
8933
8937
|
updated_at: isoTime
|
|
8934
8938
|
});
|
|
8935
8939
|
|
|
8936
|
-
// 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
|
|
8937
8941
|
var meetingEvidence = preparationEvidence;
|
|
8938
8942
|
var meetingPersonContext = strictObject({
|
|
8939
8943
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8955,7 +8959,7 @@ var meetingPersonContext = strictObject({
|
|
|
8955
8959
|
})
|
|
8956
8960
|
});
|
|
8957
8961
|
|
|
8958
|
-
// 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
|
|
8959
8963
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8960
8964
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8961
8965
|
var finding2 = variant("kind", [
|
|
@@ -8993,7 +8997,7 @@ var meetingFindings = strictObject({
|
|
|
8993
8997
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8994
8998
|
});
|
|
8995
8999
|
|
|
8996
|
-
// 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
|
|
8997
9001
|
var communicationCoverage = strictObject({
|
|
8998
9002
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8999
9003
|
query: string(),
|
|
@@ -9038,7 +9042,7 @@ var preparationCommunications = strictObject({
|
|
|
9038
9042
|
}))
|
|
9039
9043
|
});
|
|
9040
9044
|
|
|
9041
|
-
// 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
|
|
9042
9046
|
var meetingPreparation = strictObject({
|
|
9043
9047
|
communications: optional(preparationCommunications),
|
|
9044
9048
|
schema_version: literal(1),
|
|
@@ -9151,7 +9155,7 @@ var meetingPreparation = strictObject({
|
|
|
9151
9155
|
})
|
|
9152
9156
|
});
|
|
9153
9157
|
|
|
9154
|
-
// 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
|
|
9155
9159
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9156
9160
|
var id3 = pipe(string(), minLength(1));
|
|
9157
9161
|
var text3 = string();
|
|
@@ -9215,7 +9219,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9215
9219
|
})
|
|
9216
9220
|
});
|
|
9217
9221
|
|
|
9218
|
-
// 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
|
|
9219
9223
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9220
9224
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9221
9225
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9245,7 +9249,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9245
9249
|
})
|
|
9246
9250
|
});
|
|
9247
9251
|
|
|
9248
|
-
// 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
|
|
9249
9253
|
var text4 = string();
|
|
9250
9254
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9251
9255
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9262,7 +9266,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9262
9266
|
persistence: literal("proposal-only")
|
|
9263
9267
|
});
|
|
9264
9268
|
|
|
9265
|
-
// 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
|
|
9266
9270
|
var memory = strictObject({
|
|
9267
9271
|
ref: reference,
|
|
9268
9272
|
id,
|
|
@@ -9290,7 +9294,7 @@ var memory = strictObject({
|
|
|
9290
9294
|
updated_at: time
|
|
9291
9295
|
});
|
|
9292
9296
|
|
|
9293
|
-
// 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
|
|
9294
9298
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9295
9299
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9296
9300
|
var mention = strictObject({
|
|
@@ -9334,13 +9338,13 @@ var mentionRebuild = strictObject({
|
|
|
9334
9338
|
mentions: count
|
|
9335
9339
|
});
|
|
9336
9340
|
|
|
9337
|
-
// 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
|
|
9338
9342
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9339
9343
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9340
9344
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9341
9345
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9342
9346
|
|
|
9343
|
-
// 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
|
|
9344
9348
|
var messageTranscript = strictObject({
|
|
9345
9349
|
message_id: id,
|
|
9346
9350
|
text,
|
|
@@ -9398,7 +9402,7 @@ var evidencePacket = strictObject({
|
|
|
9398
9402
|
}))
|
|
9399
9403
|
});
|
|
9400
9404
|
|
|
9401
|
-
// 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
|
|
9402
9406
|
var messageThread = strictObject({
|
|
9403
9407
|
ref: reference,
|
|
9404
9408
|
chat: id,
|
|
@@ -9415,7 +9419,7 @@ var messageThread = strictObject({
|
|
|
9415
9419
|
});
|
|
9416
9420
|
var messageContext = union([message, messageThread]);
|
|
9417
9421
|
|
|
9418
|
-
// 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
|
|
9419
9423
|
var messageCounts = strictObject({
|
|
9420
9424
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9421
9425
|
total: count,
|
|
@@ -9428,7 +9432,7 @@ var messageCounts = strictObject({
|
|
|
9428
9432
|
}))
|
|
9429
9433
|
});
|
|
9430
9434
|
|
|
9431
|
-
// 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
|
|
9432
9436
|
var messageLink = strictObject({
|
|
9433
9437
|
ref: reference,
|
|
9434
9438
|
url: nullable(text),
|
|
@@ -9445,7 +9449,7 @@ var messageLink = strictObject({
|
|
|
9445
9449
|
})))
|
|
9446
9450
|
});
|
|
9447
9451
|
|
|
9448
|
-
// 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
|
|
9449
9453
|
var savedMessageFile = strictObject({
|
|
9450
9454
|
kind: text,
|
|
9451
9455
|
path: text,
|
|
@@ -9532,7 +9536,7 @@ var messageSyncAll = strictObject({
|
|
|
9532
9536
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9533
9537
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9534
9538
|
|
|
9535
|
-
// 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
|
|
9536
9540
|
var messageWrite = strictObject({
|
|
9537
9541
|
operation_id: id,
|
|
9538
9542
|
message,
|
|
@@ -9547,7 +9551,7 @@ var draftWrite = strictObject({
|
|
|
9547
9551
|
});
|
|
9548
9552
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9549
9553
|
|
|
9550
|
-
// 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
|
|
9551
9555
|
var model2 = strictObject({
|
|
9552
9556
|
id,
|
|
9553
9557
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9582,7 +9586,7 @@ var chosenModel = strictObject({
|
|
|
9582
9586
|
estimate_seconds: nullable(count)
|
|
9583
9587
|
});
|
|
9584
9588
|
|
|
9585
|
-
// 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
|
|
9586
9590
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9587
9591
|
var modelKey = strictObject({
|
|
9588
9592
|
provider: text,
|
|
@@ -9592,7 +9596,7 @@ var modelKey = strictObject({
|
|
|
9592
9596
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9593
9597
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9594
9598
|
|
|
9595
|
-
// 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
|
|
9596
9600
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9597
9601
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9598
9602
|
var graph = strictObject({
|
|
@@ -9626,14 +9630,14 @@ var officialStats = strictObject({
|
|
|
9626
9630
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9627
9631
|
});
|
|
9628
9632
|
|
|
9629
|
-
// 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
|
|
9630
9634
|
var person2 = strictObject({
|
|
9631
9635
|
ref: reference,
|
|
9632
9636
|
name: nullable(text),
|
|
9633
9637
|
identities: optional(array(identity))
|
|
9634
9638
|
});
|
|
9635
9639
|
|
|
9636
|
-
// 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
|
|
9637
9641
|
var poll = strictObject({
|
|
9638
9642
|
chat_id: id,
|
|
9639
9643
|
message_id: id,
|
|
@@ -9649,11 +9653,11 @@ var poll = strictObject({
|
|
|
9649
9653
|
});
|
|
9650
9654
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9651
9655
|
|
|
9652
|
-
// 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
|
|
9653
9657
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9654
9658
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9655
9659
|
|
|
9656
|
-
// 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
|
|
9657
9661
|
var figures = record(string(), number());
|
|
9658
9662
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9659
9663
|
var rankingRow = strictObject({
|
|
@@ -9700,7 +9704,7 @@ var ranking = strictObject({
|
|
|
9700
9704
|
rows: array(rankingRow)
|
|
9701
9705
|
});
|
|
9702
9706
|
|
|
9703
|
-
// 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
|
|
9704
9708
|
var reaction = strictObject({
|
|
9705
9709
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9706
9710
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9708,7 +9712,7 @@ var reaction = strictObject({
|
|
|
9708
9712
|
reacted_at: time
|
|
9709
9713
|
});
|
|
9710
9714
|
|
|
9711
|
-
// 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
|
|
9712
9716
|
var reactionChange = strictObject({
|
|
9713
9717
|
operation_id: id,
|
|
9714
9718
|
chat_id: id,
|
|
@@ -9716,7 +9720,7 @@ var reactionChange = strictObject({
|
|
|
9716
9720
|
reaction: nullable(text)
|
|
9717
9721
|
});
|
|
9718
9722
|
|
|
9719
|
-
// 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
|
|
9720
9724
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9721
9725
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9722
9726
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9727,7 +9731,7 @@ var recipientChange = strictObject({
|
|
|
9727
9731
|
...partial(recipientOff).entries
|
|
9728
9732
|
});
|
|
9729
9733
|
|
|
9730
|
-
// 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
|
|
9731
9735
|
var events = array(record(string(), unknown()));
|
|
9732
9736
|
var recordedRun = strictObject({
|
|
9733
9737
|
run_id: id,
|
|
@@ -9799,7 +9803,7 @@ var runHit = strictObject({
|
|
|
9799
9803
|
});
|
|
9800
9804
|
var runLocation = strictObject({ path: text });
|
|
9801
9805
|
|
|
9802
|
-
// 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
|
|
9803
9807
|
var relationship = strictObject({
|
|
9804
9808
|
id,
|
|
9805
9809
|
from: reference,
|
|
@@ -9826,7 +9830,7 @@ var relationship = strictObject({
|
|
|
9826
9830
|
created_at: time
|
|
9827
9831
|
});
|
|
9828
9832
|
|
|
9829
|
-
// 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
|
|
9830
9834
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9831
9835
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9832
9836
|
var responseTimes = strictObject({
|
|
@@ -9843,7 +9847,7 @@ var waitingChats = strictObject({
|
|
|
9843
9847
|
by_kind: strictObject({ private: count, group: count })
|
|
9844
9848
|
});
|
|
9845
9849
|
|
|
9846
|
-
// 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
|
|
9847
9851
|
var retentionCohort = strictObject({
|
|
9848
9852
|
/** The first day of the joining day or week. */
|
|
9849
9853
|
cohort: text,
|
|
@@ -9891,7 +9895,7 @@ var retention = strictObject({
|
|
|
9891
9895
|
rows: array(retentionCohort)
|
|
9892
9896
|
});
|
|
9893
9897
|
|
|
9894
|
-
// 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
|
|
9895
9899
|
var savedSearch = strictObject({
|
|
9896
9900
|
id,
|
|
9897
9901
|
/** `null` for a run in the history. */
|
|
@@ -9908,7 +9912,7 @@ var savedSearch = strictObject({
|
|
|
9908
9912
|
});
|
|
9909
9913
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9910
9914
|
|
|
9911
|
-
// 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
|
|
9912
9916
|
var sendAttempt = strictObject({
|
|
9913
9917
|
at: time,
|
|
9914
9918
|
profile: text,
|
|
@@ -9936,7 +9940,7 @@ var sendAttempt = strictObject({
|
|
|
9936
9940
|
error_code: optional(text)
|
|
9937
9941
|
});
|
|
9938
9942
|
|
|
9939
|
-
// 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
|
|
9940
9944
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9941
9945
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9942
9946
|
var infoSchema = strictObject({
|
|
@@ -10166,7 +10170,7 @@ var storeRepair = union([
|
|
|
10166
10170
|
]);
|
|
10167
10171
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10168
10172
|
|
|
10169
|
-
// 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
|
|
10170
10174
|
var range = strictObject({ from: number(), to: number() });
|
|
10171
10175
|
var storeChatStatus = strictObject({
|
|
10172
10176
|
chat_id: id,
|
|
@@ -10264,7 +10268,7 @@ var storeJobRetry = union([
|
|
|
10264
10268
|
]);
|
|
10265
10269
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10266
10270
|
|
|
10267
|
-
// 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
|
|
10268
10272
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10269
10273
|
var storeTable = strictObject({
|
|
10270
10274
|
name: text,
|
|
@@ -10273,7 +10277,7 @@ var storeTable = strictObject({
|
|
|
10273
10277
|
bytes: optional(nullable(count))
|
|
10274
10278
|
});
|
|
10275
10279
|
|
|
10276
|
-
// 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
|
|
10277
10281
|
var tagTarget = variant("type", [
|
|
10278
10282
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10279
10283
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10304,7 +10308,7 @@ var automaticTags = strictObject({
|
|
|
10304
10308
|
dry_run: boolean()
|
|
10305
10309
|
});
|
|
10306
10310
|
|
|
10307
|
-
// 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
|
|
10308
10312
|
var tagging = strictObject({
|
|
10309
10313
|
tag: text,
|
|
10310
10314
|
type: picklist(TAG_TYPES),
|
|
@@ -10317,7 +10321,7 @@ var tagging = strictObject({
|
|
|
10317
10321
|
created_at: time
|
|
10318
10322
|
});
|
|
10319
10323
|
|
|
10320
|
-
// 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
|
|
10321
10325
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10322
10326
|
var taskPair = strictObject({
|
|
10323
10327
|
task: nullable(side),
|
|
@@ -10340,7 +10344,7 @@ var taskPair = strictObject({
|
|
|
10340
10344
|
created_at: time
|
|
10341
10345
|
});
|
|
10342
10346
|
|
|
10343
|
-
// 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
|
|
10344
10348
|
var nullableTime = nullable(time);
|
|
10345
10349
|
var link = strictObject({
|
|
10346
10350
|
id,
|
|
@@ -10514,7 +10518,7 @@ var taskReview = strictObject({
|
|
|
10514
10518
|
untrusted
|
|
10515
10519
|
});
|
|
10516
10520
|
|
|
10517
|
-
// 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
|
|
10518
10522
|
var template = strictObject({
|
|
10519
10523
|
key: text,
|
|
10520
10524
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10526,7 +10530,7 @@ var template = strictObject({
|
|
|
10526
10530
|
updated_by: nullable(text)
|
|
10527
10531
|
});
|
|
10528
10532
|
|
|
10529
|
-
// 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
|
|
10530
10534
|
var topic = strictObject({
|
|
10531
10535
|
id,
|
|
10532
10536
|
title: text,
|
|
@@ -10540,7 +10544,7 @@ var topic = strictObject({
|
|
|
10540
10544
|
untrusted
|
|
10541
10545
|
});
|
|
10542
10546
|
|
|
10543
|
-
// 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
|
|
10544
10548
|
var ENTITIES = {
|
|
10545
10549
|
sync_progress: progress,
|
|
10546
10550
|
deal,
|
|
@@ -10715,6 +10719,7 @@ var ENTITIES = {
|
|
|
10715
10719
|
meeting_link: meetingLink,
|
|
10716
10720
|
meeting_stats: meetingStats,
|
|
10717
10721
|
meeting_counts: meetingCounts,
|
|
10722
|
+
call_stats: callStats,
|
|
10718
10723
|
meeting_speaker: meetingSpeaker,
|
|
10719
10724
|
meeting_participants: meetingParticipants,
|
|
10720
10725
|
meeting_passage: meetingPassage,
|
|
@@ -10835,7 +10840,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10835
10840
|
return [name, definition];
|
|
10836
10841
|
})), "entityDefinitions");
|
|
10837
10842
|
|
|
10838
|
-
// 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
|
|
10839
10844
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10840
10845
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10841
10846
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10869,7 +10874,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10869
10874
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10870
10875
|
}, "answerRow");
|
|
10871
10876
|
|
|
10872
|
-
// 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
|
|
10873
10878
|
import { join as join6 } from "node:path";
|
|
10874
10879
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10875
10880
|
var IMAGE_MODELS = [
|
|
@@ -10923,7 +10928,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10923
10928
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
10924
10929
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10925
10930
|
|
|
10926
|
-
// 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
|
|
10927
10932
|
var STEPS2 = defineSteps([
|
|
10928
10933
|
...STEPS,
|
|
10929
10934
|
{
|
|
@@ -11213,7 +11218,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11213
11218
|
].join(" ");
|
|
11214
11219
|
}, "stepLine");
|
|
11215
11220
|
|
|
11216
|
-
// 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
|
|
11217
11222
|
var where = [{ field: "ref" }];
|
|
11218
11223
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11219
11224
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11305,7 +11310,7 @@ var STATUS_ROWS = {
|
|
|
11305
11310
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11306
11311
|
};
|
|
11307
11312
|
|
|
11308
|
-
// 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
|
|
11309
11314
|
var TEXT_CHARS = 400;
|
|
11310
11315
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11311
11316
|
var messageRow = {
|
|
@@ -11673,7 +11678,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11673
11678
|
return lines.concat(footerOf(body)).join("\n");
|
|
11674
11679
|
}, "compactText");
|
|
11675
11680
|
|
|
11676
|
-
// 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
|
|
11677
11682
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11678
11683
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11679
11684
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11731,7 +11736,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11731
11736
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11732
11737
|
}, "largeAnswerSteps");
|
|
11733
11738
|
|
|
11734
|
-
// 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
|
|
11735
11740
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11736
11741
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11737
11742
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11745,7 +11750,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11745
11750
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11746
11751
|
}, "strip");
|
|
11747
11752
|
|
|
11748
|
-
// 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
|
|
11749
11754
|
var OPEN = "\u27E6";
|
|
11750
11755
|
var CLOSE = "\u27E7";
|
|
11751
11756
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11829,7 +11834,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11829
11834
|
return result;
|
|
11830
11835
|
}, "withFieldsMarked");
|
|
11831
11836
|
|
|
11832
|
-
// 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
|
|
11833
11838
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11834
11839
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11835
11840
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11935,9 +11940,27 @@ var withLargeAnswerStep = /* @__PURE__ */ __name((command, body) => {
|
|
|
11935
11940
|
}, "withLargeAnswerStep");
|
|
11936
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");
|
|
11937
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");
|
|
11938
11958
|
var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams, compact, full }, body, view) => {
|
|
11939
11959
|
if (!isBody(body))
|
|
11940
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 } };
|
|
11941
11964
|
const root = rootOf2(command);
|
|
11942
11965
|
const runnableSteps = runnable(root, body.next);
|
|
11943
11966
|
const next = environmentOf(command).agent ? runnableSteps : withLines(root, runnableSteps);
|
|
@@ -12100,6 +12123,7 @@ export {
|
|
|
12100
12123
|
fixVerb,
|
|
12101
12124
|
issueMessage,
|
|
12102
12125
|
readConfigFile,
|
|
12126
|
+
DEFAULT_CONFIG,
|
|
12103
12127
|
accountFileFor,
|
|
12104
12128
|
rememberAccount,
|
|
12105
12129
|
recalledAccount,
|