@wirecat/mail-cli 0.36.0 → 0.37.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 +35 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-OU4K7TKQ.js +40 -0
- package/dist/bundle/{all-profiles-RS6OV3YO.js → all-profiles-ICGWDPUU.js} +11 -11
- package/dist/bundle/{anthropic-PPQ7DTXN.js → anthropic-TL4WFWGU.js} +5 -5
- package/dist/bundle/{app-server-EBFBMFQC.js → app-server-YAR5EFOO.js} +69 -67
- package/dist/bundle/{bun-J7HAT7MW.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-PCSNAXIQ.js → bun-sqlite-WI3ZPANS.js} +6 -6
- package/dist/bundle/{chunk-U3BO342P.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-JCILSTFK.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-WZFGZBGD.js → chunk-2YO3PLOE.js} +19 -19
- package/dist/bundle/{chunk-KVFBSOCV.js → chunk-3DHJF57U.js} +9 -9
- package/dist/bundle/{chunk-NJZR3OFK.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-4WSTWZUB.js → chunk-3SKTQ2HC.js} +2 -2
- package/dist/bundle/{chunk-3NOXZZJV.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-L4QLZDBZ.js → chunk-3ZOOTTFW.js} +6 -6
- package/dist/bundle/{chunk-2UNZ3L2H.js → chunk-4FTIHADB.js} +6 -6
- package/dist/bundle/{chunk-KTVQIKU5.js → chunk-4IZ6R5FS.js} +19 -15
- package/dist/bundle/{chunk-6NDPOY4N.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-KP7JHJVP.js → chunk-7HRKUKKY.js} +23 -23
- package/dist/bundle/{chunk-42XY6D5C.js → chunk-7PDGZFXD.js} +5 -5
- package/dist/bundle/{chunk-REWV37HQ.js → chunk-7YKWFERX.js} +6 -6
- package/dist/bundle/{chunk-PF7ZNIVP.js → chunk-BNURKCQG.js} +2 -3
- package/dist/bundle/{chunk-ZRSLG3B3.js → chunk-BNVISIHP.js} +6 -6
- package/dist/bundle/{chunk-KLPFPNZP.js → chunk-BQMJYSA4.js} +11 -11
- package/dist/bundle/{chunk-NYYMMIVW.js → chunk-BYITYTRL.js} +16 -3
- package/dist/bundle/{chunk-ZV57PIPE.js → chunk-CICUPYHT.js} +2 -2
- package/dist/bundle/{chunk-CJHO6B3M.js → chunk-CQHLWMKK.js} +33 -28
- package/dist/bundle/{chunk-MRWV5VNQ.js → chunk-CUW7Y2HJ.js} +6 -6
- package/dist/bundle/{chunk-BBQERXQX.js → chunk-DJZIFZOT.js} +3 -3
- package/dist/bundle/{chunk-HPSESLOZ.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-EGR3YUWD.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-GI6DNX7Q.js → chunk-DTR7JO2M.js} +35 -35
- package/dist/bundle/{chunk-5JEKBYIH.js → chunk-ES2FF42M.js} +14 -14
- package/dist/bundle/{chunk-GCTHVCJU.js → chunk-EV72K4IU.js} +4 -4
- package/dist/bundle/{chunk-3BYKGMRM.js → chunk-EZQ5BYNL.js} +6 -6
- package/dist/bundle/{chunk-QI2XGTFH.js → chunk-F2D3J5DR.js} +8 -8
- package/dist/bundle/{chunk-NYR7PIAG.js → chunk-FTT7UDYV.js} +3 -3
- package/dist/bundle/{chunk-GEU3WR75.js → chunk-FXNCKPQ7.js} +3 -3
- package/dist/bundle/{chunk-5TIWO6AR.js → chunk-G4VJN75G.js} +37 -18
- package/dist/bundle/{chunk-CMOO4INK.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-SJNFPBPF.js → chunk-GPUC3FTU.js} +2 -2
- package/dist/bundle/{chunk-XRVZMM5B.js → chunk-GQIMVR7C.js} +164 -36
- package/dist/bundle/{chunk-437UHSIO.js → chunk-HCRUGAIN.js} +190 -62
- package/dist/bundle/{chunk-OEL4DQTT.js → chunk-HES6YMYN.js} +4 -4
- package/dist/bundle/{chunk-LQQIYBHN.js → chunk-HFY7536N.js} +196 -110
- package/dist/bundle/{chunk-2VEFNFYZ.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-RJUVWJTA.js → chunk-IUJDWEGJ.js} +7 -7
- package/dist/bundle/{chunk-PMSZBUC7.js → chunk-IWFWWO37.js} +8 -8
- package/dist/bundle/{chunk-DVJPEZGV.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-3ZKNXKM7.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-645FQC4G.js → chunk-JNP3XGJI.js} +16 -16
- package/dist/bundle/{chunk-2RV4V55B.js → chunk-JZUYZ2XJ.js} +38 -24
- package/dist/bundle/chunk-K4DEQAEW.js +1291 -0
- package/dist/bundle/{chunk-PPIMXOBT.js → chunk-KCM3WSER.js} +6 -6
- package/dist/bundle/{chunk-C3JSQ7UJ.js → chunk-KP5JDYY6.js} +27 -8
- package/dist/bundle/{chunk-SCJVKWMV.js → chunk-KUX54EGR.js} +1981 -802
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-V5I7QP4T.js → chunk-KZD3H5QA.js} +2 -2
- package/dist/bundle/{chunk-RMWS7IQ4.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-ROK7Z5LQ.js → chunk-NAOLBEFX.js} +220 -163
- package/dist/bundle/{chunk-5G4MDFZ2.js → chunk-NB52JKLR.js} +13 -9
- package/dist/bundle/{chunk-NTUP5RCP.js → chunk-NB7EOAUZ.js} +8 -1
- package/dist/bundle/{chunk-5VPLQS4S.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-6UYIWQLU.js → chunk-NQSKI7XK.js} +4 -4
- package/dist/bundle/{chunk-NSH2UHJR.js → chunk-OWPRJLHV.js} +8 -8
- package/dist/bundle/{chunk-U67XMAEE.js → chunk-OZKZT3ZI.js} +10 -3
- package/dist/bundle/{chunk-774VG5WZ.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-HH34WRQE.js → chunk-QLJGYDWG.js} +7 -7
- package/dist/bundle/{chunk-6VMJLOYO.js → chunk-R44KVISE.js} +12 -12
- package/dist/bundle/{chunk-AVR4FPYG.js → chunk-R73VWPNL.js} +8 -8
- package/dist/bundle/{chunk-6LJIENVT.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-PMGAU6AP.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-WNQECDIP.js → chunk-TMJLGR4A.js} +61 -61
- package/dist/bundle/{chunk-VIJV474N.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-CJMZQ2MZ.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-VIDPFLFM.js → chunk-UTS5NMR3.js} +2 -2
- package/dist/bundle/{chunk-TV634B6T.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-WPPPO427.js → chunk-VK24UQSD.js} +4 -4
- package/dist/bundle/{chunk-NCY55XIT.js → chunk-VYCB5EVI.js} +8 -8
- package/dist/bundle/{chunk-IBOWSQ7X.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-6PKMUKUF.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/{chunk-MQ6DQRRI.js → chunk-XWBTD2WP.js} +4 -4
- package/dist/bundle/chunk-XXPJF2VD.js +2 -0
- package/dist/bundle/{chunk-6FZPFNEU.js → chunk-YODGIMMM.js} +9 -9
- package/dist/bundle/{chunk-YPB5BEAD.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-MT3LYU4T.js → chunk-Z4BLNAWI.js} +15062 -11852
- package/dist/bundle/{chunk-Q6TPXXOS.js → chunk-ZSAPOC7B.js} +27 -176
- package/dist/bundle/{chunk-GBZIWCEP.js → chunk-ZTWTEXB2.js} +3 -3
- package/dist/bundle/command-contract-UC6IGCCM.js +39 -0
- package/dist/bundle/{command-server-entry-73RJELAV.js → command-server-entry-RA3ZX2KV.js} +28 -28
- package/dist/bundle/{decode-7BUWBDPT.js → decode-QVKRSRVF.js} +5 -5
- package/dist/bundle/{dispatch-IBOMVWZA.js → dispatch-USKS7J74.js} +8 -8
- package/dist/bundle/{dist-MULVCVSR.js → dist-ITIXJAXK.js} +20 -20
- package/dist/bundle/{echarts-VLWFC322.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-W3VH4HPY.js → embed-2HOODFQT.js} +6 -6
- package/dist/bundle/{embedder-I7ERQZJV.js → embedder-22AJGCZX.js} +9 -9
- package/dist/bundle/{failure-QMAPSQ7X.js → failure-D4FGOIWF.js} +2 -2
- package/dist/bundle/{first-run-LCVER6QN.js → first-run-FU4MFXOA.js} +12 -12
- package/dist/bundle/first-screen-A7SEI2ON.js +40 -0
- package/dist/bundle/{instructions-BNCVLSYQ.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-KC6YGWA7.js +24 -0
- package/dist/bundle/{meeting-model-BWLSTNXA.js → meeting-model-QWGAOQHL.js} +11 -11
- package/dist/bundle/{meeting-semantic-ZIEHXN2R.js → meeting-semantic-7PVO6RNB.js} +6 -6
- package/dist/bundle/{node-RYFTRSG4.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-XCHVNTGQ.js → node-sqlite-JXUELLMP.js} +7 -7
- package/dist/bundle/{oauth-FNUJSKKJ.js → oauth-OYAYWH4K.js} +7 -7
- package/dist/bundle/{open-WVWSJ3WI.js → open-GLEUJGNA.js} +5 -5
- package/dist/bundle/{openai-QOUTYYTF.js → openai-PYTVNB6L.js} +15 -15
- package/dist/bundle/{process-W5KPID53.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-L5UANM3I.js → program-7CFNZ2DF.js} +2001 -2222
- package/dist/bundle/{prompt-JSBAPNJE.js → prompt-CYTILD7N.js} +5 -5
- package/dist/bundle/public-XWMXEGEF.js +196 -0
- package/dist/bundle/{recognize-FDX4SJ6Q.js → recognize-26UNETSQ.js} +4 -4
- package/dist/bundle/{remote-MYOXOQHM.js → remote-PKXBQA5N.js} +9 -9
- package/dist/bundle/{rerank-NY5MSZCR.js → rerank-LLKP7M6Q.js} +7 -7
- package/dist/bundle/{serve-URI6NZA3.js → serve-ZRJEAPJI.js} +9 -9
- package/dist/bundle/{server-HQ25RHQM.js → server-4OQ4G5JY.js} +61 -59
- package/dist/bundle/server-VVRQ4A34.js +86 -0
- package/dist/bundle/{sqlite-runtime-6UUPSSKG.js → sqlite-runtime-667VV4VY.js} +6 -6
- package/dist/bundle/{state-NDDVFPCI.js → state-V3CAAJBE.js} +6 -6
- package/dist/bundle/{store-2RDOICVN.js → store-BJCIMIAH.js} +31 -24
- package/dist/bundle/{store-PKYWPKKR.js → store-GLBBY4OZ.js} +22 -22
- package/dist/bundle/store-maintenance-command-N7L5OVUE.js +73 -0
- package/dist/bundle/surface-26EUQNDT.js +72 -0
- package/dist/commands/import.js +2 -2
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/messages.js +3 -3
- package/dist/commands/messages.js.map +1 -1
- package/dist/commands/read.js +2 -2
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +1 -0
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +2 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/sync.js +1 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/tags.d.ts.map +1 -1
- package/dist/commands/tags.js.map +1 -1
- package/dist/commands/words.js +1 -1
- package/dist/commands/words.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +7 -0
- package/dist/config.js.map +1 -1
- package/dist/mail/imap/account.d.ts.map +1 -1
- package/dist/mail/imap/account.js +2 -1
- package/dist/mail/imap/account.js.map +1 -1
- package/dist/mail/send.d.ts +2 -0
- package/dist/mail/send.d.ts.map +1 -1
- package/dist/mail/send.js +1 -1
- package/dist/mail/send.js.map +1 -1
- package/dist/profile.js +1 -1
- package/dist/profile.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -4
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -1
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/agent-MW7YWUIY.js +0 -39
- package/dist/bundle/chunk-6TT62IUW.js +0 -1264
- package/dist/bundle/command-contract-WFTIRPL5.js +0 -39
- package/dist/bundle/first-screen-DCTHI4NQ.js +0 -39
- package/dist/bundle/meeting-combined-ITU7SZ7E.js +0 -24
- package/dist/bundle/server-UVYFU2JN.js +0 -84
- package/dist/bundle/store-maintenance-command-Y5XTO47X.js +0 -71
- package/dist/bundle/surface-3XKM3MQ2.js +0 -70
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IUJDWEGJ.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
providerErrorKey,
|
|
24
24
|
renderEvent,
|
|
25
25
|
runContextOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IWFWWO37.js";
|
|
27
27
|
import {
|
|
28
28
|
permissionCeiling
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DJZIFZOT.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_RERANK_MODEL,
|
|
32
32
|
RERANK_MODELS
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-CUW7Y2HJ.js";
|
|
34
34
|
import {
|
|
35
35
|
carries
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3YM4B2GT.js";
|
|
37
37
|
import {
|
|
38
38
|
note
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FXNCKPQ7.js";
|
|
40
40
|
import {
|
|
41
41
|
CATEGORIES,
|
|
42
42
|
FACT_STATUSES,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
typedCommand,
|
|
82
82
|
untrusted,
|
|
83
83
|
useAsProcessRun
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-K4DEQAEW.js";
|
|
85
85
|
import {
|
|
86
86
|
BUSINESS_KINDS,
|
|
87
87
|
CRM_ACTIVITY_KINDS,
|
|
@@ -96,14 +96,14 @@ import {
|
|
|
96
96
|
ORDER_STATUSES,
|
|
97
97
|
RELATION_KINDS,
|
|
98
98
|
STANDINGS
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-G4VJN75G.js";
|
|
100
100
|
import {
|
|
101
101
|
isCliFailure,
|
|
102
102
|
storeDamaged
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-JLXXUEAM.js";
|
|
104
104
|
import {
|
|
105
105
|
TAG_TYPES
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-RRTMPSQR.js";
|
|
107
107
|
import {
|
|
108
108
|
FACT_TYPES,
|
|
109
109
|
FIELD_TYPES,
|
|
@@ -131,21 +131,21 @@ import {
|
|
|
131
131
|
parseLucene,
|
|
132
132
|
readsZone,
|
|
133
133
|
timezoneOf
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-TMJLGR4A.js";
|
|
135
135
|
import {
|
|
136
136
|
endpoint
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-7YKWFERX.js";
|
|
138
138
|
import {
|
|
139
139
|
repairConfigText,
|
|
140
140
|
sharedConfigPath
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-QLJGYDWG.js";
|
|
142
142
|
import {
|
|
143
143
|
filesPresent,
|
|
144
144
|
sharedModelsDirectory
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-EV72K4IU.js";
|
|
146
146
|
import {
|
|
147
147
|
storePath
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-UTS5NMR3.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-2YO3PLOE.js";
|
|
158
158
|
import {
|
|
159
159
|
COMPACT_FLAG,
|
|
160
160
|
MAX_NEXT_STEPS,
|
|
@@ -206,17 +206,17 @@ import {
|
|
|
206
206
|
unwrap,
|
|
207
207
|
variant,
|
|
208
208
|
writes
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-KP5JDYY6.js";
|
|
210
210
|
import {
|
|
211
211
|
CliError,
|
|
212
212
|
isCliError,
|
|
213
213
|
visibleControls
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-S6JG4YUH.js";
|
|
215
215
|
import {
|
|
216
216
|
__name
|
|
217
217
|
} from "./chunk-ZVVMGPBJ.js";
|
|
218
218
|
|
|
219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
219
|
+
// 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
|
|
220
220
|
import { readFileSync } from "node:fs";
|
|
221
221
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
222
222
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -270,7 +270,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
270
270
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
271
271
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
272
272
|
|
|
273
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
273
|
+
// 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
|
|
274
274
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
275
275
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
276
276
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3771,7 +3771,7 @@ __name(useColor, "useColor");
|
|
|
3771
3771
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3772
3772
|
var program = new Command();
|
|
3773
3773
|
|
|
3774
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3774
|
+
// 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
|
|
3775
3775
|
var argumentInfoSchema = object({
|
|
3776
3776
|
name: string(),
|
|
3777
3777
|
required: boolean(),
|
|
@@ -3845,7 +3845,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3845
3845
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3846
3846
|
});
|
|
3847
3847
|
|
|
3848
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3848
|
+
// 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
|
|
3849
3849
|
import { isDeepStrictEqual } from "node:util";
|
|
3850
3850
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3851
3851
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3955,7 +3955,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3955
3955
|
return result;
|
|
3956
3956
|
}, "sharedCommand");
|
|
3957
3957
|
|
|
3958
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3958
|
+
// 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
|
|
3959
3959
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3960
3960
|
let command = root;
|
|
3961
3961
|
const path2 = [];
|
|
@@ -3973,7 +3973,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3973
3973
|
}
|
|
3974
3974
|
}, "refuseJoinedPath");
|
|
3975
3975
|
|
|
3976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3976
|
+
// 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
|
|
3977
3977
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3978
3978
|
var requests = new AsyncLocalStorage();
|
|
3979
3979
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3988,7 +3988,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3988
3988
|
return direct;
|
|
3989
3989
|
}, "exitCodeSet");
|
|
3990
3990
|
|
|
3991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3991
|
+
// 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
|
|
3992
3992
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3993
3993
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3994
3994
|
messageId: message2.id,
|
|
@@ -4094,7 +4094,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4094
4094
|
}, "guardedWrite");
|
|
4095
4095
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4096
4096
|
|
|
4097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4097
|
+
// 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
|
|
4098
4098
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4099
4099
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4100
4100
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4277,7 +4277,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4277
4277
|
}
|
|
4278
4278
|
}, "withAbort");
|
|
4279
4279
|
|
|
4280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4280
|
+
// 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
|
|
4281
4281
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4282
4282
|
import { join } from "node:path";
|
|
4283
4283
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4299,7 +4299,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4299
4299
|
}, "profilesWithAccounts");
|
|
4300
4300
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4301
4301
|
|
|
4302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4302
|
+
// 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
|
|
4303
4303
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4304
4304
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4305
4305
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4356,7 +4356,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4356
4356
|
};
|
|
4357
4357
|
}, "runBudget");
|
|
4358
4358
|
|
|
4359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4359
|
+
// 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
|
|
4360
4360
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4361
4361
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4362
4362
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4394,7 +4394,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4394
4394
|
progress: "sync.progress"
|
|
4395
4395
|
};
|
|
4396
4396
|
|
|
4397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4397
|
+
// 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
|
|
4398
4398
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4399
4399
|
const recording = startRecording(options);
|
|
4400
4400
|
try {
|
|
@@ -4609,7 +4609,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4609
4609
|
return void 0;
|
|
4610
4610
|
}, "partialOutcome");
|
|
4611
4611
|
|
|
4612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4612
|
+
// 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
|
|
4613
4613
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4614
4614
|
if (ms2 === void 0)
|
|
4615
4615
|
return body();
|
|
@@ -4635,7 +4635,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
}, "withDeadline");
|
|
4637
4637
|
|
|
4638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4638
|
+
// 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
|
|
4639
4639
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4640
4640
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4641
4641
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4704,10 +4704,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4704
4704
|
return void 0;
|
|
4705
4705
|
}, "sampleCommand");
|
|
4706
4706
|
|
|
4707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4707
|
+
// 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
|
|
4708
4708
|
import { existsSync as existsSync4 } from "node:fs";
|
|
4709
4709
|
|
|
4710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4710
|
+
// 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
|
|
4711
4711
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4712
4712
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4713
4713
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4776,7 +4776,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4776
4776
|
};
|
|
4777
4777
|
}, "modelTarget");
|
|
4778
4778
|
|
|
4779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4779
|
+
// 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
|
|
4780
4780
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4781
4781
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4782
4782
|
var AI_FIELDS = {
|
|
@@ -4820,7 +4820,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4820
4820
|
};
|
|
4821
4821
|
}, "resolveAISettings");
|
|
4822
4822
|
|
|
4823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4823
|
+
// 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
|
|
4824
4824
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4825
4825
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4826
4826
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4834,7 +4834,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4834
4834
|
return ms2;
|
|
4835
4835
|
}, "parseDuration");
|
|
4836
4836
|
|
|
4837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4837
|
+
// 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
|
|
4838
4838
|
var HISTORY_MAX_DAYS = 1095;
|
|
4839
4839
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
4840
4840
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -4881,7 +4881,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
4881
4881
|
return { batch: { ...batch, messages }, skipped };
|
|
4882
4882
|
}, "limitBatch");
|
|
4883
4883
|
|
|
4884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4884
|
+
// 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
|
|
4885
4885
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
4886
4886
|
import { join as join2 } from "node:path";
|
|
4887
4887
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -4970,7 +4970,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
4970
4970
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
4971
4971
|
}, "registryProfiles");
|
|
4972
4972
|
|
|
4973
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4973
|
+
// 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
|
|
4974
4974
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
4975
4975
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
4976
4976
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5173,7 +5173,10 @@ var scopes = /* @__PURE__ */ __name((raw) => {
|
|
|
5173
5173
|
return out;
|
|
5174
5174
|
}, "scopes");
|
|
5175
5175
|
var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
|
|
5176
|
-
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2) => saved.filter(({ key }) => !known.has(key)).map(({ at: at2 }) => locate("unknown_permission", at2, context2, (key) =>
|
|
5176
|
+
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2, renamed = /* @__PURE__ */ new Map()) => saved.filter(({ key }) => !known.has(key)).map(({ key: name, at: at2 }) => locate("unknown_permission", at2, context2, (key) => {
|
|
5177
|
+
const now = renamed.get(name);
|
|
5178
|
+
return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
|
|
5179
|
+
})), "permissionIssues");
|
|
5177
5180
|
var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
|
|
5178
5181
|
var prune = /* @__PURE__ */ __name((raw, paths) => {
|
|
5179
5182
|
const drop = new Set(paths.map(pathId));
|
|
@@ -5265,7 +5268,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5265
5268
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5266
5269
|
}, "readConfigFile");
|
|
5267
5270
|
|
|
5268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5271
|
+
// 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
|
|
5269
5272
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5270
5273
|
import { dirname, join as join3 } from "node:path";
|
|
5271
5274
|
var DEFAULT_CONFIG = {
|
|
@@ -5294,7 +5297,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5294
5297
|
}
|
|
5295
5298
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5296
5299
|
|
|
5297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5300
|
+
// 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
|
|
5298
5301
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5299
5302
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5300
5303
|
const path2 = key.split(".");
|
|
@@ -5316,7 +5319,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5316
5319
|
return { config, added };
|
|
5317
5320
|
}, "withSettingDefaults");
|
|
5318
5321
|
|
|
5319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5322
|
+
// 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
|
|
5320
5323
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5321
5324
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5322
5325
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5844,7 +5847,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5844
5847
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5845
5848
|
}, "given");
|
|
5846
5849
|
|
|
5847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5850
|
+
// 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
|
|
5848
5851
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
5849
5852
|
const { deadline, signal, app } = environmentOf(command);
|
|
5850
5853
|
const now = deadline?.();
|
|
@@ -5998,7 +6001,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
5998
6001
|
return words.join(" ");
|
|
5999
6002
|
}, "commandPath");
|
|
6000
6003
|
|
|
6001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6004
|
+
// 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
|
|
6002
6005
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6003
6006
|
var FETCH = { remote: "read", local: "write" };
|
|
6004
6007
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6143,7 +6146,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6143
6146
|
throw readOnlyRefusal(lock, what);
|
|
6144
6147
|
}, "refuseUnderReadOnly");
|
|
6145
6148
|
|
|
6146
|
-
// 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
|
|
6147
6150
|
var account = strictObject({
|
|
6148
6151
|
provider: text,
|
|
6149
6152
|
id,
|
|
@@ -6153,7 +6156,7 @@ var account = strictObject({
|
|
|
6153
6156
|
scope: optional(picklist(["personal", "work"]))
|
|
6154
6157
|
});
|
|
6155
6158
|
|
|
6156
|
-
// 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
|
|
6157
6160
|
var accountSession = strictObject({
|
|
6158
6161
|
current: boolean(),
|
|
6159
6162
|
client: nullable(text),
|
|
@@ -6163,7 +6166,7 @@ var accountSession = strictObject({
|
|
|
6163
6166
|
created_at: optional(nullable(time))
|
|
6164
6167
|
});
|
|
6165
6168
|
|
|
6166
|
-
// 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
|
|
6167
6170
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6168
6171
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6169
6172
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6192,7 +6195,7 @@ var accountRemoval = strictObject({
|
|
|
6192
6195
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6193
6196
|
});
|
|
6194
6197
|
|
|
6195
|
-
// 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
|
|
6196
6199
|
var accountProfile = strictObject({
|
|
6197
6200
|
profile: id,
|
|
6198
6201
|
current: boolean(),
|
|
@@ -6204,7 +6207,7 @@ var accountProfile = strictObject({
|
|
|
6204
6207
|
bot: optional(literal(true))
|
|
6205
6208
|
});
|
|
6206
6209
|
|
|
6207
|
-
// 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
|
|
6208
6211
|
var milliseconds = pipe(number(), minValue(0));
|
|
6209
6212
|
var counterReading = strictObject({
|
|
6210
6213
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6216,7 +6219,7 @@ var counterReading = strictObject({
|
|
|
6216
6219
|
});
|
|
6217
6220
|
var selection = record(string(), unknown());
|
|
6218
6221
|
|
|
6219
|
-
// 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
|
|
6220
6223
|
var adminRow = strictObject({
|
|
6221
6224
|
ref: reference,
|
|
6222
6225
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6269,7 +6272,7 @@ var adminReport = strictObject({
|
|
|
6269
6272
|
rows: array(adminRow)
|
|
6270
6273
|
});
|
|
6271
6274
|
|
|
6272
|
-
// 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
|
|
6273
6276
|
var closeSuggestion = strictObject({
|
|
6274
6277
|
as: picklist(["done", "dismissed"]),
|
|
6275
6278
|
/** The agent's name. */
|
|
@@ -6331,7 +6334,7 @@ var task = strictObject({
|
|
|
6331
6334
|
updated_at: optional(time)
|
|
6332
6335
|
});
|
|
6333
6336
|
|
|
6334
|
-
// 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
|
|
6335
6338
|
var agendaChat = strictObject({
|
|
6336
6339
|
chat: reference,
|
|
6337
6340
|
title: nullable(text),
|
|
@@ -6401,11 +6404,11 @@ var agenda = strictObject({
|
|
|
6401
6404
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6402
6405
|
});
|
|
6403
6406
|
|
|
6404
|
-
// 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
|
|
6405
6408
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6406
6409
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6407
6410
|
|
|
6408
|
-
// 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
|
|
6409
6412
|
var attachment = strictObject({
|
|
6410
6413
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6411
6414
|
message: optional(reference),
|
|
@@ -6450,7 +6453,7 @@ var hitFile = strictObject({
|
|
|
6450
6453
|
local_path: optional(text)
|
|
6451
6454
|
});
|
|
6452
6455
|
|
|
6453
|
-
// 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
|
|
6454
6457
|
var actionableError = objectWithRest({
|
|
6455
6458
|
code: text,
|
|
6456
6459
|
message: text,
|
|
@@ -6467,7 +6470,7 @@ var batchResult = strictObject({
|
|
|
6467
6470
|
max_error_percent: count
|
|
6468
6471
|
});
|
|
6469
6472
|
|
|
6470
|
-
// 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
|
|
6471
6474
|
var extractionItem = strictObject({
|
|
6472
6475
|
ref: reference,
|
|
6473
6476
|
attachment: count,
|
|
@@ -6500,7 +6503,7 @@ var extractionReport = strictObject({
|
|
|
6500
6503
|
cursor: optional(text)
|
|
6501
6504
|
});
|
|
6502
6505
|
|
|
6503
|
-
// 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
|
|
6504
6507
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6505
6508
|
var attachmentBytes = strictObject({
|
|
6506
6509
|
ref: reference,
|
|
@@ -6531,7 +6534,7 @@ var attachmentTextChange = strictObject({
|
|
|
6531
6534
|
text: optional(text)
|
|
6532
6535
|
});
|
|
6533
6536
|
|
|
6534
|
-
// 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
|
|
6535
6538
|
var WEIGHTS = {
|
|
6536
6539
|
bot: 3,
|
|
6537
6540
|
scam: 3,
|
|
@@ -6556,7 +6559,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6556
6559
|
var DIGITS = /\d{5,}/;
|
|
6557
6560
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6558
6561
|
|
|
6559
|
-
// 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
|
|
6560
6563
|
var linkedIdentity = strictObject({
|
|
6561
6564
|
provider: text,
|
|
6562
6565
|
id,
|
|
@@ -6611,7 +6614,7 @@ var contactCheck = strictObject({
|
|
|
6611
6614
|
checked_at: time
|
|
6612
6615
|
});
|
|
6613
6616
|
|
|
6614
|
-
// 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
|
|
6615
6618
|
var member = strictObject({
|
|
6616
6619
|
id,
|
|
6617
6620
|
name: nullable(text),
|
|
@@ -6634,7 +6637,7 @@ var member = strictObject({
|
|
|
6634
6637
|
check: optional(record(string(), unknown()))
|
|
6635
6638
|
});
|
|
6636
6639
|
|
|
6637
|
-
// 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
|
|
6638
6641
|
var setting = optional(nullable(boolean()));
|
|
6639
6642
|
var chat = strictObject({
|
|
6640
6643
|
ref: reference,
|
|
@@ -6675,7 +6678,7 @@ var chat = strictObject({
|
|
|
6675
6678
|
members: optional(array(member))
|
|
6676
6679
|
});
|
|
6677
6680
|
|
|
6678
|
-
// 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
|
|
6679
6682
|
var quoted = strictObject({
|
|
6680
6683
|
id,
|
|
6681
6684
|
sender_id: nullable(id),
|
|
@@ -6796,7 +6799,7 @@ var message = strictObject({
|
|
|
6796
6799
|
provider_metadata: providerMetadata
|
|
6797
6800
|
});
|
|
6798
6801
|
|
|
6799
|
-
// 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
|
|
6800
6803
|
var recordedMeeting = strictObject({
|
|
6801
6804
|
ref: reference,
|
|
6802
6805
|
meeting_id: count,
|
|
@@ -6813,7 +6816,7 @@ var recordedMeeting = strictObject({
|
|
|
6813
6816
|
call: optional(meetingCall)
|
|
6814
6817
|
});
|
|
6815
6818
|
|
|
6816
|
-
// 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
|
|
6817
6820
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
6818
6821
|
var contextMessage = strictObject({
|
|
6819
6822
|
locator: reference,
|
|
@@ -7019,7 +7022,7 @@ var contactPreparation = strictObject({
|
|
|
7019
7022
|
})
|
|
7020
7023
|
});
|
|
7021
7024
|
|
|
7022
|
-
// 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
|
|
7023
7026
|
var nullableText = nullable(text);
|
|
7024
7027
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7025
7028
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7175,7 +7178,7 @@ var stage = strictObject({
|
|
|
7175
7178
|
untrusted
|
|
7176
7179
|
});
|
|
7177
7180
|
|
|
7178
|
-
// 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
|
|
7179
7182
|
var nullableText2 = nullable(text);
|
|
7180
7183
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7181
7184
|
var standing = picklist(STANDINGS);
|
|
@@ -7354,7 +7357,7 @@ var dealBrief = strictObject({
|
|
|
7354
7357
|
not_read: coverage2.entries.not_read
|
|
7355
7358
|
});
|
|
7356
7359
|
|
|
7357
|
-
// 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
|
|
7358
7361
|
var chart = strictObject({
|
|
7359
7362
|
version: literal(1),
|
|
7360
7363
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7369,7 +7372,7 @@ var chart = strictObject({
|
|
|
7369
7372
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7370
7373
|
});
|
|
7371
7374
|
|
|
7372
|
-
// 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
|
|
7373
7376
|
var named = strictObject({
|
|
7374
7377
|
id,
|
|
7375
7378
|
title: nullable(text),
|
|
@@ -7392,7 +7395,7 @@ var folder = strictObject({
|
|
|
7392
7395
|
excluded_chats: optional(array(named))
|
|
7393
7396
|
});
|
|
7394
7397
|
|
|
7395
|
-
// 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
|
|
7396
7399
|
var inviteLink = strictObject({
|
|
7397
7400
|
link: text,
|
|
7398
7401
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7408,7 +7411,7 @@ var inviteLink = strictObject({
|
|
|
7408
7411
|
joined_count: optional(count)
|
|
7409
7412
|
});
|
|
7410
7413
|
|
|
7411
|
-
// 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
|
|
7412
7415
|
var operated = { operation_id: id, chat_id: id };
|
|
7413
7416
|
var group = strictObject({
|
|
7414
7417
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7488,7 +7491,7 @@ var chatFolderOrder = strictObject({
|
|
|
7488
7491
|
folders: array(strictObject({ id, title: text }))
|
|
7489
7492
|
});
|
|
7490
7493
|
|
|
7491
|
-
// 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
|
|
7492
7495
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7493
7496
|
var chatRemoval = strictObject(operated2);
|
|
7494
7497
|
var chatMuting = strictObject({
|
|
@@ -7499,7 +7502,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7499
7502
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7500
7503
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7501
7504
|
|
|
7502
|
-
// 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
|
|
7503
7506
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7504
7507
|
var chatEvent = strictObject({
|
|
7505
7508
|
chat_id: id,
|
|
@@ -7516,7 +7519,7 @@ var chatEvent = strictObject({
|
|
|
7516
7519
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7517
7520
|
});
|
|
7518
7521
|
|
|
7519
|
-
// 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
|
|
7520
7523
|
var chatMetadata = strictObject({
|
|
7521
7524
|
chat_id: id,
|
|
7522
7525
|
title: nullable(text),
|
|
@@ -7531,7 +7534,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7531
7534
|
has_more: boolean()
|
|
7532
7535
|
});
|
|
7533
7536
|
|
|
7534
|
-
// 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
|
|
7535
7538
|
var action = picklist(["report", "delete", "remove"]);
|
|
7536
7539
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7537
7540
|
var chatRules = strictObject({
|
|
@@ -7568,7 +7571,7 @@ var chatModeration = strictObject({
|
|
|
7568
7571
|
}))
|
|
7569
7572
|
});
|
|
7570
7573
|
|
|
7571
|
-
// 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
|
|
7572
7575
|
var chatSending = strictObject({
|
|
7573
7576
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
7574
7577
|
meaning: text,
|
|
@@ -7578,7 +7581,7 @@ var chatSending = strictObject({
|
|
|
7578
7581
|
changed: optional(boolean())
|
|
7579
7582
|
});
|
|
7580
7583
|
|
|
7581
|
-
// 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
|
|
7582
7585
|
var optionalCount = optional(count);
|
|
7583
7586
|
var minutes = nullable(number());
|
|
7584
7587
|
var chatStats = strictObject({
|
|
@@ -7654,7 +7657,7 @@ var taskStats = strictObject({
|
|
|
7654
7657
|
}))
|
|
7655
7658
|
});
|
|
7656
7659
|
|
|
7657
|
-
// 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
|
|
7658
7661
|
var memberCount = strictObject({
|
|
7659
7662
|
day: pipe(text, isoDate()),
|
|
7660
7663
|
participants: nullable(count),
|
|
@@ -7677,7 +7680,7 @@ var chatTracking = strictObject({
|
|
|
7677
7680
|
tracked: boolean()
|
|
7678
7681
|
});
|
|
7679
7682
|
|
|
7680
|
-
// 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
|
|
7681
7684
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7682
7685
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7683
7686
|
var profileFields = {
|
|
@@ -7715,7 +7718,7 @@ var profileFields = {
|
|
|
7715
7718
|
}))
|
|
7716
7719
|
};
|
|
7717
7720
|
|
|
7718
|
-
// 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
|
|
7719
7722
|
var contact = strictObject({
|
|
7720
7723
|
ref: reference,
|
|
7721
7724
|
id,
|
|
@@ -7746,7 +7749,7 @@ var contact = strictObject({
|
|
|
7746
7749
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7747
7750
|
});
|
|
7748
7751
|
|
|
7749
|
-
// 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
|
|
7750
7753
|
var contactNote = strictObject({
|
|
7751
7754
|
id,
|
|
7752
7755
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7758,13 +7761,13 @@ var contactNote = strictObject({
|
|
|
7758
7761
|
updated_at: time
|
|
7759
7762
|
});
|
|
7760
7763
|
|
|
7761
|
-
// 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
|
|
7762
7765
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7763
7766
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7764
7767
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7765
7768
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7766
7769
|
|
|
7767
|
-
// 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
|
|
7768
7771
|
var conversation = strictObject({
|
|
7769
7772
|
id,
|
|
7770
7773
|
chat: reference,
|
|
@@ -7779,7 +7782,7 @@ var conversation = strictObject({
|
|
|
7779
7782
|
rules_version: count
|
|
7780
7783
|
});
|
|
7781
7784
|
|
|
7782
|
-
// 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
|
|
7783
7786
|
var conversationBuild = strictObject({
|
|
7784
7787
|
chat: id,
|
|
7785
7788
|
messages: count,
|
|
@@ -7804,7 +7807,7 @@ var catchUpPreparation = strictObject({
|
|
|
7804
7807
|
prepared: optional(conversationPreparation)
|
|
7805
7808
|
});
|
|
7806
7809
|
|
|
7807
|
-
// 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
|
|
7808
7811
|
var conversationDetails = union([
|
|
7809
7812
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7810
7813
|
message
|
|
@@ -7891,10 +7894,15 @@ var conversationHit = strictObject({
|
|
|
7891
7894
|
score: nullable(number()),
|
|
7892
7895
|
matched_in: optional(literal("context")),
|
|
7893
7896
|
by: array(picklist(["meaning", "words"])),
|
|
7894
|
-
stale: boolean()
|
|
7897
|
+
stale: boolean(),
|
|
7898
|
+
/** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
|
|
7899
|
+
lines: optional(array(text)),
|
|
7900
|
+
/** In the block of the owner's own conversations, which the hits before it left out. */
|
|
7901
|
+
from_owner: optional(literal(true)),
|
|
7902
|
+
untrusted
|
|
7895
7903
|
});
|
|
7896
7904
|
|
|
7897
|
-
// 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
|
|
7898
7906
|
var counters = strictObject({
|
|
7899
7907
|
cutoff: time,
|
|
7900
7908
|
max_age_ms: milliseconds,
|
|
@@ -7924,7 +7932,7 @@ var counterRefresh = strictObject({
|
|
|
7924
7932
|
complete: optional(boolean())
|
|
7925
7933
|
});
|
|
7926
7934
|
|
|
7927
|
-
// 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
|
|
7928
7936
|
var document = strictObject({
|
|
7929
7937
|
ref: reference,
|
|
7930
7938
|
id,
|
|
@@ -7939,7 +7947,7 @@ var document = strictObject({
|
|
|
7939
7947
|
owners: optional(array(text))
|
|
7940
7948
|
});
|
|
7941
7949
|
|
|
7942
|
-
// 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
|
|
7943
7951
|
var documentLink = strictObject({
|
|
7944
7952
|
ref: reference,
|
|
7945
7953
|
url: text,
|
|
@@ -7950,7 +7958,7 @@ var documentLink = strictObject({
|
|
|
7950
7958
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7951
7959
|
});
|
|
7952
7960
|
|
|
7953
|
-
// 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
|
|
7954
7962
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7955
7963
|
var contribution = strictObject({
|
|
7956
7964
|
message: evidenceMessage,
|
|
@@ -7980,7 +7988,7 @@ var retentionStay = strictObject({
|
|
|
7980
7988
|
});
|
|
7981
7989
|
var evidence = union([contribution, retentionStay]);
|
|
7982
7990
|
|
|
7983
|
-
// 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
|
|
7984
7992
|
var fact = strictObject({
|
|
7985
7993
|
ref: reference,
|
|
7986
7994
|
id,
|
|
@@ -8011,7 +8019,7 @@ var fact = strictObject({
|
|
|
8011
8019
|
updated_at: time
|
|
8012
8020
|
});
|
|
8013
8021
|
|
|
8014
|
-
// 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
|
|
8015
8023
|
var hit = strictObject({
|
|
8016
8024
|
kind: picklist([
|
|
8017
8025
|
"message",
|
|
@@ -8023,6 +8031,9 @@ var hit = strictObject({
|
|
|
8023
8031
|
"deal",
|
|
8024
8032
|
"lead",
|
|
8025
8033
|
"crm_file",
|
|
8034
|
+
"issue",
|
|
8035
|
+
"project",
|
|
8036
|
+
"issue_comment",
|
|
8026
8037
|
...BUSINESS_KINDS
|
|
8027
8038
|
]),
|
|
8028
8039
|
ref: reference,
|
|
@@ -8030,6 +8041,8 @@ var hit = strictObject({
|
|
|
8030
8041
|
url: optional(text),
|
|
8031
8042
|
/** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
|
|
8032
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)),
|
|
8033
8046
|
/** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
|
|
8034
8047
|
title: nullable(text),
|
|
8035
8048
|
/** Null for a meeting whose start is unknown. */
|
|
@@ -8070,7 +8083,7 @@ var hit = strictObject({
|
|
|
8070
8083
|
untrusted
|
|
8071
8084
|
});
|
|
8072
8085
|
|
|
8073
|
-
// 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
|
|
8074
8087
|
var identity = strictObject({
|
|
8075
8088
|
ref: reference,
|
|
8076
8089
|
provider: text,
|
|
@@ -8086,7 +8099,7 @@ var identity = strictObject({
|
|
|
8086
8099
|
person: optional(nullable(reference))
|
|
8087
8100
|
});
|
|
8088
8101
|
|
|
8089
|
-
// 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
|
|
8090
8103
|
var imageEmbedding = strictObject({
|
|
8091
8104
|
model: text,
|
|
8092
8105
|
embedded: count,
|
|
@@ -8095,13 +8108,13 @@ var imageEmbedding = strictObject({
|
|
|
8095
8108
|
more: boolean()
|
|
8096
8109
|
});
|
|
8097
8110
|
|
|
8098
|
-
// 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
|
|
8099
8112
|
import { spawn } from "node:child_process";
|
|
8100
8113
|
import { randomBytes } from "node:crypto";
|
|
8101
8114
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8102
8115
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8103
8116
|
|
|
8104
|
-
// 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
|
|
8105
8118
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8106
8119
|
const total = input.total ?? null;
|
|
8107
8120
|
const updated = input.updatedAt ?? null;
|
|
@@ -8117,7 +8130,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8117
8130
|
};
|
|
8118
8131
|
}, "progressOf");
|
|
8119
8132
|
|
|
8120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8133
|
+
// 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
|
|
8121
8134
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8122
8135
|
const run = currentRun();
|
|
8123
8136
|
const trace = traceId ?? run.traceId;
|
|
@@ -8131,7 +8144,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8131
8144
|
}));
|
|
8132
8145
|
}, "recordLogFor");
|
|
8133
8146
|
|
|
8134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8147
|
+
// 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
|
|
8135
8148
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8136
8149
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8137
8150
|
const out = openSync(log, "a", 384);
|
|
@@ -8286,7 +8299,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8286
8299
|
return { job: id6, pid, chat: input.chat, log };
|
|
8287
8300
|
}, "startArchiveJob");
|
|
8288
8301
|
|
|
8289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8302
|
+
// 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
|
|
8290
8303
|
var problem = strictObject({ code: text, message: text });
|
|
8291
8304
|
var job = strictObject({
|
|
8292
8305
|
id,
|
|
@@ -8309,7 +8322,7 @@ var job = strictObject({
|
|
|
8309
8322
|
error: optional(problem)
|
|
8310
8323
|
});
|
|
8311
8324
|
|
|
8312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8325
|
+
// 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
|
|
8313
8326
|
var joinRequest = strictObject({
|
|
8314
8327
|
person_id: id,
|
|
8315
8328
|
name: nullable(text),
|
|
@@ -8320,7 +8333,7 @@ var joinRequest = strictObject({
|
|
|
8320
8333
|
about: optional(text)
|
|
8321
8334
|
});
|
|
8322
8335
|
|
|
8323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8336
|
+
// 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
|
|
8324
8337
|
var botProfile = strictObject({
|
|
8325
8338
|
name: text,
|
|
8326
8339
|
token: text,
|
|
@@ -8444,7 +8457,7 @@ var stickerInventory = strictObject({
|
|
|
8444
8457
|
url: optional(nullable(text))
|
|
8445
8458
|
});
|
|
8446
8459
|
|
|
8447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8460
|
+
// 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
|
|
8448
8461
|
var pollVote = strictObject({
|
|
8449
8462
|
person_id: id,
|
|
8450
8463
|
name: nullable(text),
|
|
@@ -8454,7 +8467,7 @@ var pollVote = strictObject({
|
|
|
8454
8467
|
voted_at: time
|
|
8455
8468
|
});
|
|
8456
8469
|
|
|
8457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8470
|
+
// 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
|
|
8458
8471
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8459
8472
|
var observation = strictObject({
|
|
8460
8473
|
value: pipe(number(), minValue(0)),
|
|
@@ -8496,7 +8509,7 @@ var serveSummary = strictObject({
|
|
|
8496
8509
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8497
8510
|
});
|
|
8498
8511
|
|
|
8499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8512
|
+
// 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
|
|
8500
8513
|
var mailCounts = strictObject({
|
|
8501
8514
|
by: picklist(["day", "week", "sender"]),
|
|
8502
8515
|
received: count,
|
|
@@ -8511,7 +8524,7 @@ var mailCounts = strictObject({
|
|
|
8511
8524
|
}))
|
|
8512
8525
|
});
|
|
8513
8526
|
|
|
8514
|
-
// 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-findings.js
|
|
8515
8528
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8516
8529
|
var base = { id, evidence: array(evidence2) };
|
|
8517
8530
|
var finding = variant("kind", [
|
|
@@ -8655,7 +8668,7 @@ var mailFindings = strictObject({
|
|
|
8655
8668
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8656
8669
|
});
|
|
8657
8670
|
|
|
8658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8671
|
+
// 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
|
|
8659
8672
|
var mediaArchive = strictObject({
|
|
8660
8673
|
directory: text,
|
|
8661
8674
|
chats: count,
|
|
@@ -8687,7 +8700,7 @@ var mediaArchiveTimer = union([
|
|
|
8687
8700
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8688
8701
|
]);
|
|
8689
8702
|
|
|
8690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8703
|
+
// 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
|
|
8691
8704
|
var preparationId = pipe(string(), minLength(1));
|
|
8692
8705
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8693
8706
|
var preparationTime = nullable(isoTime);
|
|
@@ -8779,7 +8792,7 @@ var preparationMeeting = strictObject({
|
|
|
8779
8792
|
updated_at: isoTime
|
|
8780
8793
|
});
|
|
8781
8794
|
|
|
8782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8795
|
+
// 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
|
|
8783
8796
|
var meetingEvidence = preparationEvidence;
|
|
8784
8797
|
var meetingPersonContext = strictObject({
|
|
8785
8798
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8801,7 +8814,7 @@ var meetingPersonContext = strictObject({
|
|
|
8801
8814
|
})
|
|
8802
8815
|
});
|
|
8803
8816
|
|
|
8804
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8817
|
+
// 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
|
|
8805
8818
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8806
8819
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8807
8820
|
var finding2 = variant("kind", [
|
|
@@ -8839,7 +8852,7 @@ var meetingFindings = strictObject({
|
|
|
8839
8852
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8840
8853
|
});
|
|
8841
8854
|
|
|
8842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8855
|
+
// 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
|
|
8843
8856
|
var communicationCoverage = strictObject({
|
|
8844
8857
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8845
8858
|
query: string(),
|
|
@@ -8884,7 +8897,7 @@ var preparationCommunications = strictObject({
|
|
|
8884
8897
|
}))
|
|
8885
8898
|
});
|
|
8886
8899
|
|
|
8887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8900
|
+
// 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
|
|
8888
8901
|
var meetingPreparation = strictObject({
|
|
8889
8902
|
communications: optional(preparationCommunications),
|
|
8890
8903
|
schema_version: literal(1),
|
|
@@ -8997,7 +9010,7 @@ var meetingPreparation = strictObject({
|
|
|
8997
9010
|
})
|
|
8998
9011
|
});
|
|
8999
9012
|
|
|
9000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9013
|
+
// 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
|
|
9001
9014
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9002
9015
|
var id3 = pipe(string(), minLength(1));
|
|
9003
9016
|
var text3 = string();
|
|
@@ -9061,7 +9074,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9061
9074
|
})
|
|
9062
9075
|
});
|
|
9063
9076
|
|
|
9064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9077
|
+
// 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
|
|
9065
9078
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9066
9079
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9067
9080
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9091,7 +9104,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9091
9104
|
})
|
|
9092
9105
|
});
|
|
9093
9106
|
|
|
9094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9107
|
+
// 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
|
|
9095
9108
|
var text4 = string();
|
|
9096
9109
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9097
9110
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9108,7 +9121,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9108
9121
|
persistence: literal("proposal-only")
|
|
9109
9122
|
});
|
|
9110
9123
|
|
|
9111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9124
|
+
// 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
|
|
9112
9125
|
var memory = strictObject({
|
|
9113
9126
|
ref: reference,
|
|
9114
9127
|
id,
|
|
@@ -9136,7 +9149,7 @@ var memory = strictObject({
|
|
|
9136
9149
|
updated_at: time
|
|
9137
9150
|
});
|
|
9138
9151
|
|
|
9139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9152
|
+
// 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
|
|
9140
9153
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9141
9154
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9142
9155
|
var mention = strictObject({
|
|
@@ -9180,7 +9193,7 @@ var mentionRebuild = strictObject({
|
|
|
9180
9193
|
mentions: count
|
|
9181
9194
|
});
|
|
9182
9195
|
|
|
9183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9196
|
+
// 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
|
|
9184
9197
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9185
9198
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9186
9199
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9189,7 +9202,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9189
9202
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9190
9203
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9191
9204
|
|
|
9192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9205
|
+
// 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
|
|
9193
9206
|
var messageTranscript = strictObject({
|
|
9194
9207
|
message_id: id,
|
|
9195
9208
|
text,
|
|
@@ -9247,7 +9260,7 @@ var evidencePacket = strictObject({
|
|
|
9247
9260
|
}))
|
|
9248
9261
|
});
|
|
9249
9262
|
|
|
9250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9263
|
+
// 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
|
|
9251
9264
|
var messageThread = strictObject({
|
|
9252
9265
|
ref: reference,
|
|
9253
9266
|
chat: id,
|
|
@@ -9264,7 +9277,7 @@ var messageThread = strictObject({
|
|
|
9264
9277
|
});
|
|
9265
9278
|
var messageContext = union([message, messageThread]);
|
|
9266
9279
|
|
|
9267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9280
|
+
// 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
|
|
9268
9281
|
var messageCounts = strictObject({
|
|
9269
9282
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9270
9283
|
total: count,
|
|
@@ -9277,7 +9290,7 @@ var messageCounts = strictObject({
|
|
|
9277
9290
|
}))
|
|
9278
9291
|
});
|
|
9279
9292
|
|
|
9280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9293
|
+
// 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
|
|
9281
9294
|
var messageLink = strictObject({
|
|
9282
9295
|
ref: reference,
|
|
9283
9296
|
url: nullable(text),
|
|
@@ -9294,7 +9307,7 @@ var messageLink = strictObject({
|
|
|
9294
9307
|
})))
|
|
9295
9308
|
});
|
|
9296
9309
|
|
|
9297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9310
|
+
// 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
|
|
9298
9311
|
var savedMessageFile = strictObject({
|
|
9299
9312
|
kind: text,
|
|
9300
9313
|
path: text,
|
|
@@ -9381,7 +9394,7 @@ var messageSyncAll = strictObject({
|
|
|
9381
9394
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9382
9395
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9383
9396
|
|
|
9384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9397
|
+
// 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
|
|
9385
9398
|
var messageWrite = strictObject({
|
|
9386
9399
|
operation_id: id,
|
|
9387
9400
|
message,
|
|
@@ -9396,7 +9409,7 @@ var draftWrite = strictObject({
|
|
|
9396
9409
|
});
|
|
9397
9410
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9398
9411
|
|
|
9399
|
-
// 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/model.js
|
|
9400
9413
|
var model2 = strictObject({
|
|
9401
9414
|
id,
|
|
9402
9415
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9431,7 +9444,7 @@ var chosenModel = strictObject({
|
|
|
9431
9444
|
estimate_seconds: nullable(count)
|
|
9432
9445
|
});
|
|
9433
9446
|
|
|
9434
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9447
|
+
// 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
|
|
9435
9448
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9436
9449
|
var modelKey = strictObject({
|
|
9437
9450
|
provider: text,
|
|
@@ -9441,7 +9454,7 @@ var modelKey = strictObject({
|
|
|
9441
9454
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9442
9455
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9443
9456
|
|
|
9444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9457
|
+
// 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
|
|
9445
9458
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9446
9459
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9447
9460
|
var graph = strictObject({
|
|
@@ -9475,14 +9488,14 @@ var officialStats = strictObject({
|
|
|
9475
9488
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9476
9489
|
});
|
|
9477
9490
|
|
|
9478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9491
|
+
// 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
|
|
9479
9492
|
var person2 = strictObject({
|
|
9480
9493
|
ref: reference,
|
|
9481
9494
|
name: nullable(text),
|
|
9482
9495
|
identities: optional(array(identity))
|
|
9483
9496
|
});
|
|
9484
9497
|
|
|
9485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9498
|
+
// 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
|
|
9486
9499
|
var poll = strictObject({
|
|
9487
9500
|
chat_id: id,
|
|
9488
9501
|
message_id: id,
|
|
@@ -9498,11 +9511,11 @@ var poll = strictObject({
|
|
|
9498
9511
|
});
|
|
9499
9512
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9500
9513
|
|
|
9501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9514
|
+
// 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
|
|
9502
9515
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9503
9516
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9504
9517
|
|
|
9505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9518
|
+
// 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
|
|
9506
9519
|
var figures = record(string(), number());
|
|
9507
9520
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9508
9521
|
var rankingRow = strictObject({
|
|
@@ -9549,7 +9562,7 @@ var ranking = strictObject({
|
|
|
9549
9562
|
rows: array(rankingRow)
|
|
9550
9563
|
});
|
|
9551
9564
|
|
|
9552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9565
|
+
// 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
|
|
9553
9566
|
var reaction = strictObject({
|
|
9554
9567
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9555
9568
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9557,7 +9570,7 @@ var reaction = strictObject({
|
|
|
9557
9570
|
reacted_at: time
|
|
9558
9571
|
});
|
|
9559
9572
|
|
|
9560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9573
|
+
// 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
|
|
9561
9574
|
var reactionChange = strictObject({
|
|
9562
9575
|
operation_id: id,
|
|
9563
9576
|
chat_id: id,
|
|
@@ -9565,7 +9578,7 @@ var reactionChange = strictObject({
|
|
|
9565
9578
|
reaction: nullable(text)
|
|
9566
9579
|
});
|
|
9567
9580
|
|
|
9568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9581
|
+
// 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
|
|
9569
9582
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9570
9583
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9571
9584
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9576,7 +9589,7 @@ var recipientChange = strictObject({
|
|
|
9576
9589
|
...partial(recipientOff).entries
|
|
9577
9590
|
});
|
|
9578
9591
|
|
|
9579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9592
|
+
// 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
|
|
9580
9593
|
var events = array(record(string(), unknown()));
|
|
9581
9594
|
var recordedRun = strictObject({
|
|
9582
9595
|
run_id: id,
|
|
@@ -9648,7 +9661,7 @@ var runHit = strictObject({
|
|
|
9648
9661
|
});
|
|
9649
9662
|
var runLocation = strictObject({ path: text });
|
|
9650
9663
|
|
|
9651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9664
|
+
// 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
|
|
9652
9665
|
var relationship = strictObject({
|
|
9653
9666
|
id,
|
|
9654
9667
|
from: reference,
|
|
@@ -9675,7 +9688,7 @@ var relationship = strictObject({
|
|
|
9675
9688
|
created_at: time
|
|
9676
9689
|
});
|
|
9677
9690
|
|
|
9678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9691
|
+
// 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
|
|
9679
9692
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9680
9693
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9681
9694
|
var responseTimes = strictObject({
|
|
@@ -9692,7 +9705,7 @@ var waitingChats = strictObject({
|
|
|
9692
9705
|
by_kind: strictObject({ private: count, group: count })
|
|
9693
9706
|
});
|
|
9694
9707
|
|
|
9695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9708
|
+
// 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
|
|
9696
9709
|
var retentionCohort = strictObject({
|
|
9697
9710
|
/** The first day of the joining day or week. */
|
|
9698
9711
|
cohort: text,
|
|
@@ -9740,7 +9753,7 @@ var retention = strictObject({
|
|
|
9740
9753
|
rows: array(retentionCohort)
|
|
9741
9754
|
});
|
|
9742
9755
|
|
|
9743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9756
|
+
// 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
|
|
9744
9757
|
var savedSearch = strictObject({
|
|
9745
9758
|
id,
|
|
9746
9759
|
/** `null` for a run in the history. */
|
|
@@ -9757,7 +9770,7 @@ var savedSearch = strictObject({
|
|
|
9757
9770
|
});
|
|
9758
9771
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9759
9772
|
|
|
9760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9773
|
+
// 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
|
|
9761
9774
|
var sendAttempt = strictObject({
|
|
9762
9775
|
at: time,
|
|
9763
9776
|
profile: text,
|
|
@@ -9785,7 +9798,7 @@ var sendAttempt = strictObject({
|
|
|
9785
9798
|
error_code: optional(text)
|
|
9786
9799
|
});
|
|
9787
9800
|
|
|
9788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9801
|
+
// 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
|
|
9789
9802
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9790
9803
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9791
9804
|
var infoSchema = strictObject({
|
|
@@ -10015,7 +10028,7 @@ var storeRepair = union([
|
|
|
10015
10028
|
]);
|
|
10016
10029
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10017
10030
|
|
|
10018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10031
|
+
// 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
|
|
10019
10032
|
var range = strictObject({ from: number(), to: number() });
|
|
10020
10033
|
var storeChatStatus = strictObject({
|
|
10021
10034
|
chat_id: id,
|
|
@@ -10113,7 +10126,7 @@ var storeJobRetry = union([
|
|
|
10113
10126
|
]);
|
|
10114
10127
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10115
10128
|
|
|
10116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10129
|
+
// 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
|
|
10117
10130
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10118
10131
|
var storeTable = strictObject({
|
|
10119
10132
|
name: text,
|
|
@@ -10122,7 +10135,7 @@ var storeTable = strictObject({
|
|
|
10122
10135
|
bytes: optional(nullable(count))
|
|
10123
10136
|
});
|
|
10124
10137
|
|
|
10125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10138
|
+
// 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
|
|
10126
10139
|
var tagTarget = variant("type", [
|
|
10127
10140
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10128
10141
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10153,7 +10166,7 @@ var automaticTags = strictObject({
|
|
|
10153
10166
|
dry_run: boolean()
|
|
10154
10167
|
});
|
|
10155
10168
|
|
|
10156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10169
|
+
// 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
|
|
10157
10170
|
var tagging = strictObject({
|
|
10158
10171
|
tag: text,
|
|
10159
10172
|
type: picklist(TAG_TYPES),
|
|
@@ -10166,7 +10179,7 @@ var tagging = strictObject({
|
|
|
10166
10179
|
created_at: time
|
|
10167
10180
|
});
|
|
10168
10181
|
|
|
10169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10182
|
+
// 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
|
|
10170
10183
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10171
10184
|
var taskPair = strictObject({
|
|
10172
10185
|
task: nullable(side),
|
|
@@ -10189,7 +10202,7 @@ var taskPair = strictObject({
|
|
|
10189
10202
|
created_at: time
|
|
10190
10203
|
});
|
|
10191
10204
|
|
|
10192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10205
|
+
// 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
|
|
10193
10206
|
var nullableTime = nullable(time);
|
|
10194
10207
|
var link = strictObject({
|
|
10195
10208
|
id,
|
|
@@ -10363,7 +10376,7 @@ var taskReview = strictObject({
|
|
|
10363
10376
|
untrusted
|
|
10364
10377
|
});
|
|
10365
10378
|
|
|
10366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10379
|
+
// 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
|
|
10367
10380
|
var template = strictObject({
|
|
10368
10381
|
key: text,
|
|
10369
10382
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10375,7 +10388,7 @@ var template = strictObject({
|
|
|
10375
10388
|
updated_by: nullable(text)
|
|
10376
10389
|
});
|
|
10377
10390
|
|
|
10378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10391
|
+
// 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
|
|
10379
10392
|
var topic = strictObject({
|
|
10380
10393
|
id,
|
|
10381
10394
|
title: text,
|
|
@@ -10389,7 +10402,7 @@ var topic = strictObject({
|
|
|
10389
10402
|
untrusted
|
|
10390
10403
|
});
|
|
10391
10404
|
|
|
10392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10405
|
+
// 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
|
|
10393
10406
|
var ENTITIES = {
|
|
10394
10407
|
sync_progress: progress,
|
|
10395
10408
|
deal,
|
|
@@ -10691,7 +10704,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10691
10704
|
return [name, definition];
|
|
10692
10705
|
})), "entityDefinitions");
|
|
10693
10706
|
|
|
10694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10707
|
+
// 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
|
|
10695
10708
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10696
10709
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10697
10710
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10725,7 +10738,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10725
10738
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10726
10739
|
}, "answerRow");
|
|
10727
10740
|
|
|
10728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10741
|
+
// 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
|
|
10729
10742
|
import { join as join5 } from "node:path";
|
|
10730
10743
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10731
10744
|
var IMAGE_MODELS = [
|
|
@@ -10779,7 +10792,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10779
10792
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10780
10793
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10781
10794
|
|
|
10782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10795
|
+
// 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
|
|
10783
10796
|
var STEPS2 = defineSteps([
|
|
10784
10797
|
...STEPS,
|
|
10785
10798
|
{
|
|
@@ -11027,6 +11040,20 @@ var rootOf2 = /* @__PURE__ */ __name((command) => {
|
|
|
11027
11040
|
root = root.parent;
|
|
11028
11041
|
return root;
|
|
11029
11042
|
}, "rootOf");
|
|
11043
|
+
var typedCommandPath = /* @__PURE__ */ __name((program2, rest) => {
|
|
11044
|
+
const words = [];
|
|
11045
|
+
let current2 = program2;
|
|
11046
|
+
for (const token of rest) {
|
|
11047
|
+
if (token.startsWith("-"))
|
|
11048
|
+
continue;
|
|
11049
|
+
const next = current2.commands.find((one) => one.name() === token || one.aliases().includes(token));
|
|
11050
|
+
if (!next)
|
|
11051
|
+
break;
|
|
11052
|
+
words.push(token);
|
|
11053
|
+
current2 = next;
|
|
11054
|
+
}
|
|
11055
|
+
return words.join(" ");
|
|
11056
|
+
}, "typedCommandPath");
|
|
11030
11057
|
var commandAt = /* @__PURE__ */ __name((root, path2) => {
|
|
11031
11058
|
let at2 = root;
|
|
11032
11059
|
for (const word of path2.split(" "))
|
|
@@ -11069,7 +11096,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11069
11096
|
].join(" ");
|
|
11070
11097
|
}, "stepLine");
|
|
11071
11098
|
|
|
11072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11099
|
+
// 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
|
|
11073
11100
|
var where = [{ field: "ref" }];
|
|
11074
11101
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11075
11102
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11161,7 +11188,7 @@ var STATUS_ROWS = {
|
|
|
11161
11188
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11162
11189
|
};
|
|
11163
11190
|
|
|
11164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11191
|
+
// 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
|
|
11165
11192
|
var TEXT_CHARS = 400;
|
|
11166
11193
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11167
11194
|
var messageRow = {
|
|
@@ -11295,9 +11322,13 @@ var isListOrRecord = /* @__PURE__ */ __name((value) => typeof value === "object"
|
|
|
11295
11322
|
var firstSet = /* @__PURE__ */ __name((item, field, column) => fieldsOfColumn(field).map((path2) => at(item, path2)).find((value) => printable(value, column)), "firstSet");
|
|
11296
11323
|
var sourceOf = /* @__PURE__ */ __name((item, column) => fieldsOfColumn(column.field).find((path2) => printable(at(item, path2), column)), "sourceOf");
|
|
11297
11324
|
var clean = /* @__PURE__ */ __name((text5) => visibleControls(text5.replace(/\s+/g, " ").trim()), "clean");
|
|
11325
|
+
var BLOCK = /^(⟦untrusted:([0-9a-f]{16}) [^⟦⟧]*⟧)([^⟦⟧]*)(⟦\/untrusted:\2⟧)$/su;
|
|
11298
11326
|
var cut = /* @__PURE__ */ __name((text5, chars) => {
|
|
11299
11327
|
if (chars <= 0)
|
|
11300
11328
|
return text5;
|
|
11329
|
+
const block = BLOCK.exec(text5);
|
|
11330
|
+
if (block)
|
|
11331
|
+
return `${block[1]}${cut(block[3] ?? "", chars)}${block[4]}`;
|
|
11301
11332
|
const letters = Array.from(text5);
|
|
11302
11333
|
return letters.length <= chars ? text5 : `${letters.slice(0, chars).join("")}\u2026(+${letters.length - chars})`;
|
|
11303
11334
|
}, "cut");
|
|
@@ -11529,7 +11560,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11529
11560
|
return lines.concat(footerOf(body)).join("\n");
|
|
11530
11561
|
}, "compactText");
|
|
11531
11562
|
|
|
11532
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11563
|
+
// 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
|
|
11533
11564
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11534
11565
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11535
11566
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11587,7 +11618,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11587
11618
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11588
11619
|
}, "largeAnswerSteps");
|
|
11589
11620
|
|
|
11590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11621
|
+
// 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
|
|
11591
11622
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11592
11623
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11593
11624
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11601,7 +11632,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11601
11632
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11602
11633
|
}, "strip");
|
|
11603
11634
|
|
|
11604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11635
|
+
// 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
|
|
11605
11636
|
var OPEN = "\u27E6";
|
|
11606
11637
|
var CLOSE = "\u27E7";
|
|
11607
11638
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11623,19 +11654,35 @@ var idOf = /* @__PURE__ */ __name((value) => {
|
|
|
11623
11654
|
const id6 = value.ref ?? value.id;
|
|
11624
11655
|
return typeof id6 === "string" || typeof id6 === "number" ? String(id6) : void 0;
|
|
11625
11656
|
}, "idOf");
|
|
11657
|
+
var everyStringAt = /* @__PURE__ */ __name((value, mark, source2, id6) => {
|
|
11658
|
+
if (Array.isArray(value))
|
|
11659
|
+
return value.map((one) => everyStringAt(one, mark, source2, id6));
|
|
11660
|
+
if (value === null || typeof value !== "object")
|
|
11661
|
+
return markAt(value, [], mark, source2, id6);
|
|
11662
|
+
const record2 = value;
|
|
11663
|
+
const own = idOf(record2) ?? id6;
|
|
11664
|
+
return Object.fromEntries(Object.entries(record2).map(([key, child]) => [key, everyStringAt(child, mark, source2, own)]));
|
|
11665
|
+
}, "everyStringAt");
|
|
11626
11666
|
var markAt = /* @__PURE__ */ __name((value, path2, mark, source2, id6) => {
|
|
11627
11667
|
if (Array.isArray(value))
|
|
11628
11668
|
return value.map((one) => markAt(one, path2, mark, source2, id6));
|
|
11629
11669
|
if (path2.length === 0)
|
|
11630
11670
|
return typeof value === "string" && !value.startsWith(`${OPEN}untrusted:${mark} `) ? marked(value, mark, source2, id6) : value;
|
|
11671
|
+
if (path2.length === 1 && path2[0] === "*")
|
|
11672
|
+
return everyStringAt(value, mark, source2, id6);
|
|
11631
11673
|
if (value === null || typeof value !== "object")
|
|
11632
11674
|
return value;
|
|
11633
11675
|
const [key = "", ...rest] = path2;
|
|
11634
11676
|
const record2 = value;
|
|
11677
|
+
const own = idOf(record2) ?? id6;
|
|
11678
|
+
if (key === "*")
|
|
11679
|
+
return Object.fromEntries(Object.entries(record2).map(([name, child]) => [name, markAt(child, rest, mark, source2, own)]));
|
|
11635
11680
|
if (!(key in record2))
|
|
11636
11681
|
return value;
|
|
11637
|
-
return { ...record2, [key]: markAt(record2[key], rest, mark, source2,
|
|
11682
|
+
return { ...record2, [key]: markAt(record2[key], rest, mark, source2, own) };
|
|
11638
11683
|
}, "markAt");
|
|
11684
|
+
var withoutRunMarks = /* @__PURE__ */ __name((text5, mark) => text5.replace(new RegExp(`${OPEN}untrusted:${mark}(?: [^${OPEN}${CLOSE}]*)?${CLOSE}|${OPEN}/untrusted:${mark}${CLOSE}`, "gu"), ""), "withoutRunMarks");
|
|
11685
|
+
var API_UNTRUSTED = ["item.*", "items.*"];
|
|
11639
11686
|
var withUntrustedMarked = /* @__PURE__ */ __name((value, mark, id6) => {
|
|
11640
11687
|
if (Array.isArray(value))
|
|
11641
11688
|
return value.map((one) => withUntrustedMarked(one, mark, id6));
|
|
@@ -11670,9 +11717,12 @@ var MESSAGE_UNTRUSTED = [
|
|
|
11670
11717
|
"bcc.name",
|
|
11671
11718
|
"reply_addresses.name"
|
|
11672
11719
|
];
|
|
11720
|
+
var CHAT_UNTRUSTED = ["title", "description"];
|
|
11721
|
+
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
11673
11722
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
11674
11723
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
11675
|
-
DECLARED.
|
|
11724
|
+
const raw = DECLARED.get(command) === API_UNTRUSTED;
|
|
11725
|
+
DECLARED.set(command, raw ? [.../* @__PURE__ */ new Set([...API_UNTRUSTED, ...fields])] : fields);
|
|
11676
11726
|
return command;
|
|
11677
11727
|
}, "marksUntrusted");
|
|
11678
11728
|
var untrustedFieldsOf = /* @__PURE__ */ __name((command) => DECLARED.get(command), "untrustedFieldsOf");
|
|
@@ -11689,7 +11739,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11689
11739
|
return result;
|
|
11690
11740
|
}, "withFieldsMarked");
|
|
11691
11741
|
|
|
11692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11742
|
+
// 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
|
|
11693
11743
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11694
11744
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11695
11745
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12052,6 +12102,15 @@ export {
|
|
|
12052
12102
|
imageModelsDirectory,
|
|
12053
12103
|
placedImage,
|
|
12054
12104
|
isImageModelInstalled,
|
|
12105
|
+
untrustedMarkOf,
|
|
12106
|
+
runMarkOf,
|
|
12107
|
+
marked,
|
|
12108
|
+
withoutRunMarks,
|
|
12109
|
+
API_UNTRUSTED,
|
|
12110
|
+
withUntrustedMarked,
|
|
12111
|
+
CHAT_UNTRUSTED,
|
|
12112
|
+
CONTACT_UNTRUSTED,
|
|
12113
|
+
marksUntrusted,
|
|
12055
12114
|
answerEntity,
|
|
12056
12115
|
answerEntitySchema,
|
|
12057
12116
|
answerProjectionSchema,
|
|
@@ -12061,6 +12120,7 @@ export {
|
|
|
12061
12120
|
nextStep,
|
|
12062
12121
|
lineOf,
|
|
12063
12122
|
rootOf2,
|
|
12123
|
+
typedCommandPath,
|
|
12064
12124
|
commandAt,
|
|
12065
12125
|
runnable,
|
|
12066
12126
|
failureSteps,
|
|
@@ -12068,9 +12128,6 @@ export {
|
|
|
12068
12128
|
stepLine,
|
|
12069
12129
|
tooLargeSteps,
|
|
12070
12130
|
withoutProviderRefs,
|
|
12071
|
-
runMarkOf,
|
|
12072
|
-
withUntrustedMarked,
|
|
12073
|
-
marksUntrusted,
|
|
12074
12131
|
answerSchema,
|
|
12075
12132
|
listOf,
|
|
12076
12133
|
itemOf,
|