@wirecat/mail-cli 0.14.0 → 0.15.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 +49 -0
- package/README.md +5 -4
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-O7HQNZOF.js → all-profiles-PKXL5TKP.js} +10 -10
- package/dist/bundle/{anthropic-SNA6PTVO.js → anthropic-DFDNZU7C.js} +6 -6
- package/dist/bundle/{app-server-LBKMJMKN.js → app-server-WOZAOCKX.js} +47 -47
- package/dist/bundle/{bun-KF5QK2YN.js → bun-DKZAL6ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-2DKMM2PT.js → bun-sqlite-2A7FS5GD.js} +5 -5
- package/dist/bundle/{chunk-KLLKDOO2.js → chunk-2A4Z3WOC.js} +476 -304
- package/dist/bundle/{chunk-VERSKGJV.js → chunk-2BHY4GFP.js} +2 -2
- package/dist/bundle/{chunk-P62Z3Q35.js → chunk-3MKCLPQV.js} +14 -14
- package/dist/bundle/{chunk-FTGCXIQA.js → chunk-4DGOI6JB.js} +47 -33
- package/dist/bundle/{chunk-BP3TZ4EY.js → chunk-4HVY3QPF.js} +1 -1
- package/dist/bundle/{chunk-NGZW2JPK.js → chunk-4TPNRJER.js} +7 -7
- package/dist/bundle/{chunk-W643XZIR.js → chunk-4XRIALMN.js} +2 -2
- package/dist/bundle/{chunk-B5XAETYU.js → chunk-4YECCESG.js} +2 -2
- package/dist/bundle/{chunk-IPKXRW6W.js → chunk-5C3L2QER.js} +26 -25
- package/dist/bundle/{chunk-V5ZID7KC.js → chunk-5W7D5H2R.js} +1 -1
- package/dist/bundle/{chunk-E7BTD4P6.js → chunk-6AYJDBHT.js} +6 -6
- package/dist/bundle/{chunk-I7EWIIBC.js → chunk-6Z7VBDFR.js} +2 -3
- package/dist/bundle/{chunk-P547HU26.js → chunk-73SQQXSU.js} +10 -10
- package/dist/bundle/{chunk-ER6PJAPK.js → chunk-A6O3WHBD.js} +3 -3
- package/dist/bundle/{chunk-MQK2UNG4.js → chunk-BIKMEGC7.js} +8 -8
- package/dist/bundle/{chunk-AOVOIXGR.js → chunk-BKF7XIJ5.js} +10 -10
- package/dist/bundle/{chunk-NVQUK2DH.js → chunk-BY5S3JEZ.js} +47 -47
- package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
- package/dist/bundle/{chunk-2F7D6YMB.js → chunk-EDJQDR5X.js} +4 -4
- package/dist/bundle/{chunk-3YGYB3LJ.js → chunk-ENZTLYTS.js} +23 -5
- package/dist/bundle/{chunk-UHHARH5X.js → chunk-FEWWBU2I.js} +147 -73
- package/dist/bundle/{chunk-IVDUR5Y4.js → chunk-G6RG2AZV.js} +15 -8
- package/dist/bundle/{chunk-DIP3ENSY.js → chunk-HGOYQUT7.js} +1 -1
- package/dist/bundle/{chunk-XRJIQC6P.js → chunk-IA6U76ZY.js} +2 -2
- package/dist/bundle/{chunk-7LDC275M.js → chunk-JQTIB4WJ.js} +7 -7
- package/dist/bundle/{chunk-M2YIJDBL.js → chunk-K4N5UG64.js} +6 -6
- package/dist/bundle/{chunk-2A4BAMNF.js → chunk-KJYCA6IC.js} +4 -4
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-QZXHMQCM.js → chunk-LARQTWIL.js} +1 -1
- package/dist/bundle/{chunk-Q5EYTU3Q.js → chunk-LRBAQSU3.js} +3 -3
- package/dist/bundle/{chunk-UMWR5PKA.js → chunk-M5DF6QNT.js} +13 -13
- package/dist/bundle/{chunk-G53HRGTK.js → chunk-M5VHTDJZ.js} +17 -17
- package/dist/bundle/{chunk-RE5SEGSR.js → chunk-NDZK466U.js} +4 -4
- package/dist/bundle/{chunk-2KVR7FF3.js → chunk-NNLYS4IR.js} +9 -9
- package/dist/bundle/{chunk-WBJQEB6E.js → chunk-OJEIUOMW.js} +12 -12
- package/dist/bundle/{chunk-X5XIFNTI.js → chunk-OZVGHHFZ.js} +2 -2
- package/dist/bundle/{chunk-VA3JKERH.js → chunk-P4SV3VKP.js} +2 -2
- package/dist/bundle/{chunk-5C74F7XX.js → chunk-PI5P457W.js} +4 -4
- package/dist/bundle/{chunk-XPREXN3W.js → chunk-PXLVTHMH.js} +3 -3
- package/dist/bundle/{chunk-3EAAEF5U.js → chunk-QCNK3YUZ.js} +95 -36
- package/dist/bundle/{chunk-6EZ7XGRG.js → chunk-QJQV6KG2.js} +2 -2
- package/dist/bundle/{chunk-KQ5P5NLL.js → chunk-QSGT4ZH4.js} +1 -1
- package/dist/bundle/{chunk-OGK7LMYT.js → chunk-QTD3BVS5.js} +6 -6
- package/dist/bundle/{chunk-WVWNKZI4.js → chunk-R6UG66IM.js} +465 -280
- package/dist/bundle/{chunk-I62OTHDE.js → chunk-RBNL3DBQ.js} +3 -3
- package/dist/bundle/{chunk-7GSE57K3.js → chunk-RFDP45QO.js} +3 -3
- package/dist/bundle/{chunk-YG4OI3HJ.js → chunk-SPQY3PJX.js} +232 -180
- package/dist/bundle/{chunk-H7OQ4YZV.js → chunk-SRHKHE4C.js} +47 -28
- package/dist/bundle/{chunk-DPKHVBP3.js → chunk-U3VX3UUC.js} +5 -5
- package/dist/bundle/{chunk-6CZQJ5XR.js → chunk-VQQFOA4O.js} +8 -8
- package/dist/bundle/{chunk-UJEO3VWA.js → chunk-WIU733D2.js} +1 -1
- package/dist/bundle/{chunk-F5SZVO3A.js → chunk-WOV3ABQR.js} +4 -4
- package/dist/bundle/{chunk-KBFIKUCA.js → chunk-WTDYN3TQ.js} +28 -28
- package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
- package/dist/bundle/{chunk-QWRBAQZ7.js → chunk-XGNC5OJG.js} +1 -1
- package/dist/bundle/{chunk-MXG4L7NH.js → chunk-XKUAEYJV.js} +10 -10
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-H2ZURG7Q.js → chunk-YRHXVXLQ.js} +2 -2
- package/dist/bundle/{chunk-ZCPUKUST.js → chunk-YWIU4HOT.js} +1 -1
- package/dist/bundle/command-contract-4E4NYRR7.js +34 -0
- package/dist/bundle/{decode-X7Y2VSYZ.js → decode-LX4FPSI7.js} +5 -5
- package/dist/bundle/{dispatch-OWNO2CMC.js → dispatch-3ILCYZ4Q.js} +8 -8
- package/dist/bundle/{dist-L7FNC74Q.js → dist-HQIZDYNQ.js} +14 -14
- package/dist/bundle/{echarts-5AB3LFVD.js → echarts-BGBPRGR5.js} +2 -2
- package/dist/bundle/{embed-VBS5LRCE.js → embed-ASAE3H5I.js} +6 -6
- package/dist/bundle/{embedder-VFSYBDKK.js → embedder-QYDZRKBX.js} +9 -9
- package/dist/bundle/{failure-E534GZDF.js → failure-UDL5QZRZ.js} +2 -2
- package/dist/bundle/{first-run-NO2ODH2W.js → first-run-EFNNGFCB.js} +11 -11
- package/dist/bundle/first-screen-XHM3TT6G.js +32 -0
- package/dist/bundle/{instructions-52W6ZQTU.js → instructions-6LPDSKAD.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{node-TL2PBNKO.js → node-IB246NCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-757HNQAD.js → node-sqlite-UROXM4VR.js} +6 -6
- package/dist/bundle/{oauth-VDRNJ7KN.js → oauth-VSCKHS4T.js} +7 -7
- package/dist/bundle/{open-NUWYOKPO.js → open-R4LVB63T.js} +5 -5
- package/dist/bundle/{openai-YLBFVK5X.js → openai-MKCEOFKL.js} +14 -14
- package/dist/bundle/{process-PWAGP6YY.js → process-SWPJGPQC.js} +1 -1
- package/dist/bundle/{program-PPUPVL7O.js → program-CJ2YDRUY.js} +11358 -10374
- package/dist/bundle/{prompt-M5U66RVJ.js → prompt-TWWJ5VAM.js} +5 -5
- package/dist/bundle/{recognize-DCMDZA2U.js → recognize-XMO5ETQU.js} +4 -4
- package/dist/bundle/{remote-4SHI5WJG.js → remote-N6VAWJWE.js} +7 -7
- package/dist/bundle/{rerank-DYMZMNPQ.js → rerank-XNAMC6FH.js} +7 -7
- package/dist/bundle/{serve-HO3WME4G.js → serve-IJ32WEBH.js} +9 -9
- package/dist/bundle/server-CRVR4L2E.js +64 -0
- package/dist/bundle/{server-R3TIPRZN.js → server-KEYSE5OL.js} +39 -39
- package/dist/bundle/{sqlite-runtime-DWRITUIH.js → sqlite-runtime-NFBRN7OF.js} +6 -6
- package/dist/bundle/{state-QOMUDOGF.js → state-7WPJEW2Z.js} +6 -6
- package/dist/bundle/{store-LHHMOE5V.js → store-KHVHOGQR.js} +21 -19
- package/dist/bundle/{store-RGO6IABA.js → store-PKQCNACC.js} +15 -15
- package/dist/bundle/store-maintenance-command-5MODJN6R.js +54 -0
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +149 -3
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/context.d.ts +2 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +2 -2
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/import.d.ts +3 -0
- package/dist/commands/import.d.ts.map +1 -0
- package/dist/commands/import.js +92 -0
- package/dist/commands/import.js.map +1 -0
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +29 -3
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/session-start.d.ts.map +1 -1
- package/dist/commands/session-start.js +9 -7
- package/dist/commands/session-start.js.map +1 -1
- package/dist/commands/stats.d.ts.map +1 -1
- package/dist/commands/stats.js +49 -2
- package/dist/commands/stats.js.map +1 -1
- package/dist/commands/sync.d.ts +2 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +38 -4
- package/dist/commands/sync.js.map +1 -1
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +17 -0
- package/dist/config.js.map +1 -1
- package/dist/mail/doctor.d.ts +3 -2
- package/dist/mail/doctor.d.ts.map +1 -1
- package/dist/mail/doctor.js +14 -16
- package/dist/mail/doctor.js.map +1 -1
- package/dist/mail/domain-age.d.ts +29 -0
- package/dist/mail/domain-age.d.ts.map +1 -0
- package/dist/mail/domain-age.js +157 -0
- package/dist/mail/domain-age.js.map +1 -0
- package/dist/mail/mbox.d.ts +9 -0
- package/dist/mail/mbox.d.ts.map +1 -0
- package/dist/mail/mbox.js +230 -0
- package/dist/mail/mbox.js.map +1 -0
- package/dist/oauth.d.ts +13 -9
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +12 -25
- package/dist/oauth.js.map +1 -1
- package/dist/profile.d.ts +4 -1
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +6 -1
- package/dist/profile.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +10 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -1
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/mail-cli/SKILL.md +2 -0
- package/dist/bundle/command-contract-B3OGAIDB.js +0 -34
- package/dist/bundle/first-screen-7VJLGMJJ.js +0 -32
- package/dist/bundle/server-244FHPY4.js +0 -64
- package/dist/bundle/store-maintenance-command-LU2ZBDUY.js +0 -54
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JQTIB4WJ.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
@@ -24,17 +24,17 @@ import {
|
|
|
24
24
|
providerErrorKey,
|
|
25
25
|
renderEvent,
|
|
26
26
|
runContextOf
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NNLYS4IR.js";
|
|
28
28
|
import {
|
|
29
29
|
permissionCeiling
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-A6O3WHBD.js";
|
|
31
31
|
import {
|
|
32
32
|
carries
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WIU733D2.js";
|
|
34
34
|
import {
|
|
35
35
|
filesPresent,
|
|
36
36
|
sharedModelsDirectory
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WOV3ABQR.js";
|
|
38
38
|
import {
|
|
39
39
|
author,
|
|
40
40
|
count,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
text,
|
|
49
49
|
time,
|
|
50
50
|
untrusted
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-KJYCA6IC.js";
|
|
52
52
|
import {
|
|
53
53
|
FACT_STATUSES,
|
|
54
54
|
LINK_KINDS,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
TASK_TYPES,
|
|
65
65
|
TASK_VERDICTS,
|
|
66
66
|
WORK_TASK_TYPES
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-4TPNRJER.js";
|
|
68
68
|
import {
|
|
69
69
|
FACT_TYPES,
|
|
70
70
|
FIELD_TYPES,
|
|
@@ -74,6 +74,7 @@ import {
|
|
|
74
74
|
describeQuery,
|
|
75
75
|
event,
|
|
76
76
|
meeting,
|
|
77
|
+
meetingCounts,
|
|
77
78
|
meetingDetails,
|
|
78
79
|
meetingHit,
|
|
79
80
|
meetingLink,
|
|
@@ -85,13 +86,13 @@ import {
|
|
|
85
86
|
meetingStats,
|
|
86
87
|
meetingSummary,
|
|
87
88
|
meetingTranscript
|
|
88
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-FEWWBU2I.js";
|
|
89
90
|
import {
|
|
90
91
|
sharedConfigPath
|
|
91
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-K4N5UG64.js";
|
|
92
93
|
import {
|
|
93
94
|
storePath
|
|
94
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-OZVGHHFZ.js";
|
|
95
96
|
import {
|
|
96
97
|
configFilePath,
|
|
97
98
|
createRecordLog,
|
|
@@ -101,7 +102,7 @@ import {
|
|
|
101
102
|
saveConfigFile,
|
|
102
103
|
traceIdOf,
|
|
103
104
|
writeSecurely
|
|
104
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-QCNK3YUZ.js";
|
|
105
106
|
import {
|
|
106
107
|
COMPACT_FLAG,
|
|
107
108
|
MAX_NEXT_STEPS,
|
|
@@ -153,17 +154,17 @@ import {
|
|
|
153
154
|
unwrap,
|
|
154
155
|
variant,
|
|
155
156
|
writes
|
|
156
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-G6RG2AZV.js";
|
|
157
158
|
import {
|
|
158
159
|
CliError,
|
|
159
160
|
isCliError,
|
|
160
161
|
visibleControls
|
|
161
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-EB2IULWB.js";
|
|
162
163
|
import {
|
|
163
164
|
__name
|
|
164
165
|
} from "./chunk-ZVVMGPBJ.js";
|
|
165
166
|
|
|
166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
167
168
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
168
169
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
169
170
|
const name = envName(app, "READ_ONLY");
|
|
@@ -173,7 +174,7 @@ var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
|
173
174
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
174
175
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
175
176
|
|
|
176
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
177
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
177
178
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
178
179
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
179
180
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3674,7 +3675,7 @@ __name(useColor, "useColor");
|
|
|
3674
3675
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3675
3676
|
var program = new Command();
|
|
3676
3677
|
|
|
3677
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3678
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3678
3679
|
var argumentInfoSchema = object({
|
|
3679
3680
|
name: string(),
|
|
3680
3681
|
required: boolean(),
|
|
@@ -3748,7 +3749,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3748
3749
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3749
3750
|
});
|
|
3750
3751
|
|
|
3751
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3752
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3752
3753
|
import { isDeepStrictEqual } from "node:util";
|
|
3753
3754
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3754
3755
|
var hidden = /* @__PURE__ */ __name((command) => Boolean(command._hidden), "hidden");
|
|
@@ -3857,7 +3858,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3857
3858
|
return result;
|
|
3858
3859
|
}, "sharedCommand");
|
|
3859
3860
|
|
|
3860
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3861
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3861
3862
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3862
3863
|
let command = root;
|
|
3863
3864
|
const path2 = [];
|
|
@@ -3875,7 +3876,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3875
3876
|
}
|
|
3876
3877
|
}, "refuseJoinedPath");
|
|
3877
3878
|
|
|
3878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3879
3880
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3880
3881
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3881
3882
|
messageId: message2.id,
|
|
@@ -3981,7 +3982,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
3981
3982
|
}, "guardedWrite");
|
|
3982
3983
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
3983
3984
|
|
|
3984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
3985
3986
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
3986
3987
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
3987
3988
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4164,7 +4165,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4164
4165
|
}
|
|
4165
4166
|
}, "withAbort");
|
|
4166
4167
|
|
|
4167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4168
4169
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4169
4170
|
import { join } from "node:path";
|
|
4170
4171
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4186,7 +4187,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4186
4187
|
}, "profilesWithAccounts");
|
|
4187
4188
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4188
4189
|
|
|
4189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4190
4191
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4191
4192
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4192
4193
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4229,7 +4230,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
4229
4230
|
};
|
|
4230
4231
|
}, "runBudget");
|
|
4231
4232
|
|
|
4232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4233
4234
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4234
4235
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4235
4236
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4263,7 +4264,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4263
4264
|
cache: "cache.answered"
|
|
4264
4265
|
};
|
|
4265
4266
|
|
|
4266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4267
4268
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4268
4269
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4269
4270
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4276,13 +4277,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4276
4277
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4277
4278
|
}), "snakeLogger");
|
|
4278
4279
|
|
|
4279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4280
4281
|
import { randomUUID } from "node:crypto";
|
|
4281
4282
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4282
4283
|
import { userInfo } from "node:os";
|
|
4283
4284
|
import { join as join2, sep } from "node:path";
|
|
4284
4285
|
|
|
4285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4286
4287
|
var diagnostic = {
|
|
4287
4288
|
event: true,
|
|
4288
4289
|
operation: true,
|
|
@@ -4352,7 +4353,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4352
4353
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4353
4354
|
].sort();
|
|
4354
4355
|
|
|
4355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4356
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4356
4357
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4357
4358
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4358
4359
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -4705,7 +4706,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
4705
4706
|
};
|
|
4706
4707
|
}, "metadataOf");
|
|
4707
4708
|
|
|
4708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
4709
4710
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4710
4711
|
import { randomBytes } from "node:crypto";
|
|
4711
4712
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -4723,6 +4724,7 @@ var currentRun = /* @__PURE__ */ __name(() => {
|
|
|
4723
4724
|
return processScope;
|
|
4724
4725
|
}, "currentRun");
|
|
4725
4726
|
var inRun = /* @__PURE__ */ __name((scope, body) => scopes.run(scope, body), "inRun");
|
|
4727
|
+
var runEvent = /* @__PURE__ */ __name((event2) => scopes.getStore()?.events?.(event2), "runEvent");
|
|
4726
4728
|
var typedCommand = /* @__PURE__ */ __name((tool, words, profile = currentRun().profile) => [tool, profile, words].filter((part) => part !== void 0 && part !== "").join(" "), "typedCommand");
|
|
4727
4729
|
var useAsProcessRun = /* @__PURE__ */ __name((scope) => {
|
|
4728
4730
|
processScope = scope;
|
|
@@ -4740,8 +4742,9 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
4740
4742
|
}, "childTrace");
|
|
4741
4743
|
var attempts = new AsyncLocalStorage2();
|
|
4742
4744
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
4745
|
+
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
4743
4746
|
|
|
4744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4745
4748
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4746
4749
|
const recording = startRecording(options);
|
|
4747
4750
|
try {
|
|
@@ -4926,9 +4929,9 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4926
4929
|
return void 0;
|
|
4927
4930
|
}, "partialOutcome");
|
|
4928
4931
|
|
|
4929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4930
|
-
var withDeadline = /* @__PURE__ */ __name(async (
|
|
4931
|
-
if (
|
|
4932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4933
|
+
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4934
|
+
if (ms2 === void 0)
|
|
4932
4935
|
return body();
|
|
4933
4936
|
let timer2;
|
|
4934
4937
|
let timedOut;
|
|
@@ -4937,10 +4940,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
4937
4940
|
timer2 = setTimeout(() => {
|
|
4938
4941
|
const pending = [...writes2];
|
|
4939
4942
|
const cut2 = pending.filter((write) => !write.preparing);
|
|
4940
|
-
timedOut = cut2.length > 0 ? new CliError("outcome_unknown", `\`--timeout\` ended the command after ${
|
|
4943
|
+
timedOut = cut2.length > 0 ? new CliError("outcome_unknown", `\`--timeout\` ended the command after ${ms2}ms with ${cut2.length === 1 ? "a write" : `${cut2.length} writes`} in flight; the messenger may or may not have carried it out \u2014 check before repeating it`, { operation_ids: cut2.map((write) => write.operationId), retryable: false }) : new CliError("timeout", `the command did not finish within ${ms2}ms \u2014 \`--timeout\` ended it`);
|
|
4941
4944
|
stopWrites(writes2, timedOut);
|
|
4942
4945
|
void Promise.allSettled(closeables.map((closeable) => closeable.close())).then(() => reject(timedOut));
|
|
4943
|
-
},
|
|
4946
|
+
}, ms2);
|
|
4944
4947
|
});
|
|
4945
4948
|
try {
|
|
4946
4949
|
return await Promise.race([withWriteScope(writes2, body), expired]);
|
|
@@ -4952,7 +4955,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
4952
4955
|
}
|
|
4953
4956
|
}, "withDeadline");
|
|
4954
4957
|
|
|
4955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4956
4959
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4957
4960
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4958
4961
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5021,10 +5024,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
5021
5024
|
return void 0;
|
|
5022
5025
|
}, "sampleCommand");
|
|
5023
5026
|
|
|
5024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5025
5028
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5026
5029
|
|
|
5027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5028
5031
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5029
5032
|
try {
|
|
5030
5033
|
const url2 = new URL(value);
|
|
@@ -5034,7 +5037,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5034
5037
|
}
|
|
5035
5038
|
}, "endpoint");
|
|
5036
5039
|
|
|
5037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5038
5041
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5039
5042
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5040
5043
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5103,7 +5106,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5103
5106
|
};
|
|
5104
5107
|
}, "modelTarget");
|
|
5105
5108
|
|
|
5106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5107
5110
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5108
5111
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5109
5112
|
var AI_FIELDS = {
|
|
@@ -5147,7 +5150,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5147
5150
|
};
|
|
5148
5151
|
}, "resolveAISettings");
|
|
5149
5152
|
|
|
5150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5151
5154
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5152
5155
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5153
5156
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5155,13 +5158,13 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5155
5158
|
if (!match?.[1] || !match[2]) {
|
|
5156
5159
|
throw new CliError("validation_error", `${source2} takes a duration with a unit \u2014 500ms, 30s, 2m, 4h or 1d \u2014 not "${value}"`);
|
|
5157
5160
|
}
|
|
5158
|
-
const
|
|
5159
|
-
if (
|
|
5161
|
+
const ms2 = Number(match[1]) * (UNIT_MS[match[2]] ?? 0);
|
|
5162
|
+
if (ms2 <= 0)
|
|
5160
5163
|
throw new CliError("validation_error", `${source2} has to be more than zero, and "${value}" is not`);
|
|
5161
|
-
return
|
|
5164
|
+
return ms2;
|
|
5162
5165
|
}, "parseDuration");
|
|
5163
5166
|
|
|
5164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5165
5168
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5166
5169
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5167
5170
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5320,7 +5323,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5320
5323
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5321
5324
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5322
5325
|
|
|
5323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5324
5327
|
var HISTORY_MAX_DAYS = 1095;
|
|
5325
5328
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5326
5329
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5367,10 +5370,10 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5367
5370
|
return { batch: { ...batch, messages }, skipped };
|
|
5368
5371
|
}, "limitBatch");
|
|
5369
5372
|
|
|
5370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5371
5374
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
5372
5375
|
|
|
5373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5374
5377
|
var REPAIR_WORDS = {
|
|
5375
5378
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5376
5379
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5611,7 +5614,7 @@ ${parts.join(",\n")}
|
|
|
5611
5614
|
${indent}${close}`;
|
|
5612
5615
|
}, "serialise");
|
|
5613
5616
|
|
|
5614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5615
5618
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5616
5619
|
var SECTIONS = ["personal", "bot"];
|
|
5617
5620
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -5865,11 +5868,11 @@ var issueMessage = /* @__PURE__ */ __name((issues, doctor = "doctor") => {
|
|
|
5865
5868
|
const more = issues.length - 1;
|
|
5866
5869
|
return `${first2.file}: ${first2.what}` + (first2.fix ? ` \u2014 ${fixVerb(first2)} it with \`${first2.fix}\`` : "") + (more === 0 ? "" : ` (and ${more} more problem${more === 1 ? "" : "s"} \u2014 \`${doctor}\` lists them all)`);
|
|
5867
5870
|
}, "issueMessage");
|
|
5868
|
-
var checkConfigText = /* @__PURE__ */ __name((text5, { file, tool, schema: schema2, knownPermissions }) => {
|
|
5871
|
+
var checkConfigText = /* @__PURE__ */ __name((text5, { file, tool, schema: schema2, knownPermissions, repair = true }) => {
|
|
5869
5872
|
const parsed = parseConfigText(text5, file);
|
|
5870
5873
|
if ("issue" in parsed) {
|
|
5871
5874
|
const issue = publicIssue(parsed.issue);
|
|
5872
|
-
if (repairConfigText(text5).state === "repaired")
|
|
5875
|
+
if (repair && repairConfigText(text5).state === "repaired")
|
|
5873
5876
|
issue.fix = `${tool} config repair`;
|
|
5874
5877
|
return { issues: [issue], config: void 0 };
|
|
5875
5878
|
}
|
|
@@ -5905,7 +5908,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5905
5908
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5906
5909
|
}, "readConfigFile");
|
|
5907
5910
|
|
|
5908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5909
5912
|
import { existsSync as existsSync2, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
5910
5913
|
import { dirname, join as join3 } from "node:path";
|
|
5911
5914
|
var DEFAULT_CONFIG = {
|
|
@@ -5934,7 +5937,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5934
5937
|
}
|
|
5935
5938
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5936
5939
|
|
|
5937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5938
5941
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5939
5942
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5940
5943
|
const path2 = key.split(".");
|
|
@@ -5956,7 +5959,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5956
5959
|
return { config, added };
|
|
5957
5960
|
}, "withSettingDefaults");
|
|
5958
5961
|
|
|
5959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5960
5963
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5961
5964
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5962
5965
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6020,7 +6023,9 @@ var MESSENGER_ONLY_SETTINGS = [
|
|
|
6020
6023
|
"history_dialog_days",
|
|
6021
6024
|
"history_group_days",
|
|
6022
6025
|
"history_group_members_max",
|
|
6023
|
-
"read_other_bots"
|
|
6026
|
+
"read_other_bots",
|
|
6027
|
+
"speech_model",
|
|
6028
|
+
"picture_search"
|
|
6024
6029
|
];
|
|
6025
6030
|
var SHARED_DEFAULTS_ONLY = {
|
|
6026
6031
|
update_check: optional(flag),
|
|
@@ -6152,7 +6157,12 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
6152
6157
|
return { config: { profiles: {} }, issues: [read.issue] };
|
|
6153
6158
|
if (read.text === void 0)
|
|
6154
6159
|
return { config: { profiles: {} }, issues: [] };
|
|
6155
|
-
const { config, issues } = checkConfigText(read.text, {
|
|
6160
|
+
const { config, issues } = checkConfigText(read.text, {
|
|
6161
|
+
file: path2,
|
|
6162
|
+
tool: app.command,
|
|
6163
|
+
schema: readSchema,
|
|
6164
|
+
repair: extension.configRepair !== false
|
|
6165
|
+
});
|
|
6156
6166
|
return { config: config ?? { profiles: {} }, issues };
|
|
6157
6167
|
}, "loadConfig");
|
|
6158
6168
|
const locked = /* @__PURE__ */ __name((profile, lock) => {
|
|
@@ -6437,7 +6447,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6437
6447
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6438
6448
|
}, "given");
|
|
6439
6449
|
|
|
6440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6441
6451
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
|
|
6442
6452
|
const { deadline, signal, app } = environmentOf(command);
|
|
6443
6453
|
const now = deadline?.();
|
|
@@ -6560,7 +6570,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6560
6570
|
return words.join(" ");
|
|
6561
6571
|
}, "commandPath");
|
|
6562
6572
|
|
|
6563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6573
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6564
6574
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6565
6575
|
var FETCH = { remote: "read", local: "write" };
|
|
6566
6576
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6680,7 +6690,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6680
6690
|
throw readOnlyRefusal(lock, what);
|
|
6681
6691
|
}, "refuseUnderReadOnly");
|
|
6682
6692
|
|
|
6683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6684
6694
|
var account = strictObject({
|
|
6685
6695
|
provider: text,
|
|
6686
6696
|
id,
|
|
@@ -6690,7 +6700,7 @@ var account = strictObject({
|
|
|
6690
6700
|
scope: optional(picklist(["personal", "work"]))
|
|
6691
6701
|
});
|
|
6692
6702
|
|
|
6693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6694
6704
|
var accountSession = strictObject({
|
|
6695
6705
|
current: boolean(),
|
|
6696
6706
|
client: nullable(text),
|
|
@@ -6700,7 +6710,7 @@ var accountSession = strictObject({
|
|
|
6700
6710
|
created_at: optional(nullable(time))
|
|
6701
6711
|
});
|
|
6702
6712
|
|
|
6703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6713
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6704
6714
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6705
6715
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6706
6716
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6718,7 +6728,7 @@ var accountPrivacy = strictObject({
|
|
|
6718
6728
|
});
|
|
6719
6729
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
6720
6730
|
|
|
6721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6722
6732
|
var accountProfile = strictObject({
|
|
6723
6733
|
profile: id,
|
|
6724
6734
|
current: boolean(),
|
|
@@ -6728,7 +6738,7 @@ var accountProfile = strictObject({
|
|
|
6728
6738
|
signed_in: optional(boolean())
|
|
6729
6739
|
});
|
|
6730
6740
|
|
|
6731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6741
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6732
6742
|
var milliseconds = pipe(number(), minValue(0));
|
|
6733
6743
|
var counterReading = strictObject({
|
|
6734
6744
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6740,7 +6750,7 @@ var counterReading = strictObject({
|
|
|
6740
6750
|
});
|
|
6741
6751
|
var selection = record(string(), unknown());
|
|
6742
6752
|
|
|
6743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6744
6754
|
var adminRow = strictObject({
|
|
6745
6755
|
ref: reference,
|
|
6746
6756
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6793,7 +6803,7 @@ var adminReport = strictObject({
|
|
|
6793
6803
|
rows: array(adminRow)
|
|
6794
6804
|
});
|
|
6795
6805
|
|
|
6796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6797
6807
|
var closeSuggestion = strictObject({
|
|
6798
6808
|
as: picklist(["done", "dismissed"]),
|
|
6799
6809
|
/** The agent's name. */
|
|
@@ -6851,7 +6861,7 @@ var task = strictObject({
|
|
|
6851
6861
|
updated_at: optional(time)
|
|
6852
6862
|
});
|
|
6853
6863
|
|
|
6854
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6855
6865
|
var agendaChat = strictObject({
|
|
6856
6866
|
chat: reference,
|
|
6857
6867
|
title: nullable(text),
|
|
@@ -6921,11 +6931,11 @@ var agenda = strictObject({
|
|
|
6921
6931
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6922
6932
|
});
|
|
6923
6933
|
|
|
6924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6925
6935
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6926
6936
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6927
6937
|
|
|
6928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6929
6939
|
var attachment = strictObject({
|
|
6930
6940
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6931
6941
|
message: optional(reference),
|
|
@@ -6963,7 +6973,7 @@ var attachment = strictObject({
|
|
|
6963
6973
|
});
|
|
6964
6974
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
6965
6975
|
|
|
6966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6967
6977
|
var actionableError = objectWithRest({
|
|
6968
6978
|
code: text,
|
|
6969
6979
|
message: text,
|
|
@@ -6980,7 +6990,7 @@ var batchResult = strictObject({
|
|
|
6980
6990
|
max_error_percent: count
|
|
6981
6991
|
});
|
|
6982
6992
|
|
|
6983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6984
6994
|
var extractionItem = strictObject({
|
|
6985
6995
|
ref: reference,
|
|
6986
6996
|
attachment: count,
|
|
@@ -7013,7 +7023,7 @@ var extractionReport = strictObject({
|
|
|
7013
7023
|
cursor: optional(text)
|
|
7014
7024
|
});
|
|
7015
7025
|
|
|
7016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7026
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7017
7027
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7018
7028
|
var attachmentBytes = strictObject({
|
|
7019
7029
|
ref: reference,
|
|
@@ -7041,7 +7051,7 @@ var attachmentTextChange = strictObject({
|
|
|
7041
7051
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7042
7052
|
});
|
|
7043
7053
|
|
|
7044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7045
7055
|
var chart = strictObject({
|
|
7046
7056
|
version: literal(1),
|
|
7047
7057
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7056,7 +7066,7 @@ var chart = strictObject({
|
|
|
7056
7066
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7057
7067
|
});
|
|
7058
7068
|
|
|
7059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7069
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7060
7070
|
var member = strictObject({
|
|
7061
7071
|
id,
|
|
7062
7072
|
name: nullable(text),
|
|
@@ -7079,7 +7089,7 @@ var member = strictObject({
|
|
|
7079
7089
|
check: optional(record(string(), unknown()))
|
|
7080
7090
|
});
|
|
7081
7091
|
|
|
7082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7092
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7083
7093
|
var setting = optional(nullable(boolean()));
|
|
7084
7094
|
var chat = strictObject({
|
|
7085
7095
|
ref: reference,
|
|
@@ -7120,7 +7130,7 @@ var chat = strictObject({
|
|
|
7120
7130
|
members: optional(array(member))
|
|
7121
7131
|
});
|
|
7122
7132
|
|
|
7123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7124
7134
|
var named = strictObject({
|
|
7125
7135
|
id,
|
|
7126
7136
|
title: nullable(text),
|
|
@@ -7143,7 +7153,7 @@ var folder = strictObject({
|
|
|
7143
7153
|
excluded_chats: optional(array(named))
|
|
7144
7154
|
});
|
|
7145
7155
|
|
|
7146
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7147
7157
|
var inviteLink = strictObject({
|
|
7148
7158
|
link: text,
|
|
7149
7159
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7159,7 +7169,7 @@ var inviteLink = strictObject({
|
|
|
7159
7169
|
joined_count: optional(count)
|
|
7160
7170
|
});
|
|
7161
7171
|
|
|
7162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7163
7173
|
var operated = { operation_id: id, chat_id: id };
|
|
7164
7174
|
var group = strictObject({
|
|
7165
7175
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7239,7 +7249,7 @@ var chatFolderOrder = strictObject({
|
|
|
7239
7249
|
folders: array(strictObject({ id, title: text }))
|
|
7240
7250
|
});
|
|
7241
7251
|
|
|
7242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7243
7253
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7244
7254
|
var chatRemoval = strictObject(operated2);
|
|
7245
7255
|
var chatMuting = strictObject({
|
|
@@ -7250,7 +7260,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7250
7260
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7251
7261
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7252
7262
|
|
|
7253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7254
7264
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7255
7265
|
var chatEvent = strictObject({
|
|
7256
7266
|
chat_id: id,
|
|
@@ -7267,7 +7277,7 @@ var chatEvent = strictObject({
|
|
|
7267
7277
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7268
7278
|
});
|
|
7269
7279
|
|
|
7270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7271
7281
|
var chatMetadata = strictObject({
|
|
7272
7282
|
chat_id: id,
|
|
7273
7283
|
title: nullable(text),
|
|
@@ -7282,7 +7292,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7282
7292
|
has_more: boolean()
|
|
7283
7293
|
});
|
|
7284
7294
|
|
|
7285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7286
7296
|
var action = picklist(["report", "delete", "remove"]);
|
|
7287
7297
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7288
7298
|
var chatRules = strictObject({
|
|
@@ -7319,7 +7329,7 @@ var chatModeration = strictObject({
|
|
|
7319
7329
|
}))
|
|
7320
7330
|
});
|
|
7321
7331
|
|
|
7322
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7323
7333
|
var optionalCount = optional(count);
|
|
7324
7334
|
var minutes = nullable(number());
|
|
7325
7335
|
var chatStats = strictObject({
|
|
@@ -7370,18 +7380,30 @@ var chatStats = strictObject({
|
|
|
7370
7380
|
})),
|
|
7371
7381
|
series: optional(array(strictObject({ key: text, messages: count, senders: count, joined: optionalCount, left: optionalCount })))
|
|
7372
7382
|
});
|
|
7383
|
+
var ms = nullable(pipe(number(), minValue(0)));
|
|
7373
7384
|
var taskStats = strictObject({
|
|
7374
7385
|
/** Open tasks across every row. */
|
|
7375
7386
|
open: count,
|
|
7387
|
+
created: count,
|
|
7388
|
+
closed: count,
|
|
7389
|
+
median_close_ms: ms,
|
|
7390
|
+
mean_open_age_ms: ms,
|
|
7376
7391
|
rows: array(strictObject({
|
|
7377
|
-
chat
|
|
7392
|
+
/** Rows of `--by chat` only. */
|
|
7393
|
+
chat: optional(reference),
|
|
7394
|
+
/** The chat reference, `meeting:<account>/<meeting>` or `project:<id>`. */
|
|
7395
|
+
key: text,
|
|
7396
|
+
name: nullable(text),
|
|
7378
7397
|
open: count,
|
|
7398
|
+
created: count,
|
|
7399
|
+
closed: count,
|
|
7379
7400
|
oldest_open_at: nullable(time),
|
|
7380
|
-
median_close_ms:
|
|
7401
|
+
median_close_ms: ms,
|
|
7402
|
+
mean_open_age_ms: ms
|
|
7381
7403
|
}))
|
|
7382
7404
|
});
|
|
7383
7405
|
|
|
7384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7385
7407
|
var memberCount = strictObject({
|
|
7386
7408
|
day: pipe(text, isoDate()),
|
|
7387
7409
|
participants: nullable(count),
|
|
@@ -7404,7 +7426,7 @@ var chatTracking = strictObject({
|
|
|
7404
7426
|
tracked: boolean()
|
|
7405
7427
|
});
|
|
7406
7428
|
|
|
7407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7408
7430
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7409
7431
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7410
7432
|
var profileFields = {
|
|
@@ -7442,7 +7464,7 @@ var profileFields = {
|
|
|
7442
7464
|
}))
|
|
7443
7465
|
};
|
|
7444
7466
|
|
|
7445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7446
7468
|
var contact = strictObject({
|
|
7447
7469
|
ref: reference,
|
|
7448
7470
|
id,
|
|
@@ -7473,7 +7495,7 @@ var contact = strictObject({
|
|
|
7473
7495
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7474
7496
|
});
|
|
7475
7497
|
|
|
7476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7498
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7477
7499
|
var WEIGHTS = {
|
|
7478
7500
|
bot: 3,
|
|
7479
7501
|
scam: 3,
|
|
@@ -7498,7 +7520,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7498
7520
|
var DIGITS = /\d{5,}/;
|
|
7499
7521
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7500
7522
|
|
|
7501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7502
7524
|
var linkedIdentity = strictObject({
|
|
7503
7525
|
provider: text,
|
|
7504
7526
|
id,
|
|
@@ -7539,7 +7561,7 @@ var contactCheck = strictObject({
|
|
|
7539
7561
|
checked_at: time
|
|
7540
7562
|
});
|
|
7541
7563
|
|
|
7542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7564
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7543
7565
|
var quoted = strictObject({
|
|
7544
7566
|
id,
|
|
7545
7567
|
sender_id: nullable(id),
|
|
@@ -7658,7 +7680,7 @@ var message = strictObject({
|
|
|
7658
7680
|
provider_metadata: providerMetadata
|
|
7659
7681
|
});
|
|
7660
7682
|
|
|
7661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7662
7684
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7663
7685
|
var contextMessage = strictObject({
|
|
7664
7686
|
locator: reference,
|
|
@@ -7856,7 +7878,7 @@ var contactPreparation = strictObject({
|
|
|
7856
7878
|
})
|
|
7857
7879
|
});
|
|
7858
7880
|
|
|
7859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7860
7882
|
var contactNote = strictObject({
|
|
7861
7883
|
id,
|
|
7862
7884
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7868,13 +7890,13 @@ var contactNote = strictObject({
|
|
|
7868
7890
|
updated_at: time
|
|
7869
7891
|
});
|
|
7870
7892
|
|
|
7871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7872
7894
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7873
7895
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7874
7896
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7875
7897
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7876
7898
|
|
|
7877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7878
7900
|
var conversation = strictObject({
|
|
7879
7901
|
id,
|
|
7880
7902
|
chat: reference,
|
|
@@ -7889,7 +7911,7 @@ var conversation = strictObject({
|
|
|
7889
7911
|
rules_version: count
|
|
7890
7912
|
});
|
|
7891
7913
|
|
|
7892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7893
7915
|
var conversationBuild = strictObject({
|
|
7894
7916
|
chat: id,
|
|
7895
7917
|
messages: count,
|
|
@@ -7914,7 +7936,7 @@ var catchUpPreparation = strictObject({
|
|
|
7914
7936
|
prepared: optional(conversationPreparation)
|
|
7915
7937
|
});
|
|
7916
7938
|
|
|
7917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7918
7940
|
var conversationDetails = union([
|
|
7919
7941
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7920
7942
|
message
|
|
@@ -8004,7 +8026,7 @@ var conversationHit = strictObject({
|
|
|
8004
8026
|
stale: boolean()
|
|
8005
8027
|
});
|
|
8006
8028
|
|
|
8007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8008
8030
|
var counters = strictObject({
|
|
8009
8031
|
cutoff: time,
|
|
8010
8032
|
max_age_ms: milliseconds,
|
|
@@ -8034,7 +8056,7 @@ var counterRefresh = strictObject({
|
|
|
8034
8056
|
complete: optional(boolean())
|
|
8035
8057
|
});
|
|
8036
8058
|
|
|
8037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8038
8060
|
var document = strictObject({
|
|
8039
8061
|
ref: reference,
|
|
8040
8062
|
id,
|
|
@@ -8049,7 +8071,7 @@ var document = strictObject({
|
|
|
8049
8071
|
owners: optional(array(text))
|
|
8050
8072
|
});
|
|
8051
8073
|
|
|
8052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8053
8075
|
var documentLink = strictObject({
|
|
8054
8076
|
ref: reference,
|
|
8055
8077
|
url: text,
|
|
@@ -8060,7 +8082,7 @@ var documentLink = strictObject({
|
|
|
8060
8082
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8061
8083
|
});
|
|
8062
8084
|
|
|
8063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8064
8086
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8065
8087
|
var contribution = strictObject({
|
|
8066
8088
|
message: evidenceMessage,
|
|
@@ -8090,7 +8112,7 @@ var retentionStay = strictObject({
|
|
|
8090
8112
|
});
|
|
8091
8113
|
var evidence = union([contribution, retentionStay]);
|
|
8092
8114
|
|
|
8093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8094
8116
|
var fact = strictObject({
|
|
8095
8117
|
ref: reference,
|
|
8096
8118
|
id,
|
|
@@ -8120,7 +8142,7 @@ var fact = strictObject({
|
|
|
8120
8142
|
updated_at: time
|
|
8121
8143
|
});
|
|
8122
8144
|
|
|
8123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8124
8146
|
var hit = strictObject({
|
|
8125
8147
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8126
8148
|
ref: reference,
|
|
@@ -8158,7 +8180,7 @@ var hit = strictObject({
|
|
|
8158
8180
|
untrusted
|
|
8159
8181
|
});
|
|
8160
8182
|
|
|
8161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8162
8184
|
var identity = strictObject({
|
|
8163
8185
|
ref: reference,
|
|
8164
8186
|
provider: text,
|
|
@@ -8171,7 +8193,7 @@ var identity = strictObject({
|
|
|
8171
8193
|
person: optional(nullable(reference))
|
|
8172
8194
|
});
|
|
8173
8195
|
|
|
8174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8175
8197
|
var imageEmbedding = strictObject({
|
|
8176
8198
|
model: text,
|
|
8177
8199
|
embedded: count,
|
|
@@ -8180,13 +8202,13 @@ var imageEmbedding = strictObject({
|
|
|
8180
8202
|
more: boolean()
|
|
8181
8203
|
});
|
|
8182
8204
|
|
|
8183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8184
8206
|
import { spawn } from "node:child_process";
|
|
8185
8207
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8186
8208
|
import { closeSync, existsSync as existsSync4, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8187
8209
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8188
8210
|
|
|
8189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8190
8212
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8191
8213
|
const total = input.total ?? null;
|
|
8192
8214
|
const updated = input.updatedAt ?? null;
|
|
@@ -8202,7 +8224,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8202
8224
|
};
|
|
8203
8225
|
}, "progressOf");
|
|
8204
8226
|
|
|
8205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8206
8228
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8207
8229
|
const run = currentRun();
|
|
8208
8230
|
const trace = traceId ?? run.traceId;
|
|
@@ -8216,7 +8238,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8216
8238
|
}));
|
|
8217
8239
|
}, "recordLogFor");
|
|
8218
8240
|
|
|
8219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8220
8242
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8221
8243
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8222
8244
|
const out = openSync(log, "a", 384);
|
|
@@ -8371,7 +8393,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8371
8393
|
return { job: id6, pid, chat: input.chat, log };
|
|
8372
8394
|
}, "startArchiveJob");
|
|
8373
8395
|
|
|
8374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8375
8397
|
var problem = strictObject({ code: text, message: text });
|
|
8376
8398
|
var job = strictObject({
|
|
8377
8399
|
id,
|
|
@@ -8394,7 +8416,7 @@ var job = strictObject({
|
|
|
8394
8416
|
error: optional(problem)
|
|
8395
8417
|
});
|
|
8396
8418
|
|
|
8397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8398
8420
|
var joinRequest = strictObject({
|
|
8399
8421
|
person_id: id,
|
|
8400
8422
|
name: nullable(text),
|
|
@@ -8405,7 +8427,7 @@ var joinRequest = strictObject({
|
|
|
8405
8427
|
about: optional(text)
|
|
8406
8428
|
});
|
|
8407
8429
|
|
|
8408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8430
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8409
8431
|
var botProfile = strictObject({
|
|
8410
8432
|
name: text,
|
|
8411
8433
|
token: text,
|
|
@@ -8473,7 +8495,7 @@ var stickerInventory = strictObject({
|
|
|
8473
8495
|
url: optional(nullable(text))
|
|
8474
8496
|
});
|
|
8475
8497
|
|
|
8476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8498
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8477
8499
|
var pollVote = strictObject({
|
|
8478
8500
|
person_id: id,
|
|
8479
8501
|
name: nullable(text),
|
|
@@ -8483,7 +8505,7 @@ var pollVote = strictObject({
|
|
|
8483
8505
|
voted_at: time
|
|
8484
8506
|
});
|
|
8485
8507
|
|
|
8486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8487
8509
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8488
8510
|
var observation = strictObject({
|
|
8489
8511
|
value: pipe(number(), minValue(0)),
|
|
@@ -8525,7 +8547,22 @@ var serveSummary = strictObject({
|
|
|
8525
8547
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8526
8548
|
});
|
|
8527
8549
|
|
|
8528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8551
|
+
var mailCounts = strictObject({
|
|
8552
|
+
by: picklist(["day", "week", "sender"]),
|
|
8553
|
+
received: count,
|
|
8554
|
+
sent: count,
|
|
8555
|
+
rows: array(strictObject({
|
|
8556
|
+
/** `YYYY-MM-DD`, or the sender's address. */
|
|
8557
|
+
key: text,
|
|
8558
|
+
name: nullable(text),
|
|
8559
|
+
received: count,
|
|
8560
|
+
/** Always 0 by sender: the owner sends that mail. */
|
|
8561
|
+
sent: count
|
|
8562
|
+
}))
|
|
8563
|
+
});
|
|
8564
|
+
|
|
8565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8529
8566
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8530
8567
|
var base = { id, evidence: array(evidence2) };
|
|
8531
8568
|
var finding = variant("kind", [
|
|
@@ -8591,7 +8628,7 @@ var mailFindings = strictObject({
|
|
|
8591
8628
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
8592
8629
|
});
|
|
8593
8630
|
|
|
8594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8595
8632
|
var mediaArchive = strictObject({
|
|
8596
8633
|
directory: text,
|
|
8597
8634
|
chats: count,
|
|
@@ -8623,7 +8660,7 @@ var mediaArchiveTimer = union([
|
|
|
8623
8660
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8624
8661
|
]);
|
|
8625
8662
|
|
|
8626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8627
8664
|
var preparationId = pipe(string(), minLength(1));
|
|
8628
8665
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8629
8666
|
var preparationTime = nullable(isoTime);
|
|
@@ -8715,7 +8752,7 @@ var preparationMeeting = strictObject({
|
|
|
8715
8752
|
updated_at: isoTime
|
|
8716
8753
|
});
|
|
8717
8754
|
|
|
8718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8719
8756
|
var meetingEvidence = preparationEvidence;
|
|
8720
8757
|
var meetingPersonContext = strictObject({
|
|
8721
8758
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8737,7 +8774,7 @@ var meetingPersonContext = strictObject({
|
|
|
8737
8774
|
})
|
|
8738
8775
|
});
|
|
8739
8776
|
|
|
8740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8777
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8741
8778
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8742
8779
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8743
8780
|
var finding2 = variant("kind", [
|
|
@@ -8775,7 +8812,7 @@ var meetingFindings = strictObject({
|
|
|
8775
8812
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8776
8813
|
});
|
|
8777
8814
|
|
|
8778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8779
8816
|
var communicationCoverage = strictObject({
|
|
8780
8817
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8781
8818
|
query: string(),
|
|
@@ -8820,7 +8857,7 @@ var preparationCommunications = strictObject({
|
|
|
8820
8857
|
}))
|
|
8821
8858
|
});
|
|
8822
8859
|
|
|
8823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
8824
8861
|
var meetingPreparation = strictObject({
|
|
8825
8862
|
communications: optional(preparationCommunications),
|
|
8826
8863
|
schema_version: literal(1),
|
|
@@ -8933,7 +8970,7 @@ var meetingPreparation = strictObject({
|
|
|
8933
8970
|
})
|
|
8934
8971
|
});
|
|
8935
8972
|
|
|
8936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8973
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
8937
8974
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
8938
8975
|
var id3 = pipe(string(), minLength(1));
|
|
8939
8976
|
var text3 = string();
|
|
@@ -8997,7 +9034,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
8997
9034
|
})
|
|
8998
9035
|
});
|
|
8999
9036
|
|
|
9000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9001
9038
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9002
9039
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9003
9040
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9027,7 +9064,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9027
9064
|
})
|
|
9028
9065
|
});
|
|
9029
9066
|
|
|
9030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9031
9068
|
var text4 = string();
|
|
9032
9069
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9033
9070
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9044,7 +9081,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9044
9081
|
persistence: literal("proposal-only")
|
|
9045
9082
|
});
|
|
9046
9083
|
|
|
9047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9084
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9048
9085
|
var memory = strictObject({
|
|
9049
9086
|
ref: reference,
|
|
9050
9087
|
id,
|
|
@@ -9071,7 +9108,7 @@ var memory = strictObject({
|
|
|
9071
9108
|
updated_at: time
|
|
9072
9109
|
});
|
|
9073
9110
|
|
|
9074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9075
9112
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9076
9113
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9077
9114
|
var mention = strictObject({
|
|
@@ -9114,13 +9151,13 @@ var mentionRebuild = strictObject({
|
|
|
9114
9151
|
mentions: count
|
|
9115
9152
|
});
|
|
9116
9153
|
|
|
9117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9118
9155
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9119
9156
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9120
9157
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9121
9158
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9122
9159
|
|
|
9123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9124
9161
|
var messageTranscript = strictObject({
|
|
9125
9162
|
message_id: id,
|
|
9126
9163
|
text,
|
|
@@ -9178,7 +9215,7 @@ var evidencePacket = strictObject({
|
|
|
9178
9215
|
}))
|
|
9179
9216
|
});
|
|
9180
9217
|
|
|
9181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9182
9219
|
var messageThread = strictObject({
|
|
9183
9220
|
ref: reference,
|
|
9184
9221
|
chat: id,
|
|
@@ -9195,7 +9232,7 @@ var messageThread = strictObject({
|
|
|
9195
9232
|
});
|
|
9196
9233
|
var messageContext = union([message, messageThread]);
|
|
9197
9234
|
|
|
9198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9199
9236
|
var messageCounts = strictObject({
|
|
9200
9237
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9201
9238
|
total: count,
|
|
@@ -9208,7 +9245,7 @@ var messageCounts = strictObject({
|
|
|
9208
9245
|
}))
|
|
9209
9246
|
});
|
|
9210
9247
|
|
|
9211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9212
9249
|
var messageLink = strictObject({
|
|
9213
9250
|
ref: reference,
|
|
9214
9251
|
url: nullable(text),
|
|
@@ -9225,7 +9262,7 @@ var messageLink = strictObject({
|
|
|
9225
9262
|
})))
|
|
9226
9263
|
});
|
|
9227
9264
|
|
|
9228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9229
9266
|
var savedMessageFile = strictObject({
|
|
9230
9267
|
kind: text,
|
|
9231
9268
|
path: text,
|
|
@@ -9312,7 +9349,7 @@ var messageSyncAll = strictObject({
|
|
|
9312
9349
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9313
9350
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9314
9351
|
|
|
9315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9352
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9316
9353
|
var messageWrite = strictObject({
|
|
9317
9354
|
operation_id: id,
|
|
9318
9355
|
message,
|
|
@@ -9327,7 +9364,7 @@ var draftWrite = strictObject({
|
|
|
9327
9364
|
});
|
|
9328
9365
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9329
9366
|
|
|
9330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9331
9368
|
var model2 = strictObject({
|
|
9332
9369
|
id,
|
|
9333
9370
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9344,7 +9381,7 @@ var model2 = strictObject({
|
|
|
9344
9381
|
path: text
|
|
9345
9382
|
});
|
|
9346
9383
|
|
|
9347
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9348
9385
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9349
9386
|
var modelKey = strictObject({
|
|
9350
9387
|
provider: text,
|
|
@@ -9354,7 +9391,7 @@ var modelKey = strictObject({
|
|
|
9354
9391
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9355
9392
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9356
9393
|
|
|
9357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9358
9395
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9359
9396
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9360
9397
|
var graph = strictObject({
|
|
@@ -9388,14 +9425,14 @@ var officialStats = strictObject({
|
|
|
9388
9425
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9389
9426
|
});
|
|
9390
9427
|
|
|
9391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9392
9429
|
var person2 = strictObject({
|
|
9393
9430
|
ref: reference,
|
|
9394
9431
|
name: nullable(text),
|
|
9395
9432
|
identities: optional(array(identity))
|
|
9396
9433
|
});
|
|
9397
9434
|
|
|
9398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9399
9436
|
var poll = strictObject({
|
|
9400
9437
|
chat_id: id,
|
|
9401
9438
|
message_id: id,
|
|
@@ -9411,11 +9448,11 @@ var poll = strictObject({
|
|
|
9411
9448
|
});
|
|
9412
9449
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9413
9450
|
|
|
9414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9415
9452
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9416
9453
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9417
9454
|
|
|
9418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9455
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9419
9456
|
var figures = record(string(), number());
|
|
9420
9457
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9421
9458
|
var rankingRow = strictObject({
|
|
@@ -9462,7 +9499,7 @@ var ranking = strictObject({
|
|
|
9462
9499
|
rows: array(rankingRow)
|
|
9463
9500
|
});
|
|
9464
9501
|
|
|
9465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9502
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9466
9503
|
var reaction = strictObject({
|
|
9467
9504
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9468
9505
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9470,7 +9507,7 @@ var reaction = strictObject({
|
|
|
9470
9507
|
reacted_at: time
|
|
9471
9508
|
});
|
|
9472
9509
|
|
|
9473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9474
9511
|
var reactionChange = strictObject({
|
|
9475
9512
|
operation_id: id,
|
|
9476
9513
|
chat_id: id,
|
|
@@ -9478,7 +9515,7 @@ var reactionChange = strictObject({
|
|
|
9478
9515
|
reaction: nullable(text)
|
|
9479
9516
|
});
|
|
9480
9517
|
|
|
9481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9482
9519
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9483
9520
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9484
9521
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9489,7 +9526,7 @@ var recipientChange = strictObject({
|
|
|
9489
9526
|
...partial(recipientOff).entries
|
|
9490
9527
|
});
|
|
9491
9528
|
|
|
9492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9493
9530
|
var events = array(record(string(), unknown()));
|
|
9494
9531
|
var recordedRun = strictObject({
|
|
9495
9532
|
run_id: id,
|
|
@@ -9561,7 +9598,7 @@ var runHit = strictObject({
|
|
|
9561
9598
|
});
|
|
9562
9599
|
var runLocation = strictObject({ path: text });
|
|
9563
9600
|
|
|
9564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9565
9602
|
var relationship = strictObject({
|
|
9566
9603
|
id,
|
|
9567
9604
|
from: reference,
|
|
@@ -9578,7 +9615,7 @@ var relationship = strictObject({
|
|
|
9578
9615
|
created_at: time
|
|
9579
9616
|
});
|
|
9580
9617
|
|
|
9581
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9618
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9582
9619
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9583
9620
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9584
9621
|
var responseTimes = strictObject({
|
|
@@ -9595,7 +9632,7 @@ var waitingChats = strictObject({
|
|
|
9595
9632
|
by_kind: strictObject({ private: count, group: count })
|
|
9596
9633
|
});
|
|
9597
9634
|
|
|
9598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9599
9636
|
var retentionCohort = strictObject({
|
|
9600
9637
|
/** The first day of the joining day or week. */
|
|
9601
9638
|
cohort: text,
|
|
@@ -9643,7 +9680,7 @@ var retention = strictObject({
|
|
|
9643
9680
|
rows: array(retentionCohort)
|
|
9644
9681
|
});
|
|
9645
9682
|
|
|
9646
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9647
9684
|
var savedSearch = strictObject({
|
|
9648
9685
|
id,
|
|
9649
9686
|
/** `null` for a run in the history. */
|
|
@@ -9660,7 +9697,7 @@ var savedSearch = strictObject({
|
|
|
9660
9697
|
});
|
|
9661
9698
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9662
9699
|
|
|
9663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9664
9701
|
var sendAttempt = strictObject({
|
|
9665
9702
|
at: time,
|
|
9666
9703
|
profile: text,
|
|
@@ -9688,7 +9725,7 @@ var sendAttempt = strictObject({
|
|
|
9688
9725
|
error_code: optional(text)
|
|
9689
9726
|
});
|
|
9690
9727
|
|
|
9691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9692
9729
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9693
9730
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9694
9731
|
var infoSchema = strictObject({
|
|
@@ -9896,7 +9933,7 @@ var storeRepair = union([
|
|
|
9896
9933
|
]);
|
|
9897
9934
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
9898
9935
|
|
|
9899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
9900
9937
|
var range = strictObject({ from: number(), to: number() });
|
|
9901
9938
|
var storeChatStatus = strictObject({
|
|
9902
9939
|
chat_id: id,
|
|
@@ -9908,6 +9945,13 @@ var storeChatStatus = strictObject({
|
|
|
9908
9945
|
last_stored_at: nullable(time),
|
|
9909
9946
|
held: array(range)
|
|
9910
9947
|
});
|
|
9948
|
+
var chatCoverage = strictObject({
|
|
9949
|
+
chats: count,
|
|
9950
|
+
fetched: count,
|
|
9951
|
+
partial: count,
|
|
9952
|
+
never: count,
|
|
9953
|
+
oldest_message_at: nullable(time)
|
|
9954
|
+
});
|
|
9911
9955
|
var storeClear = strictObject({
|
|
9912
9956
|
cleared: boolean(),
|
|
9913
9957
|
dry_run: optional(literal(true)),
|
|
@@ -9987,7 +10031,7 @@ var storeJobRetry = union([
|
|
|
9987
10031
|
]);
|
|
9988
10032
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
9989
10033
|
|
|
9990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
9991
10035
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
9992
10036
|
var storeTable = strictObject({
|
|
9993
10037
|
name: text,
|
|
@@ -9996,7 +10040,7 @@ var storeTable = strictObject({
|
|
|
9996
10040
|
bytes: optional(nullable(count))
|
|
9997
10041
|
});
|
|
9998
10042
|
|
|
9999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10000
10044
|
var tagTarget = variant("type", [
|
|
10001
10045
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10002
10046
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10027,7 +10071,7 @@ var automaticTags = strictObject({
|
|
|
10027
10071
|
dry_run: boolean()
|
|
10028
10072
|
});
|
|
10029
10073
|
|
|
10030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10031
10075
|
var tagging = strictObject({
|
|
10032
10076
|
tag: text,
|
|
10033
10077
|
type: picklist(TAG_TYPES),
|
|
@@ -10040,7 +10084,7 @@ var tagging = strictObject({
|
|
|
10040
10084
|
created_at: time
|
|
10041
10085
|
});
|
|
10042
10086
|
|
|
10043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10044
10088
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10045
10089
|
var taskPair = strictObject({
|
|
10046
10090
|
task: nullable(side),
|
|
@@ -10063,7 +10107,7 @@ var taskPair = strictObject({
|
|
|
10063
10107
|
created_at: time
|
|
10064
10108
|
});
|
|
10065
10109
|
|
|
10066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10067
10111
|
var nullableTime = nullable(time);
|
|
10068
10112
|
var link = strictObject({
|
|
10069
10113
|
id,
|
|
@@ -10233,7 +10277,7 @@ var taskReview = strictObject({
|
|
|
10233
10277
|
untrusted
|
|
10234
10278
|
});
|
|
10235
10279
|
|
|
10236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10237
10281
|
var topic = strictObject({
|
|
10238
10282
|
id,
|
|
10239
10283
|
title: text,
|
|
@@ -10247,7 +10291,7 @@ var topic = strictObject({
|
|
|
10247
10291
|
untrusted
|
|
10248
10292
|
});
|
|
10249
10293
|
|
|
10250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10251
10295
|
var ENTITIES = {
|
|
10252
10296
|
sync_progress: progress,
|
|
10253
10297
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -10277,19 +10321,22 @@ var ENTITIES = {
|
|
|
10277
10321
|
attachments: optional(array(hitFile)),
|
|
10278
10322
|
untrusted
|
|
10279
10323
|
}),
|
|
10280
|
-
"message.summary":
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10324
|
+
"message.summary": strictObject({
|
|
10325
|
+
...pick(message, [
|
|
10326
|
+
"ref",
|
|
10327
|
+
"chat_id",
|
|
10328
|
+
"chat_title",
|
|
10329
|
+
"timestamp",
|
|
10330
|
+
"sender_name",
|
|
10331
|
+
"sender_is_me",
|
|
10332
|
+
"outgoing",
|
|
10333
|
+
"text",
|
|
10334
|
+
"transcript",
|
|
10335
|
+
"attachments",
|
|
10336
|
+
"email"
|
|
10337
|
+
]).entries,
|
|
10338
|
+
untrusted
|
|
10339
|
+
}),
|
|
10293
10340
|
message_link: messageLink,
|
|
10294
10341
|
message_write: messageWrite,
|
|
10295
10342
|
message_send: messageSend,
|
|
@@ -10408,6 +10455,7 @@ var ENTITIES = {
|
|
|
10408
10455
|
meeting_review: meetingReview,
|
|
10409
10456
|
meeting_link: meetingLink,
|
|
10410
10457
|
meeting_stats: meetingStats,
|
|
10458
|
+
meeting_counts: meetingCounts,
|
|
10411
10459
|
meeting_speaker: meetingSpeaker,
|
|
10412
10460
|
meeting_participants: meetingParticipants,
|
|
10413
10461
|
meeting_passage: meetingPassage,
|
|
@@ -10445,6 +10493,7 @@ var ENTITIES = {
|
|
|
10445
10493
|
job,
|
|
10446
10494
|
store_chat_status: storeChatStatus,
|
|
10447
10495
|
store_clear: storeClear,
|
|
10496
|
+
chat_coverage: chatCoverage,
|
|
10448
10497
|
store_export: storeExport,
|
|
10449
10498
|
store_gap_plan: storeGapPlan,
|
|
10450
10499
|
store_gap_repair: storeGapRepair,
|
|
@@ -10502,6 +10551,7 @@ var ENTITIES = {
|
|
|
10502
10551
|
message_counts: messageCounts,
|
|
10503
10552
|
response_times: responseTimes,
|
|
10504
10553
|
waiting_chats: waitingChats,
|
|
10554
|
+
mail_counts: mailCounts,
|
|
10505
10555
|
ranking,
|
|
10506
10556
|
admin_report: adminReport,
|
|
10507
10557
|
analysis_consent: analysisConsent,
|
|
@@ -10523,7 +10573,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10523
10573
|
return [name, definition];
|
|
10524
10574
|
})), "entityDefinitions");
|
|
10525
10575
|
|
|
10526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10527
10577
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10528
10578
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10529
10579
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10557,7 +10607,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10557
10607
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10558
10608
|
}, "answerRow");
|
|
10559
10609
|
|
|
10560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10561
10611
|
import { join as join5 } from "node:path";
|
|
10562
10612
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10563
10613
|
var IMAGE_MODELS = [
|
|
@@ -10611,7 +10661,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10611
10661
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10612
10662
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10613
10663
|
|
|
10614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10615
10665
|
var STEPS2 = defineSteps([
|
|
10616
10666
|
...STEPS,
|
|
10617
10667
|
{
|
|
@@ -10892,7 +10942,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
10892
10942
|
].join(" ");
|
|
10893
10943
|
}, "stepLine");
|
|
10894
10944
|
|
|
10895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10945
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
10896
10946
|
var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
|
|
10897
10947
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
10898
10948
|
var STATUS_SIGNAL_ROWS = {
|
|
@@ -11001,7 +11051,7 @@ var STATUS_ROWS = {
|
|
|
11001
11051
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11002
11052
|
};
|
|
11003
11053
|
|
|
11004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11005
11055
|
var TEXT_CHARS = 400;
|
|
11006
11056
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11007
11057
|
var messageRow = {
|
|
@@ -11154,10 +11204,10 @@ var clockFor = /* @__PURE__ */ __name((zone) => {
|
|
|
11154
11204
|
return {
|
|
11155
11205
|
zone,
|
|
11156
11206
|
parts: /* @__PURE__ */ __name((iso) => {
|
|
11157
|
-
const
|
|
11158
|
-
if (Number.isNaN(
|
|
11207
|
+
const ms2 = Date.parse(iso);
|
|
11208
|
+
if (Number.isNaN(ms2))
|
|
11159
11209
|
return void 0;
|
|
11160
|
-
const part = Object.fromEntries(format.formatToParts(
|
|
11210
|
+
const part = Object.fromEntries(format.formatToParts(ms2).map(({ type, value }) => [type, value]));
|
|
11161
11211
|
return { date: `${part.year}-${part.month}-${part.day}`, time: `${part.hour}:${part.minute}` };
|
|
11162
11212
|
}, "parts")
|
|
11163
11213
|
};
|
|
@@ -11337,7 +11387,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11337
11387
|
return lines.concat(footerOf(body)).join("\n");
|
|
11338
11388
|
}, "compactText");
|
|
11339
11389
|
|
|
11340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11341
11391
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11342
11392
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11343
11393
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11395,7 +11445,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11395
11445
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11396
11446
|
}, "largeAnswerSteps");
|
|
11397
11447
|
|
|
11398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11399
11449
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11400
11450
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11401
11451
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11409,7 +11459,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11409
11459
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11410
11460
|
}, "strip");
|
|
11411
11461
|
|
|
11412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11413
11463
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11414
11464
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11415
11465
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11592,6 +11642,7 @@ export {
|
|
|
11592
11642
|
readEvents,
|
|
11593
11643
|
currentRun,
|
|
11594
11644
|
inRun,
|
|
11645
|
+
runEvent,
|
|
11595
11646
|
typedCommand,
|
|
11596
11647
|
useAsProcessRun,
|
|
11597
11648
|
processRun,
|
|
@@ -11599,6 +11650,7 @@ export {
|
|
|
11599
11650
|
traceOf,
|
|
11600
11651
|
childTrace,
|
|
11601
11652
|
withAttempt,
|
|
11653
|
+
currentAttempt,
|
|
11602
11654
|
recordLogFor,
|
|
11603
11655
|
spawnDetached,
|
|
11604
11656
|
jobsDir,
|