@wirecat/hubspot-cli 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/contracts/wirecat.json +2 -1
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-NMSIVLX7.js +41 -0
- package/dist/bundle/{all-profiles-HFVXPMF6.js → all-profiles-EMBBR5CW.js} +11 -11
- package/dist/bundle/{anthropic-VE6WR6IN.js → anthropic-AS2MTXO3.js} +5 -5
- package/dist/bundle/{app-server-GZ4DCQK7.js → app-server-WZWKHDLK.js} +70 -68
- package/dist/bundle/{bun-2DHMKD34.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-T5XTYL7L.js → bun-sqlite-NBAY7FR2.js} +6 -6
- package/dist/bundle/{chunk-AKSWXRIU.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-UCGZRZJA.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-3YTTWJKL.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-J4FXBF44.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-J76CMNWQ.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-X2QRCFGJ.js → chunk-4NLZXDXP.js} +4 -4
- package/dist/bundle/{chunk-2K5BAY32.js → chunk-5JKTVAXX.js} +19 -19
- package/dist/bundle/{chunk-PR7ZDMGF.js → chunk-5XYI75HH.js} +3 -3
- package/dist/bundle/{chunk-EB53G4HO.js → chunk-6TD3DCWC.js} +2 -2
- package/dist/bundle/{chunk-K4Y2ZWOO.js → chunk-7SV76BVS.js} +3 -3
- package/dist/bundle/{chunk-PDVMYIBP.js → chunk-7T5BFWZI.js} +14450 -12008
- package/dist/bundle/{chunk-5WDNG4QE.js → chunk-7Z53MLQP.js} +7 -7
- package/dist/bundle/{chunk-RLK2EGQD.js → chunk-AINKLKDN.js} +29 -16
- package/dist/bundle/{chunk-E27NRLJZ.js → chunk-BGWQIFAS.js} +38 -24
- package/dist/bundle/{chunk-MSQGZHKM.js → chunk-CVAHCGE6.js} +27 -26
- package/dist/bundle/{chunk-6DABKZYH.js → chunk-D7NSIQBI.js} +125 -64
- package/dist/bundle/{chunk-THGAVPRA.js → chunk-D7OZWLJU.js} +11 -11
- package/dist/bundle/{chunk-TCSVW7BA.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-WASBOYI2.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-QK5HQUHB.js → chunk-EVUMQKV7.js} +3 -3
- package/dist/bundle/{chunk-5O5WYSSO.js → chunk-FRF32QVB.js} +711 -633
- package/dist/bundle/{chunk-H4W2OO35.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-I75ON7VM.js → chunk-GIMHJ7HA.js} +8 -8
- package/dist/bundle/{chunk-5NIIXJV3.js → chunk-GXDD4QWH.js} +2 -2
- package/dist/bundle/{chunk-ZERQSELP.js → chunk-H6AH45GE.js} +198 -164
- package/dist/bundle/{chunk-DIKUPU3T.js → chunk-HZ3C4WXD.js} +3 -3
- package/dist/bundle/{chunk-TXO4CJW3.js → chunk-IA77VHME.js} +13 -9
- package/dist/bundle/{chunk-LTU4BQ4S.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-3HS7JTPI.js → chunk-IGNMDKP7.js} +14 -14
- package/dist/bundle/{chunk-G6LDK6DJ.js → chunk-IPKCM55K.js} +7 -7
- package/dist/bundle/{chunk-2I2KBCS6.js → chunk-JBZYHRUN.js} +5 -5
- package/dist/bundle/{chunk-M3LRSN6J.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-HZIGGAC7.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-T4MZJMEJ.js → chunk-JPONKBEQ.js} +23 -23
- package/dist/bundle/{chunk-5ILCAAY4.js → chunk-K5QWV6IX.js} +35 -35
- package/dist/bundle/{chunk-LHY5XGIR.js → chunk-KNL7CKF6.js} +179 -108
- package/dist/bundle/{chunk-JFLKTYH5.js → chunk-KVTNYRDO.js} +6 -6
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-CU76ZACK.js → chunk-L45WN3AR.js} +3 -3
- package/dist/bundle/{chunk-2VUIJ5XB.js → chunk-L72WUJAS.js} +2 -2
- package/dist/bundle/{chunk-GWXTVO43.js → chunk-LCUWAH4L.js} +7 -7
- package/dist/bundle/{chunk-4UEYVM46.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-CTN4DW2F.js → chunk-LM3W7YOM.js} +4 -4
- package/dist/bundle/{chunk-3TLNO3VM.js → chunk-LZPKBN3C.js} +2 -2
- package/dist/bundle/{chunk-EJZIEBAR.js → chunk-LZPSIYRC.js} +8 -8
- package/dist/bundle/{chunk-KDW7B7AR.js → chunk-MYXUJCJD.js} +5 -5
- package/dist/bundle/{chunk-PZ3QJDTD.js → chunk-NA2B6PYR.js} +5 -5
- package/dist/bundle/{chunk-TT75CEYZ.js → chunk-NB7EOAUZ.js} +1 -1
- package/dist/bundle/{chunk-XRFYVVFU.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-VR2CJFVL.js → chunk-NQVMPJAQ.js} +8 -8
- package/dist/bundle/{chunk-J2SCELII.js → chunk-NVR6M4TF.js} +16 -16
- package/dist/bundle/{chunk-GR4HZBWO.js → chunk-O4AUYEGC.js} +2 -2
- package/dist/bundle/{chunk-TRLV5NWZ.js → chunk-OGVSGXPI.js} +640 -506
- package/dist/bundle/{chunk-3W5R3XAH.js → chunk-OUYXUGUX.js} +8 -8
- package/dist/bundle/chunk-P657KN5N.js +122 -0
- package/dist/bundle/{chunk-GHXTNKX2.js → chunk-P7G5HFY3.js} +2 -2
- package/dist/bundle/{chunk-BU5CEMUH.js → chunk-PFYPJUWX.js} +19 -15
- package/dist/bundle/{chunk-Q6AC7WLD.js → chunk-PLPBEWD4.js} +3 -3
- package/dist/bundle/{chunk-HYDXA624.js → chunk-PMQ7GP6X.js} +6 -6
- package/dist/bundle/{chunk-JDCFHZNU.js → chunk-Q32ZDGS2.js} +8 -8
- package/dist/bundle/{chunk-TAPQZYXY.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-WE4JSHIG.js → chunk-QLYSNL47.js} +6 -6
- package/dist/bundle/{chunk-H5HBZCEJ.js → chunk-QPPOIWPY.js} +8 -8
- package/dist/bundle/{chunk-GEJI27GN.js → chunk-R2C5WDQV.js} +6 -6
- package/dist/bundle/{chunk-UVGJL753.js → chunk-RQORQN2V.js} +61 -61
- package/dist/bundle/{chunk-YIH2A2PQ.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-AP3CWDRK.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-MJ24YFXZ.js → chunk-TTF5DP4V.js} +7 -7
- package/dist/bundle/{chunk-745FMNI5.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-3WG4MTQI.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-ID4GJFE7.js → chunk-U5CFLBNX.js} +8 -8
- package/dist/bundle/{chunk-ZKTYTOF4.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-RLNPTES2.js → chunk-V57E7PJQ.js} +4 -4
- package/dist/bundle/{chunk-67YPTVGP.js → chunk-V7IF2K3P.js} +3 -3
- package/dist/bundle/{chunk-NQOQG7L3.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-KKMOKSS5.js → chunk-VNMEE4ZZ.js} +3 -3
- package/dist/bundle/{chunk-UZ2CL435.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-R26OEZOL.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/chunk-XIKSGUMQ.js +1293 -0
- package/dist/bundle/{chunk-YDG5FIQB.js → chunk-XK5BAPHF.js} +7 -7
- package/dist/bundle/{chunk-QH47G73D.js → chunk-XQGN2D44.js} +3 -3
- package/dist/bundle/{chunk-5VTKBGPW.js → chunk-YKSH7BY2.js} +121 -36
- package/dist/bundle/{chunk-BM5F2ZNI.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-5IPB5WLB.js → chunk-ZJEENQRH.js} +12 -12
- package/dist/bundle/{chunk-24HPBWKZ.js → chunk-ZZOCAZSZ.js} +3 -3
- package/dist/bundle/command-contract-BGTXROZA.js +40 -0
- package/dist/bundle/{command-server-entry-H6IAJNOF.js → command-server-entry-PDLRF2RV.js} +28 -28
- package/dist/bundle/{decode-TR2EC46M.js → decode-26M7XE2B.js} +5 -5
- package/dist/bundle/{dispatch-B2EP6DDT.js → dispatch-2FTOHA5D.js} +8 -8
- package/dist/bundle/{echarts-7OP7I5B2.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-FLGS4LN7.js → embed-XJLEAWXE.js} +6 -6
- package/dist/bundle/{embedder-JIXQXCP3.js → embedder-OEL6PXEH.js} +9 -9
- package/dist/bundle/{failure-AOACEURF.js → failure-OHIXWTR6.js} +2 -2
- package/dist/bundle/{first-run-XJ2NWIK2.js → first-run-J2T4IKK4.js} +12 -12
- package/dist/bundle/first-screen-Q5KYFT3R.js +41 -0
- package/dist/bundle/hubspot.js +27 -27
- package/dist/bundle/{instructions-PYCYV6QE.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{mcp-ZNULRPZ4.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-5H6VGK6O.js +25 -0
- package/dist/bundle/{meeting-model-2PA5WJY5.js → meeting-model-USLGH5SE.js} +11 -11
- package/dist/bundle/{meeting-semantic-5IH63QFV.js → meeting-semantic-Q6XYFYUD.js} +6 -6
- package/dist/bundle/{node-6GTNIVBM.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-FBCEHPNT.js → node-sqlite-2SWWGW6H.js} +7 -7
- package/dist/bundle/{oauth-BFP4SCL5.js → oauth-V5LGTXF2.js} +7 -7
- package/dist/bundle/{open-MLU4MHGO.js → open-25EKOTZA.js} +5 -5
- package/dist/bundle/{openai-R7WJI6SO.js → openai-CH37GSZS.js} +15 -15
- package/dist/bundle/{process-NMNQLJHZ.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-Z735HPFG.js → program-G4OZFVUI.js} +212 -117
- package/dist/bundle/{prompt-A6RM55Q4.js → prompt-2VSPX5S7.js} +5 -5
- package/dist/bundle/public-WB7IWBMR.js +196 -0
- package/dist/bundle/{recognize-ORRDV45M.js → recognize-NA5XUFKK.js} +4 -4
- package/dist/bundle/{remote-UF3WSC4X.js → remote-NRJOX6XW.js} +9 -9
- package/dist/bundle/{rerank-ZSJORUGH.js → rerank-NG3XMFCV.js} +7 -7
- package/dist/bundle/{schemas-EXBNVPMI.js → schemas-SKF4MZBJ.js} +1 -1
- package/dist/bundle/{serve-4KBJ6SIA.js → serve-MR67OBED.js} +9 -9
- package/dist/bundle/server-LFNGSVUQ.js +88 -0
- package/dist/bundle/{server-IFK4S6LJ.js → server-NZPHVRS6.js} +62 -60
- package/dist/bundle/{source-PBCQAG4C.js → source-P2KVDTJ5.js} +75 -73
- package/dist/bundle/{sqlite-runtime-XPDUWOPG.js → sqlite-runtime-V5U6F5EB.js} +6 -6
- package/dist/bundle/{state-4M26H7NL.js → state-L4MWAATO.js} +6 -6
- package/dist/bundle/store-ARASPKTV.js +34 -0
- package/dist/bundle/{store-ICTY3RIF.js → store-JFIZLDKO.js} +22 -22
- package/dist/bundle/{store-3W4ZOOIB.js → store-SUHY3G2X.js} +27 -24
- package/dist/bundle/store-maintenance-command-L2FXCEGU.js +75 -0
- package/dist/bundle/surface-NQK7CQ33.js +74 -0
- package/dist/bundle/writer-TYTMOXXA.js +88 -0
- package/dist/config.d.ts +5 -38
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/crm/records.d.ts.map +1 -1
- package/dist/crm/records.js +3 -0
- package/dist/crm/records.js.map +1 -1
- package/dist/crm/source.js +1 -1
- package/dist/crm/source.js.map +1 -1
- package/dist/generated/definitions.d.ts +1 -1
- package/dist/generated/definitions.d.ts.map +1 -1
- package/dist/generated/manifest.d.ts +1 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/hubspot-cli/SKILL.md +10 -3
- package/dist/bundle/agent-XB35QVOK.js +0 -40
- package/dist/bundle/chunk-HX2BE7DO.js +0 -40
- package/dist/bundle/chunk-V7N2K5OT.js +0 -1269
- package/dist/bundle/command-contract-5FXCYQUS.js +0 -40
- package/dist/bundle/first-screen-U73G5CMM.js +0 -40
- package/dist/bundle/meeting-combined-IHTM5H5B.js +0 -25
- package/dist/bundle/server-MNUAZWTN.js +0 -86
- package/dist/bundle/store-CDY2PW6J.js +0 -34
- package/dist/bundle/store-maintenance-command-Y7TC3I43.js +0 -73
- package/dist/bundle/surface-4LNDJZD2.js +0 -72
- package/dist/bundle/writer-WGHWQTC2.js +0 -86
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GIMHJ7HA.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-V7IF2K3P.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NA2B6PYR.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3YM4B2GT.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VNMEE4ZZ.js";
|
|
26
26
|
import {
|
|
27
27
|
CATEGORIES,
|
|
28
28
|
FACT_STATUSES,
|
|
@@ -67,18 +67,18 @@ import {
|
|
|
67
67
|
typedCommand,
|
|
68
68
|
untrusted,
|
|
69
69
|
useAsProcessRun
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-XIKSGUMQ.js";
|
|
71
71
|
import {
|
|
72
72
|
isCliFailure,
|
|
73
73
|
storeDamaged
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-JLXXUEAM.js";
|
|
75
75
|
import {
|
|
76
76
|
endpoint
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-7Z53MLQP.js";
|
|
78
78
|
import {
|
|
79
79
|
filesPresent,
|
|
80
80
|
sharedModelsDirectory
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-LM3W7YOM.js";
|
|
82
82
|
import {
|
|
83
83
|
CEILING_KEY,
|
|
84
84
|
COMMAND_PATH_KEY,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
permissionOverrides,
|
|
93
93
|
projectFields,
|
|
94
94
|
resolveOutput
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-IPKCM55K.js";
|
|
96
96
|
import {
|
|
97
97
|
BUSINESS_KINDS,
|
|
98
98
|
CRM_ACTIVITY_KINDS,
|
|
@@ -107,10 +107,10 @@ import {
|
|
|
107
107
|
ORDER_STATUSES,
|
|
108
108
|
RELATION_KINDS,
|
|
109
109
|
STANDINGS
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-AINKLKDN.js";
|
|
111
111
|
import {
|
|
112
112
|
TAG_TYPES
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-RRTMPSQR.js";
|
|
114
114
|
import {
|
|
115
115
|
FACT_TYPES,
|
|
116
116
|
FIELD_TYPES,
|
|
@@ -138,14 +138,14 @@ import {
|
|
|
138
138
|
parseLucene,
|
|
139
139
|
readsZone,
|
|
140
140
|
timezoneOf
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-RQORQN2V.js";
|
|
142
142
|
import {
|
|
143
143
|
repairConfigText,
|
|
144
144
|
sharedConfigPath
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-TTF5DP4V.js";
|
|
146
146
|
import {
|
|
147
147
|
storePath
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-L72WUJAS.js";
|
|
149
149
|
import {
|
|
150
150
|
configFilePath,
|
|
151
151
|
createRecordLog,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
resolvePaths,
|
|
155
155
|
saveConfigFile,
|
|
156
156
|
writeSecurely
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-5JKTVAXX.js";
|
|
158
158
|
import {
|
|
159
159
|
COMPACT_FLAG,
|
|
160
160
|
MAX_NEXT_STEPS,
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
reference,
|
|
172
172
|
stepOf,
|
|
173
173
|
writes
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-QPPOIWPY.js";
|
|
175
175
|
import {
|
|
176
176
|
array,
|
|
177
177
|
boolean,
|
|
@@ -213,12 +213,12 @@ import {
|
|
|
213
213
|
CliError,
|
|
214
214
|
isCliError,
|
|
215
215
|
visibleControls
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-S6JG4YUH.js";
|
|
217
217
|
import {
|
|
218
218
|
__name
|
|
219
219
|
} from "./chunk-ZVVMGPBJ.js";
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
222
222
|
import { readFileSync } from "node:fs";
|
|
223
223
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
224
224
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -272,7 +272,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
272
272
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
273
273
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
274
274
|
|
|
275
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
275
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
276
276
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
277
277
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
278
278
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3773,7 +3773,7 @@ __name(useColor, "useColor");
|
|
|
3773
3773
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3774
3774
|
var program = new Command();
|
|
3775
3775
|
|
|
3776
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3776
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3777
3777
|
var argumentInfoSchema = object({
|
|
3778
3778
|
name: string(),
|
|
3779
3779
|
required: boolean(),
|
|
@@ -3847,7 +3847,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3847
3847
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3848
3848
|
});
|
|
3849
3849
|
|
|
3850
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3850
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3851
3851
|
import { isDeepStrictEqual } from "node:util";
|
|
3852
3852
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3853
3853
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3957,7 +3957,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3957
3957
|
return result;
|
|
3958
3958
|
}, "sharedCommand");
|
|
3959
3959
|
|
|
3960
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3960
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3961
3961
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3962
3962
|
let command = root;
|
|
3963
3963
|
const path2 = [];
|
|
@@ -3975,7 +3975,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3975
3975
|
}
|
|
3976
3976
|
}, "refuseJoinedPath");
|
|
3977
3977
|
|
|
3978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3978
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
3979
3979
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3980
3980
|
var requests = new AsyncLocalStorage();
|
|
3981
3981
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3990,7 +3990,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3990
3990
|
return direct;
|
|
3991
3991
|
}, "exitCodeSet");
|
|
3992
3992
|
|
|
3993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3993
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3994
3994
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3995
3995
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3996
3996
|
messageId: message2.id,
|
|
@@ -4096,7 +4096,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4096
4096
|
}, "guardedWrite");
|
|
4097
4097
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4098
4098
|
|
|
4099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4099
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4100
4100
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4101
4101
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4102
4102
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4279,7 +4279,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4279
4279
|
}
|
|
4280
4280
|
}, "withAbort");
|
|
4281
4281
|
|
|
4282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4282
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4283
4283
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4284
4284
|
import { join } from "node:path";
|
|
4285
4285
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4301,7 +4301,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4301
4301
|
}, "profilesWithAccounts");
|
|
4302
4302
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4303
4303
|
|
|
4304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4304
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4305
4305
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4306
4306
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4307
4307
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4358,7 +4358,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4358
4358
|
};
|
|
4359
4359
|
}, "runBudget");
|
|
4360
4360
|
|
|
4361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4361
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4362
4362
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4363
4363
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4364
4364
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4396,7 +4396,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4396
4396
|
progress: "sync.progress"
|
|
4397
4397
|
};
|
|
4398
4398
|
|
|
4399
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4399
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4400
4400
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4401
4401
|
const recording = startRecording(options);
|
|
4402
4402
|
try {
|
|
@@ -4611,7 +4611,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4611
4611
|
return void 0;
|
|
4612
4612
|
}, "partialOutcome");
|
|
4613
4613
|
|
|
4614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4614
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4615
4615
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4616
4616
|
if (ms2 === void 0)
|
|
4617
4617
|
return body();
|
|
@@ -4637,7 +4637,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4637
4637
|
}
|
|
4638
4638
|
}, "withDeadline");
|
|
4639
4639
|
|
|
4640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4640
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4641
4641
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4642
4642
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4643
4643
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4706,10 +4706,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4706
4706
|
return void 0;
|
|
4707
4707
|
}, "sampleCommand");
|
|
4708
4708
|
|
|
4709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4709
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4710
4710
|
import { existsSync as existsSync4 } from "node:fs";
|
|
4711
4711
|
|
|
4712
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4712
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4713
4713
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4714
4714
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4715
4715
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4778,7 +4778,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4778
4778
|
};
|
|
4779
4779
|
}, "modelTarget");
|
|
4780
4780
|
|
|
4781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4781
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4782
4782
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4783
4783
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4784
4784
|
var AI_FIELDS = {
|
|
@@ -4822,7 +4822,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4822
4822
|
};
|
|
4823
4823
|
}, "resolveAISettings");
|
|
4824
4824
|
|
|
4825
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4825
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
4826
4826
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4827
4827
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4828
4828
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4836,7 +4836,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4836
4836
|
return ms2;
|
|
4837
4837
|
}, "parseDuration");
|
|
4838
4838
|
|
|
4839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4839
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
4840
4840
|
var HISTORY_MAX_DAYS = 1095;
|
|
4841
4841
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
4842
4842
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -4883,7 +4883,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
4883
4883
|
return { batch: { ...batch, messages }, skipped };
|
|
4884
4884
|
}, "limitBatch");
|
|
4885
4885
|
|
|
4886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4886
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
4887
4887
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
4888
4888
|
import { join as join2 } from "node:path";
|
|
4889
4889
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -4972,7 +4972,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
4972
4972
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
4973
4973
|
}, "registryProfiles");
|
|
4974
4974
|
|
|
4975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4975
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
4976
4976
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
4977
4977
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
4978
4978
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5270,7 +5270,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5270
5270
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5271
5271
|
}, "readConfigFile");
|
|
5272
5272
|
|
|
5273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5273
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5274
5274
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5275
5275
|
import { dirname, join as join3 } from "node:path";
|
|
5276
5276
|
var DEFAULT_CONFIG = {
|
|
@@ -5299,7 +5299,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5301
5301
|
|
|
5302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5302
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5303
5303
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5304
5304
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5305
5305
|
const path2 = key.split(".");
|
|
@@ -5321,7 +5321,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5321
5321
|
return { config, added };
|
|
5322
5322
|
}, "withSettingDefaults");
|
|
5323
5323
|
|
|
5324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5324
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5325
5325
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5326
5326
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5327
5327
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5849,7 +5849,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5849
5849
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5850
5850
|
}, "given");
|
|
5851
5851
|
|
|
5852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5852
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5853
5853
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
5854
5854
|
const { deadline, signal, app } = environmentOf(command);
|
|
5855
5855
|
const now = deadline?.();
|
|
@@ -6003,7 +6003,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6003
6003
|
return words.join(" ");
|
|
6004
6004
|
}, "commandPath");
|
|
6005
6005
|
|
|
6006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6006
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6007
6007
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6008
6008
|
var FETCH = { remote: "read", local: "write" };
|
|
6009
6009
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6119,6 +6119,12 @@ var reachesOtherService = /* @__PURE__ */ __name((command) => {
|
|
|
6119
6119
|
}, "reachesOtherService");
|
|
6120
6120
|
var isOtherServiceCall = /* @__PURE__ */ __name((command) => OTHER_SERVICE.has(command), "isOtherServiceCall");
|
|
6121
6121
|
var ownerOnlyOption = /* @__PURE__ */ __name((flags, description) => annotateOption(new Option(flags, description), { mcp: false }), "ownerOnlyOption");
|
|
6122
|
+
var allowDeletionsOption = /* @__PURE__ */ __name(() => ownerOnlyOption("--allow-deletions <count>", "let this run mark deleted up to this many of what its full list no longer has, when the guard holds it").argParser((text5) => {
|
|
6123
|
+
const count6 = Number(text5);
|
|
6124
|
+
if (!Number.isSafeInteger(count6) || count6 < 1)
|
|
6125
|
+
throw new InvalidArgumentError("a whole number, 1 or more");
|
|
6126
|
+
return count6;
|
|
6127
|
+
}), "allowDeletionsOption");
|
|
6122
6128
|
var judgedEffects = /* @__PURE__ */ __name((effects) => effects && { remote: effects.remote, local: "none" }, "judgedEffects");
|
|
6123
6129
|
var judgedStepEffects = /* @__PURE__ */ __name((effects) => effects?.remote === "none" ? effects : judgedEffects(effects), "judgedStepEffects");
|
|
6124
6130
|
var judgedTargets = /* @__PURE__ */ __name((root) => {
|
|
@@ -6140,7 +6146,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6140
6146
|
throw readOnlyRefusal(lock, what);
|
|
6141
6147
|
}, "refuseUnderReadOnly");
|
|
6142
6148
|
|
|
6143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6149
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6144
6150
|
var account = strictObject({
|
|
6145
6151
|
provider: text,
|
|
6146
6152
|
id,
|
|
@@ -6150,7 +6156,7 @@ var account = strictObject({
|
|
|
6150
6156
|
scope: optional(picklist(["personal", "work"]))
|
|
6151
6157
|
});
|
|
6152
6158
|
|
|
6153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6159
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6154
6160
|
var accountSession = strictObject({
|
|
6155
6161
|
current: boolean(),
|
|
6156
6162
|
client: nullable(text),
|
|
@@ -6160,7 +6166,7 @@ var accountSession = strictObject({
|
|
|
6160
6166
|
created_at: optional(nullable(time))
|
|
6161
6167
|
});
|
|
6162
6168
|
|
|
6163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6169
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6164
6170
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6165
6171
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6166
6172
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6189,7 +6195,7 @@ var accountRemoval = strictObject({
|
|
|
6189
6195
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6190
6196
|
});
|
|
6191
6197
|
|
|
6192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6198
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6193
6199
|
var accountProfile = strictObject({
|
|
6194
6200
|
profile: id,
|
|
6195
6201
|
current: boolean(),
|
|
@@ -6201,7 +6207,7 @@ var accountProfile = strictObject({
|
|
|
6201
6207
|
bot: optional(literal(true))
|
|
6202
6208
|
});
|
|
6203
6209
|
|
|
6204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6210
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6205
6211
|
var milliseconds = pipe(number(), minValue(0));
|
|
6206
6212
|
var counterReading = strictObject({
|
|
6207
6213
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6213,7 +6219,7 @@ var counterReading = strictObject({
|
|
|
6213
6219
|
});
|
|
6214
6220
|
var selection = record(string(), unknown());
|
|
6215
6221
|
|
|
6216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6222
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6217
6223
|
var adminRow = strictObject({
|
|
6218
6224
|
ref: reference,
|
|
6219
6225
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6266,7 +6272,7 @@ var adminReport = strictObject({
|
|
|
6266
6272
|
rows: array(adminRow)
|
|
6267
6273
|
});
|
|
6268
6274
|
|
|
6269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6275
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6270
6276
|
var closeSuggestion = strictObject({
|
|
6271
6277
|
as: picklist(["done", "dismissed"]),
|
|
6272
6278
|
/** The agent's name. */
|
|
@@ -6328,7 +6334,7 @@ var task = strictObject({
|
|
|
6328
6334
|
updated_at: optional(time)
|
|
6329
6335
|
});
|
|
6330
6336
|
|
|
6331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6337
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6332
6338
|
var agendaChat = strictObject({
|
|
6333
6339
|
chat: reference,
|
|
6334
6340
|
title: nullable(text),
|
|
@@ -6398,11 +6404,11 @@ var agenda = strictObject({
|
|
|
6398
6404
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6399
6405
|
});
|
|
6400
6406
|
|
|
6401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6407
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6402
6408
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6403
6409
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6404
6410
|
|
|
6405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6411
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6406
6412
|
var attachment = strictObject({
|
|
6407
6413
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6408
6414
|
message: optional(reference),
|
|
@@ -6447,7 +6453,7 @@ var hitFile = strictObject({
|
|
|
6447
6453
|
local_path: optional(text)
|
|
6448
6454
|
});
|
|
6449
6455
|
|
|
6450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6456
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6451
6457
|
var actionableError = objectWithRest({
|
|
6452
6458
|
code: text,
|
|
6453
6459
|
message: text,
|
|
@@ -6464,7 +6470,7 @@ var batchResult = strictObject({
|
|
|
6464
6470
|
max_error_percent: count
|
|
6465
6471
|
});
|
|
6466
6472
|
|
|
6467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6473
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6468
6474
|
var extractionItem = strictObject({
|
|
6469
6475
|
ref: reference,
|
|
6470
6476
|
attachment: count,
|
|
@@ -6497,7 +6503,7 @@ var extractionReport = strictObject({
|
|
|
6497
6503
|
cursor: optional(text)
|
|
6498
6504
|
});
|
|
6499
6505
|
|
|
6500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6506
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6501
6507
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6502
6508
|
var attachmentBytes = strictObject({
|
|
6503
6509
|
ref: reference,
|
|
@@ -6528,7 +6534,7 @@ var attachmentTextChange = strictObject({
|
|
|
6528
6534
|
text: optional(text)
|
|
6529
6535
|
});
|
|
6530
6536
|
|
|
6531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6537
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6532
6538
|
var WEIGHTS = {
|
|
6533
6539
|
bot: 3,
|
|
6534
6540
|
scam: 3,
|
|
@@ -6553,7 +6559,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6553
6559
|
var DIGITS = /\d{5,}/;
|
|
6554
6560
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6555
6561
|
|
|
6556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6562
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
6557
6563
|
var linkedIdentity = strictObject({
|
|
6558
6564
|
provider: text,
|
|
6559
6565
|
id,
|
|
@@ -6608,7 +6614,7 @@ var contactCheck = strictObject({
|
|
|
6608
6614
|
checked_at: time
|
|
6609
6615
|
});
|
|
6610
6616
|
|
|
6611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6617
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6612
6618
|
var member = strictObject({
|
|
6613
6619
|
id,
|
|
6614
6620
|
name: nullable(text),
|
|
@@ -6631,7 +6637,7 @@ var member = strictObject({
|
|
|
6631
6637
|
check: optional(record(string(), unknown()))
|
|
6632
6638
|
});
|
|
6633
6639
|
|
|
6634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6640
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6635
6641
|
var setting = optional(nullable(boolean()));
|
|
6636
6642
|
var chat = strictObject({
|
|
6637
6643
|
ref: reference,
|
|
@@ -6672,7 +6678,7 @@ var chat = strictObject({
|
|
|
6672
6678
|
members: optional(array(member))
|
|
6673
6679
|
});
|
|
6674
6680
|
|
|
6675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6681
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6676
6682
|
var quoted = strictObject({
|
|
6677
6683
|
id,
|
|
6678
6684
|
sender_id: nullable(id),
|
|
@@ -6793,7 +6799,7 @@ var message = strictObject({
|
|
|
6793
6799
|
provider_metadata: providerMetadata
|
|
6794
6800
|
});
|
|
6795
6801
|
|
|
6796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6802
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
6797
6803
|
var recordedMeeting = strictObject({
|
|
6798
6804
|
ref: reference,
|
|
6799
6805
|
meeting_id: count,
|
|
@@ -6810,7 +6816,7 @@ var recordedMeeting = strictObject({
|
|
|
6810
6816
|
call: optional(meetingCall)
|
|
6811
6817
|
});
|
|
6812
6818
|
|
|
6813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6819
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
6814
6820
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
6815
6821
|
var contextMessage = strictObject({
|
|
6816
6822
|
locator: reference,
|
|
@@ -7016,7 +7022,7 @@ var contactPreparation = strictObject({
|
|
|
7016
7022
|
})
|
|
7017
7023
|
});
|
|
7018
7024
|
|
|
7019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7025
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7020
7026
|
var nullableText = nullable(text);
|
|
7021
7027
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7022
7028
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7172,7 +7178,7 @@ var stage = strictObject({
|
|
|
7172
7178
|
untrusted
|
|
7173
7179
|
});
|
|
7174
7180
|
|
|
7175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7181
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7176
7182
|
var nullableText2 = nullable(text);
|
|
7177
7183
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7178
7184
|
var standing = picklist(STANDINGS);
|
|
@@ -7351,7 +7357,7 @@ var dealBrief = strictObject({
|
|
|
7351
7357
|
not_read: coverage2.entries.not_read
|
|
7352
7358
|
});
|
|
7353
7359
|
|
|
7354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7360
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7355
7361
|
var chart = strictObject({
|
|
7356
7362
|
version: literal(1),
|
|
7357
7363
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7366,7 +7372,7 @@ var chart = strictObject({
|
|
|
7366
7372
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7367
7373
|
});
|
|
7368
7374
|
|
|
7369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7375
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7370
7376
|
var named = strictObject({
|
|
7371
7377
|
id,
|
|
7372
7378
|
title: nullable(text),
|
|
@@ -7389,7 +7395,7 @@ var folder = strictObject({
|
|
|
7389
7395
|
excluded_chats: optional(array(named))
|
|
7390
7396
|
});
|
|
7391
7397
|
|
|
7392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7398
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7393
7399
|
var inviteLink = strictObject({
|
|
7394
7400
|
link: text,
|
|
7395
7401
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7405,7 +7411,7 @@ var inviteLink = strictObject({
|
|
|
7405
7411
|
joined_count: optional(count)
|
|
7406
7412
|
});
|
|
7407
7413
|
|
|
7408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7414
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7409
7415
|
var operated = { operation_id: id, chat_id: id };
|
|
7410
7416
|
var group = strictObject({
|
|
7411
7417
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7485,7 +7491,7 @@ var chatFolderOrder = strictObject({
|
|
|
7485
7491
|
folders: array(strictObject({ id, title: text }))
|
|
7486
7492
|
});
|
|
7487
7493
|
|
|
7488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7494
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7489
7495
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7490
7496
|
var chatRemoval = strictObject(operated2);
|
|
7491
7497
|
var chatMuting = strictObject({
|
|
@@ -7496,7 +7502,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7496
7502
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7497
7503
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7498
7504
|
|
|
7499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7505
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7500
7506
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7501
7507
|
var chatEvent = strictObject({
|
|
7502
7508
|
chat_id: id,
|
|
@@ -7513,7 +7519,7 @@ var chatEvent = strictObject({
|
|
|
7513
7519
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7514
7520
|
});
|
|
7515
7521
|
|
|
7516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7522
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7517
7523
|
var chatMetadata = strictObject({
|
|
7518
7524
|
chat_id: id,
|
|
7519
7525
|
title: nullable(text),
|
|
@@ -7528,7 +7534,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7528
7534
|
has_more: boolean()
|
|
7529
7535
|
});
|
|
7530
7536
|
|
|
7531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7537
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7532
7538
|
var action = picklist(["report", "delete", "remove"]);
|
|
7533
7539
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7534
7540
|
var chatRules = strictObject({
|
|
@@ -7565,7 +7571,7 @@ var chatModeration = strictObject({
|
|
|
7565
7571
|
}))
|
|
7566
7572
|
});
|
|
7567
7573
|
|
|
7568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7574
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
7569
7575
|
var chatSending = strictObject({
|
|
7570
7576
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
7571
7577
|
meaning: text,
|
|
@@ -7575,7 +7581,7 @@ var chatSending = strictObject({
|
|
|
7575
7581
|
changed: optional(boolean())
|
|
7576
7582
|
});
|
|
7577
7583
|
|
|
7578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7584
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7579
7585
|
var optionalCount = optional(count);
|
|
7580
7586
|
var minutes = nullable(number());
|
|
7581
7587
|
var chatStats = strictObject({
|
|
@@ -7651,7 +7657,7 @@ var taskStats = strictObject({
|
|
|
7651
7657
|
}))
|
|
7652
7658
|
});
|
|
7653
7659
|
|
|
7654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7660
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7655
7661
|
var memberCount = strictObject({
|
|
7656
7662
|
day: pipe(text, isoDate()),
|
|
7657
7663
|
participants: nullable(count),
|
|
@@ -7674,7 +7680,7 @@ var chatTracking = strictObject({
|
|
|
7674
7680
|
tracked: boolean()
|
|
7675
7681
|
});
|
|
7676
7682
|
|
|
7677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7683
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7678
7684
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7679
7685
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7680
7686
|
var profileFields = {
|
|
@@ -7712,7 +7718,7 @@ var profileFields = {
|
|
|
7712
7718
|
}))
|
|
7713
7719
|
};
|
|
7714
7720
|
|
|
7715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7721
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7716
7722
|
var contact = strictObject({
|
|
7717
7723
|
ref: reference,
|
|
7718
7724
|
id,
|
|
@@ -7743,7 +7749,7 @@ var contact = strictObject({
|
|
|
7743
7749
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7744
7750
|
});
|
|
7745
7751
|
|
|
7746
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7752
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7747
7753
|
var contactNote = strictObject({
|
|
7748
7754
|
id,
|
|
7749
7755
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7755,13 +7761,13 @@ var contactNote = strictObject({
|
|
|
7755
7761
|
updated_at: time
|
|
7756
7762
|
});
|
|
7757
7763
|
|
|
7758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7764
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7759
7765
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7760
7766
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7761
7767
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7762
7768
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7763
7769
|
|
|
7764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7770
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7765
7771
|
var conversation = strictObject({
|
|
7766
7772
|
id,
|
|
7767
7773
|
chat: reference,
|
|
@@ -7776,7 +7782,7 @@ var conversation = strictObject({
|
|
|
7776
7782
|
rules_version: count
|
|
7777
7783
|
});
|
|
7778
7784
|
|
|
7779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7785
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7780
7786
|
var conversationBuild = strictObject({
|
|
7781
7787
|
chat: id,
|
|
7782
7788
|
messages: count,
|
|
@@ -7801,7 +7807,7 @@ var catchUpPreparation = strictObject({
|
|
|
7801
7807
|
prepared: optional(conversationPreparation)
|
|
7802
7808
|
});
|
|
7803
7809
|
|
|
7804
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7810
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7805
7811
|
var conversationDetails = union([
|
|
7806
7812
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7807
7813
|
message
|
|
@@ -7896,7 +7902,7 @@ var conversationHit = strictObject({
|
|
|
7896
7902
|
untrusted
|
|
7897
7903
|
});
|
|
7898
7904
|
|
|
7899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7905
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
7900
7906
|
var counters = strictObject({
|
|
7901
7907
|
cutoff: time,
|
|
7902
7908
|
max_age_ms: milliseconds,
|
|
@@ -7926,7 +7932,7 @@ var counterRefresh = strictObject({
|
|
|
7926
7932
|
complete: optional(boolean())
|
|
7927
7933
|
});
|
|
7928
7934
|
|
|
7929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7935
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
7930
7936
|
var document = strictObject({
|
|
7931
7937
|
ref: reference,
|
|
7932
7938
|
id,
|
|
@@ -7941,7 +7947,7 @@ var document = strictObject({
|
|
|
7941
7947
|
owners: optional(array(text))
|
|
7942
7948
|
});
|
|
7943
7949
|
|
|
7944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7950
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
7945
7951
|
var documentLink = strictObject({
|
|
7946
7952
|
ref: reference,
|
|
7947
7953
|
url: text,
|
|
@@ -7952,7 +7958,7 @@ var documentLink = strictObject({
|
|
|
7952
7958
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7953
7959
|
});
|
|
7954
7960
|
|
|
7955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7961
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
7956
7962
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7957
7963
|
var contribution = strictObject({
|
|
7958
7964
|
message: evidenceMessage,
|
|
@@ -7982,7 +7988,7 @@ var retentionStay = strictObject({
|
|
|
7982
7988
|
});
|
|
7983
7989
|
var evidence = union([contribution, retentionStay]);
|
|
7984
7990
|
|
|
7985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7991
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
7986
7992
|
var fact = strictObject({
|
|
7987
7993
|
ref: reference,
|
|
7988
7994
|
id,
|
|
@@ -8013,7 +8019,7 @@ var fact = strictObject({
|
|
|
8013
8019
|
updated_at: time
|
|
8014
8020
|
});
|
|
8015
8021
|
|
|
8016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8022
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8017
8023
|
var hit = strictObject({
|
|
8018
8024
|
kind: picklist([
|
|
8019
8025
|
"message",
|
|
@@ -8035,6 +8041,8 @@ var hit = strictObject({
|
|
|
8035
8041
|
url: optional(text),
|
|
8036
8042
|
/** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
|
|
8037
8043
|
account: text,
|
|
8044
|
+
/** A tracker hit that more than one sign-in holds: every account it was found in, `account` first. */
|
|
8045
|
+
accounts: optional(array(text)),
|
|
8038
8046
|
/** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
|
|
8039
8047
|
title: nullable(text),
|
|
8040
8048
|
/** Null for a meeting whose start is unknown. */
|
|
@@ -8075,7 +8083,7 @@ var hit = strictObject({
|
|
|
8075
8083
|
untrusted
|
|
8076
8084
|
});
|
|
8077
8085
|
|
|
8078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8086
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8079
8087
|
var identity = strictObject({
|
|
8080
8088
|
ref: reference,
|
|
8081
8089
|
provider: text,
|
|
@@ -8091,7 +8099,7 @@ var identity = strictObject({
|
|
|
8091
8099
|
person: optional(nullable(reference))
|
|
8092
8100
|
});
|
|
8093
8101
|
|
|
8094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8102
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8095
8103
|
var imageEmbedding = strictObject({
|
|
8096
8104
|
model: text,
|
|
8097
8105
|
embedded: count,
|
|
@@ -8100,13 +8108,13 @@ var imageEmbedding = strictObject({
|
|
|
8100
8108
|
more: boolean()
|
|
8101
8109
|
});
|
|
8102
8110
|
|
|
8103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8111
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8104
8112
|
import { spawn } from "node:child_process";
|
|
8105
8113
|
import { randomBytes } from "node:crypto";
|
|
8106
8114
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8107
8115
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8108
8116
|
|
|
8109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8117
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8110
8118
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8111
8119
|
const total = input.total ?? null;
|
|
8112
8120
|
const updated = input.updatedAt ?? null;
|
|
@@ -8137,7 +8145,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8137
8145
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8138
8146
|
}, "progressLine");
|
|
8139
8147
|
|
|
8140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8148
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8141
8149
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8142
8150
|
const run = currentRun();
|
|
8143
8151
|
const trace = traceId ?? run.traceId;
|
|
@@ -8151,7 +8159,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8151
8159
|
}));
|
|
8152
8160
|
}, "recordLogFor");
|
|
8153
8161
|
|
|
8154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8162
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8155
8163
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8156
8164
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8157
8165
|
const out = openSync(log, "a", 384);
|
|
@@ -8306,7 +8314,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8306
8314
|
return { job: id6, pid, chat: input.chat, log };
|
|
8307
8315
|
}, "startArchiveJob");
|
|
8308
8316
|
|
|
8309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8317
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8310
8318
|
var problem = strictObject({ code: text, message: text });
|
|
8311
8319
|
var job = strictObject({
|
|
8312
8320
|
id,
|
|
@@ -8329,7 +8337,7 @@ var job = strictObject({
|
|
|
8329
8337
|
error: optional(problem)
|
|
8330
8338
|
});
|
|
8331
8339
|
|
|
8332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8340
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8333
8341
|
var joinRequest = strictObject({
|
|
8334
8342
|
person_id: id,
|
|
8335
8343
|
name: nullable(text),
|
|
@@ -8340,7 +8348,7 @@ var joinRequest = strictObject({
|
|
|
8340
8348
|
about: optional(text)
|
|
8341
8349
|
});
|
|
8342
8350
|
|
|
8343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8351
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8344
8352
|
var botProfile = strictObject({
|
|
8345
8353
|
name: text,
|
|
8346
8354
|
token: text,
|
|
@@ -8464,7 +8472,7 @@ var stickerInventory = strictObject({
|
|
|
8464
8472
|
url: optional(nullable(text))
|
|
8465
8473
|
});
|
|
8466
8474
|
|
|
8467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8475
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8468
8476
|
var pollVote = strictObject({
|
|
8469
8477
|
person_id: id,
|
|
8470
8478
|
name: nullable(text),
|
|
@@ -8474,7 +8482,7 @@ var pollVote = strictObject({
|
|
|
8474
8482
|
voted_at: time
|
|
8475
8483
|
});
|
|
8476
8484
|
|
|
8477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8485
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8478
8486
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8479
8487
|
var observation = strictObject({
|
|
8480
8488
|
value: pipe(number(), minValue(0)),
|
|
@@ -8516,7 +8524,7 @@ var serveSummary = strictObject({
|
|
|
8516
8524
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8517
8525
|
});
|
|
8518
8526
|
|
|
8519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8527
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8520
8528
|
var mailCounts = strictObject({
|
|
8521
8529
|
by: picklist(["day", "week", "sender"]),
|
|
8522
8530
|
received: count,
|
|
@@ -8531,7 +8539,7 @@ var mailCounts = strictObject({
|
|
|
8531
8539
|
}))
|
|
8532
8540
|
});
|
|
8533
8541
|
|
|
8534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8542
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8535
8543
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8536
8544
|
var base = { id, evidence: array(evidence2) };
|
|
8537
8545
|
var finding = variant("kind", [
|
|
@@ -8675,7 +8683,7 @@ var mailFindings = strictObject({
|
|
|
8675
8683
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8676
8684
|
});
|
|
8677
8685
|
|
|
8678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8686
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8679
8687
|
var mediaArchive = strictObject({
|
|
8680
8688
|
directory: text,
|
|
8681
8689
|
chats: count,
|
|
@@ -8707,7 +8715,7 @@ var mediaArchiveTimer = union([
|
|
|
8707
8715
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8708
8716
|
]);
|
|
8709
8717
|
|
|
8710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8718
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8711
8719
|
var preparationId = pipe(string(), minLength(1));
|
|
8712
8720
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8713
8721
|
var preparationTime = nullable(isoTime);
|
|
@@ -8799,7 +8807,7 @@ var preparationMeeting = strictObject({
|
|
|
8799
8807
|
updated_at: isoTime
|
|
8800
8808
|
});
|
|
8801
8809
|
|
|
8802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8810
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8803
8811
|
var meetingEvidence = preparationEvidence;
|
|
8804
8812
|
var meetingPersonContext = strictObject({
|
|
8805
8813
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8821,7 +8829,7 @@ var meetingPersonContext = strictObject({
|
|
|
8821
8829
|
})
|
|
8822
8830
|
});
|
|
8823
8831
|
|
|
8824
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8832
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8825
8833
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8826
8834
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8827
8835
|
var finding2 = variant("kind", [
|
|
@@ -8859,7 +8867,7 @@ var meetingFindings = strictObject({
|
|
|
8859
8867
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8860
8868
|
});
|
|
8861
8869
|
|
|
8862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8870
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8863
8871
|
var communicationCoverage = strictObject({
|
|
8864
8872
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8865
8873
|
query: string(),
|
|
@@ -8904,7 +8912,7 @@ var preparationCommunications = strictObject({
|
|
|
8904
8912
|
}))
|
|
8905
8913
|
});
|
|
8906
8914
|
|
|
8907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8915
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
8908
8916
|
var meetingPreparation = strictObject({
|
|
8909
8917
|
communications: optional(preparationCommunications),
|
|
8910
8918
|
schema_version: literal(1),
|
|
@@ -9017,7 +9025,7 @@ var meetingPreparation = strictObject({
|
|
|
9017
9025
|
})
|
|
9018
9026
|
});
|
|
9019
9027
|
|
|
9020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9028
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9021
9029
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9022
9030
|
var id3 = pipe(string(), minLength(1));
|
|
9023
9031
|
var text3 = string();
|
|
@@ -9081,7 +9089,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9081
9089
|
})
|
|
9082
9090
|
});
|
|
9083
9091
|
|
|
9084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9092
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9085
9093
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9086
9094
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9087
9095
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9111,7 +9119,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9111
9119
|
})
|
|
9112
9120
|
});
|
|
9113
9121
|
|
|
9114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9122
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9115
9123
|
var text4 = string();
|
|
9116
9124
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9117
9125
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9128,7 +9136,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9128
9136
|
persistence: literal("proposal-only")
|
|
9129
9137
|
});
|
|
9130
9138
|
|
|
9131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9139
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9132
9140
|
var memory = strictObject({
|
|
9133
9141
|
ref: reference,
|
|
9134
9142
|
id,
|
|
@@ -9156,7 +9164,7 @@ var memory = strictObject({
|
|
|
9156
9164
|
updated_at: time
|
|
9157
9165
|
});
|
|
9158
9166
|
|
|
9159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9167
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9160
9168
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9161
9169
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9162
9170
|
var mention = strictObject({
|
|
@@ -9200,7 +9208,7 @@ var mentionRebuild = strictObject({
|
|
|
9200
9208
|
mentions: count
|
|
9201
9209
|
});
|
|
9202
9210
|
|
|
9203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9211
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9204
9212
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9205
9213
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9206
9214
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9209,7 +9217,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9209
9217
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9210
9218
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9211
9219
|
|
|
9212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9220
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9213
9221
|
var messageTranscript = strictObject({
|
|
9214
9222
|
message_id: id,
|
|
9215
9223
|
text,
|
|
@@ -9267,7 +9275,7 @@ var evidencePacket = strictObject({
|
|
|
9267
9275
|
}))
|
|
9268
9276
|
});
|
|
9269
9277
|
|
|
9270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9278
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9271
9279
|
var messageThread = strictObject({
|
|
9272
9280
|
ref: reference,
|
|
9273
9281
|
chat: id,
|
|
@@ -9284,7 +9292,7 @@ var messageThread = strictObject({
|
|
|
9284
9292
|
});
|
|
9285
9293
|
var messageContext = union([message, messageThread]);
|
|
9286
9294
|
|
|
9287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9295
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9288
9296
|
var messageCounts = strictObject({
|
|
9289
9297
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9290
9298
|
total: count,
|
|
@@ -9297,7 +9305,7 @@ var messageCounts = strictObject({
|
|
|
9297
9305
|
}))
|
|
9298
9306
|
});
|
|
9299
9307
|
|
|
9300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9308
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9301
9309
|
var messageLink = strictObject({
|
|
9302
9310
|
ref: reference,
|
|
9303
9311
|
url: nullable(text),
|
|
@@ -9314,7 +9322,7 @@ var messageLink = strictObject({
|
|
|
9314
9322
|
})))
|
|
9315
9323
|
});
|
|
9316
9324
|
|
|
9317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9325
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9318
9326
|
var savedMessageFile = strictObject({
|
|
9319
9327
|
kind: text,
|
|
9320
9328
|
path: text,
|
|
@@ -9401,7 +9409,7 @@ var messageSyncAll = strictObject({
|
|
|
9401
9409
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9402
9410
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9403
9411
|
|
|
9404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9412
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9405
9413
|
var messageWrite = strictObject({
|
|
9406
9414
|
operation_id: id,
|
|
9407
9415
|
message,
|
|
@@ -9416,7 +9424,7 @@ var draftWrite = strictObject({
|
|
|
9416
9424
|
});
|
|
9417
9425
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9418
9426
|
|
|
9419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9427
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9420
9428
|
var model2 = strictObject({
|
|
9421
9429
|
id,
|
|
9422
9430
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9451,7 +9459,7 @@ var chosenModel = strictObject({
|
|
|
9451
9459
|
estimate_seconds: nullable(count)
|
|
9452
9460
|
});
|
|
9453
9461
|
|
|
9454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9462
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9455
9463
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9456
9464
|
var modelKey = strictObject({
|
|
9457
9465
|
provider: text,
|
|
@@ -9461,7 +9469,7 @@ var modelKey = strictObject({
|
|
|
9461
9469
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9462
9470
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9463
9471
|
|
|
9464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9472
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9465
9473
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9466
9474
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9467
9475
|
var graph = strictObject({
|
|
@@ -9495,14 +9503,14 @@ var officialStats = strictObject({
|
|
|
9495
9503
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9496
9504
|
});
|
|
9497
9505
|
|
|
9498
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9506
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9499
9507
|
var person2 = strictObject({
|
|
9500
9508
|
ref: reference,
|
|
9501
9509
|
name: nullable(text),
|
|
9502
9510
|
identities: optional(array(identity))
|
|
9503
9511
|
});
|
|
9504
9512
|
|
|
9505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9513
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9506
9514
|
var poll = strictObject({
|
|
9507
9515
|
chat_id: id,
|
|
9508
9516
|
message_id: id,
|
|
@@ -9518,11 +9526,11 @@ var poll = strictObject({
|
|
|
9518
9526
|
});
|
|
9519
9527
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9520
9528
|
|
|
9521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9529
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9522
9530
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9523
9531
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9524
9532
|
|
|
9525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9533
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9526
9534
|
var figures = record(string(), number());
|
|
9527
9535
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9528
9536
|
var rankingRow = strictObject({
|
|
@@ -9569,7 +9577,7 @@ var ranking = strictObject({
|
|
|
9569
9577
|
rows: array(rankingRow)
|
|
9570
9578
|
});
|
|
9571
9579
|
|
|
9572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9580
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9573
9581
|
var reaction = strictObject({
|
|
9574
9582
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9575
9583
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9577,7 +9585,7 @@ var reaction = strictObject({
|
|
|
9577
9585
|
reacted_at: time
|
|
9578
9586
|
});
|
|
9579
9587
|
|
|
9580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9588
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9581
9589
|
var reactionChange = strictObject({
|
|
9582
9590
|
operation_id: id,
|
|
9583
9591
|
chat_id: id,
|
|
@@ -9585,7 +9593,7 @@ var reactionChange = strictObject({
|
|
|
9585
9593
|
reaction: nullable(text)
|
|
9586
9594
|
});
|
|
9587
9595
|
|
|
9588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9596
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9589
9597
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9590
9598
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9591
9599
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9596,7 +9604,7 @@ var recipientChange = strictObject({
|
|
|
9596
9604
|
...partial(recipientOff).entries
|
|
9597
9605
|
});
|
|
9598
9606
|
|
|
9599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9607
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9600
9608
|
var events = array(record(string(), unknown()));
|
|
9601
9609
|
var recordedRun = strictObject({
|
|
9602
9610
|
run_id: id,
|
|
@@ -9668,7 +9676,7 @@ var runHit = strictObject({
|
|
|
9668
9676
|
});
|
|
9669
9677
|
var runLocation = strictObject({ path: text });
|
|
9670
9678
|
|
|
9671
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9679
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9672
9680
|
var relationship = strictObject({
|
|
9673
9681
|
id,
|
|
9674
9682
|
from: reference,
|
|
@@ -9695,7 +9703,7 @@ var relationship = strictObject({
|
|
|
9695
9703
|
created_at: time
|
|
9696
9704
|
});
|
|
9697
9705
|
|
|
9698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9706
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9699
9707
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9700
9708
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9701
9709
|
var responseTimes = strictObject({
|
|
@@ -9712,7 +9720,7 @@ var waitingChats = strictObject({
|
|
|
9712
9720
|
by_kind: strictObject({ private: count, group: count })
|
|
9713
9721
|
});
|
|
9714
9722
|
|
|
9715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9723
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9716
9724
|
var retentionCohort = strictObject({
|
|
9717
9725
|
/** The first day of the joining day or week. */
|
|
9718
9726
|
cohort: text,
|
|
@@ -9760,7 +9768,7 @@ var retention = strictObject({
|
|
|
9760
9768
|
rows: array(retentionCohort)
|
|
9761
9769
|
});
|
|
9762
9770
|
|
|
9763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9771
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9764
9772
|
var savedSearch = strictObject({
|
|
9765
9773
|
id,
|
|
9766
9774
|
/** `null` for a run in the history. */
|
|
@@ -9777,7 +9785,7 @@ var savedSearch = strictObject({
|
|
|
9777
9785
|
});
|
|
9778
9786
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9779
9787
|
|
|
9780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9788
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9781
9789
|
var sendAttempt = strictObject({
|
|
9782
9790
|
at: time,
|
|
9783
9791
|
profile: text,
|
|
@@ -9805,7 +9813,7 @@ var sendAttempt = strictObject({
|
|
|
9805
9813
|
error_code: optional(text)
|
|
9806
9814
|
});
|
|
9807
9815
|
|
|
9808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9816
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9809
9817
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9810
9818
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9811
9819
|
var infoSchema = strictObject({
|
|
@@ -10035,7 +10043,7 @@ var storeRepair = union([
|
|
|
10035
10043
|
]);
|
|
10036
10044
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10037
10045
|
|
|
10038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10046
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10039
10047
|
var range = strictObject({ from: number(), to: number() });
|
|
10040
10048
|
var storeChatStatus = strictObject({
|
|
10041
10049
|
chat_id: id,
|
|
@@ -10133,7 +10141,7 @@ var storeJobRetry = union([
|
|
|
10133
10141
|
]);
|
|
10134
10142
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10135
10143
|
|
|
10136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10144
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10137
10145
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10138
10146
|
var storeTable = strictObject({
|
|
10139
10147
|
name: text,
|
|
@@ -10142,7 +10150,7 @@ var storeTable = strictObject({
|
|
|
10142
10150
|
bytes: optional(nullable(count))
|
|
10143
10151
|
});
|
|
10144
10152
|
|
|
10145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10153
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10146
10154
|
var tagTarget = variant("type", [
|
|
10147
10155
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10148
10156
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10173,7 +10181,7 @@ var automaticTags = strictObject({
|
|
|
10173
10181
|
dry_run: boolean()
|
|
10174
10182
|
});
|
|
10175
10183
|
|
|
10176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10184
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10177
10185
|
var tagging = strictObject({
|
|
10178
10186
|
tag: text,
|
|
10179
10187
|
type: picklist(TAG_TYPES),
|
|
@@ -10186,7 +10194,7 @@ var tagging = strictObject({
|
|
|
10186
10194
|
created_at: time
|
|
10187
10195
|
});
|
|
10188
10196
|
|
|
10189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10197
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10190
10198
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10191
10199
|
var taskPair = strictObject({
|
|
10192
10200
|
task: nullable(side),
|
|
@@ -10209,7 +10217,7 @@ var taskPair = strictObject({
|
|
|
10209
10217
|
created_at: time
|
|
10210
10218
|
});
|
|
10211
10219
|
|
|
10212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10220
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10213
10221
|
var nullableTime = nullable(time);
|
|
10214
10222
|
var link = strictObject({
|
|
10215
10223
|
id,
|
|
@@ -10383,7 +10391,7 @@ var taskReview = strictObject({
|
|
|
10383
10391
|
untrusted
|
|
10384
10392
|
});
|
|
10385
10393
|
|
|
10386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10394
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10387
10395
|
var template = strictObject({
|
|
10388
10396
|
key: text,
|
|
10389
10397
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10395,7 +10403,7 @@ var template = strictObject({
|
|
|
10395
10403
|
updated_by: nullable(text)
|
|
10396
10404
|
});
|
|
10397
10405
|
|
|
10398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10406
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10399
10407
|
var topic = strictObject({
|
|
10400
10408
|
id,
|
|
10401
10409
|
title: text,
|
|
@@ -10409,7 +10417,7 @@ var topic = strictObject({
|
|
|
10409
10417
|
untrusted
|
|
10410
10418
|
});
|
|
10411
10419
|
|
|
10412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10420
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10413
10421
|
var ENTITIES = {
|
|
10414
10422
|
sync_progress: progress,
|
|
10415
10423
|
deal,
|
|
@@ -10711,7 +10719,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10711
10719
|
return [name, definition];
|
|
10712
10720
|
})), "entityDefinitions");
|
|
10713
10721
|
|
|
10714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10722
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10715
10723
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10716
10724
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10717
10725
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10745,7 +10753,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10745
10753
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10746
10754
|
}, "answerRow");
|
|
10747
10755
|
|
|
10748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10756
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10749
10757
|
import { join as join5 } from "node:path";
|
|
10750
10758
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10751
10759
|
var IMAGE_MODELS = [
|
|
@@ -10799,7 +10807,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10799
10807
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10800
10808
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10801
10809
|
|
|
10802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10810
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10803
10811
|
var STEPS2 = defineSteps([
|
|
10804
10812
|
...STEPS,
|
|
10805
10813
|
{
|
|
@@ -11103,7 +11111,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11103
11111
|
].join(" ");
|
|
11104
11112
|
}, "stepLine");
|
|
11105
11113
|
|
|
11106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11114
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11107
11115
|
var where = [{ field: "ref" }];
|
|
11108
11116
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11109
11117
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11195,7 +11203,7 @@ var STATUS_ROWS = {
|
|
|
11195
11203
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11196
11204
|
};
|
|
11197
11205
|
|
|
11198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11206
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11199
11207
|
var TEXT_CHARS = 400;
|
|
11200
11208
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11201
11209
|
var messageRow = {
|
|
@@ -11329,9 +11337,13 @@ var isListOrRecord = /* @__PURE__ */ __name((value) => typeof value === "object"
|
|
|
11329
11337
|
var firstSet = /* @__PURE__ */ __name((item, field, column) => fieldsOfColumn(field).map((path2) => at(item, path2)).find((value) => printable(value, column)), "firstSet");
|
|
11330
11338
|
var sourceOf = /* @__PURE__ */ __name((item, column) => fieldsOfColumn(column.field).find((path2) => printable(at(item, path2), column)), "sourceOf");
|
|
11331
11339
|
var clean = /* @__PURE__ */ __name((text5) => visibleControls(text5.replace(/\s+/g, " ").trim()), "clean");
|
|
11340
|
+
var BLOCK = /^(⟦untrusted:([0-9a-f]{16}) [^⟦⟧]*⟧)([^⟦⟧]*)(⟦\/untrusted:\2⟧)$/su;
|
|
11332
11341
|
var cut = /* @__PURE__ */ __name((text5, chars) => {
|
|
11333
11342
|
if (chars <= 0)
|
|
11334
11343
|
return text5;
|
|
11344
|
+
const block = BLOCK.exec(text5);
|
|
11345
|
+
if (block)
|
|
11346
|
+
return `${block[1]}${cut(block[3] ?? "", chars)}${block[4]}`;
|
|
11335
11347
|
const letters = Array.from(text5);
|
|
11336
11348
|
return letters.length <= chars ? text5 : `${letters.slice(0, chars).join("")}\u2026(+${letters.length - chars})`;
|
|
11337
11349
|
}, "cut");
|
|
@@ -11563,7 +11575,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11563
11575
|
return lines.concat(footerOf(body)).join("\n");
|
|
11564
11576
|
}, "compactText");
|
|
11565
11577
|
|
|
11566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11578
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11567
11579
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11568
11580
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11569
11581
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11621,7 +11633,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11621
11633
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11622
11634
|
}, "largeAnswerSteps");
|
|
11623
11635
|
|
|
11624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11636
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11625
11637
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11626
11638
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11627
11639
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11635,7 +11647,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11635
11647
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11636
11648
|
}, "strip");
|
|
11637
11649
|
|
|
11638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11650
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11639
11651
|
var OPEN = "\u27E6";
|
|
11640
11652
|
var CLOSE = "\u27E7";
|
|
11641
11653
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11657,19 +11669,35 @@ var idOf = /* @__PURE__ */ __name((value) => {
|
|
|
11657
11669
|
const id6 = value.ref ?? value.id;
|
|
11658
11670
|
return typeof id6 === "string" || typeof id6 === "number" ? String(id6) : void 0;
|
|
11659
11671
|
}, "idOf");
|
|
11672
|
+
var everyStringAt = /* @__PURE__ */ __name((value, mark, source2, id6) => {
|
|
11673
|
+
if (Array.isArray(value))
|
|
11674
|
+
return value.map((one) => everyStringAt(one, mark, source2, id6));
|
|
11675
|
+
if (value === null || typeof value !== "object")
|
|
11676
|
+
return markAt(value, [], mark, source2, id6);
|
|
11677
|
+
const record2 = value;
|
|
11678
|
+
const own = idOf(record2) ?? id6;
|
|
11679
|
+
return Object.fromEntries(Object.entries(record2).map(([key, child]) => [key, everyStringAt(child, mark, source2, own)]));
|
|
11680
|
+
}, "everyStringAt");
|
|
11660
11681
|
var markAt = /* @__PURE__ */ __name((value, path2, mark, source2, id6) => {
|
|
11661
11682
|
if (Array.isArray(value))
|
|
11662
11683
|
return value.map((one) => markAt(one, path2, mark, source2, id6));
|
|
11663
11684
|
if (path2.length === 0)
|
|
11664
11685
|
return typeof value === "string" && !value.startsWith(`${OPEN}untrusted:${mark} `) ? marked(value, mark, source2, id6) : value;
|
|
11686
|
+
if (path2.length === 1 && path2[0] === "*")
|
|
11687
|
+
return everyStringAt(value, mark, source2, id6);
|
|
11665
11688
|
if (value === null || typeof value !== "object")
|
|
11666
11689
|
return value;
|
|
11667
11690
|
const [key = "", ...rest] = path2;
|
|
11668
11691
|
const record2 = value;
|
|
11692
|
+
const own = idOf(record2) ?? id6;
|
|
11693
|
+
if (key === "*")
|
|
11694
|
+
return Object.fromEntries(Object.entries(record2).map(([name, child]) => [name, markAt(child, rest, mark, source2, own)]));
|
|
11669
11695
|
if (!(key in record2))
|
|
11670
11696
|
return value;
|
|
11671
|
-
return { ...record2, [key]: markAt(record2[key], rest, mark, source2,
|
|
11697
|
+
return { ...record2, [key]: markAt(record2[key], rest, mark, source2, own) };
|
|
11672
11698
|
}, "markAt");
|
|
11699
|
+
var withoutRunMarks = /* @__PURE__ */ __name((text5, mark) => text5.replace(new RegExp(`${OPEN}untrusted:${mark}(?: [^${OPEN}${CLOSE}]*)?${CLOSE}|${OPEN}/untrusted:${mark}${CLOSE}`, "gu"), ""), "withoutRunMarks");
|
|
11700
|
+
var API_UNTRUSTED = ["item.*", "items.*"];
|
|
11673
11701
|
var withUntrustedMarked = /* @__PURE__ */ __name((value, mark, id6) => {
|
|
11674
11702
|
if (Array.isArray(value))
|
|
11675
11703
|
return value.map((one) => withUntrustedMarked(one, mark, id6));
|
|
@@ -11708,7 +11736,8 @@ var CHAT_UNTRUSTED = ["title", "description"];
|
|
|
11708
11736
|
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
11709
11737
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
11710
11738
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
11711
|
-
DECLARED.
|
|
11739
|
+
const raw = DECLARED.get(command) === API_UNTRUSTED;
|
|
11740
|
+
DECLARED.set(command, raw ? [.../* @__PURE__ */ new Set([...API_UNTRUSTED, ...fields])] : fields);
|
|
11712
11741
|
return command;
|
|
11713
11742
|
}, "marksUntrusted");
|
|
11714
11743
|
var untrustedFieldsOf = /* @__PURE__ */ __name((command) => DECLARED.get(command), "untrustedFieldsOf");
|
|
@@ -11725,7 +11754,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11725
11754
|
return result;
|
|
11726
11755
|
}, "withFieldsMarked");
|
|
11727
11756
|
|
|
11728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11757
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11729
11758
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11730
11759
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11731
11760
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11960,6 +11989,7 @@ export {
|
|
|
11960
11989
|
sharedContracts,
|
|
11961
11990
|
sharedCommand,
|
|
11962
11991
|
refuseJoinedPath,
|
|
11992
|
+
deadlineMargin,
|
|
11963
11993
|
runBudget,
|
|
11964
11994
|
recorded,
|
|
11965
11995
|
startRecording,
|
|
@@ -12050,6 +12080,7 @@ export {
|
|
|
12050
12080
|
reachesOtherService,
|
|
12051
12081
|
isOtherServiceCall,
|
|
12052
12082
|
ownerOnlyOption,
|
|
12083
|
+
allowDeletionsOption,
|
|
12053
12084
|
judgedEffects,
|
|
12054
12085
|
judgedTargets,
|
|
12055
12086
|
refuseUnderReadOnly,
|
|
@@ -12088,6 +12119,15 @@ export {
|
|
|
12088
12119
|
imageModelsDirectory,
|
|
12089
12120
|
placedImage,
|
|
12090
12121
|
isImageModelInstalled,
|
|
12122
|
+
untrustedMarkOf,
|
|
12123
|
+
runMarkOf,
|
|
12124
|
+
marked,
|
|
12125
|
+
withoutRunMarks,
|
|
12126
|
+
API_UNTRUSTED,
|
|
12127
|
+
withUntrustedMarked,
|
|
12128
|
+
CHAT_UNTRUSTED,
|
|
12129
|
+
CONTACT_UNTRUSTED,
|
|
12130
|
+
marksUntrusted,
|
|
12091
12131
|
answerEntity,
|
|
12092
12132
|
answerEntitySchema,
|
|
12093
12133
|
answerProjectionSchema,
|
|
@@ -12105,12 +12145,6 @@ export {
|
|
|
12105
12145
|
stepLine,
|
|
12106
12146
|
tooLargeSteps,
|
|
12107
12147
|
withoutProviderRefs,
|
|
12108
|
-
runMarkOf,
|
|
12109
|
-
marked,
|
|
12110
|
-
withUntrustedMarked,
|
|
12111
|
-
CHAT_UNTRUSTED,
|
|
12112
|
-
CONTACT_UNTRUSTED,
|
|
12113
|
-
marksUntrusted,
|
|
12114
12148
|
answerSchema,
|
|
12115
12149
|
listOf,
|
|
12116
12150
|
itemOf,
|