@wirecat/zoom-cli 0.69.0 → 0.70.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/README.md +1 -1
- package/dist/account-removal.d.ts +6 -0
- package/dist/account-removal.d.ts.map +1 -0
- package/dist/account-removal.js +43 -0
- package/dist/account-removal.js.map +1 -0
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-ZQWPCJEK.js → all-profiles-GE2TFJJP.js} +9 -9
- package/dist/bundle/answer-policy-GOXSDYDD.js +104 -0
- package/dist/bundle/{anthropic-7FUQ2HYJ.js → anthropic-FA6NHENI.js} +9 -7
- package/dist/bundle/{app-server-DNPE2EQB.js → app-server-IRADMSNX.js} +50 -50
- package/dist/bundle/{bun-ZVQFCFCC.js → bun-ZYZGGCX5.js} +2 -2
- package/dist/bundle/{bun-sqlite-EB2UMUPJ.js → bun-sqlite-Y24TUIGS.js} +4 -4
- package/dist/bundle/{chunk-B5D7NZI7.js → chunk-2JEM2YNV.js} +1 -1
- package/dist/bundle/{chunk-JX5JJZC3.js → chunk-2QFPVUM3.js} +2 -2
- package/dist/bundle/{chunk-KAPJQGHE.js → chunk-2U6SER67.js} +1 -1
- package/dist/bundle/{chunk-TWIC6JJG.js → chunk-3KC7C465.js} +7 -7
- package/dist/bundle/{chunk-MOTKS7XG.js → chunk-4DSIWYGO.js} +863 -423
- package/dist/bundle/{chunk-LEA4BGK7.js → chunk-56OV5ASY.js} +11 -11
- package/dist/bundle/{chunk-TN77LX6W.js → chunk-5XWCBLUR.js} +1 -1
- package/dist/bundle/{chunk-SZ3Z4ZNO.js → chunk-6HJFIMT7.js} +1 -1
- package/dist/bundle/{chunk-SQT47CFW.js → chunk-6IF5ZHDS.js} +1 -1
- package/dist/bundle/{chunk-BOAMDYLY.js → chunk-7QC4M4HS.js} +2 -2
- package/dist/bundle/{chunk-MSDCZ6GT.js → chunk-AISJCF7A.js} +4 -4
- package/dist/bundle/{chunk-F5DYBWH7.js → chunk-AT2XKNFN.js} +51 -8
- package/dist/bundle/{chunk-V74QFMSL.js → chunk-AUNW7N4I.js} +1 -1
- package/dist/bundle/{chunk-6TICX3MN.js → chunk-BSS6HX4O.js} +2 -2
- package/dist/bundle/{chunk-5ZJXKASF.js → chunk-BVWF4B33.js} +10 -10
- package/dist/bundle/{chunk-GXDOTUUO.js → chunk-CEJJBZAE.js} +9 -9
- package/dist/bundle/{chunk-IPBZKUC3.js → chunk-CHGUNZ3L.js} +3 -3
- package/dist/bundle/{chunk-O7L44JK2.js → chunk-CIZ25UPK.js} +2259 -1046
- package/dist/bundle/{chunk-JHFP3Z5S.js → chunk-CSEBB4OP.js} +8 -8
- package/dist/bundle/{chunk-RPQ3JOD3.js → chunk-D3PNCJD5.js} +5 -5
- package/dist/bundle/{chunk-R2ULMWB4.js → chunk-DCUWJITQ.js} +29 -29
- package/dist/bundle/{chunk-R3JYPY3J.js → chunk-DNR4B5YV.js} +2 -2
- package/dist/bundle/{chunk-EPPSMCEV.js → chunk-DXCTW3MV.js} +1 -1
- package/dist/bundle/{chunk-B6JMVB6R.js → chunk-EOSVN2ER.js} +1 -1
- package/dist/bundle/{chunk-QW5VPZEH.js → chunk-GB5X3GBE.js} +23 -1
- package/dist/bundle/{chunk-CKK6JOC4.js → chunk-GVT5363M.js} +2 -2
- package/dist/bundle/{chunk-C6TEYKXV.js → chunk-IINZIP73.js} +7 -7
- package/dist/bundle/{chunk-H3MFBYTQ.js → chunk-IS3ZTT2Z.js} +5 -5
- package/dist/bundle/{chunk-HW5QTRFF.js → chunk-IWPXWGF7.js} +33 -33
- package/dist/bundle/{chunk-CUZHKYC2.js → chunk-J3SKXICS.js} +350 -136
- package/dist/bundle/{chunk-ZRHMB3LQ.js → chunk-JRO2FWO2.js} +1 -1
- package/dist/bundle/chunk-JULBAECW.js +126 -0
- package/dist/bundle/{chunk-XITUFTON.js → chunk-KM736RMJ.js} +1 -1
- package/dist/bundle/{chunk-S2EAGDS7.js → chunk-KWRCP55G.js} +11 -11
- package/dist/bundle/{chunk-6KMTQX3D.js → chunk-L24UOUWG.js} +1 -1
- package/dist/bundle/{chunk-G6IX2MD2.js → chunk-LAG5O2FV.js} +180 -222
- package/dist/bundle/{chunk-XRZDYWF6.js → chunk-LXXCLQCW.js} +2 -2
- package/dist/bundle/{chunk-IEC4E65G.js → chunk-M6JIXMQZ.js} +5 -1
- package/dist/bundle/{chunk-QXM7S3Y3.js → chunk-M7E44TMT.js} +5 -5
- package/dist/bundle/{chunk-Z6TTGTMU.js → chunk-M7VUXXGS.js} +19 -4
- package/dist/bundle/{chunk-MNOVYS43.js → chunk-MVOMLJYQ.js} +3 -3
- package/dist/bundle/{chunk-MVDPZRFE.js → chunk-OA37BWE5.js} +1 -1
- package/dist/bundle/{chunk-5H6VTEEC.js → chunk-OAQLVV6W.js} +2 -2
- package/dist/bundle/{chunk-KNE6VFHZ.js → chunk-OORMSM6O.js} +1 -1
- package/dist/bundle/{chunk-UEZ6URJR.js → chunk-PV6OHXHN.js} +16 -16
- package/dist/bundle/{chunk-TFFEFEG2.js → chunk-QL7EMFIC.js} +18 -18
- package/dist/bundle/{chunk-HSI7YOYK.js → chunk-QO2KPU26.js} +16 -16
- package/dist/bundle/{chunk-XJBYGMZ4.js → chunk-RB33VTUW.js} +243 -387
- package/dist/bundle/{chunk-HC56J5LB.js → chunk-RIPAUCKJ.js} +54 -54
- package/dist/bundle/{chunk-WY4NYPPS.js → chunk-RO3ZR4VP.js} +12 -12
- package/dist/bundle/{chunk-BL36NSV5.js → chunk-RQG5VOGH.js} +12 -2
- package/dist/bundle/{chunk-JZ4YOAHA.js → chunk-RRRJCHUC.js} +1767 -1038
- package/dist/bundle/{chunk-37B7A4RP.js → chunk-RWIILYKW.js} +1 -1
- package/dist/bundle/{chunk-3TPRYZUW.js → chunk-SNIY3JDN.js} +18 -18
- package/dist/bundle/{chunk-TKXLWFM2.js → chunk-SVF3NDAO.js} +3 -3
- package/dist/bundle/{chunk-GR3QDHBU.js → chunk-UVPL7YAY.js} +5 -5
- package/dist/bundle/{chunk-6N2D6JGX.js → chunk-V2E7QFZ3.js} +1 -1
- package/dist/bundle/{chunk-4APZQYCH.js → chunk-V5GRSOCZ.js} +4 -4
- package/dist/bundle/{chunk-T5X4LGXE.js → chunk-VE2VNECR.js} +12 -12
- package/dist/bundle/{chunk-QLGG7S6F.js → chunk-VJ5ZU4UF.js} +22 -4
- package/dist/bundle/{chunk-52DCABMU.js → chunk-VNU5L37V.js} +26 -26
- package/dist/bundle/{chunk-LDRQ5NAP.js → chunk-VSLDWT4E.js} +3 -3
- package/dist/bundle/{chunk-LQX74VKG.js → chunk-W7ZEEC4K.js} +1 -1
- package/dist/bundle/{chunk-NRRI37NJ.js → chunk-WOIHSQAL.js} +44 -0
- package/dist/bundle/{chunk-V4MM6GST.js → chunk-X4ZF4XXI.js} +1 -1
- package/dist/bundle/{chunk-FBLUKCIR.js → chunk-XRFHQGOD.js} +1 -1
- package/dist/bundle/{chunk-5GOE6PQK.js → chunk-XWQNJKTP.js} +5 -5
- package/dist/bundle/{chunk-6AMMTXEA.js → chunk-Y6C3N7YG.js} +26 -65
- package/dist/bundle/{chunk-KX5MZVPX.js → chunk-YJSPBUGB.js} +50 -32
- package/dist/bundle/{chunk-MJMVIFSC.js → chunk-YTN2JN6N.js} +7 -7
- package/dist/bundle/{chunk-OSBHEM2A.js → chunk-YUHM2OJM.js} +10 -10
- package/dist/bundle/{chunk-7AUP2WT3.js → chunk-ZBKWRYRS.js} +2 -2
- package/dist/bundle/{chunk-DHD25JII.js → chunk-ZS55EERO.js} +1 -1
- package/dist/bundle/{chunk-L62EJDNZ.js → chunk-ZSKE7N2U.js} +3 -3
- package/dist/bundle/{chunk-5ZF6QVMC.js → chunk-ZV3INEKM.js} +4 -4
- package/dist/bundle/{cli-P3BZUE6S.js → cli-VRSQ7HAE.js} +60 -58
- package/dist/bundle/command-contract-RPRKHVU6.js +41 -0
- package/dist/bundle/config-QU6A6VIO.js +90 -0
- package/dist/bundle/{decode-QWOQXM7M.js → decode-523PUQMR.js} +4 -4
- package/dist/bundle/{dispatch-5MGDLOK4.js → dispatch-IZCAK47P.js} +1 -1
- package/dist/bundle/{dist-OUE4MF37.js → dist-6WWKPEVW.js} +41 -25
- package/dist/bundle/{echarts-65IMPY43.js → echarts-S5UMX2D3.js} +2 -2
- package/dist/bundle/{embed-4IULBCKL.js → embed-ODPDVHUK.js} +5 -5
- package/dist/bundle/{embedder-JW4W6IZI.js → embedder-PAXRBSZE.js} +8 -8
- package/dist/bundle/{failure-CR64C4XA.js → failure-R2OIHCE5.js} +1 -1
- package/dist/bundle/{first-run-CH6C674R.js → first-run-NVTDR5VO.js} +8 -8
- package/dist/bundle/first-screen-5RWZDWLK.js +39 -0
- package/dist/bundle/{folders-VU4IN35Y.js → folders-ZXTOFY4T.js} +3 -3
- package/dist/bundle/{instructions-G5QIH2TM.js → instructions-DUB7E6C5.js} +1 -1
- package/dist/bundle/{main-O4ZJIEWP.js → main-A7JSYQI6.js} +18 -18
- package/dist/bundle/{meetings-77CCAVYD.js → meetings-BDZQV3HR.js} +4 -4
- package/dist/bundle/{node-E6VQHU4Y.js → node-E25KP53H.js} +2 -2
- package/dist/bundle/{node-sqlite-RJZ4PGLD.js → node-sqlite-PHWDFZCP.js} +5 -5
- package/dist/bundle/{oauth-F4JKNRW4.js → oauth-G2K46IYP.js} +6 -6
- package/dist/bundle/{open-NYOGMIAA.js → open-INWS5HIZ.js} +4 -4
- package/dist/bundle/{openai-5U6EQTFQ.js → openai-T44ORVGQ.js} +10 -10
- package/dist/bundle/{output-file-6COFGPUL.js → output-file-YGQYZCBJ.js} +4 -4
- package/dist/bundle/{process-OBWUKBMX.js → process-UJ2JHMJN.js} +1 -1
- package/dist/bundle/{program-MU7DEJTO.js → program-LYTGFV6L.js} +115 -72
- package/dist/bundle/{prompt-2QWQTHWT.js → prompt-VTUCRCE4.js} +6 -4
- package/dist/bundle/{recognize-SNUNTUC3.js → recognize-3CEPOW2F.js} +3 -3
- package/dist/bundle/{remote-2CTCIQGF.js → remote-DRQEXEZL.js} +6 -6
- package/dist/bundle/{rerank-XDA7NJNH.js → rerank-UL4KNNVN.js} +6 -6
- package/dist/bundle/{run-log-NSG3DJVX.js → run-log-UZAB5CWF.js} +54 -54
- package/dist/bundle/{serve-TWQFHOV2.js → serve-P5UWUOWQ.js} +8 -8
- package/dist/bundle/server-F3NPVMS2.js +72 -0
- package/dist/bundle/{server-RIQ6HMH2.js → server-M6XK2Y3X.js} +42 -42
- package/dist/bundle/{services-NKZQJQIV.js → services-4HRYNY62.js} +60 -30
- package/dist/bundle/{speech-ZOB76SXA.js → speech-BBPBMFAO.js} +12 -12
- package/dist/bundle/{state-7YYEIXQ5.js → state-GDSUNUSY.js} +5 -5
- package/dist/bundle/{store-E6RTSSNR.js → store-LBQ6FZP2.js} +33 -16
- package/dist/bundle/{store-OX4HRBLO.js → store-VWLABMLF.js} +27 -18
- package/dist/bundle/store-connection-XEBFP56U.js +83 -0
- package/dist/bundle/store-maintenance-command-G43JN57J.js +61 -0
- package/dist/bundle/{streaming-O53PIORL.js → streaming-EJ3NM2C2.js} +5 -5
- package/dist/bundle/{tokens-QKNEP2GJ.js → tokens-BE6CJMR5.js} +5 -5
- package/dist/bundle/zm.js +3 -3
- package/dist/bundle/{zoom-app-TSI2MGVK.js → zoom-app-YIEJLWCW.js} +6 -6
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +1 -0
- package/dist/first-screen.js.map +1 -1
- package/dist/permissions.js +1 -1
- package/dist/permissions.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +11 -0
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +11 -0
- package/dist/tokens.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/answer-policy-VBDYLUXI.js +0 -104
- package/dist/bundle/chunk-2SYWVIQJ.js +0 -33
- package/dist/bundle/command-contract-TOLB32NJ.js +0 -41
- package/dist/bundle/config-4KLLIADY.js +0 -90
- package/dist/bundle/first-screen-OCAW5ZN6.js +0 -39
- package/dist/bundle/server-XO6XQQTJ.js +0 -72
- package/dist/bundle/store-connection-55QPNUDS.js +0 -83
- package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +0 -62
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
envName,
|
|
5
|
-
readOnlyLockOf,
|
|
6
|
-
readOnlyRefusal
|
|
7
|
-
} from "./chunk-TN77LX6W.js";
|
|
8
3
|
import {
|
|
9
4
|
currentCaller,
|
|
10
5
|
endpointTemplate,
|
|
@@ -14,18 +9,18 @@ import {
|
|
|
14
9
|
providerErrorKey,
|
|
15
10
|
renderEvent,
|
|
16
11
|
runContextOf
|
|
17
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YTN2JN6N.js";
|
|
18
13
|
import {
|
|
19
14
|
permissionCeiling
|
|
20
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CHGUNZ3L.js";
|
|
21
16
|
import {
|
|
22
17
|
fieldsOf,
|
|
23
18
|
projectFields,
|
|
24
19
|
resolveOutput
|
|
25
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-D3PNCJD5.js";
|
|
26
21
|
import {
|
|
27
22
|
carries
|
|
28
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OA37BWE5.js";
|
|
29
24
|
import {
|
|
30
25
|
DEFAULT_HISTORY_LIMITS,
|
|
31
26
|
DEFAULT_RERANK_MODEL,
|
|
@@ -43,11 +38,14 @@ import {
|
|
|
43
38
|
conversation,
|
|
44
39
|
currentRun,
|
|
45
40
|
enclosingTraceId,
|
|
41
|
+
endpoint,
|
|
46
42
|
hitFile,
|
|
47
43
|
inRun,
|
|
48
44
|
logAttributes,
|
|
45
|
+
modelSettingsShape,
|
|
49
46
|
newRunId,
|
|
50
47
|
parseDuration,
|
|
48
|
+
resolveModelSettings,
|
|
51
49
|
runsDirFor,
|
|
52
50
|
snakeLogger,
|
|
53
51
|
startRun,
|
|
@@ -58,7 +56,12 @@ import {
|
|
|
58
56
|
typedCommand,
|
|
59
57
|
useAsProcessRun,
|
|
60
58
|
withWriteScope
|
|
61
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-J3SKXICS.js";
|
|
60
|
+
import {
|
|
61
|
+
envName,
|
|
62
|
+
readOnlyLockOf,
|
|
63
|
+
readOnlyRefusal
|
|
64
|
+
} from "./chunk-5XWCBLUR.js";
|
|
62
65
|
import {
|
|
63
66
|
CEILING_KEY,
|
|
64
67
|
COMMAND_PATH_KEY,
|
|
@@ -69,10 +72,10 @@ import {
|
|
|
69
72
|
keyForCommand,
|
|
70
73
|
layerPermissions,
|
|
71
74
|
permissionOverrides
|
|
72
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-M6JIXMQZ.js";
|
|
73
76
|
import {
|
|
74
77
|
note
|
|
75
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-ZSKE7N2U.js";
|
|
76
79
|
import {
|
|
77
80
|
FACT_STATUSES,
|
|
78
81
|
LINK_KINDS,
|
|
@@ -99,15 +102,16 @@ import {
|
|
|
99
102
|
text,
|
|
100
103
|
time,
|
|
101
104
|
untrusted
|
|
102
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-VE2VNECR.js";
|
|
103
106
|
import {
|
|
104
107
|
isCliFailure,
|
|
105
108
|
storeDamaged
|
|
106
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-RWIILYKW.js";
|
|
107
110
|
import {
|
|
108
111
|
sharedConfigPath
|
|
109
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-UVPL7YAY.js";
|
|
110
113
|
import {
|
|
114
|
+
BUSINESS_KINDS,
|
|
111
115
|
DEAL_ROLES,
|
|
112
116
|
INVOICE_DIRECTIONS,
|
|
113
117
|
MONEY_DIRECTIONS,
|
|
@@ -115,10 +119,10 @@ import {
|
|
|
115
119
|
ORDER_STATUSES,
|
|
116
120
|
RELATION_KINDS,
|
|
117
121
|
STANDINGS
|
|
118
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-AT2XKNFN.js";
|
|
119
123
|
import {
|
|
120
124
|
storePath
|
|
121
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-GVT5363M.js";
|
|
122
126
|
import {
|
|
123
127
|
FACT_TYPES,
|
|
124
128
|
MEETING_RESULT_ENTITIES,
|
|
@@ -136,12 +140,12 @@ import {
|
|
|
136
140
|
meetingStats,
|
|
137
141
|
meetingSummary,
|
|
138
142
|
meetingTranscript
|
|
139
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-RIPAUCKJ.js";
|
|
140
144
|
import {
|
|
141
145
|
FIELD_TYPES,
|
|
142
146
|
QUERY_BACKENDS,
|
|
143
147
|
describeQuery
|
|
144
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-EOSVN2ER.js";
|
|
145
149
|
import {
|
|
146
150
|
configFilePath,
|
|
147
151
|
createRecordLog,
|
|
@@ -150,7 +154,7 @@ import {
|
|
|
150
154
|
resolvePaths,
|
|
151
155
|
saveConfigFile,
|
|
152
156
|
writeSecurely
|
|
153
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-OORMSM6O.js";
|
|
154
158
|
import {
|
|
155
159
|
COMPACT_FLAG,
|
|
156
160
|
MAX_NEXT_STEPS,
|
|
@@ -161,7 +165,6 @@ import {
|
|
|
161
165
|
defineSteps,
|
|
162
166
|
effectsSchema,
|
|
163
167
|
exitCodeOfAnswer,
|
|
164
|
-
getDotPath,
|
|
165
168
|
integer,
|
|
166
169
|
isoDate,
|
|
167
170
|
isoTime,
|
|
@@ -202,7 +205,7 @@ import {
|
|
|
202
205
|
unwrap,
|
|
203
206
|
variant,
|
|
204
207
|
writes
|
|
205
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-WOIHSQAL.js";
|
|
206
209
|
import {
|
|
207
210
|
CliError
|
|
208
211
|
} from "./chunk-FEM2JQN2.js";
|
|
@@ -4008,7 +4011,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4008
4011
|
}
|
|
4009
4012
|
}, "refuseJoinedPath");
|
|
4010
4013
|
|
|
4011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4012
4015
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4013
4016
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4014
4017
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4042,7 +4045,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4042
4045
|
cache: "cache.answered"
|
|
4043
4046
|
};
|
|
4044
4047
|
|
|
4045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4046
4049
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4047
4050
|
const recording = startRecording(options);
|
|
4048
4051
|
try {
|
|
@@ -4234,7 +4237,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4234
4237
|
return void 0;
|
|
4235
4238
|
}, "partialOutcome");
|
|
4236
4239
|
|
|
4237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4238
4241
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4239
4242
|
if (ms2 === void 0)
|
|
4240
4243
|
return body();
|
|
@@ -4260,7 +4263,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4260
4263
|
}
|
|
4261
4264
|
}, "withDeadline");
|
|
4262
4265
|
|
|
4263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4264
4267
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4265
4268
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4266
4269
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4443,7 +4446,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4443
4446
|
}
|
|
4444
4447
|
}, "withAbort");
|
|
4445
4448
|
|
|
4446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4447
4450
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4448
4451
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4449
4452
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4512,86 +4515,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4512
4515
|
return void 0;
|
|
4513
4516
|
}, "sampleCommand");
|
|
4514
4517
|
|
|
4515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4516
|
-
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
4517
|
-
try {
|
|
4518
|
-
const url2 = new URL(value);
|
|
4519
|
-
return ["https:", "http:"].includes(url2.protocol) && !url2.username && !url2.password && !url2.search && !url2.hash;
|
|
4520
|
-
} catch {
|
|
4521
|
-
return false;
|
|
4522
|
-
}
|
|
4523
|
-
}, "endpoint");
|
|
4524
|
-
|
|
4525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4526
|
-
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4527
|
-
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4528
|
-
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
4529
|
-
model: optional(pipe(string(), trim(), minLength(1), maxLength(200))),
|
|
4530
|
-
base_url: optional(pipe(string(), check((value) => endpoint(value), "use an HTTP/S endpoint without credentials, query or fragment")))
|
|
4531
|
-
}));
|
|
4532
|
-
var resolveModelSettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
4533
|
-
const configured = layers.map(([from, scope]) => [from, scope?.models ?? {}]);
|
|
4534
|
-
const purposes = /* @__PURE__ */ new Set([
|
|
4535
|
-
"default",
|
|
4536
|
-
"analysis",
|
|
4537
|
-
"replies",
|
|
4538
|
-
...configured.flatMap(([, models2]) => Object.keys(models2))
|
|
4539
|
-
]);
|
|
4540
|
-
for (const name of Object.keys(env)) {
|
|
4541
|
-
const match = new RegExp(`^${prefix}_MODELS_([A-Z][A-Z0-9_]*)_(PROVIDER|MODEL|BASE_URL)$`).exec(name);
|
|
4542
|
-
if (match?.[1])
|
|
4543
|
-
purposes.add(match[1].toLowerCase().replaceAll("_", "-"));
|
|
4544
|
-
}
|
|
4545
|
-
const models = {};
|
|
4546
|
-
const sources = {};
|
|
4547
|
-
for (const purpose of purposes) {
|
|
4548
|
-
const resolved = {};
|
|
4549
|
-
for (const field of MODEL_FIELDS) {
|
|
4550
|
-
const variable = `${prefix}_MODELS_${purpose.replaceAll("-", "_").toUpperCase()}_${field.toUpperCase()}`;
|
|
4551
|
-
const candidates = [
|
|
4552
|
-
[variable, env[variable]?.trim() || void 0],
|
|
4553
|
-
...configured.map(([from, model3]) => [
|
|
4554
|
-
`${from}: models.${purpose}.${field}`,
|
|
4555
|
-
model3[purpose]?.[field]
|
|
4556
|
-
]),
|
|
4557
|
-
...purpose === "default" ? [] : [
|
|
4558
|
-
[
|
|
4559
|
-
`${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`,
|
|
4560
|
-
env[`${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`]?.trim() || void 0
|
|
4561
|
-
],
|
|
4562
|
-
...configured.map(([from, model3]) => [
|
|
4563
|
-
`${from}: models.default.${field}`,
|
|
4564
|
-
model3.default?.[field]
|
|
4565
|
-
])
|
|
4566
|
-
]
|
|
4567
|
-
];
|
|
4568
|
-
const selected = candidates.find(([, value]) => value !== void 0);
|
|
4569
|
-
if (selected)
|
|
4570
|
-
resolved[field] = selected[1];
|
|
4571
|
-
sources[`models.${purpose}.${field}`] = selected?.[0] ?? "default";
|
|
4572
|
-
}
|
|
4573
|
-
if (Object.keys(resolved).length)
|
|
4574
|
-
models[purpose] = resolved;
|
|
4575
|
-
}
|
|
4576
|
-
const checked = safeParse(modelSettingsShape, models);
|
|
4577
|
-
if (!checked.success)
|
|
4578
|
-
throw new CliError("configuration_error", `models.${getDotPath(checked.issues[0]) ?? "settings"} is invalid`);
|
|
4579
|
-
return { models: checked.output, sources };
|
|
4580
|
-
}, "resolveModelSettings");
|
|
4581
|
-
var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
4582
|
-
const configured = { ...settings.models?.default, ...settings.models?.[purpose] };
|
|
4583
|
-
if (configured.provider === void 0 || configured.provider === "off")
|
|
4584
|
-
return void 0;
|
|
4585
|
-
if (!configured.model)
|
|
4586
|
-
throw new CliError("configuration_error", `set models.${purpose}.model before calling its provider`);
|
|
4587
|
-
return {
|
|
4588
|
-
provider: configured.provider,
|
|
4589
|
-
model: configured.model,
|
|
4590
|
-
...configured.base_url === void 0 ? {} : { baseUrl: configured.base_url }
|
|
4591
|
-
};
|
|
4592
|
-
}, "modelTarget");
|
|
4593
|
-
|
|
4594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4595
4519
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4596
4520
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4597
4521
|
var AI_FIELDS = {
|
|
@@ -4635,7 +4559,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4635
4559
|
};
|
|
4636
4560
|
}, "resolveAISettings");
|
|
4637
4561
|
|
|
4638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
4639
4563
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4640
4564
|
import { join } from "node:path";
|
|
4641
4565
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -4724,10 +4648,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
4724
4648
|
return readdirSync(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
4725
4649
|
}, "registryProfiles");
|
|
4726
4650
|
|
|
4727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
4728
4652
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
4729
4653
|
|
|
4730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
4731
4655
|
var REPAIR_WORDS = {
|
|
4732
4656
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
4733
4657
|
comment: "a comment, which JSON does not allow",
|
|
@@ -4968,7 +4892,7 @@ ${parts.join(",\n")}
|
|
|
4968
4892
|
${indent}${close}`;
|
|
4969
4893
|
}, "serialise");
|
|
4970
4894
|
|
|
4971
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
4972
4896
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
4973
4897
|
var SECTIONS = ["personal", "bot"];
|
|
4974
4898
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -5263,7 +5187,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5263
5187
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5264
5188
|
}, "readConfigFile");
|
|
5265
5189
|
|
|
5266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5267
5191
|
import { existsSync as existsSync2, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5268
5192
|
import { dirname, join as join2 } from "node:path";
|
|
5269
5193
|
var DEFAULT_CONFIG = {
|
|
@@ -5292,7 +5216,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5292
5216
|
}
|
|
5293
5217
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5294
5218
|
|
|
5295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
5296
5220
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5297
5221
|
import { join as join3 } from "node:path";
|
|
5298
5222
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -5314,7 +5238,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
5314
5238
|
}, "profilesWithAccounts");
|
|
5315
5239
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
5316
5240
|
|
|
5317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5318
5242
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5319
5243
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5320
5244
|
const path2 = key.split(".");
|
|
@@ -5347,7 +5271,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
5347
5271
|
};
|
|
5348
5272
|
}), "settingRows");
|
|
5349
5273
|
|
|
5350
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5351
5275
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5352
5276
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5353
5277
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
@@ -5858,7 +5782,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5858
5782
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5859
5783
|
}, "given");
|
|
5860
5784
|
|
|
5861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
5862
5786
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
5863
5787
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
5864
5788
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -5901,7 +5825,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
5901
5825
|
};
|
|
5902
5826
|
}, "runBudget");
|
|
5903
5827
|
|
|
5904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5905
5829
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
|
|
5906
5830
|
const { deadline, signal, app } = environmentOf(command);
|
|
5907
5831
|
const now = deadline?.();
|
|
@@ -6033,7 +5957,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6033
5957
|
return words.join(" ");
|
|
6034
5958
|
}, "commandPath");
|
|
6035
5959
|
|
|
6036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6037
5961
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6038
5962
|
var FETCH = { remote: "read", local: "write" };
|
|
6039
5963
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6179,7 +6103,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6179
6103
|
throw readOnlyRefusal(lock, what);
|
|
6180
6104
|
}, "refuseUnderReadOnly");
|
|
6181
6105
|
|
|
6182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6183
6107
|
var member = strictObject({
|
|
6184
6108
|
id,
|
|
6185
6109
|
name: nullable(text),
|
|
@@ -6202,7 +6126,7 @@ var member = strictObject({
|
|
|
6202
6126
|
check: optional(record(string(), unknown()))
|
|
6203
6127
|
});
|
|
6204
6128
|
|
|
6205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6206
6130
|
var setting = optional(nullable(boolean()));
|
|
6207
6131
|
var chat = strictObject({
|
|
6208
6132
|
ref: reference,
|
|
@@ -6243,7 +6167,7 @@ var chat = strictObject({
|
|
|
6243
6167
|
members: optional(array(member))
|
|
6244
6168
|
});
|
|
6245
6169
|
|
|
6246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6247
6171
|
var botProfile = strictObject({
|
|
6248
6172
|
name: text,
|
|
6249
6173
|
token: text,
|
|
@@ -6336,7 +6260,7 @@ var stickerInventory = strictObject({
|
|
|
6336
6260
|
url: optional(nullable(text))
|
|
6337
6261
|
});
|
|
6338
6262
|
|
|
6339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6340
6264
|
var actionableError = objectWithRest({
|
|
6341
6265
|
code: text,
|
|
6342
6266
|
message: text,
|
|
@@ -6353,7 +6277,7 @@ var batchResult = strictObject({
|
|
|
6353
6277
|
max_error_percent: count
|
|
6354
6278
|
});
|
|
6355
6279
|
|
|
6356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
6357
6281
|
var conversationBuild = strictObject({
|
|
6358
6282
|
chat: id,
|
|
6359
6283
|
messages: count,
|
|
@@ -6378,13 +6302,13 @@ var catchUpPreparation = strictObject({
|
|
|
6378
6302
|
prepared: optional(conversationPreparation)
|
|
6379
6303
|
});
|
|
6380
6304
|
|
|
6381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6305
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6382
6306
|
import { spawn } from "node:child_process";
|
|
6383
6307
|
import { randomBytes } from "node:crypto";
|
|
6384
6308
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
6385
6309
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
6386
6310
|
|
|
6387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6388
6312
|
import { existsSync as existsSync5, readFileSync as readFileSync4, rmSync as rmSync2 } from "node:fs";
|
|
6389
6313
|
import { join as join4 } from "node:path";
|
|
6390
6314
|
var PART = /^[\w@+-][\w.@+-]{0,99}$/;
|
|
@@ -6424,7 +6348,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6424
6348
|
};
|
|
6425
6349
|
}, "progressOf");
|
|
6426
6350
|
|
|
6427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6428
6352
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6429
6353
|
const run = currentRun();
|
|
6430
6354
|
const trace = traceId ?? run.traceId;
|
|
@@ -6438,7 +6362,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6438
6362
|
}));
|
|
6439
6363
|
}, "recordLogFor");
|
|
6440
6364
|
|
|
6441
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6442
6366
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6443
6367
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6444
6368
|
const out = openSync(log, "a", 384);
|
|
@@ -6593,7 +6517,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6593
6517
|
return { job: id6, pid, chat: input.chat, log };
|
|
6594
6518
|
}, "startArchiveJob");
|
|
6595
6519
|
|
|
6596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6597
6521
|
var problem = strictObject({ code: text, message: text });
|
|
6598
6522
|
var job = strictObject({
|
|
6599
6523
|
id,
|
|
@@ -6616,7 +6540,7 @@ var job = strictObject({
|
|
|
6616
6540
|
error: optional(problem)
|
|
6617
6541
|
});
|
|
6618
6542
|
|
|
6619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6620
6544
|
var quoted = strictObject({
|
|
6621
6545
|
id,
|
|
6622
6546
|
sender_id: nullable(id),
|
|
@@ -6735,7 +6659,7 @@ var message = strictObject({
|
|
|
6735
6659
|
provider_metadata: providerMetadata
|
|
6736
6660
|
});
|
|
6737
6661
|
|
|
6738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6739
6663
|
var extractionItem = strictObject({
|
|
6740
6664
|
ref: reference,
|
|
6741
6665
|
attachment: count,
|
|
@@ -6768,7 +6692,7 @@ var extractionReport = strictObject({
|
|
|
6768
6692
|
cursor: optional(text)
|
|
6769
6693
|
});
|
|
6770
6694
|
|
|
6771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
6772
6696
|
var savedMessageFile = strictObject({
|
|
6773
6697
|
kind: text,
|
|
6774
6698
|
path: text,
|
|
@@ -6855,7 +6779,7 @@ var messageSyncAll = strictObject({
|
|
|
6855
6779
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
6856
6780
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
6857
6781
|
|
|
6858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
6859
6783
|
var range = strictObject({ from: number(), to: number() });
|
|
6860
6784
|
var storeChatStatus = strictObject({
|
|
6861
6785
|
chat_id: id,
|
|
@@ -6953,7 +6877,7 @@ var storeJobRetry = union([
|
|
|
6953
6877
|
]);
|
|
6954
6878
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
6955
6879
|
|
|
6956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6957
6881
|
var account = strictObject({
|
|
6958
6882
|
provider: text,
|
|
6959
6883
|
id,
|
|
@@ -6963,7 +6887,7 @@ var account = strictObject({
|
|
|
6963
6887
|
scope: optional(picklist(["personal", "work"]))
|
|
6964
6888
|
});
|
|
6965
6889
|
|
|
6966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6967
6891
|
var accountSession = strictObject({
|
|
6968
6892
|
current: boolean(),
|
|
6969
6893
|
client: nullable(text),
|
|
@@ -6973,7 +6897,7 @@ var accountSession = strictObject({
|
|
|
6973
6897
|
created_at: optional(nullable(time))
|
|
6974
6898
|
});
|
|
6975
6899
|
|
|
6976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6900
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6977
6901
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6978
6902
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6979
6903
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6990,8 +6914,19 @@ var accountPrivacy = strictObject({
|
|
|
6990
6914
|
last_seen: optional(shownAudience)
|
|
6991
6915
|
});
|
|
6992
6916
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
6917
|
+
var removalKind = picklist(["sign_in", "keyring", "config", "file", "store", "unit", "schedule"]);
|
|
6918
|
+
var accountRemoval = strictObject({
|
|
6919
|
+
profile: text,
|
|
6920
|
+
data: picklist(["kept", "deleted"]),
|
|
6921
|
+
dry_run: boolean(),
|
|
6922
|
+
account: nullable(strictObject({ provider: text, account: text })),
|
|
6923
|
+
revoked: nullable(boolean()),
|
|
6924
|
+
config_file: text,
|
|
6925
|
+
removed: array(strictObject({ kind: removalKind, target: text })),
|
|
6926
|
+
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6927
|
+
});
|
|
6993
6928
|
|
|
6994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6995
6930
|
var accountProfile = strictObject({
|
|
6996
6931
|
profile: id,
|
|
6997
6932
|
current: boolean(),
|
|
@@ -7003,7 +6938,7 @@ var accountProfile = strictObject({
|
|
|
7003
6938
|
bot: optional(literal(true))
|
|
7004
6939
|
});
|
|
7005
6940
|
|
|
7006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6941
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7007
6942
|
var milliseconds = pipe(number(), minValue(0));
|
|
7008
6943
|
var counterReading = strictObject({
|
|
7009
6944
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7015,7 +6950,7 @@ var counterReading = strictObject({
|
|
|
7015
6950
|
});
|
|
7016
6951
|
var selection = record(string(), unknown());
|
|
7017
6952
|
|
|
7018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7019
6954
|
var adminRow = strictObject({
|
|
7020
6955
|
ref: reference,
|
|
7021
6956
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7068,11 +7003,11 @@ var adminReport = strictObject({
|
|
|
7068
7003
|
rows: array(adminRow)
|
|
7069
7004
|
});
|
|
7070
7005
|
|
|
7071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7072
7007
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7073
7008
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7074
7009
|
|
|
7075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7076
7011
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7077
7012
|
var attachmentBytes = strictObject({
|
|
7078
7013
|
ref: reference,
|
|
@@ -7100,7 +7035,7 @@ var attachmentTextChange = strictObject({
|
|
|
7100
7035
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7101
7036
|
});
|
|
7102
7037
|
|
|
7103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7104
7039
|
var chart = strictObject({
|
|
7105
7040
|
version: literal(1),
|
|
7106
7041
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7115,7 +7050,7 @@ var chart = strictObject({
|
|
|
7115
7050
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7116
7051
|
});
|
|
7117
7052
|
|
|
7118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7119
7054
|
var named = strictObject({
|
|
7120
7055
|
id,
|
|
7121
7056
|
title: nullable(text),
|
|
@@ -7138,7 +7073,7 @@ var folder = strictObject({
|
|
|
7138
7073
|
excluded_chats: optional(array(named))
|
|
7139
7074
|
});
|
|
7140
7075
|
|
|
7141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7142
7077
|
var inviteLink = strictObject({
|
|
7143
7078
|
link: text,
|
|
7144
7079
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7154,7 +7089,7 @@ var inviteLink = strictObject({
|
|
|
7154
7089
|
joined_count: optional(count)
|
|
7155
7090
|
});
|
|
7156
7091
|
|
|
7157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7092
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7158
7093
|
var operated = { operation_id: id, chat_id: id };
|
|
7159
7094
|
var group = strictObject({
|
|
7160
7095
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7234,7 +7169,7 @@ var chatFolderOrder = strictObject({
|
|
|
7234
7169
|
folders: array(strictObject({ id, title: text }))
|
|
7235
7170
|
});
|
|
7236
7171
|
|
|
7237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7238
7173
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7239
7174
|
var chatRemoval = strictObject(operated2);
|
|
7240
7175
|
var chatMuting = strictObject({
|
|
@@ -7245,7 +7180,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7245
7180
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7246
7181
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7247
7182
|
|
|
7248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7249
7184
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7250
7185
|
var chatEvent = strictObject({
|
|
7251
7186
|
chat_id: id,
|
|
@@ -7262,7 +7197,7 @@ var chatEvent = strictObject({
|
|
|
7262
7197
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7263
7198
|
});
|
|
7264
7199
|
|
|
7265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7266
7201
|
var chatMetadata = strictObject({
|
|
7267
7202
|
chat_id: id,
|
|
7268
7203
|
title: nullable(text),
|
|
@@ -7277,7 +7212,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7277
7212
|
has_more: boolean()
|
|
7278
7213
|
});
|
|
7279
7214
|
|
|
7280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7281
7216
|
var action = picklist(["report", "delete", "remove"]);
|
|
7282
7217
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7283
7218
|
var chatRules = strictObject({
|
|
@@ -7314,7 +7249,7 @@ var chatModeration = strictObject({
|
|
|
7314
7249
|
}))
|
|
7315
7250
|
});
|
|
7316
7251
|
|
|
7317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7318
7253
|
var optionalCount = optional(count);
|
|
7319
7254
|
var minutes = nullable(number());
|
|
7320
7255
|
var chatStats = strictObject({
|
|
@@ -7388,7 +7323,7 @@ var taskStats = strictObject({
|
|
|
7388
7323
|
}))
|
|
7389
7324
|
});
|
|
7390
7325
|
|
|
7391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7392
7327
|
var memberCount = strictObject({
|
|
7393
7328
|
day: pipe(text, isoDate()),
|
|
7394
7329
|
participants: nullable(count),
|
|
@@ -7411,7 +7346,7 @@ var chatTracking = strictObject({
|
|
|
7411
7346
|
tracked: boolean()
|
|
7412
7347
|
});
|
|
7413
7348
|
|
|
7414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7415
7350
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7416
7351
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7417
7352
|
var profileFields = {
|
|
@@ -7449,7 +7384,7 @@ var profileFields = {
|
|
|
7449
7384
|
}))
|
|
7450
7385
|
};
|
|
7451
7386
|
|
|
7452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7453
7388
|
var contact = strictObject({
|
|
7454
7389
|
ref: reference,
|
|
7455
7390
|
id,
|
|
@@ -7480,7 +7415,7 @@ var contact = strictObject({
|
|
|
7480
7415
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7481
7416
|
});
|
|
7482
7417
|
|
|
7483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7484
7419
|
var linkedIdentity = strictObject({
|
|
7485
7420
|
provider: text,
|
|
7486
7421
|
id,
|
|
@@ -7522,7 +7457,7 @@ var contactCheck = strictObject({
|
|
|
7522
7457
|
checked_at: time
|
|
7523
7458
|
});
|
|
7524
7459
|
|
|
7525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7526
7461
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7527
7462
|
var contextMessage = strictObject({
|
|
7528
7463
|
locator: reference,
|
|
@@ -7722,7 +7657,7 @@ var contactPreparation = strictObject({
|
|
|
7722
7657
|
})
|
|
7723
7658
|
});
|
|
7724
7659
|
|
|
7725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7726
7661
|
var contactNote = strictObject({
|
|
7727
7662
|
id,
|
|
7728
7663
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7734,13 +7669,13 @@ var contactNote = strictObject({
|
|
|
7734
7669
|
updated_at: time
|
|
7735
7670
|
});
|
|
7736
7671
|
|
|
7737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7738
7673
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7739
7674
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7740
7675
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7741
7676
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7742
7677
|
|
|
7743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7744
7679
|
var conversationDetails = union([
|
|
7745
7680
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7746
7681
|
message
|
|
@@ -7830,7 +7765,7 @@ var conversationHit = strictObject({
|
|
|
7830
7765
|
stale: boolean()
|
|
7831
7766
|
});
|
|
7832
7767
|
|
|
7833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
7834
7769
|
var counters = strictObject({
|
|
7835
7770
|
cutoff: time,
|
|
7836
7771
|
max_age_ms: milliseconds,
|
|
@@ -7860,7 +7795,7 @@ var counterRefresh = strictObject({
|
|
|
7860
7795
|
complete: optional(boolean())
|
|
7861
7796
|
});
|
|
7862
7797
|
|
|
7863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7864
7799
|
var nullableText = nullable(text);
|
|
7865
7800
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7866
7801
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7950,7 +7885,7 @@ var stage = strictObject({
|
|
|
7950
7885
|
untrusted
|
|
7951
7886
|
});
|
|
7952
7887
|
|
|
7953
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
7954
7889
|
var document = strictObject({
|
|
7955
7890
|
ref: reference,
|
|
7956
7891
|
id,
|
|
@@ -7965,7 +7900,7 @@ var document = strictObject({
|
|
|
7965
7900
|
owners: optional(array(text))
|
|
7966
7901
|
});
|
|
7967
7902
|
|
|
7968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
7969
7904
|
var documentLink = strictObject({
|
|
7970
7905
|
ref: reference,
|
|
7971
7906
|
url: text,
|
|
@@ -7976,7 +7911,7 @@ var documentLink = strictObject({
|
|
|
7976
7911
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7977
7912
|
});
|
|
7978
7913
|
|
|
7979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
7980
7915
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7981
7916
|
var contribution = strictObject({
|
|
7982
7917
|
message: evidenceMessage,
|
|
@@ -8006,7 +7941,7 @@ var retentionStay = strictObject({
|
|
|
8006
7941
|
});
|
|
8007
7942
|
var evidence = union([contribution, retentionStay]);
|
|
8008
7943
|
|
|
8009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8010
7945
|
var fact = strictObject({
|
|
8011
7946
|
ref: reference,
|
|
8012
7947
|
id,
|
|
@@ -8036,9 +7971,9 @@ var fact = strictObject({
|
|
|
8036
7971
|
updated_at: time
|
|
8037
7972
|
});
|
|
8038
7973
|
|
|
8039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7974
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8040
7975
|
var hit = strictObject({
|
|
8041
|
-
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
7976
|
+
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8042
7977
|
ref: reference,
|
|
8043
7978
|
provider: text,
|
|
8044
7979
|
url: optional(text),
|
|
@@ -8068,13 +8003,17 @@ var hit = strictObject({
|
|
|
8068
8003
|
lines_total: optional(count),
|
|
8069
8004
|
/** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
|
|
8070
8005
|
id: optional(pipe(string(), minLength(1))),
|
|
8006
|
+
/** A business hit's: `proposed` waits for the owner; a product or a wallet has no review and is `confirmed`. */
|
|
8007
|
+
review: optional(picklist(["proposed", "confirmed"])),
|
|
8008
|
+
/** A business hit's record in the import that made it; absent for one the owner or an agent wrote. */
|
|
8009
|
+
source_record: optional(strictObject({ provider: text, account: text, external_id: text })),
|
|
8071
8010
|
/** A message's files; absent when it has none. */
|
|
8072
8011
|
attachments: optional(array(hitFile)),
|
|
8073
8012
|
/** Absent on a note hit: the owner wrote it. */
|
|
8074
8013
|
untrusted
|
|
8075
8014
|
});
|
|
8076
8015
|
|
|
8077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8078
8017
|
var identity = strictObject({
|
|
8079
8018
|
ref: reference,
|
|
8080
8019
|
provider: text,
|
|
@@ -8087,7 +8026,7 @@ var identity = strictObject({
|
|
|
8087
8026
|
person: optional(nullable(reference))
|
|
8088
8027
|
});
|
|
8089
8028
|
|
|
8090
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8091
8030
|
var imageEmbedding = strictObject({
|
|
8092
8031
|
model: text,
|
|
8093
8032
|
embedded: count,
|
|
@@ -8096,7 +8035,7 @@ var imageEmbedding = strictObject({
|
|
|
8096
8035
|
more: boolean()
|
|
8097
8036
|
});
|
|
8098
8037
|
|
|
8099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8100
8039
|
var joinRequest = strictObject({
|
|
8101
8040
|
person_id: id,
|
|
8102
8041
|
name: nullable(text),
|
|
@@ -8107,7 +8046,7 @@ var joinRequest = strictObject({
|
|
|
8107
8046
|
about: optional(text)
|
|
8108
8047
|
});
|
|
8109
8048
|
|
|
8110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8111
8050
|
var pollVote = strictObject({
|
|
8112
8051
|
person_id: id,
|
|
8113
8052
|
name: nullable(text),
|
|
@@ -8117,7 +8056,7 @@ var pollVote = strictObject({
|
|
|
8117
8056
|
voted_at: time
|
|
8118
8057
|
});
|
|
8119
8058
|
|
|
8120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8121
8060
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8122
8061
|
var observation = strictObject({
|
|
8123
8062
|
value: pipe(number(), minValue(0)),
|
|
@@ -8159,7 +8098,7 @@ var serveSummary = strictObject({
|
|
|
8159
8098
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8160
8099
|
});
|
|
8161
8100
|
|
|
8162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8163
8102
|
var mailCounts = strictObject({
|
|
8164
8103
|
by: picklist(["day", "week", "sender"]),
|
|
8165
8104
|
received: count,
|
|
@@ -8174,7 +8113,7 @@ var mailCounts = strictObject({
|
|
|
8174
8113
|
}))
|
|
8175
8114
|
});
|
|
8176
8115
|
|
|
8177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8178
8117
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8179
8118
|
var base = { id, evidence: array(evidence2) };
|
|
8180
8119
|
var finding = variant("kind", [
|
|
@@ -8318,7 +8257,7 @@ var mailFindings = strictObject({
|
|
|
8318
8257
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8319
8258
|
});
|
|
8320
8259
|
|
|
8321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8322
8261
|
var mediaArchive = strictObject({
|
|
8323
8262
|
directory: text,
|
|
8324
8263
|
chats: count,
|
|
@@ -8350,7 +8289,7 @@ var mediaArchiveTimer = union([
|
|
|
8350
8289
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8351
8290
|
]);
|
|
8352
8291
|
|
|
8353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8354
8293
|
var preparationId = pipe(string(), minLength(1));
|
|
8355
8294
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8356
8295
|
var preparationTime = nullable(isoTime);
|
|
@@ -8442,7 +8381,7 @@ var preparationMeeting = strictObject({
|
|
|
8442
8381
|
updated_at: isoTime
|
|
8443
8382
|
});
|
|
8444
8383
|
|
|
8445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8446
8385
|
var meetingEvidence = preparationEvidence;
|
|
8447
8386
|
var meetingPersonContext = strictObject({
|
|
8448
8387
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8464,7 +8403,7 @@ var meetingPersonContext = strictObject({
|
|
|
8464
8403
|
})
|
|
8465
8404
|
});
|
|
8466
8405
|
|
|
8467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8468
8407
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8469
8408
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8470
8409
|
var finding2 = variant("kind", [
|
|
@@ -8502,7 +8441,7 @@ var meetingFindings = strictObject({
|
|
|
8502
8441
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8503
8442
|
});
|
|
8504
8443
|
|
|
8505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8506
8445
|
var communicationCoverage = strictObject({
|
|
8507
8446
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8508
8447
|
query: string(),
|
|
@@ -8547,7 +8486,7 @@ var preparationCommunications = strictObject({
|
|
|
8547
8486
|
}))
|
|
8548
8487
|
});
|
|
8549
8488
|
|
|
8550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
8551
8490
|
var meetingPreparation = strictObject({
|
|
8552
8491
|
communications: optional(preparationCommunications),
|
|
8553
8492
|
schema_version: literal(1),
|
|
@@ -8660,7 +8599,7 @@ var meetingPreparation = strictObject({
|
|
|
8660
8599
|
})
|
|
8661
8600
|
});
|
|
8662
8601
|
|
|
8663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8602
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
8664
8603
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
8665
8604
|
var id3 = pipe(string(), minLength(1));
|
|
8666
8605
|
var text3 = string();
|
|
@@ -8724,7 +8663,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
8724
8663
|
})
|
|
8725
8664
|
});
|
|
8726
8665
|
|
|
8727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
8728
8667
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
8729
8668
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
8730
8669
|
var meetingSeriesInventory = strictObject({
|
|
@@ -8754,7 +8693,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
8754
8693
|
})
|
|
8755
8694
|
});
|
|
8756
8695
|
|
|
8757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
8758
8697
|
var text4 = string();
|
|
8759
8698
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
8760
8699
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -8771,7 +8710,7 @@ var meetingTaskProposal = strictObject({
|
|
|
8771
8710
|
persistence: literal("proposal-only")
|
|
8772
8711
|
});
|
|
8773
8712
|
|
|
8774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8713
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
8775
8714
|
var memory = strictObject({
|
|
8776
8715
|
ref: reference,
|
|
8777
8716
|
id,
|
|
@@ -8798,7 +8737,7 @@ var memory = strictObject({
|
|
|
8798
8737
|
updated_at: time
|
|
8799
8738
|
});
|
|
8800
8739
|
|
|
8801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
8802
8741
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
8803
8742
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
8804
8743
|
var mention = strictObject({
|
|
@@ -8841,13 +8780,13 @@ var mentionRebuild = strictObject({
|
|
|
8841
8780
|
mentions: count
|
|
8842
8781
|
});
|
|
8843
8782
|
|
|
8844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
8845
8784
|
var operated3 = { operation_id: id, chat_id: id };
|
|
8846
8785
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
8847
8786
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
8848
8787
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
8849
8788
|
|
|
8850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
8851
8790
|
var messageTranscript = strictObject({
|
|
8852
8791
|
message_id: id,
|
|
8853
8792
|
text,
|
|
@@ -8905,7 +8844,7 @@ var evidencePacket = strictObject({
|
|
|
8905
8844
|
}))
|
|
8906
8845
|
});
|
|
8907
8846
|
|
|
8908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
8909
8848
|
var messageThread = strictObject({
|
|
8910
8849
|
ref: reference,
|
|
8911
8850
|
chat: id,
|
|
@@ -8922,7 +8861,7 @@ var messageThread = strictObject({
|
|
|
8922
8861
|
});
|
|
8923
8862
|
var messageContext = union([message, messageThread]);
|
|
8924
8863
|
|
|
8925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
8926
8865
|
var messageCounts = strictObject({
|
|
8927
8866
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
8928
8867
|
total: count,
|
|
@@ -8935,7 +8874,7 @@ var messageCounts = strictObject({
|
|
|
8935
8874
|
}))
|
|
8936
8875
|
});
|
|
8937
8876
|
|
|
8938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
8939
8878
|
var messageLink = strictObject({
|
|
8940
8879
|
ref: reference,
|
|
8941
8880
|
url: nullable(text),
|
|
@@ -8952,7 +8891,7 @@ var messageLink = strictObject({
|
|
|
8952
8891
|
})))
|
|
8953
8892
|
});
|
|
8954
8893
|
|
|
8955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
8956
8895
|
var messageWrite = strictObject({
|
|
8957
8896
|
operation_id: id,
|
|
8958
8897
|
message,
|
|
@@ -8967,7 +8906,7 @@ var draftWrite = strictObject({
|
|
|
8967
8906
|
});
|
|
8968
8907
|
var messageSend = union([messageWrite, draftWrite]);
|
|
8969
8908
|
|
|
8970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
8971
8910
|
var model2 = strictObject({
|
|
8972
8911
|
id,
|
|
8973
8912
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -8975,16 +8914,34 @@ var model2 = strictObject({
|
|
|
8975
8914
|
/** Which languages it reads, in words. */
|
|
8976
8915
|
languages: text,
|
|
8977
8916
|
licence: optional(text),
|
|
8917
|
+
/** A text model's licence terms to accept with `models download --accept-terms`. */
|
|
8918
|
+
terms: optional(text),
|
|
8919
|
+
/** A text model's size next to the others: small is fastest, large reads best. */
|
|
8920
|
+
size: optional(picklist(["small", "medium", "large"])),
|
|
8921
|
+
/** A text model's vector length. */
|
|
8922
|
+
dims: optional(count),
|
|
8923
|
+
/** About how many chunks a second a text model embeds here, when measured. */
|
|
8924
|
+
chunks_per_second: optional(number()),
|
|
8925
|
+
/** A text model the owner added with `models add`. */
|
|
8926
|
+
custom: optional(boolean()),
|
|
8978
8927
|
/** What its files take on disk once downloaded. */
|
|
8979
8928
|
size_bytes: count,
|
|
8980
8929
|
downloaded: boolean(),
|
|
8981
|
-
/** The one used when no model is named. */
|
|
8930
|
+
/** The one used when no model is named: for text, the one `models use` chose. */
|
|
8982
8931
|
default: boolean(),
|
|
8983
8932
|
/** The folder its files are in once downloaded, so an agent can place them by hand. */
|
|
8984
8933
|
path: text
|
|
8985
8934
|
});
|
|
8935
|
+
var chosenModel = strictObject({
|
|
8936
|
+
...model2.entries,
|
|
8937
|
+
previous: id,
|
|
8938
|
+
/** Chunk texts the previous model has vectors for and this one has not; `null` when no store is there to count. */
|
|
8939
|
+
to_embed: nullable(count),
|
|
8940
|
+
/** Embedding time alone at the model's speed, done a part per sync; `null` when the speed or the count is unknown. */
|
|
8941
|
+
estimate_seconds: nullable(count)
|
|
8942
|
+
});
|
|
8986
8943
|
|
|
8987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
8988
8945
|
var source = picklist(["environment", "keyring", "file"]);
|
|
8989
8946
|
var modelKey = strictObject({
|
|
8990
8947
|
provider: text,
|
|
@@ -8994,7 +8951,7 @@ var modelKey = strictObject({
|
|
|
8994
8951
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
8995
8952
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
8996
8953
|
|
|
8997
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
8998
8955
|
var versus = strictObject({ current: number(), previous: number() });
|
|
8999
8956
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9000
8957
|
var graph = strictObject({
|
|
@@ -9028,14 +8985,14 @@ var officialStats = strictObject({
|
|
|
9028
8985
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9029
8986
|
});
|
|
9030
8987
|
|
|
9031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9032
8989
|
var person2 = strictObject({
|
|
9033
8990
|
ref: reference,
|
|
9034
8991
|
name: nullable(text),
|
|
9035
8992
|
identities: optional(array(identity))
|
|
9036
8993
|
});
|
|
9037
8994
|
|
|
9038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9039
8996
|
var poll = strictObject({
|
|
9040
8997
|
chat_id: id,
|
|
9041
8998
|
message_id: id,
|
|
@@ -9051,11 +9008,11 @@ var poll = strictObject({
|
|
|
9051
9008
|
});
|
|
9052
9009
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9053
9010
|
|
|
9054
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9011
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9055
9012
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9056
9013
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9057
9014
|
|
|
9058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9059
9016
|
var figures = record(string(), number());
|
|
9060
9017
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9061
9018
|
var rankingRow = strictObject({
|
|
@@ -9102,7 +9059,7 @@ var ranking = strictObject({
|
|
|
9102
9059
|
rows: array(rankingRow)
|
|
9103
9060
|
});
|
|
9104
9061
|
|
|
9105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9106
9063
|
var reaction = strictObject({
|
|
9107
9064
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9108
9065
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9110,7 +9067,7 @@ var reaction = strictObject({
|
|
|
9110
9067
|
reacted_at: time
|
|
9111
9068
|
});
|
|
9112
9069
|
|
|
9113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9114
9071
|
var reactionChange = strictObject({
|
|
9115
9072
|
operation_id: id,
|
|
9116
9073
|
chat_id: id,
|
|
@@ -9118,7 +9075,7 @@ var reactionChange = strictObject({
|
|
|
9118
9075
|
reaction: nullable(text)
|
|
9119
9076
|
});
|
|
9120
9077
|
|
|
9121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9122
9079
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9123
9080
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9124
9081
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9129,7 +9086,7 @@ var recipientChange = strictObject({
|
|
|
9129
9086
|
...partial(recipientOff).entries
|
|
9130
9087
|
});
|
|
9131
9088
|
|
|
9132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9133
9090
|
var events = array(record(string(), unknown()));
|
|
9134
9091
|
var recordedRun = strictObject({
|
|
9135
9092
|
run_id: id,
|
|
@@ -9201,7 +9158,7 @@ var runHit = strictObject({
|
|
|
9201
9158
|
});
|
|
9202
9159
|
var runLocation = strictObject({ path: text });
|
|
9203
9160
|
|
|
9204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9205
9162
|
var relationship = strictObject({
|
|
9206
9163
|
id,
|
|
9207
9164
|
from: reference,
|
|
@@ -9224,7 +9181,7 @@ var relationship = strictObject({
|
|
|
9224
9181
|
created_at: time
|
|
9225
9182
|
});
|
|
9226
9183
|
|
|
9227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9228
9185
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9229
9186
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9230
9187
|
var responseTimes = strictObject({
|
|
@@ -9241,7 +9198,7 @@ var waitingChats = strictObject({
|
|
|
9241
9198
|
by_kind: strictObject({ private: count, group: count })
|
|
9242
9199
|
});
|
|
9243
9200
|
|
|
9244
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9245
9202
|
var retentionCohort = strictObject({
|
|
9246
9203
|
/** The first day of the joining day or week. */
|
|
9247
9204
|
cohort: text,
|
|
@@ -9289,7 +9246,7 @@ var retention = strictObject({
|
|
|
9289
9246
|
rows: array(retentionCohort)
|
|
9290
9247
|
});
|
|
9291
9248
|
|
|
9292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9293
9250
|
var savedSearch = strictObject({
|
|
9294
9251
|
id,
|
|
9295
9252
|
/** `null` for a run in the history. */
|
|
@@ -9306,7 +9263,7 @@ var savedSearch = strictObject({
|
|
|
9306
9263
|
});
|
|
9307
9264
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9308
9265
|
|
|
9309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9310
9267
|
var sendAttempt = strictObject({
|
|
9311
9268
|
at: time,
|
|
9312
9269
|
profile: text,
|
|
@@ -9334,7 +9291,7 @@ var sendAttempt = strictObject({
|
|
|
9334
9291
|
error_code: optional(text)
|
|
9335
9292
|
});
|
|
9336
9293
|
|
|
9337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9338
9295
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9339
9296
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9340
9297
|
var infoSchema = strictObject({
|
|
@@ -9555,7 +9512,7 @@ var storeRepair = union([
|
|
|
9555
9512
|
]);
|
|
9556
9513
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
9557
9514
|
|
|
9558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
9559
9516
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
9560
9517
|
var storeTable = strictObject({
|
|
9561
9518
|
name: text,
|
|
@@ -9564,7 +9521,7 @@ var storeTable = strictObject({
|
|
|
9564
9521
|
bytes: optional(nullable(count))
|
|
9565
9522
|
});
|
|
9566
9523
|
|
|
9567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
9568
9525
|
var tagTarget = variant("type", [
|
|
9569
9526
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
9570
9527
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -9595,7 +9552,7 @@ var automaticTags = strictObject({
|
|
|
9595
9552
|
dry_run: boolean()
|
|
9596
9553
|
});
|
|
9597
9554
|
|
|
9598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
9599
9556
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
9600
9557
|
var taskPair = strictObject({
|
|
9601
9558
|
task: nullable(side),
|
|
@@ -9618,7 +9575,7 @@ var taskPair = strictObject({
|
|
|
9618
9575
|
created_at: time
|
|
9619
9576
|
});
|
|
9620
9577
|
|
|
9621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
9622
9579
|
var nullableTime = nullable(time);
|
|
9623
9580
|
var link = strictObject({
|
|
9624
9581
|
id,
|
|
@@ -9792,7 +9749,7 @@ var taskReview = strictObject({
|
|
|
9792
9749
|
untrusted
|
|
9793
9750
|
});
|
|
9794
9751
|
|
|
9795
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
9796
9753
|
var topic = strictObject({
|
|
9797
9754
|
id,
|
|
9798
9755
|
title: text,
|
|
@@ -9806,7 +9763,7 @@ var topic = strictObject({
|
|
|
9806
9763
|
untrusted
|
|
9807
9764
|
});
|
|
9808
9765
|
|
|
9809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
9810
9767
|
var ENTITIES = {
|
|
9811
9768
|
sync_progress: progress,
|
|
9812
9769
|
deal,
|
|
@@ -9894,6 +9851,7 @@ var ENTITIES = {
|
|
|
9894
9851
|
account_session: accountSession,
|
|
9895
9852
|
account_change: accountChange,
|
|
9896
9853
|
ended_account_sessions: endedAccountSessions,
|
|
9854
|
+
account_removal: accountRemoval,
|
|
9897
9855
|
account_privacy: accountPrivacy,
|
|
9898
9856
|
account_privacy_change: accountPrivacyChange,
|
|
9899
9857
|
account_profile: accountProfile,
|
|
@@ -10048,6 +10006,7 @@ var ENTITIES = {
|
|
|
10048
10006
|
chat_folder_order: chatFolderOrder,
|
|
10049
10007
|
chat_rules: chatRules,
|
|
10050
10008
|
chat_moderation: chatModeration,
|
|
10009
|
+
"model.chosen": chosenModel,
|
|
10051
10010
|
model_key: modelKey,
|
|
10052
10011
|
"model_key.stored": storedModelKey,
|
|
10053
10012
|
"model_key.removed": removedModelKey,
|
|
@@ -10092,7 +10051,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10092
10051
|
return [name, definition];
|
|
10093
10052
|
})), "entityDefinitions");
|
|
10094
10053
|
|
|
10095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10096
10055
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10097
10056
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10098
10057
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10126,7 +10085,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10126
10085
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10127
10086
|
}, "answerRow");
|
|
10128
10087
|
|
|
10129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
10130
10089
|
var where = [{ field: "ref" }];
|
|
10131
10090
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
10132
10091
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -10218,7 +10177,7 @@ var STATUS_ROWS = {
|
|
|
10218
10177
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
10219
10178
|
};
|
|
10220
10179
|
|
|
10221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
10222
10181
|
var TEXT_CHARS = 400;
|
|
10223
10182
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
10224
10183
|
var messageRow = {
|
|
@@ -10584,7 +10543,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
10584
10543
|
return lines.concat(footerOf(body)).join("\n");
|
|
10585
10544
|
}, "compactText");
|
|
10586
10545
|
|
|
10587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10588
10547
|
var STEPS2 = defineSteps([
|
|
10589
10548
|
...STEPS,
|
|
10590
10549
|
{
|
|
@@ -10871,7 +10830,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
10871
10830
|
].join(" ");
|
|
10872
10831
|
}, "stepLine");
|
|
10873
10832
|
|
|
10874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
10875
10834
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
10876
10835
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
10877
10836
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -10929,7 +10888,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
10929
10888
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
10930
10889
|
}, "largeAnswerSteps");
|
|
10931
10890
|
|
|
10932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
10933
10892
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
10934
10893
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
10935
10894
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -10943,7 +10902,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
10943
10902
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
10944
10903
|
}, "strip");
|
|
10945
10904
|
|
|
10946
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
10947
10906
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
10948
10907
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
10949
10908
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11142,8 +11101,6 @@ export {
|
|
|
11142
11101
|
refuseCommandName,
|
|
11143
11102
|
rootOf,
|
|
11144
11103
|
sampleCommand,
|
|
11145
|
-
endpoint,
|
|
11146
|
-
modelTarget,
|
|
11147
11104
|
AI_ENTRIES,
|
|
11148
11105
|
AI_SETTING_KEYS,
|
|
11149
11106
|
resolveAISettings,
|
|
@@ -11155,6 +11112,7 @@ export {
|
|
|
11155
11112
|
repairConfigText,
|
|
11156
11113
|
permissionIssues,
|
|
11157
11114
|
settingPathOf,
|
|
11115
|
+
withoutPath,
|
|
11158
11116
|
withoutSetting,
|
|
11159
11117
|
publicIssue,
|
|
11160
11118
|
fixVerb,
|