@wirecat/amo-cli 0.5.0 → 0.6.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 +16 -0
- package/dist/amo/oauth.d.ts.map +1 -1
- package/dist/amo/oauth.js +3 -4
- package/dist/amo/oauth.js.map +1 -1
- package/dist/amo/transport.d.ts.map +1 -1
- package/dist/amo/transport.js +3 -6
- package/dist/amo/transport.js.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-VVACEKSX.js +42 -0
- package/dist/bundle/{all-profiles-PIWUQWBA.js → all-profiles-QNUKL4NA.js} +7 -7
- package/dist/bundle/amo.js +18 -18
- package/dist/bundle/{anthropic-47CMXBPQ.js → anthropic-PQN6MNP7.js} +2 -2
- package/dist/bundle/{app-server-QRBQODF2.js → app-server-Q2QEA7GP.js} +64 -63
- package/dist/bundle/{areas-QVHVU57Z.js → areas-27FRPBF3.js} +28 -20
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-7I4X7CZW.js → bun-sqlite-P5IDBDVR.js} +3 -3
- package/dist/bundle/{chunk-RN6RT5CB.js → chunk-22KAQPX7.js} +3 -3
- package/dist/bundle/{chunk-43OW5NTG.js → chunk-2JGNMZ55.js} +4 -4
- package/dist/bundle/{chunk-TAVI73RW.js → chunk-2VDHC7QO.js} +2 -2
- package/dist/bundle/{chunk-3DEQUYEG.js → chunk-34ZOMVUK.js} +7 -7
- package/dist/bundle/{chunk-EHK73OSW.js → chunk-3J3EDSXF.js} +19 -97
- package/dist/bundle/{chunk-JLXXUEAM.js → chunk-3TYER5IK.js} +13 -5
- package/dist/bundle/{chunk-MDEPJZYJ.js → chunk-5NGLCDYQ.js} +2 -2
- package/dist/bundle/{chunk-63N46DJU.js → chunk-5SQTHOBI.js} +203 -168
- package/dist/bundle/{chunk-5UTB3ADZ.js → chunk-6GE36KUE.js} +10 -10
- package/dist/bundle/{chunk-DVZ75WZJ.js → chunk-6GZKY3HV.js} +10 -10
- package/dist/bundle/{chunk-CGW5R4UD.js → chunk-6OV2TRGF.js} +6 -6
- package/dist/bundle/{chunk-NSKMNIY6.js → chunk-7CPIZFOE.js} +6 -6
- package/dist/bundle/{chunk-BVVMIAQ6.js → chunk-A5K2NU3K.js} +394 -341
- package/dist/bundle/{chunk-6D4VWSJD.js → chunk-AEC4H5WZ.js} +5 -5
- package/dist/bundle/{chunk-4VN7RI4I.js → chunk-APBEDWOE.js} +4 -4
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-FV4GQNIK.js → chunk-B7L5MSRP.js} +2 -2
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-H4AFNENN.js → chunk-DIZEHPS6.js} +30 -26
- package/dist/bundle/{chunk-43PMSR33.js → chunk-DUPCDJ3W.js} +7 -7
- package/dist/bundle/{chunk-ABX7BBS4.js → chunk-DWT24UVR.js} +1 -1
- package/dist/bundle/chunk-DXWJORSY.js +1703 -0
- package/dist/bundle/{chunk-G2TU5RYY.js → chunk-DY3PLWIH.js} +1 -1
- package/dist/bundle/{chunk-RIMPFMZE.js → chunk-DYWHAJRK.js} +23 -15
- package/dist/bundle/{chunk-R53XXHEI.js → chunk-EXRM3ML4.js} +2 -2
- package/dist/bundle/{chunk-JG6LCSEX.js → chunk-FFER7KJI.js} +12 -12
- package/dist/bundle/{chunk-6JTHXWPE.js → chunk-FIP2DG7W.js} +2 -2
- package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
- package/dist/bundle/{chunk-3GX6KM2E.js → chunk-FWRLGIF6.js} +63 -61
- package/dist/bundle/{chunk-3PYE55JY.js → chunk-FYOPPKAN.js} +1 -1
- package/dist/bundle/{chunk-K7YY6SXR.js → chunk-G3N2RHGF.js} +12 -12
- package/dist/bundle/{chunk-NISH4UXM.js → chunk-G46PNDWL.js} +1 -1
- package/dist/bundle/{chunk-LKH3UKLO.js → chunk-G6NY7LFB.js} +3 -3
- package/dist/bundle/{chunk-M6VZXAJC.js → chunk-GOCMJBEE.js} +2 -2
- package/dist/bundle/{chunk-ADTI5RUO.js → chunk-GRGCZSES.js} +5 -5
- package/dist/bundle/{chunk-6WS6GJ4V.js → chunk-GVSKLZRD.js} +1 -1
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-FNV5HLHX.js → chunk-HN2LCLGT.js} +18 -18
- package/dist/bundle/{chunk-2JHVQMVC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
- package/dist/bundle/chunk-IDCZ4LWS.js +150 -0
- package/dist/bundle/{chunk-7IR2G5XY.js → chunk-IN3VL7UU.js} +15 -14
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
- package/dist/bundle/{chunk-633NQY2R.js → chunk-JVBCQHCS.js} +2 -2
- package/dist/bundle/{chunk-DQ6S5TFZ.js → chunk-K5W7YEHB.js} +61 -59
- package/dist/bundle/{chunk-LZPKBN3C.js → chunk-KAFSS35C.js} +1 -1
- package/dist/bundle/{chunk-IA7LLLEI.js → chunk-KLRCTMES.js} +2 -2
- package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/{chunk-V2CNGXWX.js → chunk-LBZSURLL.js} +36 -36
- package/dist/bundle/{chunk-XEQQJBBO.js → chunk-LC7ZD2RW.js} +1 -1
- package/dist/bundle/{chunk-IB55P46L.js → chunk-LH6FJYMO.js} +4 -4
- package/dist/bundle/{chunk-HSPEU6S7.js → chunk-LJKINNWC.js} +6 -6
- package/dist/bundle/{chunk-GLYWZQY4.js → chunk-M36XP74N.js} +2 -2
- package/dist/bundle/chunk-MNPGZCKE.js +361 -0
- package/dist/bundle/{chunk-U5RJJ2EC.js → chunk-MRPMORLH.js} +7 -7
- package/dist/bundle/{chunk-57HFPNMF.js → chunk-NNREILWP.js} +6 -6
- package/dist/bundle/chunk-NSOY4FMN.js +159 -0
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/{chunk-6QGUK3H7.js → chunk-OGJFDKDL.js} +4 -4
- package/dist/bundle/{chunk-ZLUIRFJX.js → chunk-PATZAYFZ.js} +35 -362
- package/dist/bundle/{chunk-PPSAWFJD.js → chunk-PCR6GFNP.js} +39 -161
- package/dist/bundle/{chunk-XUT7DSM5.js → chunk-Q4MH2O5E.js} +2 -2
- package/dist/bundle/{chunk-AKRIUNYP.js → chunk-QQRJEWKB.js} +5 -5
- package/dist/bundle/{chunk-KZ2FIDI3.js → chunk-RNWUCAJJ.js} +2 -2
- package/dist/bundle/{chunk-BIKOE2IW.js → chunk-SDVUGWD7.js} +4 -4
- package/dist/bundle/{chunk-GDK7ETSB.js → chunk-SEFE6PGL.js} +10 -10
- package/dist/bundle/{chunk-WUFX4TKA.js → chunk-SWCJM3YD.js} +2 -2
- package/dist/bundle/{chunk-KEKXERBE.js → chunk-SYRDEMQE.js} +3664 -2704
- package/dist/bundle/{chunk-WXJYMMEL.js → chunk-SYYQZDHJ.js} +5 -5
- package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-YWDFYQOU.js → chunk-TES7MB6I.js} +1 -1
- package/dist/bundle/{chunk-S4ZHQMNM.js → chunk-U6XPWCWM.js} +3 -3
- package/dist/bundle/{chunk-W5JRXIG6.js → chunk-UFKC7TIX.js} +1213 -804
- package/dist/bundle/{chunk-XCCU2E3Z.js → chunk-UNWF3TH5.js} +3 -3
- package/dist/bundle/{chunk-UDSL3MUU.js → chunk-W3BOR6AT.js} +7 -7
- package/dist/bundle/{chunk-JXT6GY4V.js → chunk-X76RS6JO.js} +29 -9
- package/dist/bundle/{chunk-DSJ6EAOA.js → chunk-YF3S26TS.js} +51 -51
- package/dist/bundle/{chunk-TLG6ECZ2.js → chunk-ZCQ4H7CA.js} +1 -1
- package/dist/bundle/{chunk-D4NE7EON.js → chunk-ZOZV32IR.js} +2 -2
- package/dist/bundle/{chunk-7IWIFVXH.js → chunk-ZTKHXDEU.js} +3 -3
- package/dist/bundle/{cli-3NXOSENF.js → cli-EAD3WZLR.js} +81 -66
- package/dist/bundle/command-contract-SMEJ2ICG.js +40 -0
- package/dist/bundle/{command-server-entry-4ZQPNUL4.js → command-server-entry-YTZP6I4T.js} +25 -24
- package/dist/bundle/{decode-K7U7X5EL.js → decode-57BE5OBT.js} +2 -2
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-SWLVG73O.js → embed-NFGFYUO4.js} +3 -3
- package/dist/bundle/{embedder-EJN75BPV.js → embedder-SRBOJMXX.js} +6 -6
- package/dist/bundle/{first-run-WPGUUC4Z.js → first-run-HWRUL2GR.js} +6 -6
- package/dist/bundle/first-screen-ATN4D3FQ.js +41 -0
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/meeting-combined-BGDEHCWY.js +26 -0
- package/dist/bundle/{meeting-model-YXXNETKC.js → meeting-model-WWGVRXPL.js} +8 -8
- package/dist/bundle/{meeting-semantic-U7EUB3ET.js → meeting-semantic-ZQ47BL2Z.js} +2 -2
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-YVOGMDSP.js → node-sqlite-JOTSNH3P.js} +4 -4
- package/dist/bundle/{oauth-2SNRBIJM.js → oauth-XPSAL6VO.js} +4 -4
- package/dist/bundle/{open-ABCPY5IH.js → open-PO52FVA5.js} +2 -2
- package/dist/bundle/{openai-4D6PXJR7.js → openai-WITYLMY5.js} +12 -12
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-CBDQBZZ3.js → program-JODTZNBZ.js} +107 -158
- package/dist/bundle/{prompt-2QUK5QST.js → prompt-XORLAXHY.js} +2 -2
- package/dist/bundle/{recognize-QMQSJRIH.js → recognize-JKMZHDYS.js} +1 -1
- package/dist/bundle/{remote-U7TC2BLZ.js → remote-3IMEJTEH.js} +6 -6
- package/dist/bundle/{rerank-5UPVXGVV.js → rerank-3F2E6NNN.js} +4 -4
- package/dist/bundle/{serve-VX6GUM6J.js → serve-6BWU3NMB.js} +6 -6
- package/dist/bundle/{server-FOPC6DJ3.js → server-GPSB5WFG.js} +56 -55
- package/dist/bundle/server-HMCC64ZU.js +88 -0
- package/dist/bundle/source-E72OS27D.js +47 -0
- package/dist/bundle/{sqlite-runtime-77NKDEXN.js → sqlite-runtime-YHYQDUXE.js} +3 -3
- package/dist/bundle/{state-X2HU6GB2.js → state-R7W4U6T4.js} +3 -3
- package/dist/bundle/{store-3CHPHFP7.js → store-HTVRL7FB.js} +51 -40
- package/dist/bundle/store-IWW6U6QN.js +34 -0
- package/dist/bundle/{store-2U4U6KL4.js → store-TBZ3ZS6H.js} +21 -19
- package/dist/bundle/store-maintenance-command-CJM2VLMW.js +75 -0
- package/dist/bundle/surface-5GBWNYBE.js +74 -0
- package/dist/bundle/writer-TW2Q55VJ.js +49 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +1 -6
- package/dist/commands/session.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/agent-EFMUK732.js +0 -41
- package/dist/bundle/chunk-IG2TJQJ7.js +0 -79
- package/dist/bundle/chunk-KZN2BG3P.js +0 -721
- package/dist/bundle/chunk-RRTMPSQR.js +0 -29
- package/dist/bundle/command-contract-LNSAV5LA.js +0 -39
- package/dist/bundle/first-screen-JMNEUQ46.js +0 -40
- package/dist/bundle/meeting-combined-5TKG2RYD.js +0 -24
- package/dist/bundle/server-OIVNOMVK.js +0 -87
- package/dist/bundle/source-HWS5SJIV.js +0 -46
- package/dist/bundle/store-Z3747L5F.js +0 -34
- package/dist/bundle/store-maintenance-command-UOSZJTVP.js +0 -74
- package/dist/bundle/surface-MUT72QON.js +0 -73
- package/dist/bundle/writer-RBKQ64ZM.js +0 -48
|
@@ -9,39 +9,28 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6OV2TRGF.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-22KAQPX7.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-LH6FJYMO.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-T3W4V4A6.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FIP2DG7W.js";
|
|
26
26
|
import {
|
|
27
27
|
CATEGORIES,
|
|
28
|
-
FACT_STATUSES,
|
|
29
28
|
KEEP_STORE_RUNS_FOR_DAYS,
|
|
30
29
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
31
30
|
LINK_KINDS,
|
|
32
31
|
LINK_SOURCES,
|
|
33
32
|
LOG_ATTRIBUTES,
|
|
34
|
-
MEMORY_KINDS,
|
|
35
|
-
MEMORY_SCOPES,
|
|
36
|
-
MEMORY_STATUSES,
|
|
37
|
-
PRIORITY_LABELS,
|
|
38
33
|
RUNS_SIZE_LIMIT_MB,
|
|
39
|
-
TASK_KINDS,
|
|
40
|
-
TASK_ORIGINS,
|
|
41
|
-
TASK_STATES,
|
|
42
|
-
TASK_TYPES,
|
|
43
|
-
TASK_VERDICTS,
|
|
44
|
-
WORK_TASK_TYPES,
|
|
45
34
|
author,
|
|
46
35
|
childTrace,
|
|
47
36
|
count,
|
|
@@ -68,18 +57,32 @@ import {
|
|
|
68
57
|
typedCommand,
|
|
69
58
|
untrusted,
|
|
70
59
|
useAsProcessRun
|
|
71
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-PCR6GFNP.js";
|
|
72
61
|
import {
|
|
73
62
|
isCliFailure,
|
|
63
|
+
storeBusy,
|
|
74
64
|
storeDamaged
|
|
75
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-3TYER5IK.js";
|
|
66
|
+
import {
|
|
67
|
+
FACT_STATUSES,
|
|
68
|
+
MEMORY_KINDS,
|
|
69
|
+
MEMORY_SCOPES,
|
|
70
|
+
MEMORY_STATUSES,
|
|
71
|
+
PRIORITY_LABELS,
|
|
72
|
+
TASK_KINDS,
|
|
73
|
+
TASK_ORIGINS,
|
|
74
|
+
TASK_STATES,
|
|
75
|
+
TASK_TYPES,
|
|
76
|
+
TASK_VERDICTS,
|
|
77
|
+
WORK_TASK_TYPES
|
|
78
|
+
} from "./chunk-IDCZ4LWS.js";
|
|
76
79
|
import {
|
|
77
80
|
endpoint
|
|
78
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-DY3PLWIH.js";
|
|
79
82
|
import {
|
|
80
83
|
filesPresent,
|
|
81
84
|
sharedModelsDirectory
|
|
82
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-UNWF3TH5.js";
|
|
83
86
|
import {
|
|
84
87
|
CEILING_KEY,
|
|
85
88
|
COMMAND_PATH_KEY,
|
|
@@ -93,7 +96,7 @@ import {
|
|
|
93
96
|
permissionOverrides,
|
|
94
97
|
projectFields,
|
|
95
98
|
resolveOutput
|
|
96
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-SDVUGWD7.js";
|
|
97
100
|
import {
|
|
98
101
|
BUSINESS_KINDS,
|
|
99
102
|
CRM_ACTIVITY_KINDS,
|
|
@@ -108,10 +111,10 @@ import {
|
|
|
108
111
|
ORDER_STATUSES,
|
|
109
112
|
RELATION_KINDS,
|
|
110
113
|
STANDINGS
|
|
111
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-MNPGZCKE.js";
|
|
112
115
|
import {
|
|
113
116
|
TAG_TYPES
|
|
114
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-PATZAYFZ.js";
|
|
115
118
|
import {
|
|
116
119
|
FACT_TYPES,
|
|
117
120
|
FIELD_TYPES,
|
|
@@ -139,14 +142,14 @@ import {
|
|
|
139
142
|
parseLucene,
|
|
140
143
|
readsZone,
|
|
141
144
|
timezoneOf
|
|
142
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-YF3S26TS.js";
|
|
143
146
|
import {
|
|
144
147
|
repairConfigText,
|
|
145
148
|
sharedConfigPath
|
|
146
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-QQRJEWKB.js";
|
|
147
150
|
import {
|
|
148
151
|
storePath
|
|
149
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-ZCQ4H7CA.js";
|
|
150
153
|
import {
|
|
151
154
|
configFilePath,
|
|
152
155
|
createRecordLog,
|
|
@@ -217,7 +220,7 @@ import {
|
|
|
217
220
|
__name
|
|
218
221
|
} from "./chunk-ZVVMGPBJ.js";
|
|
219
222
|
|
|
220
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
223
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
221
224
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
222
225
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
223
226
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -286,7 +289,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
286
289
|
};
|
|
287
290
|
}, "modelTarget");
|
|
288
291
|
|
|
289
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
292
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
290
293
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
291
294
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
292
295
|
var AI_FIELDS = {
|
|
@@ -330,7 +333,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
330
333
|
};
|
|
331
334
|
}, "resolveAISettings");
|
|
332
335
|
|
|
333
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
336
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
334
337
|
import { readFileSync } from "node:fs";
|
|
335
338
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
336
339
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -384,7 +387,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
384
387
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
385
388
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
386
389
|
|
|
387
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
390
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
388
391
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
389
392
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
390
393
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -398,7 +401,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
398
401
|
return ms2;
|
|
399
402
|
}, "parseDuration");
|
|
400
403
|
|
|
401
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
404
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
402
405
|
var WEIGHTS = {
|
|
403
406
|
bot: 3,
|
|
404
407
|
scam: 3,
|
|
@@ -423,7 +426,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
423
426
|
var DIGITS = /\d{5,}/;
|
|
424
427
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
425
428
|
|
|
426
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
429
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
427
430
|
var linkedIdentity = strictObject({
|
|
428
431
|
provider: text,
|
|
429
432
|
id,
|
|
@@ -478,7 +481,7 @@ var contactCheck = strictObject({
|
|
|
478
481
|
checked_at: time
|
|
479
482
|
});
|
|
480
483
|
|
|
481
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
484
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
482
485
|
var member = strictObject({
|
|
483
486
|
id,
|
|
484
487
|
name: nullable(text),
|
|
@@ -501,7 +504,7 @@ var member = strictObject({
|
|
|
501
504
|
check: optional(record(string(), unknown()))
|
|
502
505
|
});
|
|
503
506
|
|
|
504
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
507
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
505
508
|
var setting = optional(nullable(boolean()));
|
|
506
509
|
var chat = strictObject({
|
|
507
510
|
ref: reference,
|
|
@@ -542,7 +545,7 @@ var chat = strictObject({
|
|
|
542
545
|
members: optional(array(member))
|
|
543
546
|
});
|
|
544
547
|
|
|
545
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
548
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
546
549
|
var attachment = strictObject({
|
|
547
550
|
/** The message it came with, as a locator; absent inside that message. */
|
|
548
551
|
message: optional(reference),
|
|
@@ -587,7 +590,7 @@ var hitFile = strictObject({
|
|
|
587
590
|
local_path: optional(text)
|
|
588
591
|
});
|
|
589
592
|
|
|
590
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
593
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
591
594
|
var quoted = strictObject({
|
|
592
595
|
id,
|
|
593
596
|
sender_id: nullable(id),
|
|
@@ -688,6 +691,10 @@ var message = strictObject({
|
|
|
688
691
|
thread: reference,
|
|
689
692
|
read: nullable(boolean()),
|
|
690
693
|
flagged: nullable(boolean()),
|
|
694
|
+
/** What the email is, apart from its sender: one of the mail types. @experimental */
|
|
695
|
+
mail_type: optional(text),
|
|
696
|
+
/** How it reached the owner: direct, group or broadcast. @experimental */
|
|
697
|
+
reach: optional(text),
|
|
691
698
|
/** How much the sender's mail looks like spam, a scam or a robot (memo's score), and why; absent when unscored. */
|
|
692
699
|
sender_score: optional(strictObject({ score: number(), signals: array(text), demoted: optional(literal(true)) })),
|
|
693
700
|
/** Mail `review`: filed in the mailbox of mail sent to many. */
|
|
@@ -708,7 +715,7 @@ var message = strictObject({
|
|
|
708
715
|
provider_metadata: providerMetadata
|
|
709
716
|
});
|
|
710
717
|
|
|
711
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
718
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
712
719
|
var recordedMeeting = strictObject({
|
|
713
720
|
ref: reference,
|
|
714
721
|
meeting_id: count,
|
|
@@ -725,7 +732,7 @@ var recordedMeeting = strictObject({
|
|
|
725
732
|
call: optional(meetingCall)
|
|
726
733
|
});
|
|
727
734
|
|
|
728
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
735
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
729
736
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
730
737
|
var contextMessage = strictObject({
|
|
731
738
|
locator: reference,
|
|
@@ -931,7 +938,7 @@ var contactPreparation = strictObject({
|
|
|
931
938
|
})
|
|
932
939
|
});
|
|
933
940
|
|
|
934
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
941
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
935
942
|
var nullableText = nullable(text);
|
|
936
943
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
937
944
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -996,7 +1003,7 @@ var deal = strictObject({
|
|
|
996
1003
|
})),
|
|
997
1004
|
people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
|
|
998
1005
|
author: strictObject({
|
|
999
|
-
type: picklist(["person", "
|
|
1006
|
+
type: picklist(["person", "agent"]),
|
|
1000
1007
|
id,
|
|
1001
1008
|
name: nullableText,
|
|
1002
1009
|
kind: nullable(picklist(["agent", "rule"]))
|
|
@@ -1087,7 +1094,7 @@ var stage = strictObject({
|
|
|
1087
1094
|
untrusted
|
|
1088
1095
|
});
|
|
1089
1096
|
|
|
1090
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1097
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
1091
1098
|
var nullableText2 = nullable(text);
|
|
1092
1099
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
1093
1100
|
var standing = picklist(STANDINGS);
|
|
@@ -1266,7 +1273,7 @@ var dealBrief = strictObject({
|
|
|
1266
1273
|
not_read: coverage2.entries.not_read
|
|
1267
1274
|
});
|
|
1268
1275
|
|
|
1269
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1276
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
1270
1277
|
var botProfile = strictObject({
|
|
1271
1278
|
name: text,
|
|
1272
1279
|
token: text,
|
|
@@ -1390,7 +1397,7 @@ var stickerInventory = strictObject({
|
|
|
1390
1397
|
url: optional(nullable(text))
|
|
1391
1398
|
});
|
|
1392
1399
|
|
|
1393
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1400
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
1394
1401
|
var actionableError = objectWithRest({
|
|
1395
1402
|
code: text,
|
|
1396
1403
|
message: text,
|
|
@@ -1407,7 +1414,7 @@ var batchResult = strictObject({
|
|
|
1407
1414
|
max_error_percent: count
|
|
1408
1415
|
});
|
|
1409
1416
|
|
|
1410
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1417
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
1411
1418
|
var conversationBuild = strictObject({
|
|
1412
1419
|
chat: id,
|
|
1413
1420
|
messages: count,
|
|
@@ -1432,13 +1439,13 @@ var catchUpPreparation = strictObject({
|
|
|
1432
1439
|
prepared: optional(conversationPreparation)
|
|
1433
1440
|
});
|
|
1434
1441
|
|
|
1435
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1442
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
1436
1443
|
import { spawn } from "node:child_process";
|
|
1437
1444
|
import { randomBytes } from "node:crypto";
|
|
1438
1445
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync } from "node:fs";
|
|
1439
1446
|
import { dirname, join } from "node:path";
|
|
1440
1447
|
|
|
1441
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1448
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
1442
1449
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
1443
1450
|
const total = input.total ?? null;
|
|
1444
1451
|
const updated = input.updatedAt ?? null;
|
|
@@ -1469,7 +1476,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
1469
1476
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
1470
1477
|
}, "progressLine");
|
|
1471
1478
|
|
|
1472
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1479
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
1473
1480
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
1474
1481
|
const run = currentRun();
|
|
1475
1482
|
const trace = traceId ?? run.traceId;
|
|
@@ -1483,7 +1490,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
1483
1490
|
}));
|
|
1484
1491
|
}, "recordLogFor");
|
|
1485
1492
|
|
|
1486
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1493
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
1487
1494
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
1488
1495
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
1489
1496
|
const out = openSync(log, "a", 384);
|
|
@@ -1638,7 +1645,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
1638
1645
|
return { job: id6, pid, chat: input.chat, log };
|
|
1639
1646
|
}, "startArchiveJob");
|
|
1640
1647
|
|
|
1641
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1648
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
1642
1649
|
var problem = strictObject({ code: text, message: text });
|
|
1643
1650
|
var job = strictObject({
|
|
1644
1651
|
id,
|
|
@@ -1661,7 +1668,7 @@ var job = strictObject({
|
|
|
1661
1668
|
error: optional(problem)
|
|
1662
1669
|
});
|
|
1663
1670
|
|
|
1664
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1671
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
1665
1672
|
var extractionItem = strictObject({
|
|
1666
1673
|
ref: reference,
|
|
1667
1674
|
attachment: count,
|
|
@@ -1694,7 +1701,7 @@ var extractionReport = strictObject({
|
|
|
1694
1701
|
cursor: optional(text)
|
|
1695
1702
|
});
|
|
1696
1703
|
|
|
1697
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1704
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
1698
1705
|
var savedMessageFile = strictObject({
|
|
1699
1706
|
kind: text,
|
|
1700
1707
|
path: text,
|
|
@@ -1781,7 +1788,7 @@ var messageSyncAll = strictObject({
|
|
|
1781
1788
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
1782
1789
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
1783
1790
|
|
|
1784
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
1791
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
1785
1792
|
var range = strictObject({ from: number(), to: number() });
|
|
1786
1793
|
var storeChatStatus = strictObject({
|
|
1787
1794
|
chat_id: id,
|
|
@@ -5606,7 +5613,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
5606
5613
|
}
|
|
5607
5614
|
}, "refuseJoinedPath");
|
|
5608
5615
|
|
|
5609
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5616
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
5610
5617
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
5611
5618
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
5612
5619
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -5644,7 +5651,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
5644
5651
|
progress: "sync.progress"
|
|
5645
5652
|
};
|
|
5646
5653
|
|
|
5647
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5654
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5648
5655
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5649
5656
|
const recording = startRecording(options);
|
|
5650
5657
|
try {
|
|
@@ -5741,7 +5748,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
5741
5748
|
});
|
|
5742
5749
|
}, "succeed"),
|
|
5743
5750
|
fail: /* @__PURE__ */ __name(async (thrown) => {
|
|
5744
|
-
const error = storeDamaged(thrown);
|
|
5751
|
+
const error = storeBusy(storeDamaged(thrown));
|
|
5745
5752
|
markStoreDamaged(thrown, {
|
|
5746
5753
|
store: storePath(options.env),
|
|
5747
5754
|
command: `${options.app.command} ${options.command}`,
|
|
@@ -5859,7 +5866,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5859
5866
|
return void 0;
|
|
5860
5867
|
}, "partialOutcome");
|
|
5861
5868
|
|
|
5862
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5869
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
5863
5870
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
5864
5871
|
var requests = new AsyncLocalStorage();
|
|
5865
5872
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -5874,7 +5881,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
5874
5881
|
return direct;
|
|
5875
5882
|
}, "exitCodeSet");
|
|
5876
5883
|
|
|
5877
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5884
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
5878
5885
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5879
5886
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
5880
5887
|
messageId: message2.id,
|
|
@@ -5980,7 +5987,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
5980
5987
|
}, "guardedWrite");
|
|
5981
5988
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
5982
5989
|
|
|
5983
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5990
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5984
5991
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5985
5992
|
if (ms2 === void 0)
|
|
5986
5993
|
return body();
|
|
@@ -6006,7 +6013,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
6006
6013
|
}
|
|
6007
6014
|
}, "withDeadline");
|
|
6008
6015
|
|
|
6009
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6016
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
6010
6017
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
6011
6018
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
6012
6019
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -6189,7 +6196,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
6189
6196
|
}
|
|
6190
6197
|
}, "withAbort");
|
|
6191
6198
|
|
|
6192
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6199
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
6193
6200
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
6194
6201
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
6195
6202
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -6276,7 +6283,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
6276
6283
|
return void 0;
|
|
6277
6284
|
}, "sampleCommand");
|
|
6278
6285
|
|
|
6279
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6286
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
6280
6287
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
6281
6288
|
import { join as join2 } from "node:path";
|
|
6282
6289
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -6365,7 +6372,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
6365
6372
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
6366
6373
|
}, "registryProfiles");
|
|
6367
6374
|
|
|
6368
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6375
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6369
6376
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
6370
6377
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6371
6378
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -6664,7 +6671,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6664
6671
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6665
6672
|
}, "readConfigFile");
|
|
6666
6673
|
|
|
6667
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6674
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6668
6675
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
6669
6676
|
import { dirname as dirname2, join as join3 } from "node:path";
|
|
6670
6677
|
var DEFAULT_CONFIG = {
|
|
@@ -6693,7 +6700,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6693
6700
|
}
|
|
6694
6701
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6695
6702
|
|
|
6696
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6703
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
6697
6704
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
6698
6705
|
import { join as join4 } from "node:path";
|
|
6699
6706
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -6715,7 +6722,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
6715
6722
|
}, "profilesWithAccounts");
|
|
6716
6723
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
6717
6724
|
|
|
6718
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6725
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6719
6726
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6720
6727
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6721
6728
|
const path2 = key.split(".");
|
|
@@ -6748,10 +6755,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6748
6755
|
};
|
|
6749
6756
|
}), "settingRows");
|
|
6750
6757
|
|
|
6751
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6758
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6752
6759
|
import { existsSync as existsSync5 } from "node:fs";
|
|
6753
6760
|
|
|
6754
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6761
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
6755
6762
|
var HISTORY_MAX_DAYS = 1095;
|
|
6756
6763
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
6757
6764
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -6798,7 +6805,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
6798
6805
|
return { batch: { ...batch, messages }, skipped };
|
|
6799
6806
|
}, "limitBatch");
|
|
6800
6807
|
|
|
6801
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6808
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6802
6809
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6803
6810
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6804
6811
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -7326,7 +7333,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
7326
7333
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
7327
7334
|
}, "given");
|
|
7328
7335
|
|
|
7329
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7336
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
7330
7337
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
7331
7338
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
7332
7339
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -7383,7 +7390,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
7383
7390
|
};
|
|
7384
7391
|
}, "runBudget");
|
|
7385
7392
|
|
|
7386
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7393
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
7387
7394
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
7388
7395
|
const { deadline, signal, app } = environmentOf(command);
|
|
7389
7396
|
const now = deadline?.();
|
|
@@ -7537,7 +7544,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7537
7544
|
return words.join(" ");
|
|
7538
7545
|
}, "commandPath");
|
|
7539
7546
|
|
|
7540
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7547
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7541
7548
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7542
7549
|
var FETCH = { remote: "read", local: "write" };
|
|
7543
7550
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7700,7 +7707,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7700
7707
|
throw readOnlyRefusal(lock, what);
|
|
7701
7708
|
}, "refuseUnderReadOnly");
|
|
7702
7709
|
|
|
7703
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7710
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7704
7711
|
var account = strictObject({
|
|
7705
7712
|
provider: text,
|
|
7706
7713
|
id,
|
|
@@ -7710,7 +7717,7 @@ var account = strictObject({
|
|
|
7710
7717
|
scope: optional(picklist(["personal", "work"]))
|
|
7711
7718
|
});
|
|
7712
7719
|
|
|
7713
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7720
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7714
7721
|
var accountSession = strictObject({
|
|
7715
7722
|
current: boolean(),
|
|
7716
7723
|
client: nullable(text),
|
|
@@ -7720,7 +7727,7 @@ var accountSession = strictObject({
|
|
|
7720
7727
|
created_at: optional(nullable(time))
|
|
7721
7728
|
});
|
|
7722
7729
|
|
|
7723
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7730
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7724
7731
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7725
7732
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7726
7733
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7749,7 +7756,7 @@ var accountRemoval = strictObject({
|
|
|
7749
7756
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
7750
7757
|
});
|
|
7751
7758
|
|
|
7752
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7759
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7753
7760
|
var accountProfile = strictObject({
|
|
7754
7761
|
profile: id,
|
|
7755
7762
|
current: boolean(),
|
|
@@ -7761,7 +7768,7 @@ var accountProfile = strictObject({
|
|
|
7761
7768
|
bot: optional(literal(true))
|
|
7762
7769
|
});
|
|
7763
7770
|
|
|
7764
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7771
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7765
7772
|
var milliseconds = pipe(number(), minValue(0));
|
|
7766
7773
|
var counterReading = strictObject({
|
|
7767
7774
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7773,7 +7780,7 @@ var counterReading = strictObject({
|
|
|
7773
7780
|
});
|
|
7774
7781
|
var selection = record(string(), unknown());
|
|
7775
7782
|
|
|
7776
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7783
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7777
7784
|
var adminRow = strictObject({
|
|
7778
7785
|
ref: reference,
|
|
7779
7786
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7826,7 +7833,7 @@ var adminReport = strictObject({
|
|
|
7826
7833
|
rows: array(adminRow)
|
|
7827
7834
|
});
|
|
7828
7835
|
|
|
7829
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7836
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7830
7837
|
var closeSuggestion = strictObject({
|
|
7831
7838
|
as: picklist(["done", "dismissed"]),
|
|
7832
7839
|
/** The agent's name. */
|
|
@@ -7851,7 +7858,7 @@ var task = strictObject({
|
|
|
7851
7858
|
project_key: optional(nullable(text)),
|
|
7852
7859
|
project_name: optional(nullable(text)),
|
|
7853
7860
|
/** Who added it: the owner, or an agent by its bot name. */
|
|
7854
|
-
created_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
7861
|
+
created_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() }))),
|
|
7855
7862
|
account: optional(text),
|
|
7856
7863
|
/** The chat it came from, as a `chat:` reference. */
|
|
7857
7864
|
chat: optional(nullable(reference)),
|
|
@@ -7888,7 +7895,7 @@ var task = strictObject({
|
|
|
7888
7895
|
updated_at: optional(time)
|
|
7889
7896
|
});
|
|
7890
7897
|
|
|
7891
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7898
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7892
7899
|
var agendaChat = strictObject({
|
|
7893
7900
|
chat: reference,
|
|
7894
7901
|
title: nullable(text),
|
|
@@ -7958,11 +7965,11 @@ var agenda = strictObject({
|
|
|
7958
7965
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7959
7966
|
});
|
|
7960
7967
|
|
|
7961
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7968
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7962
7969
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7963
7970
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7964
7971
|
|
|
7965
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7972
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7966
7973
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7967
7974
|
var attachmentBytes = strictObject({
|
|
7968
7975
|
ref: reference,
|
|
@@ -7993,7 +8000,7 @@ var attachmentTextChange = strictObject({
|
|
|
7993
8000
|
text: optional(text)
|
|
7994
8001
|
});
|
|
7995
8002
|
|
|
7996
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8003
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7997
8004
|
var chart = strictObject({
|
|
7998
8005
|
version: literal(1),
|
|
7999
8006
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -8008,7 +8015,7 @@ var chart = strictObject({
|
|
|
8008
8015
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
8009
8016
|
});
|
|
8010
8017
|
|
|
8011
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8018
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
8012
8019
|
var named = strictObject({
|
|
8013
8020
|
id,
|
|
8014
8021
|
title: nullable(text),
|
|
@@ -8031,7 +8038,7 @@ var folder = strictObject({
|
|
|
8031
8038
|
excluded_chats: optional(array(named))
|
|
8032
8039
|
});
|
|
8033
8040
|
|
|
8034
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8041
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
8035
8042
|
var inviteLink = strictObject({
|
|
8036
8043
|
link: text,
|
|
8037
8044
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -8047,7 +8054,7 @@ var inviteLink = strictObject({
|
|
|
8047
8054
|
joined_count: optional(count)
|
|
8048
8055
|
});
|
|
8049
8056
|
|
|
8050
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8057
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
8051
8058
|
var operated = { operation_id: id, chat_id: id };
|
|
8052
8059
|
var group = strictObject({
|
|
8053
8060
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8127,7 +8134,7 @@ var chatFolderOrder = strictObject({
|
|
|
8127
8134
|
folders: array(strictObject({ id, title: text }))
|
|
8128
8135
|
});
|
|
8129
8136
|
|
|
8130
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8137
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
8131
8138
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8132
8139
|
var chatRemoval = strictObject(operated2);
|
|
8133
8140
|
var chatMuting = strictObject({
|
|
@@ -8138,7 +8145,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8138
8145
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8139
8146
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8140
8147
|
|
|
8141
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8148
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
8142
8149
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8143
8150
|
var chatEvent = strictObject({
|
|
8144
8151
|
chat_id: id,
|
|
@@ -8155,7 +8162,7 @@ var chatEvent = strictObject({
|
|
|
8155
8162
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8156
8163
|
});
|
|
8157
8164
|
|
|
8158
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8165
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
8159
8166
|
var chatMetadata = strictObject({
|
|
8160
8167
|
chat_id: id,
|
|
8161
8168
|
title: nullable(text),
|
|
@@ -8170,7 +8177,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8170
8177
|
has_more: boolean()
|
|
8171
8178
|
});
|
|
8172
8179
|
|
|
8173
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8180
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
8174
8181
|
var action = picklist(["report", "delete", "remove"]);
|
|
8175
8182
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8176
8183
|
var chatRules = strictObject({
|
|
@@ -8207,7 +8214,7 @@ var chatModeration = strictObject({
|
|
|
8207
8214
|
}))
|
|
8208
8215
|
});
|
|
8209
8216
|
|
|
8210
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8217
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
8211
8218
|
var chatSending = strictObject({
|
|
8212
8219
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
8213
8220
|
meaning: text,
|
|
@@ -8217,7 +8224,7 @@ var chatSending = strictObject({
|
|
|
8217
8224
|
changed: optional(boolean())
|
|
8218
8225
|
});
|
|
8219
8226
|
|
|
8220
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8227
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
8221
8228
|
var optionalCount = optional(count);
|
|
8222
8229
|
var minutes = nullable(number());
|
|
8223
8230
|
var chatStats = strictObject({
|
|
@@ -8293,7 +8300,7 @@ var taskStats = strictObject({
|
|
|
8293
8300
|
}))
|
|
8294
8301
|
});
|
|
8295
8302
|
|
|
8296
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8303
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8297
8304
|
var memberCount = strictObject({
|
|
8298
8305
|
day: pipe(text, isoDate()),
|
|
8299
8306
|
participants: nullable(count),
|
|
@@ -8316,7 +8323,7 @@ var chatTracking = strictObject({
|
|
|
8316
8323
|
tracked: boolean()
|
|
8317
8324
|
});
|
|
8318
8325
|
|
|
8319
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8326
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8320
8327
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8321
8328
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8322
8329
|
var profileFields = {
|
|
@@ -8354,7 +8361,7 @@ var profileFields = {
|
|
|
8354
8361
|
}))
|
|
8355
8362
|
};
|
|
8356
8363
|
|
|
8357
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8364
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8358
8365
|
var contact = strictObject({
|
|
8359
8366
|
ref: reference,
|
|
8360
8367
|
id,
|
|
@@ -8385,7 +8392,7 @@ var contact = strictObject({
|
|
|
8385
8392
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8386
8393
|
});
|
|
8387
8394
|
|
|
8388
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8395
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8389
8396
|
var contactNote = strictObject({
|
|
8390
8397
|
id,
|
|
8391
8398
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8397,13 +8404,13 @@ var contactNote = strictObject({
|
|
|
8397
8404
|
updated_at: time
|
|
8398
8405
|
});
|
|
8399
8406
|
|
|
8400
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8407
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8401
8408
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8402
8409
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8403
8410
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8404
8411
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8405
8412
|
|
|
8406
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8413
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8407
8414
|
var conversation = strictObject({
|
|
8408
8415
|
id,
|
|
8409
8416
|
chat: reference,
|
|
@@ -8418,7 +8425,7 @@ var conversation = strictObject({
|
|
|
8418
8425
|
rules_version: count
|
|
8419
8426
|
});
|
|
8420
8427
|
|
|
8421
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8428
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8422
8429
|
var conversationDetails = union([
|
|
8423
8430
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8424
8431
|
message
|
|
@@ -8513,7 +8520,7 @@ var conversationHit = strictObject({
|
|
|
8513
8520
|
untrusted
|
|
8514
8521
|
});
|
|
8515
8522
|
|
|
8516
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8523
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8517
8524
|
var counters = strictObject({
|
|
8518
8525
|
cutoff: time,
|
|
8519
8526
|
max_age_ms: milliseconds,
|
|
@@ -8543,7 +8550,7 @@ var counterRefresh = strictObject({
|
|
|
8543
8550
|
complete: optional(boolean())
|
|
8544
8551
|
});
|
|
8545
8552
|
|
|
8546
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8553
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8547
8554
|
var document = strictObject({
|
|
8548
8555
|
ref: reference,
|
|
8549
8556
|
id,
|
|
@@ -8558,7 +8565,7 @@ var document = strictObject({
|
|
|
8558
8565
|
owners: optional(array(text))
|
|
8559
8566
|
});
|
|
8560
8567
|
|
|
8561
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8568
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8562
8569
|
var documentLink = strictObject({
|
|
8563
8570
|
ref: reference,
|
|
8564
8571
|
url: text,
|
|
@@ -8569,7 +8576,34 @@ var documentLink = strictObject({
|
|
|
8569
8576
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8570
8577
|
});
|
|
8571
8578
|
|
|
8572
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8579
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/domain-list.js
|
|
8580
|
+
var domainList = strictObject({
|
|
8581
|
+
id,
|
|
8582
|
+
title: text,
|
|
8583
|
+
/**
|
|
8584
|
+
* `sector` gives an organization its sector; `freemail` keeps a mailbox provider from making one; `bad` only marks a
|
|
8585
|
+
* host known for spam, phishing or malware.
|
|
8586
|
+
*/
|
|
8587
|
+
signal: picklist(["sector", "freemail", "bad"]),
|
|
8588
|
+
/** `non-commercial`: WireCat may use it, a paid service built around it may not. */
|
|
8589
|
+
class: picklist(["commercial-ok", "non-commercial"]),
|
|
8590
|
+
licence: text,
|
|
8591
|
+
licence_url: text,
|
|
8592
|
+
attribution: text,
|
|
8593
|
+
homepage: text,
|
|
8594
|
+
/** Fetched from its source on this computer, since it may not be redistributed. */
|
|
8595
|
+
upstream: boolean(),
|
|
8596
|
+
lines: count,
|
|
8597
|
+
/** Lines per sector or category, as published. */
|
|
8598
|
+
tags: record(string(), count),
|
|
8599
|
+
/** The pack's build date. */
|
|
8600
|
+
version: text,
|
|
8601
|
+
installed_at: time,
|
|
8602
|
+
sha256: text,
|
|
8603
|
+
path: text
|
|
8604
|
+
});
|
|
8605
|
+
|
|
8606
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8573
8607
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8574
8608
|
var contribution = strictObject({
|
|
8575
8609
|
message: evidenceMessage,
|
|
@@ -8599,7 +8633,7 @@ var retentionStay = strictObject({
|
|
|
8599
8633
|
});
|
|
8600
8634
|
var evidence = union([contribution, retentionStay]);
|
|
8601
8635
|
|
|
8602
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8636
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8603
8637
|
var fact = strictObject({
|
|
8604
8638
|
ref: reference,
|
|
8605
8639
|
id,
|
|
@@ -8618,7 +8652,7 @@ var fact = strictObject({
|
|
|
8618
8652
|
author,
|
|
8619
8653
|
model: nullable(text),
|
|
8620
8654
|
/** Who accepted it; `null` while it is proposed. */
|
|
8621
|
-
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
8655
|
+
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id }))),
|
|
8622
8656
|
scope: nullable(picklist(MEMORY_SCOPES)),
|
|
8623
8657
|
/** Who recorded it: the owner, or an agent whose fact waits as proposed. */
|
|
8624
8658
|
origin: picklist(["owner", "agent"]),
|
|
@@ -8630,7 +8664,7 @@ var fact = strictObject({
|
|
|
8630
8664
|
updated_at: time
|
|
8631
8665
|
});
|
|
8632
8666
|
|
|
8633
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8667
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8634
8668
|
var hit = strictObject({
|
|
8635
8669
|
kind: picklist([
|
|
8636
8670
|
"message",
|
|
@@ -8694,7 +8728,7 @@ var hit = strictObject({
|
|
|
8694
8728
|
untrusted
|
|
8695
8729
|
});
|
|
8696
8730
|
|
|
8697
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8731
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8698
8732
|
var identity = strictObject({
|
|
8699
8733
|
ref: reference,
|
|
8700
8734
|
provider: text,
|
|
@@ -8710,7 +8744,7 @@ var identity = strictObject({
|
|
|
8710
8744
|
person: optional(nullable(reference))
|
|
8711
8745
|
});
|
|
8712
8746
|
|
|
8713
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8747
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8714
8748
|
var imageEmbedding = strictObject({
|
|
8715
8749
|
model: text,
|
|
8716
8750
|
embedded: count,
|
|
@@ -8719,7 +8753,7 @@ var imageEmbedding = strictObject({
|
|
|
8719
8753
|
more: boolean()
|
|
8720
8754
|
});
|
|
8721
8755
|
|
|
8722
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8756
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8723
8757
|
var joinRequest = strictObject({
|
|
8724
8758
|
person_id: id,
|
|
8725
8759
|
name: nullable(text),
|
|
@@ -8730,7 +8764,7 @@ var joinRequest = strictObject({
|
|
|
8730
8764
|
about: optional(text)
|
|
8731
8765
|
});
|
|
8732
8766
|
|
|
8733
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8767
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8734
8768
|
var pollVote = strictObject({
|
|
8735
8769
|
person_id: id,
|
|
8736
8770
|
name: nullable(text),
|
|
@@ -8740,7 +8774,7 @@ var pollVote = strictObject({
|
|
|
8740
8774
|
voted_at: time
|
|
8741
8775
|
});
|
|
8742
8776
|
|
|
8743
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8777
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8744
8778
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8745
8779
|
var observation = strictObject({
|
|
8746
8780
|
value: pipe(number(), minValue(0)),
|
|
@@ -8782,7 +8816,7 @@ var serveSummary = strictObject({
|
|
|
8782
8816
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8783
8817
|
});
|
|
8784
8818
|
|
|
8785
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8819
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8786
8820
|
var mailCounts = strictObject({
|
|
8787
8821
|
by: picklist(["day", "week", "sender"]),
|
|
8788
8822
|
received: count,
|
|
@@ -8797,7 +8831,7 @@ var mailCounts = strictObject({
|
|
|
8797
8831
|
}))
|
|
8798
8832
|
});
|
|
8799
8833
|
|
|
8800
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8834
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8801
8835
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8802
8836
|
var base = { id, evidence: array(evidence2) };
|
|
8803
8837
|
var finding = variant("kind", [
|
|
@@ -8935,13 +8969,13 @@ var mailFindings = strictObject({
|
|
|
8935
8969
|
fingerprint: text,
|
|
8936
8970
|
status: picklist(["proposed", "reviewed"]),
|
|
8937
8971
|
author,
|
|
8938
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
8972
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
8939
8973
|
decided_at: nullable(time),
|
|
8940
8974
|
previous: array(outcome2),
|
|
8941
8975
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8942
8976
|
});
|
|
8943
8977
|
|
|
8944
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8978
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8945
8979
|
var mediaArchive = strictObject({
|
|
8946
8980
|
directory: text,
|
|
8947
8981
|
chats: count,
|
|
@@ -8973,7 +9007,7 @@ var mediaArchiveTimer = union([
|
|
|
8973
9007
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8974
9008
|
]);
|
|
8975
9009
|
|
|
8976
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9010
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8977
9011
|
var preparationId = pipe(string(), minLength(1));
|
|
8978
9012
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8979
9013
|
var preparationTime = nullable(isoTime);
|
|
@@ -9065,7 +9099,7 @@ var preparationMeeting = strictObject({
|
|
|
9065
9099
|
updated_at: isoTime
|
|
9066
9100
|
});
|
|
9067
9101
|
|
|
9068
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9102
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9069
9103
|
var meetingEvidence = preparationEvidence;
|
|
9070
9104
|
var meetingPersonContext = strictObject({
|
|
9071
9105
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9087,7 +9121,7 @@ var meetingPersonContext = strictObject({
|
|
|
9087
9121
|
})
|
|
9088
9122
|
});
|
|
9089
9123
|
|
|
9090
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9124
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9091
9125
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9092
9126
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9093
9127
|
var finding2 = variant("kind", [
|
|
@@ -9119,13 +9153,13 @@ var meetingFindings = strictObject({
|
|
|
9119
9153
|
fingerprint: text,
|
|
9120
9154
|
status: picklist(["proposed", "reviewed"]),
|
|
9121
9155
|
author,
|
|
9122
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
9156
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
9123
9157
|
decided_at: nullable(time),
|
|
9124
9158
|
previous: array(outcome3),
|
|
9125
9159
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9126
9160
|
});
|
|
9127
9161
|
|
|
9128
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9162
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9129
9163
|
var communicationCoverage = strictObject({
|
|
9130
9164
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9131
9165
|
query: string(),
|
|
@@ -9170,7 +9204,7 @@ var preparationCommunications = strictObject({
|
|
|
9170
9204
|
}))
|
|
9171
9205
|
});
|
|
9172
9206
|
|
|
9173
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9207
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9174
9208
|
var meetingPreparation = strictObject({
|
|
9175
9209
|
communications: optional(preparationCommunications),
|
|
9176
9210
|
schema_version: literal(1),
|
|
@@ -9283,7 +9317,7 @@ var meetingPreparation = strictObject({
|
|
|
9283
9317
|
})
|
|
9284
9318
|
});
|
|
9285
9319
|
|
|
9286
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9320
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9287
9321
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9288
9322
|
var id3 = pipe(string(), minLength(1));
|
|
9289
9323
|
var text3 = string();
|
|
@@ -9347,7 +9381,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9347
9381
|
})
|
|
9348
9382
|
});
|
|
9349
9383
|
|
|
9350
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9384
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9351
9385
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9352
9386
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9353
9387
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9377,7 +9411,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9377
9411
|
})
|
|
9378
9412
|
});
|
|
9379
9413
|
|
|
9380
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9414
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9381
9415
|
var text4 = string();
|
|
9382
9416
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9383
9417
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9394,7 +9428,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9394
9428
|
persistence: literal("proposal-only")
|
|
9395
9429
|
});
|
|
9396
9430
|
|
|
9397
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9431
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9398
9432
|
var memory = strictObject({
|
|
9399
9433
|
ref: reference,
|
|
9400
9434
|
id,
|
|
@@ -9422,7 +9456,7 @@ var memory = strictObject({
|
|
|
9422
9456
|
updated_at: time
|
|
9423
9457
|
});
|
|
9424
9458
|
|
|
9425
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9459
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9426
9460
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9427
9461
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9428
9462
|
var mention = strictObject({
|
|
@@ -9466,7 +9500,7 @@ var mentionRebuild = strictObject({
|
|
|
9466
9500
|
mentions: count
|
|
9467
9501
|
});
|
|
9468
9502
|
|
|
9469
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9503
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9470
9504
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9471
9505
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9472
9506
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9475,7 +9509,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9475
9509
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9476
9510
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9477
9511
|
|
|
9478
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9512
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9479
9513
|
var messageTranscript = strictObject({
|
|
9480
9514
|
message_id: id,
|
|
9481
9515
|
text,
|
|
@@ -9533,7 +9567,7 @@ var evidencePacket = strictObject({
|
|
|
9533
9567
|
}))
|
|
9534
9568
|
});
|
|
9535
9569
|
|
|
9536
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9570
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9537
9571
|
var messageThread = strictObject({
|
|
9538
9572
|
ref: reference,
|
|
9539
9573
|
chat: id,
|
|
@@ -9550,7 +9584,7 @@ var messageThread = strictObject({
|
|
|
9550
9584
|
});
|
|
9551
9585
|
var messageContext = union([message, messageThread]);
|
|
9552
9586
|
|
|
9553
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9587
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9554
9588
|
var messageCounts = strictObject({
|
|
9555
9589
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9556
9590
|
total: count,
|
|
@@ -9563,7 +9597,7 @@ var messageCounts = strictObject({
|
|
|
9563
9597
|
}))
|
|
9564
9598
|
});
|
|
9565
9599
|
|
|
9566
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9600
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9567
9601
|
var messageLink = strictObject({
|
|
9568
9602
|
ref: reference,
|
|
9569
9603
|
url: nullable(text),
|
|
@@ -9580,7 +9614,7 @@ var messageLink = strictObject({
|
|
|
9580
9614
|
})))
|
|
9581
9615
|
});
|
|
9582
9616
|
|
|
9583
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9617
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9584
9618
|
var messageWrite = strictObject({
|
|
9585
9619
|
operation_id: id,
|
|
9586
9620
|
message,
|
|
@@ -9595,7 +9629,7 @@ var draftWrite = strictObject({
|
|
|
9595
9629
|
});
|
|
9596
9630
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9597
9631
|
|
|
9598
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9632
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9599
9633
|
var model2 = strictObject({
|
|
9600
9634
|
id,
|
|
9601
9635
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9630,7 +9664,7 @@ var chosenModel = strictObject({
|
|
|
9630
9664
|
estimate_seconds: nullable(count)
|
|
9631
9665
|
});
|
|
9632
9666
|
|
|
9633
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9667
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9634
9668
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9635
9669
|
var modelKey = strictObject({
|
|
9636
9670
|
provider: text,
|
|
@@ -9640,7 +9674,7 @@ var modelKey = strictObject({
|
|
|
9640
9674
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9641
9675
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9642
9676
|
|
|
9643
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9677
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9644
9678
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9645
9679
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9646
9680
|
var graph = strictObject({
|
|
@@ -9674,14 +9708,14 @@ var officialStats = strictObject({
|
|
|
9674
9708
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9675
9709
|
});
|
|
9676
9710
|
|
|
9677
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9711
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9678
9712
|
var person2 = strictObject({
|
|
9679
9713
|
ref: reference,
|
|
9680
9714
|
name: nullable(text),
|
|
9681
9715
|
identities: optional(array(identity))
|
|
9682
9716
|
});
|
|
9683
9717
|
|
|
9684
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9718
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9685
9719
|
var poll = strictObject({
|
|
9686
9720
|
chat_id: id,
|
|
9687
9721
|
message_id: id,
|
|
@@ -9697,11 +9731,11 @@ var poll = strictObject({
|
|
|
9697
9731
|
});
|
|
9698
9732
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9699
9733
|
|
|
9700
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9734
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9701
9735
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9702
9736
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9703
9737
|
|
|
9704
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9738
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9705
9739
|
var figures = record(string(), number());
|
|
9706
9740
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9707
9741
|
var rankingRow = strictObject({
|
|
@@ -9748,7 +9782,7 @@ var ranking = strictObject({
|
|
|
9748
9782
|
rows: array(rankingRow)
|
|
9749
9783
|
});
|
|
9750
9784
|
|
|
9751
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9785
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9752
9786
|
var reaction = strictObject({
|
|
9753
9787
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9754
9788
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9756,7 +9790,7 @@ var reaction = strictObject({
|
|
|
9756
9790
|
reacted_at: time
|
|
9757
9791
|
});
|
|
9758
9792
|
|
|
9759
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9793
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9760
9794
|
var reactionChange = strictObject({
|
|
9761
9795
|
operation_id: id,
|
|
9762
9796
|
chat_id: id,
|
|
@@ -9764,7 +9798,7 @@ var reactionChange = strictObject({
|
|
|
9764
9798
|
reaction: nullable(text)
|
|
9765
9799
|
});
|
|
9766
9800
|
|
|
9767
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9801
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9768
9802
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9769
9803
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9770
9804
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9775,7 +9809,7 @@ var recipientChange = strictObject({
|
|
|
9775
9809
|
...partial(recipientOff).entries
|
|
9776
9810
|
});
|
|
9777
9811
|
|
|
9778
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9812
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9779
9813
|
var events = array(record(string(), unknown()));
|
|
9780
9814
|
var recordedRun = strictObject({
|
|
9781
9815
|
run_id: id,
|
|
@@ -9847,7 +9881,7 @@ var runHit = strictObject({
|
|
|
9847
9881
|
});
|
|
9848
9882
|
var runLocation = strictObject({ path: text });
|
|
9849
9883
|
|
|
9850
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9884
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9851
9885
|
var relationship = strictObject({
|
|
9852
9886
|
id,
|
|
9853
9887
|
from: reference,
|
|
@@ -9874,7 +9908,7 @@ var relationship = strictObject({
|
|
|
9874
9908
|
created_at: time
|
|
9875
9909
|
});
|
|
9876
9910
|
|
|
9877
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9911
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9878
9912
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9879
9913
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9880
9914
|
var responseTimes = strictObject({
|
|
@@ -9891,7 +9925,7 @@ var waitingChats = strictObject({
|
|
|
9891
9925
|
by_kind: strictObject({ private: count, group: count })
|
|
9892
9926
|
});
|
|
9893
9927
|
|
|
9894
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9928
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9895
9929
|
var retentionCohort = strictObject({
|
|
9896
9930
|
/** The first day of the joining day or week. */
|
|
9897
9931
|
cohort: text,
|
|
@@ -9939,7 +9973,7 @@ var retention = strictObject({
|
|
|
9939
9973
|
rows: array(retentionCohort)
|
|
9940
9974
|
});
|
|
9941
9975
|
|
|
9942
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9976
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9943
9977
|
var savedSearch = strictObject({
|
|
9944
9978
|
id,
|
|
9945
9979
|
/** `null` for a run in the history. */
|
|
@@ -9956,7 +9990,7 @@ var savedSearch = strictObject({
|
|
|
9956
9990
|
});
|
|
9957
9991
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9958
9992
|
|
|
9959
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9993
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9960
9994
|
var sendAttempt = strictObject({
|
|
9961
9995
|
at: time,
|
|
9962
9996
|
profile: text,
|
|
@@ -9984,7 +10018,7 @@ var sendAttempt = strictObject({
|
|
|
9984
10018
|
error_code: optional(text)
|
|
9985
10019
|
});
|
|
9986
10020
|
|
|
9987
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10021
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9988
10022
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9989
10023
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9990
10024
|
var infoSchema = strictObject({
|
|
@@ -10029,7 +10063,7 @@ var perAccount = { chats: count, messages: count, emails: count, documents: coun
|
|
|
10029
10063
|
var contents = {
|
|
10030
10064
|
by_provider: optional(array(strictObject({ provider: text, accounts: count, ...perAccount }))),
|
|
10031
10065
|
by_chat_kind: optional(array(strictObject({ provider: text, kind: text, chats: count, messages: count }))),
|
|
10032
|
-
/** `name` is the one `
|
|
10066
|
+
/** `name` is the one `session list` shows; the messenger's own id for the account is left out. */
|
|
10033
10067
|
by_account: optional(array(strictObject({ provider: text, account_id: count, name: nullable(text), ...perAccount }))),
|
|
10034
10068
|
/** Calendar years in UTC. */
|
|
10035
10069
|
by_year: optional(array(strictObject({ provider: text, year: count, messages: count }))),
|
|
@@ -10214,7 +10248,7 @@ var storeRepair = union([
|
|
|
10214
10248
|
]);
|
|
10215
10249
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10216
10250
|
|
|
10217
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10251
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10218
10252
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10219
10253
|
var storeTable = strictObject({
|
|
10220
10254
|
name: text,
|
|
@@ -10223,7 +10257,7 @@ var storeTable = strictObject({
|
|
|
10223
10257
|
bytes: optional(nullable(count))
|
|
10224
10258
|
});
|
|
10225
10259
|
|
|
10226
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10260
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10227
10261
|
var tagTarget = variant("type", [
|
|
10228
10262
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10229
10263
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10254,7 +10288,7 @@ var automaticTags = strictObject({
|
|
|
10254
10288
|
dry_run: boolean()
|
|
10255
10289
|
});
|
|
10256
10290
|
|
|
10257
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10291
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10258
10292
|
var tagging = strictObject({
|
|
10259
10293
|
tag: text,
|
|
10260
10294
|
type: picklist(TAG_TYPES),
|
|
@@ -10267,7 +10301,7 @@ var tagging = strictObject({
|
|
|
10267
10301
|
created_at: time
|
|
10268
10302
|
});
|
|
10269
10303
|
|
|
10270
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10304
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10271
10305
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10272
10306
|
var taskPair = strictObject({
|
|
10273
10307
|
task: nullable(side),
|
|
@@ -10290,7 +10324,7 @@ var taskPair = strictObject({
|
|
|
10290
10324
|
created_at: time
|
|
10291
10325
|
});
|
|
10292
10326
|
|
|
10293
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10327
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10294
10328
|
var nullableTime = nullable(time);
|
|
10295
10329
|
var link = strictObject({
|
|
10296
10330
|
id,
|
|
@@ -10314,7 +10348,7 @@ var taskCard = strictObject({
|
|
|
10314
10348
|
project: reference,
|
|
10315
10349
|
project_key: text,
|
|
10316
10350
|
project_name: text,
|
|
10317
|
-
created_by: nullable(strictObject({ type: picklist(["person", "
|
|
10351
|
+
created_by: nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() })),
|
|
10318
10352
|
title: text,
|
|
10319
10353
|
description: nullable(text),
|
|
10320
10354
|
type: picklist(TASK_TYPES),
|
|
@@ -10464,7 +10498,7 @@ var taskReview = strictObject({
|
|
|
10464
10498
|
untrusted
|
|
10465
10499
|
});
|
|
10466
10500
|
|
|
10467
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10501
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10468
10502
|
var template = strictObject({
|
|
10469
10503
|
key: text,
|
|
10470
10504
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10476,7 +10510,7 @@ var template = strictObject({
|
|
|
10476
10510
|
updated_by: nullable(text)
|
|
10477
10511
|
});
|
|
10478
10512
|
|
|
10479
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10513
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10480
10514
|
var topic = strictObject({
|
|
10481
10515
|
id,
|
|
10482
10516
|
title: text,
|
|
@@ -10490,7 +10524,7 @@ var topic = strictObject({
|
|
|
10490
10524
|
untrusted
|
|
10491
10525
|
});
|
|
10492
10526
|
|
|
10493
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10527
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10494
10528
|
var ENTITIES = {
|
|
10495
10529
|
sync_progress: progress,
|
|
10496
10530
|
deal,
|
|
@@ -10746,6 +10780,7 @@ var ENTITIES = {
|
|
|
10746
10780
|
chat_rules: chatRules,
|
|
10747
10781
|
chat_moderation: chatModeration,
|
|
10748
10782
|
"model.chosen": chosenModel,
|
|
10783
|
+
domain_list: domainList,
|
|
10749
10784
|
model_key: modelKey,
|
|
10750
10785
|
chat_sending: chatSending,
|
|
10751
10786
|
"model_key.stored": storedModelKey,
|
|
@@ -10792,7 +10827,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10792
10827
|
return [name, definition];
|
|
10793
10828
|
})), "entityDefinitions");
|
|
10794
10829
|
|
|
10795
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10830
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10796
10831
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10797
10832
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10798
10833
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10826,7 +10861,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10826
10861
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10827
10862
|
}, "answerRow");
|
|
10828
10863
|
|
|
10829
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10864
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
10830
10865
|
var where = [{ field: "ref" }];
|
|
10831
10866
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
10832
10867
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -10918,7 +10953,7 @@ var STATUS_ROWS = {
|
|
|
10918
10953
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
10919
10954
|
};
|
|
10920
10955
|
|
|
10921
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10956
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
10922
10957
|
var TEXT_CHARS = 400;
|
|
10923
10958
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
10924
10959
|
var messageRow = {
|
|
@@ -11290,7 +11325,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11290
11325
|
return lines.concat(footerOf(body)).join("\n");
|
|
11291
11326
|
}, "compactText");
|
|
11292
11327
|
|
|
11293
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11328
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11294
11329
|
import { join as join5 } from "node:path";
|
|
11295
11330
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11296
11331
|
var IMAGE_MODELS = [
|
|
@@ -11344,7 +11379,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11344
11379
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11345
11380
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11346
11381
|
|
|
11347
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11382
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11348
11383
|
var STEPS2 = defineSteps([
|
|
11349
11384
|
...STEPS,
|
|
11350
11385
|
{
|
|
@@ -11648,7 +11683,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11648
11683
|
].join(" ");
|
|
11649
11684
|
}, "stepLine");
|
|
11650
11685
|
|
|
11651
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11686
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11652
11687
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11653
11688
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11654
11689
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11706,7 +11741,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11706
11741
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11707
11742
|
}, "largeAnswerSteps");
|
|
11708
11743
|
|
|
11709
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11744
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11710
11745
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11711
11746
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11712
11747
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11720,7 +11755,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11720
11755
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11721
11756
|
}, "strip");
|
|
11722
11757
|
|
|
11723
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11758
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11724
11759
|
var OPEN = "\u27E6";
|
|
11725
11760
|
var CLOSE = "\u27E7";
|
|
11726
11761
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11827,7 +11862,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11827
11862
|
return result;
|
|
11828
11863
|
}, "withFieldsMarked");
|
|
11829
11864
|
|
|
11830
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11865
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11831
11866
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11832
11867
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11833
11868
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|