@wirecat/mail-cli 0.35.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 +55 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-OU4K7TKQ.js +40 -0
- package/dist/bundle/{all-profiles-6BDSMVOO.js → all-profiles-ICGWDPUU.js} +11 -11
- package/dist/bundle/{anthropic-C3XUXUCJ.js → anthropic-TL4WFWGU.js} +5 -5
- package/dist/bundle/{app-server-GUHDK4OR.js → app-server-YAR5EFOO.js} +69 -67
- package/dist/bundle/{bun-FN7AM4AG.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-56IVBF22.js → bun-sqlite-WI3ZPANS.js} +6 -6
- package/dist/bundle/{chunk-L4RCWRWS.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-RJNKM3CQ.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-7FXZKQAC.js → chunk-2YO3PLOE.js} +19 -19
- package/dist/bundle/{chunk-YCIWSKOH.js → chunk-3DHJF57U.js} +9 -9
- package/dist/bundle/{chunk-5XQI7WCJ.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-6Q5THDNW.js → chunk-3SKTQ2HC.js} +2 -2
- package/dist/bundle/{chunk-ZMYRPMAJ.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-7YMLEWTX.js → chunk-3ZOOTTFW.js} +6 -6
- package/dist/bundle/{chunk-CMGZXBJW.js → chunk-4FTIHADB.js} +6 -6
- package/dist/bundle/{chunk-3EV2B7KZ.js → chunk-4IZ6R5FS.js} +19 -15
- package/dist/bundle/{chunk-W7ICCFG5.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-PQDQCCGG.js → chunk-7HRKUKKY.js} +23 -23
- package/dist/bundle/{chunk-GG634DR3.js → chunk-7PDGZFXD.js} +5 -5
- package/dist/bundle/{chunk-OOQFBRNR.js → chunk-7YKWFERX.js} +6 -6
- package/dist/bundle/{chunk-E6HSSKRX.js → chunk-BNURKCQG.js} +2 -3
- package/dist/bundle/{chunk-I3QZCQJT.js → chunk-BNVISIHP.js} +6 -6
- package/dist/bundle/{chunk-4U5ODZO7.js → chunk-BQMJYSA4.js} +11 -11
- package/dist/bundle/{chunk-TARNPINT.js → chunk-BYITYTRL.js} +16 -3
- package/dist/bundle/{chunk-GU3PYIV2.js → chunk-CICUPYHT.js} +2 -2
- package/dist/bundle/{chunk-6B4WZVLN.js → chunk-CQHLWMKK.js} +33 -28
- package/dist/bundle/{chunk-HKWZG7CZ.js → chunk-CUW7Y2HJ.js} +6 -6
- package/dist/bundle/{chunk-WDEVKKAD.js → chunk-DJZIFZOT.js} +3 -3
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-ILEKGH44.js → chunk-DTR7JO2M.js} +35 -35
- package/dist/bundle/{chunk-TP766H4O.js → chunk-ES2FF42M.js} +14 -14
- package/dist/bundle/{chunk-635AFLZO.js → chunk-EV72K4IU.js} +4 -4
- package/dist/bundle/{chunk-XQNKAM26.js → chunk-EZQ5BYNL.js} +6 -6
- package/dist/bundle/{chunk-AISQNKT7.js → chunk-F2D3J5DR.js} +8 -8
- package/dist/bundle/{chunk-OO4OKMNB.js → chunk-FTT7UDYV.js} +3 -3
- package/dist/bundle/{chunk-DD2P67NP.js → chunk-FXNCKPQ7.js} +3 -3
- package/dist/bundle/{chunk-6VARUB3J.js → chunk-G4VJN75G.js} +37 -18
- package/dist/bundle/{chunk-2UNQTKRH.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-3WAZKCDF.js → chunk-GPUC3FTU.js} +2 -2
- package/dist/bundle/{chunk-ZX7HZDD6.js → chunk-GQIMVR7C.js} +180 -38
- package/dist/bundle/{chunk-4IASS7NQ.js → chunk-HCRUGAIN.js} +252 -60
- package/dist/bundle/{chunk-YQTRKNZQ.js → chunk-HES6YMYN.js} +4 -4
- package/dist/bundle/{chunk-2B67TUIF.js → chunk-HFY7536N.js} +201 -111
- package/dist/bundle/{chunk-5WYBI35N.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-HF5QWKK2.js → chunk-IUJDWEGJ.js} +7 -7
- package/dist/bundle/{chunk-UHGKN5US.js → chunk-IWFWWO37.js} +8 -8
- package/dist/bundle/{chunk-7PXAUMK5.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-UWDRU3R6.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-G662S2M4.js → chunk-JNP3XGJI.js} +16 -16
- package/dist/bundle/{chunk-DREU6TN6.js → chunk-JZUYZ2XJ.js} +38 -24
- package/dist/bundle/chunk-K4DEQAEW.js +1291 -0
- package/dist/bundle/{chunk-7KMI47AP.js → chunk-KCM3WSER.js} +6 -6
- package/dist/bundle/{chunk-YA44BG3N.js → chunk-KP5JDYY6.js} +42 -10
- package/dist/bundle/{chunk-QFMKCU42.js → chunk-KUX54EGR.js} +1982 -802
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-HJDIMVFW.js → chunk-KZD3H5QA.js} +2 -2
- package/dist/bundle/{chunk-XKKYRMGG.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-QYCMB7JY.js → chunk-NAOLBEFX.js} +226 -164
- package/dist/bundle/{chunk-46SBNO67.js → chunk-NB52JKLR.js} +13 -9
- package/dist/bundle/{chunk-3KAJCOJP.js → chunk-NB7EOAUZ.js} +15 -1
- package/dist/bundle/{chunk-DFHUJTP5.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-EU4J6GCJ.js → chunk-NQSKI7XK.js} +4 -4
- package/dist/bundle/{chunk-YRAJFTFU.js → chunk-OWPRJLHV.js} +8 -8
- package/dist/bundle/{chunk-V4O47JV6.js → chunk-OZKZT3ZI.js} +10 -3
- package/dist/bundle/{chunk-CDGVYQXG.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-Q5U2HIBJ.js → chunk-QLJGYDWG.js} +7 -7
- package/dist/bundle/{chunk-W4JYGMTU.js → chunk-R44KVISE.js} +12 -12
- package/dist/bundle/{chunk-MCJYJIH5.js → chunk-R73VWPNL.js} +8 -8
- package/dist/bundle/{chunk-YTI533XF.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-AXKIXVQA.js → chunk-TMJLGR4A.js} +61 -61
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-ODQCRZX5.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-ZYEU35MB.js → chunk-UTS5NMR3.js} +2 -2
- package/dist/bundle/{chunk-RBV2AM52.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-RQHWSNX4.js → chunk-VK24UQSD.js} +4 -4
- package/dist/bundle/{chunk-TP2BCK2Z.js → chunk-VYCB5EVI.js} +8 -8
- package/dist/bundle/{chunk-EHAXFDDP.js → chunk-VZ5PPYDG.js} +3 -4
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-3ACF6TIV.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/{chunk-J5ULUTWE.js → chunk-XWBTD2WP.js} +4 -4
- package/dist/bundle/chunk-XXPJF2VD.js +2 -0
- package/dist/bundle/{chunk-OTP2HJ67.js → chunk-YODGIMMM.js} +9 -9
- package/dist/bundle/{chunk-NEDS4ORI.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-EX4Z7CCO.js → chunk-Z4BLNAWI.js} +15062 -11852
- package/dist/bundle/{chunk-WZKM5I7B.js → chunk-ZSAPOC7B.js} +27 -176
- package/dist/bundle/{chunk-RQJGX7F7.js → chunk-ZTWTEXB2.js} +3 -3
- package/dist/bundle/command-contract-UC6IGCCM.js +39 -0
- package/dist/bundle/{command-server-entry-TPJ47FYS.js → command-server-entry-RA3ZX2KV.js} +28 -28
- package/dist/bundle/{decode-XHUASXQK.js → decode-QVKRSRVF.js} +5 -5
- package/dist/bundle/{dispatch-MQZHGGVP.js → dispatch-USKS7J74.js} +8 -8
- package/dist/bundle/{dist-BAE4IQ52.js → dist-ITIXJAXK.js} +20 -18
- package/dist/bundle/{echarts-U7Z2PKIG.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-W7GPB6EI.js → embed-2HOODFQT.js} +6 -6
- package/dist/bundle/{embedder-T72XLFQ5.js → embedder-22AJGCZX.js} +9 -9
- package/dist/bundle/{failure-MP6VKL5Y.js → failure-D4FGOIWF.js} +2 -2
- package/dist/bundle/{first-run-C44TJXRI.js → first-run-FU4MFXOA.js} +12 -12
- package/dist/bundle/first-screen-A7SEI2ON.js +40 -0
- package/dist/bundle/{instructions-WGMWQNPP.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-KC6YGWA7.js +24 -0
- package/dist/bundle/{meeting-model-QVHLD4WI.js → meeting-model-QWGAOQHL.js} +11 -11
- package/dist/bundle/{meeting-semantic-QKQHUHXX.js → meeting-semantic-7PVO6RNB.js} +6 -6
- package/dist/bundle/{node-WANDMJJQ.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-NM5XA4DR.js → node-sqlite-JXUELLMP.js} +7 -7
- package/dist/bundle/{oauth-6E63ELEE.js → oauth-OYAYWH4K.js} +7 -7
- package/dist/bundle/{open-5542RTLE.js → open-GLEUJGNA.js} +5 -5
- package/dist/bundle/{openai-NOYNPFB5.js → openai-PYTVNB6L.js} +15 -15
- package/dist/bundle/{process-7AEXXSBX.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-VMA5CGNR.js → program-7CFNZ2DF.js} +2227 -2291
- package/dist/bundle/{prompt-WYYO4AJL.js → prompt-CYTILD7N.js} +5 -5
- package/dist/bundle/public-XWMXEGEF.js +196 -0
- package/dist/bundle/{recognize-UGCCOMAS.js → recognize-26UNETSQ.js} +4 -4
- package/dist/bundle/{remote-VZS6BNQB.js → remote-PKXBQA5N.js} +9 -9
- package/dist/bundle/{rerank-O46D5GJ2.js → rerank-LLKP7M6Q.js} +7 -7
- package/dist/bundle/{serve-QAAF2LCW.js → serve-ZRJEAPJI.js} +9 -9
- package/dist/bundle/{server-Q3PUZLLX.js → server-4OQ4G5JY.js} +61 -59
- package/dist/bundle/server-VVRQ4A34.js +86 -0
- package/dist/bundle/{sqlite-runtime-EQBCDO2U.js → sqlite-runtime-667VV4VY.js} +6 -6
- package/dist/bundle/{state-XIOHYXCR.js → state-V3CAAJBE.js} +6 -6
- package/dist/bundle/{store-VJBL5XKR.js → store-BJCIMIAH.js} +31 -24
- package/dist/bundle/{store-OXJZZUR7.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-start.js +1 -1
- package/dist/commands/session-start.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/oauth.d.ts.map +1 -1
- package/dist/oauth.js +2 -1
- package/dist/oauth.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-KWLCQCSC.js +0 -39
- package/dist/bundle/chunk-DZHEVVXA.js +0 -1264
- package/dist/bundle/command-contract-D5UXWHMS.js +0 -39
- package/dist/bundle/first-screen-IESI7DAU.js +0 -39
- package/dist/bundle/meeting-combined-XGZBSWIQ.js +0 -24
- package/dist/bundle/server-456MYK3X.js +0 -84
- package/dist/bundle/store-maintenance-command-D7XYIX52.js +0 -71
- package/dist/bundle/surface-N7LK7PKN.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" };
|
|
@@ -6034,7 +6037,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
6034
6037
|
KEPT_UNDER_LOCK.add(command);
|
|
6035
6038
|
return command;
|
|
6036
6039
|
}, "destroysNothing");
|
|
6037
|
-
var PROPOSE_COMMANDS = [
|
|
6040
|
+
var PROPOSE_COMMANDS = [
|
|
6041
|
+
"messages acknowledge",
|
|
6042
|
+
"mail findings add",
|
|
6043
|
+
"projects actions add",
|
|
6044
|
+
"meetings actions add"
|
|
6045
|
+
];
|
|
6038
6046
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
6039
6047
|
var proposesOnly = /* @__PURE__ */ __name((command) => {
|
|
6040
6048
|
PROPOSES.add(command);
|
|
@@ -6138,7 +6146,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6138
6146
|
throw readOnlyRefusal(lock, what);
|
|
6139
6147
|
}, "refuseUnderReadOnly");
|
|
6140
6148
|
|
|
6141
|
-
// 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
|
|
6142
6150
|
var account = strictObject({
|
|
6143
6151
|
provider: text,
|
|
6144
6152
|
id,
|
|
@@ -6148,7 +6156,7 @@ var account = strictObject({
|
|
|
6148
6156
|
scope: optional(picklist(["personal", "work"]))
|
|
6149
6157
|
});
|
|
6150
6158
|
|
|
6151
|
-
// 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
|
|
6152
6160
|
var accountSession = strictObject({
|
|
6153
6161
|
current: boolean(),
|
|
6154
6162
|
client: nullable(text),
|
|
@@ -6158,7 +6166,7 @@ var accountSession = strictObject({
|
|
|
6158
6166
|
created_at: optional(nullable(time))
|
|
6159
6167
|
});
|
|
6160
6168
|
|
|
6161
|
-
// 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
|
|
6162
6170
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6163
6171
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6164
6172
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6187,7 +6195,7 @@ var accountRemoval = strictObject({
|
|
|
6187
6195
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6188
6196
|
});
|
|
6189
6197
|
|
|
6190
|
-
// 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
|
|
6191
6199
|
var accountProfile = strictObject({
|
|
6192
6200
|
profile: id,
|
|
6193
6201
|
current: boolean(),
|
|
@@ -6199,7 +6207,7 @@ var accountProfile = strictObject({
|
|
|
6199
6207
|
bot: optional(literal(true))
|
|
6200
6208
|
});
|
|
6201
6209
|
|
|
6202
|
-
// 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
|
|
6203
6211
|
var milliseconds = pipe(number(), minValue(0));
|
|
6204
6212
|
var counterReading = strictObject({
|
|
6205
6213
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6211,7 +6219,7 @@ var counterReading = strictObject({
|
|
|
6211
6219
|
});
|
|
6212
6220
|
var selection = record(string(), unknown());
|
|
6213
6221
|
|
|
6214
|
-
// 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
|
|
6215
6223
|
var adminRow = strictObject({
|
|
6216
6224
|
ref: reference,
|
|
6217
6225
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6264,7 +6272,7 @@ var adminReport = strictObject({
|
|
|
6264
6272
|
rows: array(adminRow)
|
|
6265
6273
|
});
|
|
6266
6274
|
|
|
6267
|
-
// 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
|
|
6268
6276
|
var closeSuggestion = strictObject({
|
|
6269
6277
|
as: picklist(["done", "dismissed"]),
|
|
6270
6278
|
/** The agent's name. */
|
|
@@ -6326,7 +6334,7 @@ var task = strictObject({
|
|
|
6326
6334
|
updated_at: optional(time)
|
|
6327
6335
|
});
|
|
6328
6336
|
|
|
6329
|
-
// 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
|
|
6330
6338
|
var agendaChat = strictObject({
|
|
6331
6339
|
chat: reference,
|
|
6332
6340
|
title: nullable(text),
|
|
@@ -6396,11 +6404,11 @@ var agenda = strictObject({
|
|
|
6396
6404
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6397
6405
|
});
|
|
6398
6406
|
|
|
6399
|
-
// 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
|
|
6400
6408
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6401
6409
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6402
6410
|
|
|
6403
|
-
// 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
|
|
6404
6412
|
var attachment = strictObject({
|
|
6405
6413
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6406
6414
|
message: optional(reference),
|
|
@@ -6445,7 +6453,7 @@ var hitFile = strictObject({
|
|
|
6445
6453
|
local_path: optional(text)
|
|
6446
6454
|
});
|
|
6447
6455
|
|
|
6448
|
-
// 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
|
|
6449
6457
|
var actionableError = objectWithRest({
|
|
6450
6458
|
code: text,
|
|
6451
6459
|
message: text,
|
|
@@ -6462,7 +6470,7 @@ var batchResult = strictObject({
|
|
|
6462
6470
|
max_error_percent: count
|
|
6463
6471
|
});
|
|
6464
6472
|
|
|
6465
|
-
// 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
|
|
6466
6474
|
var extractionItem = strictObject({
|
|
6467
6475
|
ref: reference,
|
|
6468
6476
|
attachment: count,
|
|
@@ -6495,7 +6503,7 @@ var extractionReport = strictObject({
|
|
|
6495
6503
|
cursor: optional(text)
|
|
6496
6504
|
});
|
|
6497
6505
|
|
|
6498
|
-
// 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
|
|
6499
6507
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6500
6508
|
var attachmentBytes = strictObject({
|
|
6501
6509
|
ref: reference,
|
|
@@ -6526,7 +6534,7 @@ var attachmentTextChange = strictObject({
|
|
|
6526
6534
|
text: optional(text)
|
|
6527
6535
|
});
|
|
6528
6536
|
|
|
6529
|
-
// 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
|
|
6530
6538
|
var WEIGHTS = {
|
|
6531
6539
|
bot: 3,
|
|
6532
6540
|
scam: 3,
|
|
@@ -6551,7 +6559,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6551
6559
|
var DIGITS = /\d{5,}/;
|
|
6552
6560
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6553
6561
|
|
|
6554
|
-
// 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
|
|
6555
6563
|
var linkedIdentity = strictObject({
|
|
6556
6564
|
provider: text,
|
|
6557
6565
|
id,
|
|
@@ -6606,7 +6614,7 @@ var contactCheck = strictObject({
|
|
|
6606
6614
|
checked_at: time
|
|
6607
6615
|
});
|
|
6608
6616
|
|
|
6609
|
-
// 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
|
|
6610
6618
|
var member = strictObject({
|
|
6611
6619
|
id,
|
|
6612
6620
|
name: nullable(text),
|
|
@@ -6629,7 +6637,7 @@ var member = strictObject({
|
|
|
6629
6637
|
check: optional(record(string(), unknown()))
|
|
6630
6638
|
});
|
|
6631
6639
|
|
|
6632
|
-
// 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
|
|
6633
6641
|
var setting = optional(nullable(boolean()));
|
|
6634
6642
|
var chat = strictObject({
|
|
6635
6643
|
ref: reference,
|
|
@@ -6670,7 +6678,7 @@ var chat = strictObject({
|
|
|
6670
6678
|
members: optional(array(member))
|
|
6671
6679
|
});
|
|
6672
6680
|
|
|
6673
|
-
// 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
|
|
6674
6682
|
var quoted = strictObject({
|
|
6675
6683
|
id,
|
|
6676
6684
|
sender_id: nullable(id),
|
|
@@ -6791,7 +6799,7 @@ var message = strictObject({
|
|
|
6791
6799
|
provider_metadata: providerMetadata
|
|
6792
6800
|
});
|
|
6793
6801
|
|
|
6794
|
-
// 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
|
|
6795
6803
|
var recordedMeeting = strictObject({
|
|
6796
6804
|
ref: reference,
|
|
6797
6805
|
meeting_id: count,
|
|
@@ -6808,7 +6816,7 @@ var recordedMeeting = strictObject({
|
|
|
6808
6816
|
call: optional(meetingCall)
|
|
6809
6817
|
});
|
|
6810
6818
|
|
|
6811
|
-
// 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
|
|
6812
6820
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
6813
6821
|
var contextMessage = strictObject({
|
|
6814
6822
|
locator: reference,
|
|
@@ -7014,7 +7022,7 @@ var contactPreparation = strictObject({
|
|
|
7014
7022
|
})
|
|
7015
7023
|
});
|
|
7016
7024
|
|
|
7017
|
-
// 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
|
|
7018
7026
|
var nullableText = nullable(text);
|
|
7019
7027
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7020
7028
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7170,7 +7178,7 @@ var stage = strictObject({
|
|
|
7170
7178
|
untrusted
|
|
7171
7179
|
});
|
|
7172
7180
|
|
|
7173
|
-
// 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
|
|
7174
7182
|
var nullableText2 = nullable(text);
|
|
7175
7183
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7176
7184
|
var standing = picklist(STANDINGS);
|
|
@@ -7349,7 +7357,7 @@ var dealBrief = strictObject({
|
|
|
7349
7357
|
not_read: coverage2.entries.not_read
|
|
7350
7358
|
});
|
|
7351
7359
|
|
|
7352
|
-
// 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
|
|
7353
7361
|
var chart = strictObject({
|
|
7354
7362
|
version: literal(1),
|
|
7355
7363
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7364,7 +7372,7 @@ var chart = strictObject({
|
|
|
7364
7372
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7365
7373
|
});
|
|
7366
7374
|
|
|
7367
|
-
// 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
|
|
7368
7376
|
var named = strictObject({
|
|
7369
7377
|
id,
|
|
7370
7378
|
title: nullable(text),
|
|
@@ -7387,7 +7395,7 @@ var folder = strictObject({
|
|
|
7387
7395
|
excluded_chats: optional(array(named))
|
|
7388
7396
|
});
|
|
7389
7397
|
|
|
7390
|
-
// 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
|
|
7391
7399
|
var inviteLink = strictObject({
|
|
7392
7400
|
link: text,
|
|
7393
7401
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7403,7 +7411,7 @@ var inviteLink = strictObject({
|
|
|
7403
7411
|
joined_count: optional(count)
|
|
7404
7412
|
});
|
|
7405
7413
|
|
|
7406
|
-
// 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
|
|
7407
7415
|
var operated = { operation_id: id, chat_id: id };
|
|
7408
7416
|
var group = strictObject({
|
|
7409
7417
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7483,7 +7491,7 @@ var chatFolderOrder = strictObject({
|
|
|
7483
7491
|
folders: array(strictObject({ id, title: text }))
|
|
7484
7492
|
});
|
|
7485
7493
|
|
|
7486
|
-
// 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
|
|
7487
7495
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7488
7496
|
var chatRemoval = strictObject(operated2);
|
|
7489
7497
|
var chatMuting = strictObject({
|
|
@@ -7494,7 +7502,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7494
7502
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7495
7503
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7496
7504
|
|
|
7497
|
-
// 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
|
|
7498
7506
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7499
7507
|
var chatEvent = strictObject({
|
|
7500
7508
|
chat_id: id,
|
|
@@ -7511,7 +7519,7 @@ var chatEvent = strictObject({
|
|
|
7511
7519
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7512
7520
|
});
|
|
7513
7521
|
|
|
7514
|
-
// 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
|
|
7515
7523
|
var chatMetadata = strictObject({
|
|
7516
7524
|
chat_id: id,
|
|
7517
7525
|
title: nullable(text),
|
|
@@ -7526,7 +7534,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7526
7534
|
has_more: boolean()
|
|
7527
7535
|
});
|
|
7528
7536
|
|
|
7529
|
-
// 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
|
|
7530
7538
|
var action = picklist(["report", "delete", "remove"]);
|
|
7531
7539
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7532
7540
|
var chatRules = strictObject({
|
|
@@ -7563,7 +7571,7 @@ var chatModeration = strictObject({
|
|
|
7563
7571
|
}))
|
|
7564
7572
|
});
|
|
7565
7573
|
|
|
7566
|
-
// 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
|
|
7567
7575
|
var chatSending = strictObject({
|
|
7568
7576
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
7569
7577
|
meaning: text,
|
|
@@ -7573,7 +7581,7 @@ var chatSending = strictObject({
|
|
|
7573
7581
|
changed: optional(boolean())
|
|
7574
7582
|
});
|
|
7575
7583
|
|
|
7576
|
-
// 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
|
|
7577
7585
|
var optionalCount = optional(count);
|
|
7578
7586
|
var minutes = nullable(number());
|
|
7579
7587
|
var chatStats = strictObject({
|
|
@@ -7649,7 +7657,7 @@ var taskStats = strictObject({
|
|
|
7649
7657
|
}))
|
|
7650
7658
|
});
|
|
7651
7659
|
|
|
7652
|
-
// 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
|
|
7653
7661
|
var memberCount = strictObject({
|
|
7654
7662
|
day: pipe(text, isoDate()),
|
|
7655
7663
|
participants: nullable(count),
|
|
@@ -7672,7 +7680,7 @@ var chatTracking = strictObject({
|
|
|
7672
7680
|
tracked: boolean()
|
|
7673
7681
|
});
|
|
7674
7682
|
|
|
7675
|
-
// 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
|
|
7676
7684
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7677
7685
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7678
7686
|
var profileFields = {
|
|
@@ -7710,7 +7718,7 @@ var profileFields = {
|
|
|
7710
7718
|
}))
|
|
7711
7719
|
};
|
|
7712
7720
|
|
|
7713
|
-
// 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
|
|
7714
7722
|
var contact = strictObject({
|
|
7715
7723
|
ref: reference,
|
|
7716
7724
|
id,
|
|
@@ -7741,7 +7749,7 @@ var contact = strictObject({
|
|
|
7741
7749
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7742
7750
|
});
|
|
7743
7751
|
|
|
7744
|
-
// 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
|
|
7745
7753
|
var contactNote = strictObject({
|
|
7746
7754
|
id,
|
|
7747
7755
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7753,13 +7761,13 @@ var contactNote = strictObject({
|
|
|
7753
7761
|
updated_at: time
|
|
7754
7762
|
});
|
|
7755
7763
|
|
|
7756
|
-
// 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
|
|
7757
7765
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7758
7766
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7759
7767
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7760
7768
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7761
7769
|
|
|
7762
|
-
// 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
|
|
7763
7771
|
var conversation = strictObject({
|
|
7764
7772
|
id,
|
|
7765
7773
|
chat: reference,
|
|
@@ -7774,7 +7782,7 @@ var conversation = strictObject({
|
|
|
7774
7782
|
rules_version: count
|
|
7775
7783
|
});
|
|
7776
7784
|
|
|
7777
|
-
// 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
|
|
7778
7786
|
var conversationBuild = strictObject({
|
|
7779
7787
|
chat: id,
|
|
7780
7788
|
messages: count,
|
|
@@ -7799,7 +7807,7 @@ var catchUpPreparation = strictObject({
|
|
|
7799
7807
|
prepared: optional(conversationPreparation)
|
|
7800
7808
|
});
|
|
7801
7809
|
|
|
7802
|
-
// 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
|
|
7803
7811
|
var conversationDetails = union([
|
|
7804
7812
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7805
7813
|
message
|
|
@@ -7886,10 +7894,15 @@ var conversationHit = strictObject({
|
|
|
7886
7894
|
score: nullable(number()),
|
|
7887
7895
|
matched_in: optional(literal("context")),
|
|
7888
7896
|
by: array(picklist(["meaning", "words"])),
|
|
7889
|
-
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
|
|
7890
7903
|
});
|
|
7891
7904
|
|
|
7892
|
-
// 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
|
|
7893
7906
|
var counters = strictObject({
|
|
7894
7907
|
cutoff: time,
|
|
7895
7908
|
max_age_ms: milliseconds,
|
|
@@ -7919,7 +7932,7 @@ var counterRefresh = strictObject({
|
|
|
7919
7932
|
complete: optional(boolean())
|
|
7920
7933
|
});
|
|
7921
7934
|
|
|
7922
|
-
// 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
|
|
7923
7936
|
var document = strictObject({
|
|
7924
7937
|
ref: reference,
|
|
7925
7938
|
id,
|
|
@@ -7934,7 +7947,7 @@ var document = strictObject({
|
|
|
7934
7947
|
owners: optional(array(text))
|
|
7935
7948
|
});
|
|
7936
7949
|
|
|
7937
|
-
// 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
|
|
7938
7951
|
var documentLink = strictObject({
|
|
7939
7952
|
ref: reference,
|
|
7940
7953
|
url: text,
|
|
@@ -7945,7 +7958,7 @@ var documentLink = strictObject({
|
|
|
7945
7958
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7946
7959
|
});
|
|
7947
7960
|
|
|
7948
|
-
// 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
|
|
7949
7962
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7950
7963
|
var contribution = strictObject({
|
|
7951
7964
|
message: evidenceMessage,
|
|
@@ -7975,7 +7988,7 @@ var retentionStay = strictObject({
|
|
|
7975
7988
|
});
|
|
7976
7989
|
var evidence = union([contribution, retentionStay]);
|
|
7977
7990
|
|
|
7978
|
-
// 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
|
|
7979
7992
|
var fact = strictObject({
|
|
7980
7993
|
ref: reference,
|
|
7981
7994
|
id,
|
|
@@ -8006,7 +8019,7 @@ var fact = strictObject({
|
|
|
8006
8019
|
updated_at: time
|
|
8007
8020
|
});
|
|
8008
8021
|
|
|
8009
|
-
// 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
|
|
8010
8023
|
var hit = strictObject({
|
|
8011
8024
|
kind: picklist([
|
|
8012
8025
|
"message",
|
|
@@ -8018,6 +8031,9 @@ var hit = strictObject({
|
|
|
8018
8031
|
"deal",
|
|
8019
8032
|
"lead",
|
|
8020
8033
|
"crm_file",
|
|
8034
|
+
"issue",
|
|
8035
|
+
"project",
|
|
8036
|
+
"issue_comment",
|
|
8021
8037
|
...BUSINESS_KINDS
|
|
8022
8038
|
]),
|
|
8023
8039
|
ref: reference,
|
|
@@ -8025,6 +8041,8 @@ var hit = strictObject({
|
|
|
8025
8041
|
url: optional(text),
|
|
8026
8042
|
/** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
|
|
8027
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)),
|
|
8028
8046
|
/** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
|
|
8029
8047
|
title: nullable(text),
|
|
8030
8048
|
/** Null for a meeting whose start is unknown. */
|
|
@@ -8065,7 +8083,7 @@ var hit = strictObject({
|
|
|
8065
8083
|
untrusted
|
|
8066
8084
|
});
|
|
8067
8085
|
|
|
8068
|
-
// 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
|
|
8069
8087
|
var identity = strictObject({
|
|
8070
8088
|
ref: reference,
|
|
8071
8089
|
provider: text,
|
|
@@ -8081,7 +8099,7 @@ var identity = strictObject({
|
|
|
8081
8099
|
person: optional(nullable(reference))
|
|
8082
8100
|
});
|
|
8083
8101
|
|
|
8084
|
-
// 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
|
|
8085
8103
|
var imageEmbedding = strictObject({
|
|
8086
8104
|
model: text,
|
|
8087
8105
|
embedded: count,
|
|
@@ -8090,13 +8108,13 @@ var imageEmbedding = strictObject({
|
|
|
8090
8108
|
more: boolean()
|
|
8091
8109
|
});
|
|
8092
8110
|
|
|
8093
|
-
// 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
|
|
8094
8112
|
import { spawn } from "node:child_process";
|
|
8095
8113
|
import { randomBytes } from "node:crypto";
|
|
8096
8114
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8097
8115
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8098
8116
|
|
|
8099
|
-
// 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
|
|
8100
8118
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8101
8119
|
const total = input.total ?? null;
|
|
8102
8120
|
const updated = input.updatedAt ?? null;
|
|
@@ -8112,7 +8130,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8112
8130
|
};
|
|
8113
8131
|
}, "progressOf");
|
|
8114
8132
|
|
|
8115
|
-
// 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
|
|
8116
8134
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8117
8135
|
const run = currentRun();
|
|
8118
8136
|
const trace = traceId ?? run.traceId;
|
|
@@ -8126,7 +8144,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8126
8144
|
}));
|
|
8127
8145
|
}, "recordLogFor");
|
|
8128
8146
|
|
|
8129
|
-
// 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
|
|
8130
8148
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8131
8149
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8132
8150
|
const out = openSync(log, "a", 384);
|
|
@@ -8281,7 +8299,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8281
8299
|
return { job: id6, pid, chat: input.chat, log };
|
|
8282
8300
|
}, "startArchiveJob");
|
|
8283
8301
|
|
|
8284
|
-
// 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
|
|
8285
8303
|
var problem = strictObject({ code: text, message: text });
|
|
8286
8304
|
var job = strictObject({
|
|
8287
8305
|
id,
|
|
@@ -8304,7 +8322,7 @@ var job = strictObject({
|
|
|
8304
8322
|
error: optional(problem)
|
|
8305
8323
|
});
|
|
8306
8324
|
|
|
8307
|
-
// 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
|
|
8308
8326
|
var joinRequest = strictObject({
|
|
8309
8327
|
person_id: id,
|
|
8310
8328
|
name: nullable(text),
|
|
@@ -8315,7 +8333,7 @@ var joinRequest = strictObject({
|
|
|
8315
8333
|
about: optional(text)
|
|
8316
8334
|
});
|
|
8317
8335
|
|
|
8318
|
-
// 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
|
|
8319
8337
|
var botProfile = strictObject({
|
|
8320
8338
|
name: text,
|
|
8321
8339
|
token: text,
|
|
@@ -8439,7 +8457,7 @@ var stickerInventory = strictObject({
|
|
|
8439
8457
|
url: optional(nullable(text))
|
|
8440
8458
|
});
|
|
8441
8459
|
|
|
8442
|
-
// 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
|
|
8443
8461
|
var pollVote = strictObject({
|
|
8444
8462
|
person_id: id,
|
|
8445
8463
|
name: nullable(text),
|
|
@@ -8449,7 +8467,7 @@ var pollVote = strictObject({
|
|
|
8449
8467
|
voted_at: time
|
|
8450
8468
|
});
|
|
8451
8469
|
|
|
8452
|
-
// 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
|
|
8453
8471
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8454
8472
|
var observation = strictObject({
|
|
8455
8473
|
value: pipe(number(), minValue(0)),
|
|
@@ -8491,7 +8509,7 @@ var serveSummary = strictObject({
|
|
|
8491
8509
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8492
8510
|
});
|
|
8493
8511
|
|
|
8494
|
-
// 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
|
|
8495
8513
|
var mailCounts = strictObject({
|
|
8496
8514
|
by: picklist(["day", "week", "sender"]),
|
|
8497
8515
|
received: count,
|
|
@@ -8506,7 +8524,7 @@ var mailCounts = strictObject({
|
|
|
8506
8524
|
}))
|
|
8507
8525
|
});
|
|
8508
8526
|
|
|
8509
|
-
// 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
|
|
8510
8528
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8511
8529
|
var base = { id, evidence: array(evidence2) };
|
|
8512
8530
|
var finding = variant("kind", [
|
|
@@ -8650,7 +8668,7 @@ var mailFindings = strictObject({
|
|
|
8650
8668
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8651
8669
|
});
|
|
8652
8670
|
|
|
8653
|
-
// 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
|
|
8654
8672
|
var mediaArchive = strictObject({
|
|
8655
8673
|
directory: text,
|
|
8656
8674
|
chats: count,
|
|
@@ -8682,7 +8700,7 @@ var mediaArchiveTimer = union([
|
|
|
8682
8700
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8683
8701
|
]);
|
|
8684
8702
|
|
|
8685
|
-
// 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
|
|
8686
8704
|
var preparationId = pipe(string(), minLength(1));
|
|
8687
8705
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8688
8706
|
var preparationTime = nullable(isoTime);
|
|
@@ -8774,7 +8792,7 @@ var preparationMeeting = strictObject({
|
|
|
8774
8792
|
updated_at: isoTime
|
|
8775
8793
|
});
|
|
8776
8794
|
|
|
8777
|
-
// 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
|
|
8778
8796
|
var meetingEvidence = preparationEvidence;
|
|
8779
8797
|
var meetingPersonContext = strictObject({
|
|
8780
8798
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8796,7 +8814,7 @@ var meetingPersonContext = strictObject({
|
|
|
8796
8814
|
})
|
|
8797
8815
|
});
|
|
8798
8816
|
|
|
8799
|
-
// 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
|
|
8800
8818
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8801
8819
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8802
8820
|
var finding2 = variant("kind", [
|
|
@@ -8834,7 +8852,7 @@ var meetingFindings = strictObject({
|
|
|
8834
8852
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8835
8853
|
});
|
|
8836
8854
|
|
|
8837
|
-
// 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
|
|
8838
8856
|
var communicationCoverage = strictObject({
|
|
8839
8857
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8840
8858
|
query: string(),
|
|
@@ -8879,7 +8897,7 @@ var preparationCommunications = strictObject({
|
|
|
8879
8897
|
}))
|
|
8880
8898
|
});
|
|
8881
8899
|
|
|
8882
|
-
// 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
|
|
8883
8901
|
var meetingPreparation = strictObject({
|
|
8884
8902
|
communications: optional(preparationCommunications),
|
|
8885
8903
|
schema_version: literal(1),
|
|
@@ -8992,7 +9010,7 @@ var meetingPreparation = strictObject({
|
|
|
8992
9010
|
})
|
|
8993
9011
|
});
|
|
8994
9012
|
|
|
8995
|
-
// 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
|
|
8996
9014
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
8997
9015
|
var id3 = pipe(string(), minLength(1));
|
|
8998
9016
|
var text3 = string();
|
|
@@ -9056,7 +9074,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9056
9074
|
})
|
|
9057
9075
|
});
|
|
9058
9076
|
|
|
9059
|
-
// 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
|
|
9060
9078
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9061
9079
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9062
9080
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9086,7 +9104,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9086
9104
|
})
|
|
9087
9105
|
});
|
|
9088
9106
|
|
|
9089
|
-
// 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
|
|
9090
9108
|
var text4 = string();
|
|
9091
9109
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9092
9110
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9103,7 +9121,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9103
9121
|
persistence: literal("proposal-only")
|
|
9104
9122
|
});
|
|
9105
9123
|
|
|
9106
|
-
// 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
|
|
9107
9125
|
var memory = strictObject({
|
|
9108
9126
|
ref: reference,
|
|
9109
9127
|
id,
|
|
@@ -9131,7 +9149,7 @@ var memory = strictObject({
|
|
|
9131
9149
|
updated_at: time
|
|
9132
9150
|
});
|
|
9133
9151
|
|
|
9134
|
-
// 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
|
|
9135
9153
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9136
9154
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9137
9155
|
var mention = strictObject({
|
|
@@ -9175,7 +9193,7 @@ var mentionRebuild = strictObject({
|
|
|
9175
9193
|
mentions: count
|
|
9176
9194
|
});
|
|
9177
9195
|
|
|
9178
|
-
// 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
|
|
9179
9197
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9180
9198
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9181
9199
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9184,7 +9202,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9184
9202
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9185
9203
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9186
9204
|
|
|
9187
|
-
// 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
|
|
9188
9206
|
var messageTranscript = strictObject({
|
|
9189
9207
|
message_id: id,
|
|
9190
9208
|
text,
|
|
@@ -9242,7 +9260,7 @@ var evidencePacket = strictObject({
|
|
|
9242
9260
|
}))
|
|
9243
9261
|
});
|
|
9244
9262
|
|
|
9245
|
-
// 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
|
|
9246
9264
|
var messageThread = strictObject({
|
|
9247
9265
|
ref: reference,
|
|
9248
9266
|
chat: id,
|
|
@@ -9259,7 +9277,7 @@ var messageThread = strictObject({
|
|
|
9259
9277
|
});
|
|
9260
9278
|
var messageContext = union([message, messageThread]);
|
|
9261
9279
|
|
|
9262
|
-
// 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
|
|
9263
9281
|
var messageCounts = strictObject({
|
|
9264
9282
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9265
9283
|
total: count,
|
|
@@ -9272,7 +9290,7 @@ var messageCounts = strictObject({
|
|
|
9272
9290
|
}))
|
|
9273
9291
|
});
|
|
9274
9292
|
|
|
9275
|
-
// 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
|
|
9276
9294
|
var messageLink = strictObject({
|
|
9277
9295
|
ref: reference,
|
|
9278
9296
|
url: nullable(text),
|
|
@@ -9289,7 +9307,7 @@ var messageLink = strictObject({
|
|
|
9289
9307
|
})))
|
|
9290
9308
|
});
|
|
9291
9309
|
|
|
9292
|
-
// 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
|
|
9293
9311
|
var savedMessageFile = strictObject({
|
|
9294
9312
|
kind: text,
|
|
9295
9313
|
path: text,
|
|
@@ -9376,7 +9394,7 @@ var messageSyncAll = strictObject({
|
|
|
9376
9394
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9377
9395
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9378
9396
|
|
|
9379
|
-
// 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
|
|
9380
9398
|
var messageWrite = strictObject({
|
|
9381
9399
|
operation_id: id,
|
|
9382
9400
|
message,
|
|
@@ -9391,7 +9409,7 @@ var draftWrite = strictObject({
|
|
|
9391
9409
|
});
|
|
9392
9410
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9393
9411
|
|
|
9394
|
-
// 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
|
|
9395
9413
|
var model2 = strictObject({
|
|
9396
9414
|
id,
|
|
9397
9415
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9426,7 +9444,7 @@ var chosenModel = strictObject({
|
|
|
9426
9444
|
estimate_seconds: nullable(count)
|
|
9427
9445
|
});
|
|
9428
9446
|
|
|
9429
|
-
// 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
|
|
9430
9448
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9431
9449
|
var modelKey = strictObject({
|
|
9432
9450
|
provider: text,
|
|
@@ -9436,7 +9454,7 @@ var modelKey = strictObject({
|
|
|
9436
9454
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9437
9455
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9438
9456
|
|
|
9439
|
-
// 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
|
|
9440
9458
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9441
9459
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9442
9460
|
var graph = strictObject({
|
|
@@ -9470,14 +9488,14 @@ var officialStats = strictObject({
|
|
|
9470
9488
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9471
9489
|
});
|
|
9472
9490
|
|
|
9473
|
-
// 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
|
|
9474
9492
|
var person2 = strictObject({
|
|
9475
9493
|
ref: reference,
|
|
9476
9494
|
name: nullable(text),
|
|
9477
9495
|
identities: optional(array(identity))
|
|
9478
9496
|
});
|
|
9479
9497
|
|
|
9480
|
-
// 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
|
|
9481
9499
|
var poll = strictObject({
|
|
9482
9500
|
chat_id: id,
|
|
9483
9501
|
message_id: id,
|
|
@@ -9493,11 +9511,11 @@ var poll = strictObject({
|
|
|
9493
9511
|
});
|
|
9494
9512
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9495
9513
|
|
|
9496
|
-
// 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
|
|
9497
9515
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9498
9516
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9499
9517
|
|
|
9500
|
-
// 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
|
|
9501
9519
|
var figures = record(string(), number());
|
|
9502
9520
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9503
9521
|
var rankingRow = strictObject({
|
|
@@ -9544,7 +9562,7 @@ var ranking = strictObject({
|
|
|
9544
9562
|
rows: array(rankingRow)
|
|
9545
9563
|
});
|
|
9546
9564
|
|
|
9547
|
-
// 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
|
|
9548
9566
|
var reaction = strictObject({
|
|
9549
9567
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9550
9568
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9552,7 +9570,7 @@ var reaction = strictObject({
|
|
|
9552
9570
|
reacted_at: time
|
|
9553
9571
|
});
|
|
9554
9572
|
|
|
9555
|
-
// 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
|
|
9556
9574
|
var reactionChange = strictObject({
|
|
9557
9575
|
operation_id: id,
|
|
9558
9576
|
chat_id: id,
|
|
@@ -9560,7 +9578,7 @@ var reactionChange = strictObject({
|
|
|
9560
9578
|
reaction: nullable(text)
|
|
9561
9579
|
});
|
|
9562
9580
|
|
|
9563
|
-
// 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
|
|
9564
9582
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9565
9583
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9566
9584
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9571,7 +9589,7 @@ var recipientChange = strictObject({
|
|
|
9571
9589
|
...partial(recipientOff).entries
|
|
9572
9590
|
});
|
|
9573
9591
|
|
|
9574
|
-
// 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
|
|
9575
9593
|
var events = array(record(string(), unknown()));
|
|
9576
9594
|
var recordedRun = strictObject({
|
|
9577
9595
|
run_id: id,
|
|
@@ -9643,7 +9661,7 @@ var runHit = strictObject({
|
|
|
9643
9661
|
});
|
|
9644
9662
|
var runLocation = strictObject({ path: text });
|
|
9645
9663
|
|
|
9646
|
-
// 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
|
|
9647
9665
|
var relationship = strictObject({
|
|
9648
9666
|
id,
|
|
9649
9667
|
from: reference,
|
|
@@ -9670,7 +9688,7 @@ var relationship = strictObject({
|
|
|
9670
9688
|
created_at: time
|
|
9671
9689
|
});
|
|
9672
9690
|
|
|
9673
|
-
// 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
|
|
9674
9692
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9675
9693
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9676
9694
|
var responseTimes = strictObject({
|
|
@@ -9687,7 +9705,7 @@ var waitingChats = strictObject({
|
|
|
9687
9705
|
by_kind: strictObject({ private: count, group: count })
|
|
9688
9706
|
});
|
|
9689
9707
|
|
|
9690
|
-
// 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
|
|
9691
9709
|
var retentionCohort = strictObject({
|
|
9692
9710
|
/** The first day of the joining day or week. */
|
|
9693
9711
|
cohort: text,
|
|
@@ -9735,7 +9753,7 @@ var retention = strictObject({
|
|
|
9735
9753
|
rows: array(retentionCohort)
|
|
9736
9754
|
});
|
|
9737
9755
|
|
|
9738
|
-
// 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
|
|
9739
9757
|
var savedSearch = strictObject({
|
|
9740
9758
|
id,
|
|
9741
9759
|
/** `null` for a run in the history. */
|
|
@@ -9752,7 +9770,7 @@ var savedSearch = strictObject({
|
|
|
9752
9770
|
});
|
|
9753
9771
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9754
9772
|
|
|
9755
|
-
// 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
|
|
9756
9774
|
var sendAttempt = strictObject({
|
|
9757
9775
|
at: time,
|
|
9758
9776
|
profile: text,
|
|
@@ -9780,7 +9798,7 @@ var sendAttempt = strictObject({
|
|
|
9780
9798
|
error_code: optional(text)
|
|
9781
9799
|
});
|
|
9782
9800
|
|
|
9783
|
-
// 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
|
|
9784
9802
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9785
9803
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9786
9804
|
var infoSchema = strictObject({
|
|
@@ -10010,7 +10028,7 @@ var storeRepair = union([
|
|
|
10010
10028
|
]);
|
|
10011
10029
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10012
10030
|
|
|
10013
|
-
// 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
|
|
10014
10032
|
var range = strictObject({ from: number(), to: number() });
|
|
10015
10033
|
var storeChatStatus = strictObject({
|
|
10016
10034
|
chat_id: id,
|
|
@@ -10108,7 +10126,7 @@ var storeJobRetry = union([
|
|
|
10108
10126
|
]);
|
|
10109
10127
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10110
10128
|
|
|
10111
|
-
// 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
|
|
10112
10130
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10113
10131
|
var storeTable = strictObject({
|
|
10114
10132
|
name: text,
|
|
@@ -10117,7 +10135,7 @@ var storeTable = strictObject({
|
|
|
10117
10135
|
bytes: optional(nullable(count))
|
|
10118
10136
|
});
|
|
10119
10137
|
|
|
10120
|
-
// 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
|
|
10121
10139
|
var tagTarget = variant("type", [
|
|
10122
10140
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10123
10141
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10148,7 +10166,7 @@ var automaticTags = strictObject({
|
|
|
10148
10166
|
dry_run: boolean()
|
|
10149
10167
|
});
|
|
10150
10168
|
|
|
10151
|
-
// 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
|
|
10152
10170
|
var tagging = strictObject({
|
|
10153
10171
|
tag: text,
|
|
10154
10172
|
type: picklist(TAG_TYPES),
|
|
@@ -10161,7 +10179,7 @@ var tagging = strictObject({
|
|
|
10161
10179
|
created_at: time
|
|
10162
10180
|
});
|
|
10163
10181
|
|
|
10164
|
-
// 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
|
|
10165
10183
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10166
10184
|
var taskPair = strictObject({
|
|
10167
10185
|
task: nullable(side),
|
|
@@ -10184,7 +10202,7 @@ var taskPair = strictObject({
|
|
|
10184
10202
|
created_at: time
|
|
10185
10203
|
});
|
|
10186
10204
|
|
|
10187
|
-
// 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
|
|
10188
10206
|
var nullableTime = nullable(time);
|
|
10189
10207
|
var link = strictObject({
|
|
10190
10208
|
id,
|
|
@@ -10358,7 +10376,7 @@ var taskReview = strictObject({
|
|
|
10358
10376
|
untrusted
|
|
10359
10377
|
});
|
|
10360
10378
|
|
|
10361
|
-
// 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
|
|
10362
10380
|
var template = strictObject({
|
|
10363
10381
|
key: text,
|
|
10364
10382
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10370,7 +10388,7 @@ var template = strictObject({
|
|
|
10370
10388
|
updated_by: nullable(text)
|
|
10371
10389
|
});
|
|
10372
10390
|
|
|
10373
|
-
// 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
|
|
10374
10392
|
var topic = strictObject({
|
|
10375
10393
|
id,
|
|
10376
10394
|
title: text,
|
|
@@ -10384,7 +10402,7 @@ var topic = strictObject({
|
|
|
10384
10402
|
untrusted
|
|
10385
10403
|
});
|
|
10386
10404
|
|
|
10387
|
-
// 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
|
|
10388
10406
|
var ENTITIES = {
|
|
10389
10407
|
sync_progress: progress,
|
|
10390
10408
|
deal,
|
|
@@ -10686,7 +10704,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10686
10704
|
return [name, definition];
|
|
10687
10705
|
})), "entityDefinitions");
|
|
10688
10706
|
|
|
10689
|
-
// 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
|
|
10690
10708
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10691
10709
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10692
10710
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10720,7 +10738,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10720
10738
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10721
10739
|
}, "answerRow");
|
|
10722
10740
|
|
|
10723
|
-
// 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
|
|
10724
10742
|
import { join as join5 } from "node:path";
|
|
10725
10743
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10726
10744
|
var IMAGE_MODELS = [
|
|
@@ -10774,7 +10792,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10774
10792
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10775
10793
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10776
10794
|
|
|
10777
|
-
// 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
|
|
10778
10796
|
var STEPS2 = defineSteps([
|
|
10779
10797
|
...STEPS,
|
|
10780
10798
|
{
|
|
@@ -11022,6 +11040,20 @@ var rootOf2 = /* @__PURE__ */ __name((command) => {
|
|
|
11022
11040
|
root = root.parent;
|
|
11023
11041
|
return root;
|
|
11024
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");
|
|
11025
11057
|
var commandAt = /* @__PURE__ */ __name((root, path2) => {
|
|
11026
11058
|
let at2 = root;
|
|
11027
11059
|
for (const word of path2.split(" "))
|
|
@@ -11064,7 +11096,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11064
11096
|
].join(" ");
|
|
11065
11097
|
}, "stepLine");
|
|
11066
11098
|
|
|
11067
|
-
// 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
|
|
11068
11100
|
var where = [{ field: "ref" }];
|
|
11069
11101
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11070
11102
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11156,7 +11188,7 @@ var STATUS_ROWS = {
|
|
|
11156
11188
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11157
11189
|
};
|
|
11158
11190
|
|
|
11159
|
-
// 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
|
|
11160
11192
|
var TEXT_CHARS = 400;
|
|
11161
11193
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11162
11194
|
var messageRow = {
|
|
@@ -11290,9 +11322,13 @@ var isListOrRecord = /* @__PURE__ */ __name((value) => typeof value === "object"
|
|
|
11290
11322
|
var firstSet = /* @__PURE__ */ __name((item, field, column) => fieldsOfColumn(field).map((path2) => at(item, path2)).find((value) => printable(value, column)), "firstSet");
|
|
11291
11323
|
var sourceOf = /* @__PURE__ */ __name((item, column) => fieldsOfColumn(column.field).find((path2) => printable(at(item, path2), column)), "sourceOf");
|
|
11292
11324
|
var clean = /* @__PURE__ */ __name((text5) => visibleControls(text5.replace(/\s+/g, " ").trim()), "clean");
|
|
11325
|
+
var BLOCK = /^(⟦untrusted:([0-9a-f]{16}) [^⟦⟧]*⟧)([^⟦⟧]*)(⟦\/untrusted:\2⟧)$/su;
|
|
11293
11326
|
var cut = /* @__PURE__ */ __name((text5, chars) => {
|
|
11294
11327
|
if (chars <= 0)
|
|
11295
11328
|
return text5;
|
|
11329
|
+
const block = BLOCK.exec(text5);
|
|
11330
|
+
if (block)
|
|
11331
|
+
return `${block[1]}${cut(block[3] ?? "", chars)}${block[4]}`;
|
|
11296
11332
|
const letters = Array.from(text5);
|
|
11297
11333
|
return letters.length <= chars ? text5 : `${letters.slice(0, chars).join("")}\u2026(+${letters.length - chars})`;
|
|
11298
11334
|
}, "cut");
|
|
@@ -11524,7 +11560,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11524
11560
|
return lines.concat(footerOf(body)).join("\n");
|
|
11525
11561
|
}, "compactText");
|
|
11526
11562
|
|
|
11527
|
-
// 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
|
|
11528
11564
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11529
11565
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11530
11566
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11582,7 +11618,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11582
11618
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11583
11619
|
}, "largeAnswerSteps");
|
|
11584
11620
|
|
|
11585
|
-
// 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
|
|
11586
11622
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11587
11623
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11588
11624
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11596,7 +11632,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11596
11632
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11597
11633
|
}, "strip");
|
|
11598
11634
|
|
|
11599
|
-
// 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
|
|
11600
11636
|
var OPEN = "\u27E6";
|
|
11601
11637
|
var CLOSE = "\u27E7";
|
|
11602
11638
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11618,19 +11654,35 @@ var idOf = /* @__PURE__ */ __name((value) => {
|
|
|
11618
11654
|
const id6 = value.ref ?? value.id;
|
|
11619
11655
|
return typeof id6 === "string" || typeof id6 === "number" ? String(id6) : void 0;
|
|
11620
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");
|
|
11621
11666
|
var markAt = /* @__PURE__ */ __name((value, path2, mark, source2, id6) => {
|
|
11622
11667
|
if (Array.isArray(value))
|
|
11623
11668
|
return value.map((one) => markAt(one, path2, mark, source2, id6));
|
|
11624
11669
|
if (path2.length === 0)
|
|
11625
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);
|
|
11626
11673
|
if (value === null || typeof value !== "object")
|
|
11627
11674
|
return value;
|
|
11628
11675
|
const [key = "", ...rest] = path2;
|
|
11629
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)]));
|
|
11630
11680
|
if (!(key in record2))
|
|
11631
11681
|
return value;
|
|
11632
|
-
return { ...record2, [key]: markAt(record2[key], rest, mark, source2,
|
|
11682
|
+
return { ...record2, [key]: markAt(record2[key], rest, mark, source2, own) };
|
|
11633
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.*"];
|
|
11634
11686
|
var withUntrustedMarked = /* @__PURE__ */ __name((value, mark, id6) => {
|
|
11635
11687
|
if (Array.isArray(value))
|
|
11636
11688
|
return value.map((one) => withUntrustedMarked(one, mark, id6));
|
|
@@ -11665,9 +11717,12 @@ var MESSAGE_UNTRUSTED = [
|
|
|
11665
11717
|
"bcc.name",
|
|
11666
11718
|
"reply_addresses.name"
|
|
11667
11719
|
];
|
|
11720
|
+
var CHAT_UNTRUSTED = ["title", "description"];
|
|
11721
|
+
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
11668
11722
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
11669
11723
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
11670
|
-
DECLARED.
|
|
11724
|
+
const raw = DECLARED.get(command) === API_UNTRUSTED;
|
|
11725
|
+
DECLARED.set(command, raw ? [.../* @__PURE__ */ new Set([...API_UNTRUSTED, ...fields])] : fields);
|
|
11671
11726
|
return command;
|
|
11672
11727
|
}, "marksUntrusted");
|
|
11673
11728
|
var untrustedFieldsOf = /* @__PURE__ */ __name((command) => DECLARED.get(command), "untrustedFieldsOf");
|
|
@@ -11684,7 +11739,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11684
11739
|
return result;
|
|
11685
11740
|
}, "withFieldsMarked");
|
|
11686
11741
|
|
|
11687
|
-
// 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
|
|
11688
11743
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11689
11744
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11690
11745
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12047,6 +12102,15 @@ export {
|
|
|
12047
12102
|
imageModelsDirectory,
|
|
12048
12103
|
placedImage,
|
|
12049
12104
|
isImageModelInstalled,
|
|
12105
|
+
untrustedMarkOf,
|
|
12106
|
+
runMarkOf,
|
|
12107
|
+
marked,
|
|
12108
|
+
withoutRunMarks,
|
|
12109
|
+
API_UNTRUSTED,
|
|
12110
|
+
withUntrustedMarked,
|
|
12111
|
+
CHAT_UNTRUSTED,
|
|
12112
|
+
CONTACT_UNTRUSTED,
|
|
12113
|
+
marksUntrusted,
|
|
12050
12114
|
answerEntity,
|
|
12051
12115
|
answerEntitySchema,
|
|
12052
12116
|
answerProjectionSchema,
|
|
@@ -12056,6 +12120,7 @@ export {
|
|
|
12056
12120
|
nextStep,
|
|
12057
12121
|
lineOf,
|
|
12058
12122
|
rootOf2,
|
|
12123
|
+
typedCommandPath,
|
|
12059
12124
|
commandAt,
|
|
12060
12125
|
runnable,
|
|
12061
12126
|
failureSteps,
|
|
@@ -12063,9 +12128,6 @@ export {
|
|
|
12063
12128
|
stepLine,
|
|
12064
12129
|
tooLargeSteps,
|
|
12065
12130
|
withoutProviderRefs,
|
|
12066
|
-
runMarkOf,
|
|
12067
|
-
withUntrustedMarked,
|
|
12068
|
-
marksUntrusted,
|
|
12069
12131
|
answerSchema,
|
|
12070
12132
|
listOf,
|
|
12071
12133
|
itemOf,
|