@wirecat/tg-cli 0.133.0 → 0.135.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/contracts/wirecat.json +82 -2
- package/dist/bin/tg.js +2 -2
- package/dist/bot/generated/types.d.ts +188 -0
- package/dist/bot/generated/types.d.ts.map +1 -1
- package/dist/bundle/{adapter-GSGX3WBH.js → adapter-OHJF6PB5.js} +104 -69
- package/dist/bundle/agent-QPF2KU4I.js +37 -0
- package/dist/bundle/{all-profiles-VOCJ55YH.js → all-profiles-LQ73BIFB.js} +62 -20
- package/dist/bundle/{anthropic-J6CTLU3W.js → anthropic-YYBMT2HD.js} +5 -5
- package/dist/bundle/{app-server-GVFGA4TJ.js → app-server-HV4C4CSA.js} +72 -62
- package/dist/bundle/{bot-api-LWONPIGK.js → bot-api-URQXWMVR.js} +73 -92
- package/dist/bundle/{bot-history-XOW7Y2GC.js → bot-history-FRLCHPDQ.js} +23 -22
- package/dist/bundle/{bun-436CH6CP.js → bun-J3ML43BO.js} +2 -2
- package/dist/bundle/{bun-sqlite-ZLB5RK5Q.js → bun-sqlite-ZNB2B2DL.js} +6 -6
- package/dist/bundle/{chunk-UGS57TT5.js → chunk-24G3SEXH.js} +2 -2
- package/dist/bundle/chunk-27F6QBPY.js +555 -0
- package/dist/bundle/{chunk-6VCSOQFL.js → chunk-2OFCIF2W.js} +2 -2
- package/dist/bundle/{chunk-VGN5YXYI.js → chunk-2U7XA4IH.js} +2 -100
- package/dist/bundle/{chunk-LBZEZO32.js → chunk-4CLSIEWN.js} +65 -43
- package/dist/bundle/chunk-5CEKH6R6.js +340 -0
- package/dist/bundle/{chunk-SMI2EUH4.js → chunk-5WEEK65F.js} +1 -1
- package/dist/bundle/{chunk-OX73ERZW.js → chunk-6VWVYPH2.js} +3 -4
- package/dist/bundle/{chunk-5HKPQPD4.js → chunk-6WS474NQ.js} +6 -6
- package/dist/bundle/{chunk-IYAXLLGR.js → chunk-7GWOGEWJ.js} +6 -6
- package/dist/bundle/{chunk-TPD37ECC.js → chunk-AMRMU23L.js} +16 -3
- package/dist/bundle/{chunk-ZHO3TPHM.js → chunk-B2UXNYCD.js} +30 -15
- package/dist/bundle/{chunk-YY6FGKGD.js → chunk-B4ZMFU5I.js} +2 -2
- package/dist/bundle/{chunk-54WLIPIQ.js → chunk-BFKPMG5T.js} +1 -1
- package/dist/bundle/{chunk-KHUXDSXN.js → chunk-BQSODAU3.js} +1 -1
- package/dist/bundle/{chunk-N3JUHGKM.js → chunk-BXUMZWMN.js} +3786 -3364
- package/dist/bundle/{chunk-VTQMR3XG.js → chunk-E2VIO7RY.js} +3 -3
- package/dist/bundle/{chunk-UZ63ORMY.js → chunk-F5FOS64B.js} +4 -4
- package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-GCUFGDKE.js} +2 -2
- package/dist/bundle/chunk-GUERS64O.js +108 -0
- package/dist/bundle/{chunk-5LRTYBZW.js → chunk-HILS2UL7.js} +12 -12
- package/dist/bundle/{chunk-6S77EKZU.js → chunk-IOJOLV25.js} +17 -15
- package/dist/bundle/{chunk-IBCXEVNY.js → chunk-JBS4VPAX.js} +3 -3
- package/dist/bundle/{chunk-5L44DSHV.js → chunk-K5QGBYDL.js} +4 -4
- package/dist/bundle/{chunk-NO2LIHWA.js → chunk-KKXF6TSS.js} +1 -1
- package/dist/bundle/chunk-L2ZQDTDU.js +7 -0
- package/dist/bundle/{chunk-HB5DP6L5.js → chunk-LFPUW7DR.js} +18 -18
- package/dist/bundle/{chunk-QWO7L4UH.js → chunk-LGYATGQI.js} +7 -7
- package/dist/bundle/{chunk-IH4Z3KZU.js → chunk-MA27675E.js} +2 -2
- package/dist/bundle/{chunk-6H2NW6HK.js → chunk-MDI7554C.js} +3 -3
- package/dist/bundle/{chunk-KVFUH5IT.js → chunk-MMZ4QAKJ.js} +1 -1
- package/dist/bundle/{chunk-XOX4BX5A.js → chunk-MOPBEBVS.js} +4 -4
- package/dist/bundle/{chunk-XKOMP3HV.js → chunk-MPRXUTIK.js} +6 -6
- package/dist/bundle/{chunk-QYLZD4DS.js → chunk-N7F5KT6U.js} +1 -1
- package/dist/bundle/{chunk-KUA24HWG.js → chunk-NBP6LXSY.js} +2 -2
- package/dist/bundle/{chunk-UQYL6TJ7.js → chunk-NP46ZKQW.js} +4 -4
- package/dist/bundle/{chunk-QGWISM4W.js → chunk-NRSJXUUO.js} +34 -28
- package/dist/bundle/{chunk-7NYP4RBO.js → chunk-NVWZ7S3I.js} +2294 -1221
- package/dist/bundle/chunk-OBIMTRA7.js +80 -0
- package/dist/bundle/{chunk-VWJTYAIQ.js → chunk-OQJURSRL.js} +17 -17
- package/dist/bundle/chunk-OU3WN4YH.js +50 -0
- package/dist/bundle/{chunk-VCAOH45X.js → chunk-PBK2ECXT.js} +1 -1
- package/dist/bundle/{chunk-TTDZVWDU.js → chunk-PHAFT2BO.js} +1 -1
- package/dist/bundle/{chunk-NTWXL2QV.js → chunk-PKIGE4NE.js} +2 -2
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-NAXOT35J.js → chunk-QBRQLOZA.js} +3 -3
- package/dist/bundle/{chunk-RABUG4KA.js → chunk-QD4MTOI7.js} +511 -472
- package/dist/bundle/{chunk-LOS4D6ZB.js → chunk-QHQ52UMF.js} +159 -569
- package/dist/bundle/{chunk-6CHIGUCY.js → chunk-R2G3MWEF.js} +31 -20
- package/dist/bundle/{chunk-THYGLTRB.js → chunk-RCEP5OXD.js} +7 -7
- package/dist/bundle/chunk-RHJ2VGHV.js +353 -0
- package/dist/bundle/{chunk-QVGEL66U.js → chunk-RXBKVNOK.js} +53 -11
- package/dist/bundle/{chunk-ZYAHZKYF.js → chunk-RZ7POTFA.js} +3 -3
- package/dist/bundle/{chunk-KEN4B57V.js → chunk-S7PIM4GG.js} +2 -2
- package/dist/bundle/{chunk-BXVB42KJ.js → chunk-SIDGH56R.js} +2 -2
- package/dist/bundle/{chunk-XDQU5HBO.js → chunk-SRMELB6Q.js} +12 -12
- package/dist/bundle/{chunk-SMU6NA7F.js → chunk-SVPNU7PD.js} +4 -4
- package/dist/bundle/{chunk-JPNVEPS4.js → chunk-TB2MG6PE.js} +2351 -2028
- package/dist/bundle/{chunk-JGMXBAGH.js → chunk-UN5TH2CG.js} +156 -434
- package/dist/bundle/{chunk-YAPDU3SV.js → chunk-V3ZWYMXT.js} +1 -1
- package/dist/bundle/{chunk-7NF3V5L2.js → chunk-VFU25P57.js} +4 -4
- package/dist/bundle/{chunk-LQQSDGQ6.js → chunk-VJEMCJPL.js} +56 -46
- package/dist/bundle/{chunk-UIAKLELF.js → chunk-VK2NDTBS.js} +94 -64
- package/dist/bundle/{chunk-UKBK2VWZ.js → chunk-W6A2OZ3C.js} +232 -176
- package/dist/bundle/{chunk-IPPCQ7IK.js → chunk-WDI6LA4X.js} +2 -2
- package/dist/bundle/{chunk-N7QREPZW.js → chunk-WTGRQGQL.js} +16 -9
- package/dist/bundle/{chunk-57KJ3TRS.js → chunk-WUCTF2XE.js} +9 -9
- package/dist/bundle/{chunk-JKSD43L7.js → chunk-WZCRCCOZ.js} +6 -6
- package/dist/bundle/{chunk-H7ML7X3G.js → chunk-XB6O445X.js} +144 -10
- package/dist/bundle/{chunk-O6JUVATT.js → chunk-XKFES4EM.js} +35 -12
- package/dist/bundle/chunk-YBUX6EAK.js +388 -0
- package/dist/bundle/{chunk-WCYKVX3B.js → chunk-YMRL7MYS.js} +7 -7
- package/dist/bundle/{chunk-M6QOM6SL.js → chunk-Z6M6NZUX.js} +1 -1
- package/dist/bundle/chunk-ZCDRXKCR.js +727 -0
- package/dist/bundle/{chunk-6A44ZZFC.js → chunk-ZJ3S4S6H.js} +43 -64
- package/dist/bundle/{chunk-TCI7I6YF.js → chunk-ZL7TJXFL.js} +11 -25
- package/dist/bundle/{chunk-2KQDJHF3.js → chunk-ZMBVZWUW.js} +29 -1
- package/dist/bundle/{chunk-OWY52JBO.js → chunk-ZMTASSIB.js} +7 -7
- package/dist/bundle/{chunk-D2SJLZSH.js → chunk-ZQ5ERQHO.js} +2 -2
- package/dist/bundle/{chunk-CEJYNB3I.js → chunk-ZWVDXVG3.js} +4 -4
- package/dist/bundle/command-contract-K4MU32K6.js +37 -0
- package/dist/bundle/{command-server-entry-AE27QXTE.js → command-server-entry-XP6BVJIK.js} +27 -27
- package/dist/bundle/{decode-RQPPZ72F.js → decode-TUB45ALX.js} +5 -5
- package/dist/bundle/{dispatch-KQO2MCSH.js → dispatch-ICPUKMEG.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FZRIACN4.js → echarts-HJ7D7XTM.js} +2 -2
- package/dist/bundle/{embed-TOSWWMDL.js → embed-4QDN36YF.js} +6 -6
- package/dist/bundle/{embedder-JHIQSBGD.js → embedder-Q7ID2LEG.js} +9 -9
- package/dist/bundle/{entry-DU4KRXTG.js → entry-Z6VRZP7F.js} +9 -9
- package/dist/bundle/{failure-3YC3YGYO.js → failure-PEPNEEK7.js} +2 -2
- package/dist/bundle/{first-run-DQQT4FID.js → first-run-GKBEHAAX.js} +12 -12
- package/dist/bundle/first-screen-IA3ONZ75.js +37 -0
- package/dist/bundle/{instructions-WI64CJQ6.js → instructions-26ZXYYMY.js} +1 -1
- package/dist/bundle/{mcp-VMS6PBCU.js → mcp-KGWT6TGO.js} +2 -2
- package/dist/bundle/meeting-combined-KUV2HP52.js +23 -0
- package/dist/bundle/{meeting-model-XNRSREIK.js → meeting-model-JB7X4CA3.js} +11 -11
- package/dist/bundle/{meeting-semantic-OOSCHQMB.js → meeting-semantic-MQNUVG33.js} +6 -6
- package/dist/bundle/{node-JLKDNVKV.js → node-RIANITAT.js} +2 -2
- package/dist/bundle/{node-sqlite-YOGH26O2.js → node-sqlite-I2P26Z3S.js} +7 -7
- package/dist/bundle/{oauth-FOMXM5HP.js → oauth-GFMJL2ZZ.js} +8 -8
- package/dist/bundle/{open-SM2UXUKM.js → open-CWVYEFNN.js} +5 -5
- package/dist/bundle/{openai-J2H7S6ZF.js → openai-PQLK7YTJ.js} +15 -15
- package/dist/bundle/{process-HI7OZBOI.js → process-P4D4KFWE.js} +1 -1
- package/dist/bundle/{program-VY4HFU25.js → program-MF4QZJKH.js} +70 -64
- package/dist/bundle/{prompt-NUUVFMOF.js → prompt-JWIOYU53.js} +5 -5
- package/dist/bundle/{proxy-transport-AN4VMRRN.js → proxy-transport-DWY6ABVT.js} +5 -5
- package/dist/bundle/{recognize-MALJHPDI.js → recognize-IPJL4CQZ.js} +4 -4
- package/dist/bundle/{remote-QUDRSTS2.js → remote-DVY6F6YO.js} +9 -9
- package/dist/bundle/{rerank-2DSO3D3S.js → rerank-XSPWLBIO.js} +7 -7
- package/dist/bundle/{serve-NCJ52MY3.js → serve-AJAVEH2M.js} +15 -15
- package/dist/bundle/server-GGXUR5BZ.js +78 -0
- package/dist/bundle/{server-Y3M544AM.js → server-GII7NIKF.js} +65 -54
- package/dist/bundle/{sqlite-runtime-NJUSXVKK.js → sqlite-runtime-KFDYJTUO.js} +6 -6
- package/dist/bundle/{state-AVOWQVET.js → state-76OJSCQC.js} +6 -6
- package/dist/bundle/{store-MMIYOL4H.js → store-2KJS4YMH.js} +28 -17
- package/dist/bundle/{store-BZ5ICDRP.js → store-FBP2J23G.js} +20 -19
- package/dist/bundle/store-maintenance-command-NUWOUZ62.js +65 -0
- package/dist/bundle/surface-EGSHCISG.js +64 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/telegram/adapter.d.ts +9 -2
- package/dist/telegram/adapter.d.ts.map +1 -1
- package/dist/telegram/adapter.js +5 -6
- package/dist/telegram/adapter.js.map +1 -1
- package/dist/telegram/messages.d.ts +12 -0
- package/dist/telegram/messages.d.ts.map +1 -1
- package/dist/telegram/messages.js +40 -0
- package/dist/telegram/messages.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +7 -4
- package/skills/tg-cli/references/messages.md +5 -1
- package/skills/tg-cli/references/search.md +2 -0
- package/dist/bundle/chunk-SHTHNBHG.js +0 -2
- package/dist/bundle/command-contract-TQIARAB4.js +0 -37
- package/dist/bundle/first-screen-7N4CTZSA.js +0 -37
- package/dist/bundle/meeting-combined-3RAOFQ7M.js +0 -23
- package/dist/bundle/server-CHGON5I2.js +0 -70
- package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +0 -61
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LGYATGQI.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QBRQLOZA.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestorValue,
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-S7PIM4GG.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N7F5KT6U.js";
|
|
25
25
|
import {
|
|
26
26
|
note
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-JBS4VPAX.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_RERANK_MODEL,
|
|
30
30
|
RERANK_MODELS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WZCRCCOZ.js";
|
|
32
32
|
import {
|
|
33
33
|
endpoint
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XB6O445X.js";
|
|
35
35
|
import {
|
|
36
36
|
filesPresent,
|
|
37
37
|
sharedModelsDirectory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-K5QGBYDL.js";
|
|
39
39
|
import {
|
|
40
40
|
BUSINESS_KINDS,
|
|
41
41
|
CATEGORIES,
|
|
@@ -93,18 +93,18 @@ import {
|
|
|
93
93
|
typedCommand,
|
|
94
94
|
untrusted,
|
|
95
95
|
useAsProcessRun
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-4CLSIEWN.js";
|
|
97
97
|
import {
|
|
98
98
|
isCliFailure,
|
|
99
99
|
storeDamaged
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-RZ7POTFA.js";
|
|
101
101
|
import {
|
|
102
102
|
TAG_TYPES
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-MA27675E.js";
|
|
104
104
|
import {
|
|
105
105
|
repairConfigText,
|
|
106
106
|
sharedConfigPath
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-YMRL7MYS.js";
|
|
108
108
|
import {
|
|
109
109
|
FACT_TYPES,
|
|
110
110
|
FIELD_TYPES,
|
|
@@ -132,10 +132,10 @@ import {
|
|
|
132
132
|
parseLucene,
|
|
133
133
|
readsZone,
|
|
134
134
|
timezoneOf
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-QD4MTOI7.js";
|
|
136
136
|
import {
|
|
137
137
|
storePath
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-2OFCIF2W.js";
|
|
139
139
|
import {
|
|
140
140
|
configFilePath,
|
|
141
141
|
createRecordLog,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
resolvePaths,
|
|
148
148
|
saveConfigFile,
|
|
149
149
|
writeSecurely
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-R2G3MWEF.js";
|
|
151
151
|
import {
|
|
152
152
|
COMPACT_FLAG,
|
|
153
153
|
MAX_NEXT_STEPS,
|
|
@@ -199,18 +199,18 @@ import {
|
|
|
199
199
|
unwrap,
|
|
200
200
|
variant,
|
|
201
201
|
writes
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-RXBKVNOK.js";
|
|
203
203
|
import {
|
|
204
204
|
CliError,
|
|
205
205
|
isCliError,
|
|
206
206
|
singleLine,
|
|
207
207
|
visibleControls
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-GCUFGDKE.js";
|
|
209
209
|
import {
|
|
210
210
|
__name
|
|
211
211
|
} from "./chunk-ZVVMGPBJ.js";
|
|
212
212
|
|
|
213
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_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
|
|
214
214
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
215
215
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
216
216
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3711,7 +3711,7 @@ __name(useColor, "useColor");
|
|
|
3711
3711
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3712
3712
|
var program = new Command();
|
|
3713
3713
|
|
|
3714
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3714
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_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
|
|
3715
3715
|
import { isDeepStrictEqual } from "node:util";
|
|
3716
3716
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3717
3717
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3913,7 +3913,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3913
3913
|
return command;
|
|
3914
3914
|
}, "customizeSharedCommand");
|
|
3915
3915
|
|
|
3916
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3916
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_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
|
|
3917
3917
|
var argumentInfoSchema = object({
|
|
3918
3918
|
name: string(),
|
|
3919
3919
|
required: boolean(),
|
|
@@ -3987,7 +3987,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3987
3987
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3988
3988
|
});
|
|
3989
3989
|
|
|
3990
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3990
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_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
|
|
3991
3991
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3992
3992
|
let command = root;
|
|
3993
3993
|
const path2 = [];
|
|
@@ -4005,9 +4005,16 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4005
4005
|
}
|
|
4006
4006
|
}, "refuseJoinedPath");
|
|
4007
4007
|
|
|
4008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4009
4009
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4010
|
-
var DANGEROUS = /* @__PURE__ */ new Set([
|
|
4010
|
+
var DANGEROUS = /* @__PURE__ */ new Set([
|
|
4011
|
+
"messages.delete",
|
|
4012
|
+
"messages.scheduled.cancel",
|
|
4013
|
+
"bot.messages.delete",
|
|
4014
|
+
"topics.delete",
|
|
4015
|
+
"chats.delete",
|
|
4016
|
+
"chats.clear"
|
|
4017
|
+
]);
|
|
4011
4018
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
4012
4019
|
var DEFAULT_PERMISSIONS = {
|
|
4013
4020
|
// Owner, 2026-11-14: deleting a message does not ask; a profile that wants the question sets `ask`.
|
|
@@ -4228,6 +4235,9 @@ var NAMED_WRITE_KEYS = [
|
|
|
4228
4235
|
"messages.sync-first",
|
|
4229
4236
|
"messages.server-search",
|
|
4230
4237
|
"messages.press",
|
|
4238
|
+
"messages.scheduled.cancel",
|
|
4239
|
+
"messages.scheduled.edit",
|
|
4240
|
+
"messages.scheduled.send",
|
|
4231
4241
|
"chats.start",
|
|
4232
4242
|
"chats.app",
|
|
4233
4243
|
"stats.messages.counters.sync",
|
|
@@ -4431,7 +4441,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4431
4441
|
}
|
|
4432
4442
|
}, "assertRetentionEvidenceRead");
|
|
4433
4443
|
|
|
4434
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4435
4445
|
var account = strictObject({
|
|
4436
4446
|
provider: text,
|
|
4437
4447
|
id,
|
|
@@ -4441,7 +4451,7 @@ var account = strictObject({
|
|
|
4441
4451
|
scope: optional(picklist(["personal", "work"]))
|
|
4442
4452
|
});
|
|
4443
4453
|
|
|
4444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4445
4455
|
var accountSession = strictObject({
|
|
4446
4456
|
current: boolean(),
|
|
4447
4457
|
client: nullable(text),
|
|
@@ -4451,7 +4461,7 @@ var accountSession = strictObject({
|
|
|
4451
4461
|
created_at: optional(nullable(time))
|
|
4452
4462
|
});
|
|
4453
4463
|
|
|
4454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4455
4465
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4456
4466
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4457
4467
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4480,7 +4490,7 @@ var accountRemoval = strictObject({
|
|
|
4480
4490
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4481
4491
|
});
|
|
4482
4492
|
|
|
4483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4484
4494
|
var accountProfile = strictObject({
|
|
4485
4495
|
profile: id,
|
|
4486
4496
|
current: boolean(),
|
|
@@ -4492,7 +4502,7 @@ var accountProfile = strictObject({
|
|
|
4492
4502
|
bot: optional(literal(true))
|
|
4493
4503
|
});
|
|
4494
4504
|
|
|
4495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4496
4506
|
var milliseconds = pipe(number(), minValue(0));
|
|
4497
4507
|
var counterReading = strictObject({
|
|
4498
4508
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4504,7 +4514,7 @@ var counterReading = strictObject({
|
|
|
4504
4514
|
});
|
|
4505
4515
|
var selection = record(string(), unknown());
|
|
4506
4516
|
|
|
4507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4508
4518
|
var adminRow = strictObject({
|
|
4509
4519
|
ref: reference,
|
|
4510
4520
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4557,7 +4567,7 @@ var adminReport = strictObject({
|
|
|
4557
4567
|
rows: array(adminRow)
|
|
4558
4568
|
});
|
|
4559
4569
|
|
|
4560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4561
4571
|
var closeSuggestion = strictObject({
|
|
4562
4572
|
as: picklist(["done", "dismissed"]),
|
|
4563
4573
|
/** The agent's name. */
|
|
@@ -4619,7 +4629,7 @@ var task = strictObject({
|
|
|
4619
4629
|
updated_at: optional(time)
|
|
4620
4630
|
});
|
|
4621
4631
|
|
|
4622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4623
4633
|
var agendaChat = strictObject({
|
|
4624
4634
|
chat: reference,
|
|
4625
4635
|
title: nullable(text),
|
|
@@ -4689,11 +4699,11 @@ var agenda = strictObject({
|
|
|
4689
4699
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4690
4700
|
});
|
|
4691
4701
|
|
|
4692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4693
4703
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4694
4704
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4695
4705
|
|
|
4696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4697
4707
|
var attachment = strictObject({
|
|
4698
4708
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4699
4709
|
message: optional(reference),
|
|
@@ -4738,7 +4748,7 @@ var hitFile = strictObject({
|
|
|
4738
4748
|
local_path: optional(text)
|
|
4739
4749
|
});
|
|
4740
4750
|
|
|
4741
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4742
4752
|
var actionableError = objectWithRest({
|
|
4743
4753
|
code: text,
|
|
4744
4754
|
message: text,
|
|
@@ -4755,7 +4765,7 @@ var batchResult = strictObject({
|
|
|
4755
4765
|
max_error_percent: count
|
|
4756
4766
|
});
|
|
4757
4767
|
|
|
4758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4759
4769
|
var extractionItem = strictObject({
|
|
4760
4770
|
ref: reference,
|
|
4761
4771
|
attachment: count,
|
|
@@ -4788,7 +4798,7 @@ var extractionReport = strictObject({
|
|
|
4788
4798
|
cursor: optional(text)
|
|
4789
4799
|
});
|
|
4790
4800
|
|
|
4791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4792
4802
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4793
4803
|
var attachmentBytes = strictObject({
|
|
4794
4804
|
ref: reference,
|
|
@@ -4819,7 +4829,7 @@ var attachmentTextChange = strictObject({
|
|
|
4819
4829
|
text: optional(text)
|
|
4820
4830
|
});
|
|
4821
4831
|
|
|
4822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4823
4833
|
var WEIGHTS = {
|
|
4824
4834
|
bot: 3,
|
|
4825
4835
|
scam: 3,
|
|
@@ -4844,7 +4854,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4844
4854
|
var DIGITS = /\d{5,}/;
|
|
4845
4855
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4846
4856
|
|
|
4847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4848
4858
|
var linkedIdentity = strictObject({
|
|
4849
4859
|
provider: text,
|
|
4850
4860
|
id,
|
|
@@ -4899,7 +4909,7 @@ var contactCheck = strictObject({
|
|
|
4899
4909
|
checked_at: time
|
|
4900
4910
|
});
|
|
4901
4911
|
|
|
4902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4903
4913
|
var member = strictObject({
|
|
4904
4914
|
id,
|
|
4905
4915
|
name: nullable(text),
|
|
@@ -4922,7 +4932,7 @@ var member = strictObject({
|
|
|
4922
4932
|
check: optional(record(string(), unknown()))
|
|
4923
4933
|
});
|
|
4924
4934
|
|
|
4925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4926
4936
|
var setting = optional(nullable(boolean()));
|
|
4927
4937
|
var chat = strictObject({
|
|
4928
4938
|
ref: reference,
|
|
@@ -4963,7 +4973,7 @@ var chat = strictObject({
|
|
|
4963
4973
|
members: optional(array(member))
|
|
4964
4974
|
});
|
|
4965
4975
|
|
|
4966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4967
4977
|
var quoted = strictObject({
|
|
4968
4978
|
id,
|
|
4969
4979
|
sender_id: nullable(id),
|
|
@@ -5077,12 +5087,14 @@ var message = strictObject({
|
|
|
5077
5087
|
/** Mail `review`: no earlier stored email, in any account, came from this address. */
|
|
5078
5088
|
new_sender: optional(boolean()),
|
|
5079
5089
|
/** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
|
|
5080
|
-
sender_identities: optional(number())
|
|
5090
|
+
sender_identities: optional(number()),
|
|
5091
|
+
/** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
|
|
5092
|
+
inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
|
|
5081
5093
|
})),
|
|
5082
5094
|
provider_metadata: providerMetadata
|
|
5083
5095
|
});
|
|
5084
5096
|
|
|
5085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
5086
5098
|
var recordedMeeting = strictObject({
|
|
5087
5099
|
ref: reference,
|
|
5088
5100
|
meeting_id: count,
|
|
@@ -5099,7 +5111,7 @@ var recordedMeeting = strictObject({
|
|
|
5099
5111
|
call: optional(meetingCall)
|
|
5100
5112
|
});
|
|
5101
5113
|
|
|
5102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5103
5115
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5104
5116
|
var contextMessage = strictObject({
|
|
5105
5117
|
locator: reference,
|
|
@@ -5305,7 +5317,7 @@ var contactPreparation = strictObject({
|
|
|
5305
5317
|
})
|
|
5306
5318
|
});
|
|
5307
5319
|
|
|
5308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5309
5321
|
var nullableText = nullable(text);
|
|
5310
5322
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5311
5323
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5461,7 +5473,7 @@ var stage = strictObject({
|
|
|
5461
5473
|
untrusted
|
|
5462
5474
|
});
|
|
5463
5475
|
|
|
5464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5465
5477
|
var nullableText2 = nullable(text);
|
|
5466
5478
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5467
5479
|
var standing = picklist(STANDINGS);
|
|
@@ -5547,6 +5559,16 @@ var taskLine = strictObject({
|
|
|
5547
5559
|
due_at: nullable(time)
|
|
5548
5560
|
});
|
|
5549
5561
|
var counts = { messages: count, mail: count, meetings: count };
|
|
5562
|
+
var touch = {
|
|
5563
|
+
kind: picklist(["message", "mail", "meeting"]),
|
|
5564
|
+
ref: reference,
|
|
5565
|
+
title: nullableText2,
|
|
5566
|
+
at: nullable(time),
|
|
5567
|
+
people: array(reference),
|
|
5568
|
+
text: optional(nullableText2),
|
|
5569
|
+
call: optional(meetingCall),
|
|
5570
|
+
duration_ms: optional(nullable(count))
|
|
5571
|
+
};
|
|
5550
5572
|
var personBusiness = strictObject({
|
|
5551
5573
|
organizations: section(strictObject({ ...related.entries, categories })),
|
|
5552
5574
|
reports_to: section(related),
|
|
@@ -5586,6 +5608,8 @@ var organizationContext = strictObject({
|
|
|
5586
5608
|
money,
|
|
5587
5609
|
/** Counts only, through its own people, in the accounts read. */
|
|
5588
5610
|
communications: strictObject({ ...counts, has_more: boolean() }),
|
|
5611
|
+
/** Its people's messages, mail and meetings, newest first. */
|
|
5612
|
+
history: section(strictObject(touch)),
|
|
5589
5613
|
tasks: section(taskLine),
|
|
5590
5614
|
coverage: coverage2
|
|
5591
5615
|
});
|
|
@@ -5601,17 +5625,7 @@ var dealContext = strictObject({
|
|
|
5601
5625
|
window: strictObject({ since: time, until: time }),
|
|
5602
5626
|
/** Shared people within its lifetime: `proposed`, an overlap of people, never a link. */
|
|
5603
5627
|
communications: strictObject({
|
|
5604
|
-
...section(strictObject({
|
|
5605
|
-
kind: picklist(["message", "mail", "meeting"]),
|
|
5606
|
-
ref: reference,
|
|
5607
|
-
title: nullableText2,
|
|
5608
|
-
at: nullable(time),
|
|
5609
|
-
people: array(reference),
|
|
5610
|
-
text: optional(nullableText2),
|
|
5611
|
-
call: optional(meetingCall),
|
|
5612
|
-
duration_ms: optional(nullable(count)),
|
|
5613
|
-
standing: literal("proposed")
|
|
5614
|
-
})).entries,
|
|
5628
|
+
...section(strictObject({ ...touch, standing: literal("proposed") })).entries,
|
|
5615
5629
|
counts: strictObject(counts)
|
|
5616
5630
|
}),
|
|
5617
5631
|
tasks: section(taskLine),
|
|
@@ -5638,7 +5652,7 @@ var dealBrief = strictObject({
|
|
|
5638
5652
|
not_read: coverage2.entries.not_read
|
|
5639
5653
|
});
|
|
5640
5654
|
|
|
5641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5642
5656
|
var chart = strictObject({
|
|
5643
5657
|
version: literal(1),
|
|
5644
5658
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5653,7 +5667,7 @@ var chart = strictObject({
|
|
|
5653
5667
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5654
5668
|
});
|
|
5655
5669
|
|
|
5656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5657
5671
|
var named = strictObject({
|
|
5658
5672
|
id,
|
|
5659
5673
|
title: nullable(text),
|
|
@@ -5676,7 +5690,7 @@ var folder = strictObject({
|
|
|
5676
5690
|
excluded_chats: optional(array(named))
|
|
5677
5691
|
});
|
|
5678
5692
|
|
|
5679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5680
5694
|
var inviteLink = strictObject({
|
|
5681
5695
|
link: text,
|
|
5682
5696
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5692,7 +5706,7 @@ var inviteLink = strictObject({
|
|
|
5692
5706
|
joined_count: optional(count)
|
|
5693
5707
|
});
|
|
5694
5708
|
|
|
5695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5696
5710
|
var operated = { operation_id: id, chat_id: id };
|
|
5697
5711
|
var group = strictObject({
|
|
5698
5712
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5772,7 +5786,7 @@ var chatFolderOrder = strictObject({
|
|
|
5772
5786
|
folders: array(strictObject({ id, title: text }))
|
|
5773
5787
|
});
|
|
5774
5788
|
|
|
5775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5776
5790
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5777
5791
|
var chatRemoval = strictObject(operated2);
|
|
5778
5792
|
var chatMuting = strictObject({
|
|
@@ -5783,7 +5797,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5783
5797
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5784
5798
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5785
5799
|
|
|
5786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5787
5801
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5788
5802
|
var chatEvent = strictObject({
|
|
5789
5803
|
chat_id: id,
|
|
@@ -5800,7 +5814,7 @@ var chatEvent = strictObject({
|
|
|
5800
5814
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5801
5815
|
});
|
|
5802
5816
|
|
|
5803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5804
5818
|
var chatMetadata = strictObject({
|
|
5805
5819
|
chat_id: id,
|
|
5806
5820
|
title: nullable(text),
|
|
@@ -5815,7 +5829,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5815
5829
|
has_more: boolean()
|
|
5816
5830
|
});
|
|
5817
5831
|
|
|
5818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5819
5833
|
var action = picklist(["report", "delete", "remove"]);
|
|
5820
5834
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5821
5835
|
var chatRules = strictObject({
|
|
@@ -5852,7 +5866,7 @@ var chatModeration = strictObject({
|
|
|
5852
5866
|
}))
|
|
5853
5867
|
});
|
|
5854
5868
|
|
|
5855
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5869
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
5856
5870
|
var chatSending = strictObject({
|
|
5857
5871
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
5858
5872
|
meaning: text,
|
|
@@ -5862,7 +5876,7 @@ var chatSending = strictObject({
|
|
|
5862
5876
|
changed: optional(boolean())
|
|
5863
5877
|
});
|
|
5864
5878
|
|
|
5865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5866
5880
|
var optionalCount = optional(count);
|
|
5867
5881
|
var minutes = nullable(number());
|
|
5868
5882
|
var chatStats = strictObject({
|
|
@@ -5938,7 +5952,7 @@ var taskStats = strictObject({
|
|
|
5938
5952
|
}))
|
|
5939
5953
|
});
|
|
5940
5954
|
|
|
5941
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5942
5956
|
var memberCount = strictObject({
|
|
5943
5957
|
day: pipe(text, isoDate()),
|
|
5944
5958
|
participants: nullable(count),
|
|
@@ -5961,7 +5975,7 @@ var chatTracking = strictObject({
|
|
|
5961
5975
|
tracked: boolean()
|
|
5962
5976
|
});
|
|
5963
5977
|
|
|
5964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5965
5979
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5966
5980
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5967
5981
|
var profileFields = {
|
|
@@ -5999,7 +6013,7 @@ var profileFields = {
|
|
|
5999
6013
|
}))
|
|
6000
6014
|
};
|
|
6001
6015
|
|
|
6002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6003
6017
|
var contact = strictObject({
|
|
6004
6018
|
ref: reference,
|
|
6005
6019
|
id,
|
|
@@ -6030,7 +6044,7 @@ var contact = strictObject({
|
|
|
6030
6044
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6031
6045
|
});
|
|
6032
6046
|
|
|
6033
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
6034
6048
|
var contactNote = strictObject({
|
|
6035
6049
|
id,
|
|
6036
6050
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6042,13 +6056,13 @@ var contactNote = strictObject({
|
|
|
6042
6056
|
updated_at: time
|
|
6043
6057
|
});
|
|
6044
6058
|
|
|
6045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
6046
6060
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6047
6061
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6048
6062
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6049
6063
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6050
6064
|
|
|
6051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6052
6066
|
var conversation = strictObject({
|
|
6053
6067
|
id,
|
|
6054
6068
|
chat: reference,
|
|
@@ -6063,7 +6077,7 @@ var conversation = strictObject({
|
|
|
6063
6077
|
rules_version: count
|
|
6064
6078
|
});
|
|
6065
6079
|
|
|
6066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6080
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
6067
6081
|
var conversationBuild = strictObject({
|
|
6068
6082
|
chat: id,
|
|
6069
6083
|
messages: count,
|
|
@@ -6088,7 +6102,7 @@ var catchUpPreparation = strictObject({
|
|
|
6088
6102
|
prepared: optional(conversationPreparation)
|
|
6089
6103
|
});
|
|
6090
6104
|
|
|
6091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6092
6106
|
var conversationDetails = union([
|
|
6093
6107
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6094
6108
|
message
|
|
@@ -6175,10 +6189,15 @@ var conversationHit = strictObject({
|
|
|
6175
6189
|
score: nullable(number()),
|
|
6176
6190
|
matched_in: optional(literal("context")),
|
|
6177
6191
|
by: array(picklist(["meaning", "words"])),
|
|
6178
|
-
stale: boolean()
|
|
6192
|
+
stale: boolean(),
|
|
6193
|
+
/** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
|
|
6194
|
+
lines: optional(array(text)),
|
|
6195
|
+
/** In the block of the owner's own conversations, which the hits before it left out. */
|
|
6196
|
+
from_owner: optional(literal(true)),
|
|
6197
|
+
untrusted
|
|
6179
6198
|
});
|
|
6180
6199
|
|
|
6181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6182
6201
|
var counters = strictObject({
|
|
6183
6202
|
cutoff: time,
|
|
6184
6203
|
max_age_ms: milliseconds,
|
|
@@ -6208,7 +6227,7 @@ var counterRefresh = strictObject({
|
|
|
6208
6227
|
complete: optional(boolean())
|
|
6209
6228
|
});
|
|
6210
6229
|
|
|
6211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6212
6231
|
var document = strictObject({
|
|
6213
6232
|
ref: reference,
|
|
6214
6233
|
id,
|
|
@@ -6223,7 +6242,7 @@ var document = strictObject({
|
|
|
6223
6242
|
owners: optional(array(text))
|
|
6224
6243
|
});
|
|
6225
6244
|
|
|
6226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6227
6246
|
var documentLink = strictObject({
|
|
6228
6247
|
ref: reference,
|
|
6229
6248
|
url: text,
|
|
@@ -6234,7 +6253,7 @@ var documentLink = strictObject({
|
|
|
6234
6253
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6235
6254
|
});
|
|
6236
6255
|
|
|
6237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6238
6257
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6239
6258
|
var contribution = strictObject({
|
|
6240
6259
|
message: evidenceMessage,
|
|
@@ -6264,7 +6283,7 @@ var retentionStay = strictObject({
|
|
|
6264
6283
|
});
|
|
6265
6284
|
var evidence = union([contribution, retentionStay]);
|
|
6266
6285
|
|
|
6267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6268
6287
|
var fact = strictObject({
|
|
6269
6288
|
ref: reference,
|
|
6270
6289
|
id,
|
|
@@ -6295,9 +6314,20 @@ var fact = strictObject({
|
|
|
6295
6314
|
updated_at: time
|
|
6296
6315
|
});
|
|
6297
6316
|
|
|
6298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6299
6318
|
var hit = strictObject({
|
|
6300
|
-
kind: picklist([
|
|
6319
|
+
kind: picklist([
|
|
6320
|
+
"message",
|
|
6321
|
+
"mail",
|
|
6322
|
+
"note",
|
|
6323
|
+
"document",
|
|
6324
|
+
"event",
|
|
6325
|
+
"meeting",
|
|
6326
|
+
"deal",
|
|
6327
|
+
"lead",
|
|
6328
|
+
"crm_file",
|
|
6329
|
+
...BUSINESS_KINDS
|
|
6330
|
+
]),
|
|
6301
6331
|
ref: reference,
|
|
6302
6332
|
provider: text,
|
|
6303
6333
|
url: optional(text),
|
|
@@ -6343,7 +6373,7 @@ var hit = strictObject({
|
|
|
6343
6373
|
untrusted
|
|
6344
6374
|
});
|
|
6345
6375
|
|
|
6346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6347
6377
|
var identity = strictObject({
|
|
6348
6378
|
ref: reference,
|
|
6349
6379
|
provider: text,
|
|
@@ -6359,7 +6389,7 @@ var identity = strictObject({
|
|
|
6359
6389
|
person: optional(nullable(reference))
|
|
6360
6390
|
});
|
|
6361
6391
|
|
|
6362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6363
6393
|
var imageEmbedding = strictObject({
|
|
6364
6394
|
model: text,
|
|
6365
6395
|
embedded: count,
|
|
@@ -6368,13 +6398,13 @@ var imageEmbedding = strictObject({
|
|
|
6368
6398
|
more: boolean()
|
|
6369
6399
|
});
|
|
6370
6400
|
|
|
6371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6372
6402
|
import { spawn } from "node:child_process";
|
|
6373
6403
|
import { randomBytes } from "node:crypto";
|
|
6374
6404
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6375
6405
|
import { dirname, join } from "node:path";
|
|
6376
6406
|
|
|
6377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6378
6408
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6379
6409
|
const total = input.total ?? null;
|
|
6380
6410
|
const updated = input.updatedAt ?? null;
|
|
@@ -6390,7 +6420,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6390
6420
|
};
|
|
6391
6421
|
}, "progressOf");
|
|
6392
6422
|
|
|
6393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6394
6424
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6395
6425
|
const run = currentRun();
|
|
6396
6426
|
const trace = traceId ?? run.traceId;
|
|
@@ -6404,7 +6434,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6404
6434
|
}));
|
|
6405
6435
|
}, "recordLogFor");
|
|
6406
6436
|
|
|
6407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6408
6438
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6409
6439
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6410
6440
|
const out = openSync(log, "a", 384);
|
|
@@ -6559,7 +6589,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6559
6589
|
return { job: id6, pid, chat: input.chat, log };
|
|
6560
6590
|
}, "startArchiveJob");
|
|
6561
6591
|
|
|
6562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6563
6593
|
var problem = strictObject({ code: text, message: text });
|
|
6564
6594
|
var job = strictObject({
|
|
6565
6595
|
id,
|
|
@@ -6582,7 +6612,7 @@ var job = strictObject({
|
|
|
6582
6612
|
error: optional(problem)
|
|
6583
6613
|
});
|
|
6584
6614
|
|
|
6585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6586
6616
|
var joinRequest = strictObject({
|
|
6587
6617
|
person_id: id,
|
|
6588
6618
|
name: nullable(text),
|
|
@@ -6593,7 +6623,7 @@ var joinRequest = strictObject({
|
|
|
6593
6623
|
about: optional(text)
|
|
6594
6624
|
});
|
|
6595
6625
|
|
|
6596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6597
6627
|
var botProfile = strictObject({
|
|
6598
6628
|
name: text,
|
|
6599
6629
|
token: text,
|
|
@@ -6717,7 +6747,7 @@ var stickerInventory = strictObject({
|
|
|
6717
6747
|
url: optional(nullable(text))
|
|
6718
6748
|
});
|
|
6719
6749
|
|
|
6720
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6721
6751
|
var pollVote = strictObject({
|
|
6722
6752
|
person_id: id,
|
|
6723
6753
|
name: nullable(text),
|
|
@@ -6727,7 +6757,7 @@ var pollVote = strictObject({
|
|
|
6727
6757
|
voted_at: time
|
|
6728
6758
|
});
|
|
6729
6759
|
|
|
6730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6760
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6731
6761
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6732
6762
|
var observation = strictObject({
|
|
6733
6763
|
value: pipe(number(), minValue(0)),
|
|
@@ -6769,7 +6799,7 @@ var serveSummary = strictObject({
|
|
|
6769
6799
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6770
6800
|
});
|
|
6771
6801
|
|
|
6772
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6773
6803
|
var mailCounts = strictObject({
|
|
6774
6804
|
by: picklist(["day", "week", "sender"]),
|
|
6775
6805
|
received: count,
|
|
@@ -6784,7 +6814,7 @@ var mailCounts = strictObject({
|
|
|
6784
6814
|
}))
|
|
6785
6815
|
});
|
|
6786
6816
|
|
|
6787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6788
6818
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6789
6819
|
var base = { id, evidence: array(evidence2) };
|
|
6790
6820
|
var finding = variant("kind", [
|
|
@@ -6928,7 +6958,7 @@ var mailFindings = strictObject({
|
|
|
6928
6958
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6929
6959
|
});
|
|
6930
6960
|
|
|
6931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6932
6962
|
var mediaArchive = strictObject({
|
|
6933
6963
|
directory: text,
|
|
6934
6964
|
chats: count,
|
|
@@ -6960,7 +6990,7 @@ var mediaArchiveTimer = union([
|
|
|
6960
6990
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6961
6991
|
]);
|
|
6962
6992
|
|
|
6963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6964
6994
|
var preparationId = pipe(string(), minLength(1));
|
|
6965
6995
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6966
6996
|
var preparationTime = nullable(isoTime);
|
|
@@ -7052,7 +7082,7 @@ var preparationMeeting = strictObject({
|
|
|
7052
7082
|
updated_at: isoTime
|
|
7053
7083
|
});
|
|
7054
7084
|
|
|
7055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
7056
7086
|
var meetingEvidence = preparationEvidence;
|
|
7057
7087
|
var meetingPersonContext = strictObject({
|
|
7058
7088
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -7074,7 +7104,7 @@ var meetingPersonContext = strictObject({
|
|
|
7074
7104
|
})
|
|
7075
7105
|
});
|
|
7076
7106
|
|
|
7077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
7078
7108
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
7079
7109
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
7080
7110
|
var finding2 = variant("kind", [
|
|
@@ -7112,7 +7142,7 @@ var meetingFindings = strictObject({
|
|
|
7112
7142
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7113
7143
|
});
|
|
7114
7144
|
|
|
7115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7116
7146
|
var communicationCoverage = strictObject({
|
|
7117
7147
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7118
7148
|
query: string(),
|
|
@@ -7157,7 +7187,7 @@ var preparationCommunications = strictObject({
|
|
|
7157
7187
|
}))
|
|
7158
7188
|
});
|
|
7159
7189
|
|
|
7160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7161
7191
|
var meetingPreparation = strictObject({
|
|
7162
7192
|
communications: optional(preparationCommunications),
|
|
7163
7193
|
schema_version: literal(1),
|
|
@@ -7270,7 +7300,7 @@ var meetingPreparation = strictObject({
|
|
|
7270
7300
|
})
|
|
7271
7301
|
});
|
|
7272
7302
|
|
|
7273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7274
7304
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7275
7305
|
var id3 = pipe(string(), minLength(1));
|
|
7276
7306
|
var text3 = string();
|
|
@@ -7334,7 +7364,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7334
7364
|
})
|
|
7335
7365
|
});
|
|
7336
7366
|
|
|
7337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7338
7368
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7339
7369
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7340
7370
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7364,7 +7394,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7364
7394
|
})
|
|
7365
7395
|
});
|
|
7366
7396
|
|
|
7367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7368
7398
|
var text4 = string();
|
|
7369
7399
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7370
7400
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7381,7 +7411,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7381
7411
|
persistence: literal("proposal-only")
|
|
7382
7412
|
});
|
|
7383
7413
|
|
|
7384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7385
7415
|
var memory = strictObject({
|
|
7386
7416
|
ref: reference,
|
|
7387
7417
|
id,
|
|
@@ -7409,7 +7439,7 @@ var memory = strictObject({
|
|
|
7409
7439
|
updated_at: time
|
|
7410
7440
|
});
|
|
7411
7441
|
|
|
7412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7413
7443
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7414
7444
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7415
7445
|
var mention = strictObject({
|
|
@@ -7453,13 +7483,16 @@ var mentionRebuild = strictObject({
|
|
|
7453
7483
|
mentions: count
|
|
7454
7484
|
});
|
|
7455
7485
|
|
|
7456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7457
7487
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7458
7488
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7459
7489
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7460
7490
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7491
|
+
var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
|
|
7492
|
+
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
7493
|
+
var scheduledSend = strictObject(scheduledSendEntries);
|
|
7461
7494
|
|
|
7462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7463
7496
|
var messageTranscript = strictObject({
|
|
7464
7497
|
message_id: id,
|
|
7465
7498
|
text,
|
|
@@ -7517,7 +7550,7 @@ var evidencePacket = strictObject({
|
|
|
7517
7550
|
}))
|
|
7518
7551
|
});
|
|
7519
7552
|
|
|
7520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7521
7554
|
var messageThread = strictObject({
|
|
7522
7555
|
ref: reference,
|
|
7523
7556
|
chat: id,
|
|
@@ -7534,7 +7567,7 @@ var messageThread = strictObject({
|
|
|
7534
7567
|
});
|
|
7535
7568
|
var messageContext = union([message, messageThread]);
|
|
7536
7569
|
|
|
7537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7538
7571
|
var messageCounts = strictObject({
|
|
7539
7572
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7540
7573
|
total: count,
|
|
@@ -7547,7 +7580,7 @@ var messageCounts = strictObject({
|
|
|
7547
7580
|
}))
|
|
7548
7581
|
});
|
|
7549
7582
|
|
|
7550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7551
7584
|
var messageLink = strictObject({
|
|
7552
7585
|
ref: reference,
|
|
7553
7586
|
url: nullable(text),
|
|
@@ -7564,7 +7597,7 @@ var messageLink = strictObject({
|
|
|
7564
7597
|
})))
|
|
7565
7598
|
});
|
|
7566
7599
|
|
|
7567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7568
7601
|
var savedMessageFile = strictObject({
|
|
7569
7602
|
kind: text,
|
|
7570
7603
|
path: text,
|
|
@@ -7651,7 +7684,7 @@ var messageSyncAll = strictObject({
|
|
|
7651
7684
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7652
7685
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7653
7686
|
|
|
7654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7655
7688
|
var messageWrite = strictObject({
|
|
7656
7689
|
operation_id: id,
|
|
7657
7690
|
message,
|
|
@@ -7666,7 +7699,7 @@ var draftWrite = strictObject({
|
|
|
7666
7699
|
});
|
|
7667
7700
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7668
7701
|
|
|
7669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7670
7703
|
var model = strictObject({
|
|
7671
7704
|
id,
|
|
7672
7705
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7701,7 +7734,7 @@ var chosenModel = strictObject({
|
|
|
7701
7734
|
estimate_seconds: nullable(count)
|
|
7702
7735
|
});
|
|
7703
7736
|
|
|
7704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7705
7738
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7706
7739
|
var modelKey = strictObject({
|
|
7707
7740
|
provider: text,
|
|
@@ -7711,7 +7744,7 @@ var modelKey = strictObject({
|
|
|
7711
7744
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7712
7745
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7713
7746
|
|
|
7714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7715
7748
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7716
7749
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7717
7750
|
var graph = strictObject({
|
|
@@ -7745,14 +7778,14 @@ var officialStats = strictObject({
|
|
|
7745
7778
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7746
7779
|
});
|
|
7747
7780
|
|
|
7748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7749
7782
|
var person2 = strictObject({
|
|
7750
7783
|
ref: reference,
|
|
7751
7784
|
name: nullable(text),
|
|
7752
7785
|
identities: optional(array(identity))
|
|
7753
7786
|
});
|
|
7754
7787
|
|
|
7755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7756
7789
|
var poll = strictObject({
|
|
7757
7790
|
chat_id: id,
|
|
7758
7791
|
message_id: id,
|
|
@@ -7768,11 +7801,11 @@ var poll = strictObject({
|
|
|
7768
7801
|
});
|
|
7769
7802
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7770
7803
|
|
|
7771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7772
7805
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7773
7806
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7774
7807
|
|
|
7775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7776
7809
|
var figures = record(string(), number());
|
|
7777
7810
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7778
7811
|
var rankingRow = strictObject({
|
|
@@ -7819,7 +7852,7 @@ var ranking = strictObject({
|
|
|
7819
7852
|
rows: array(rankingRow)
|
|
7820
7853
|
});
|
|
7821
7854
|
|
|
7822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7855
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7823
7856
|
var reaction = strictObject({
|
|
7824
7857
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7825
7858
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7827,7 +7860,7 @@ var reaction = strictObject({
|
|
|
7827
7860
|
reacted_at: time
|
|
7828
7861
|
});
|
|
7829
7862
|
|
|
7830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7831
7864
|
var reactionChange = strictObject({
|
|
7832
7865
|
operation_id: id,
|
|
7833
7866
|
chat_id: id,
|
|
@@ -7835,7 +7868,7 @@ var reactionChange = strictObject({
|
|
|
7835
7868
|
reaction: nullable(text)
|
|
7836
7869
|
});
|
|
7837
7870
|
|
|
7838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7839
7872
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7840
7873
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7841
7874
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7846,7 +7879,7 @@ var recipientChange = strictObject({
|
|
|
7846
7879
|
...partial(recipientOff).entries
|
|
7847
7880
|
});
|
|
7848
7881
|
|
|
7849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7850
7883
|
var events = array(record(string(), unknown()));
|
|
7851
7884
|
var recordedRun = strictObject({
|
|
7852
7885
|
run_id: id,
|
|
@@ -7918,7 +7951,7 @@ var runHit = strictObject({
|
|
|
7918
7951
|
});
|
|
7919
7952
|
var runLocation = strictObject({ path: text });
|
|
7920
7953
|
|
|
7921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7922
7955
|
var relationship = strictObject({
|
|
7923
7956
|
id,
|
|
7924
7957
|
from: reference,
|
|
@@ -7945,7 +7978,7 @@ var relationship = strictObject({
|
|
|
7945
7978
|
created_at: time
|
|
7946
7979
|
});
|
|
7947
7980
|
|
|
7948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7981
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7949
7982
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7950
7983
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7951
7984
|
var responseTimes = strictObject({
|
|
@@ -7962,7 +7995,7 @@ var waitingChats = strictObject({
|
|
|
7962
7995
|
by_kind: strictObject({ private: count, group: count })
|
|
7963
7996
|
});
|
|
7964
7997
|
|
|
7965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7966
7999
|
var retentionCohort = strictObject({
|
|
7967
8000
|
/** The first day of the joining day or week. */
|
|
7968
8001
|
cohort: text,
|
|
@@ -8010,7 +8043,7 @@ var retention = strictObject({
|
|
|
8010
8043
|
rows: array(retentionCohort)
|
|
8011
8044
|
});
|
|
8012
8045
|
|
|
8013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
8014
8047
|
var savedSearch = strictObject({
|
|
8015
8048
|
id,
|
|
8016
8049
|
/** `null` for a run in the history. */
|
|
@@ -8027,7 +8060,7 @@ var savedSearch = strictObject({
|
|
|
8027
8060
|
});
|
|
8028
8061
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
8029
8062
|
|
|
8030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
8031
8064
|
var sendAttempt = strictObject({
|
|
8032
8065
|
at: time,
|
|
8033
8066
|
profile: text,
|
|
@@ -8055,7 +8088,7 @@ var sendAttempt = strictObject({
|
|
|
8055
8088
|
error_code: optional(text)
|
|
8056
8089
|
});
|
|
8057
8090
|
|
|
8058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
8059
8092
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
8060
8093
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
8061
8094
|
var infoSchema = strictObject({
|
|
@@ -8285,7 +8318,7 @@ var storeRepair = union([
|
|
|
8285
8318
|
]);
|
|
8286
8319
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8287
8320
|
|
|
8288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8289
8322
|
var range = strictObject({ from: number(), to: number() });
|
|
8290
8323
|
var storeChatStatus = strictObject({
|
|
8291
8324
|
chat_id: id,
|
|
@@ -8383,7 +8416,7 @@ var storeJobRetry = union([
|
|
|
8383
8416
|
]);
|
|
8384
8417
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8385
8418
|
|
|
8386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8387
8420
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8388
8421
|
var storeTable = strictObject({
|
|
8389
8422
|
name: text,
|
|
@@ -8392,7 +8425,7 @@ var storeTable = strictObject({
|
|
|
8392
8425
|
bytes: optional(nullable(count))
|
|
8393
8426
|
});
|
|
8394
8427
|
|
|
8395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8396
8429
|
var tagTarget = variant("type", [
|
|
8397
8430
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8398
8431
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8423,7 +8456,7 @@ var automaticTags = strictObject({
|
|
|
8423
8456
|
dry_run: boolean()
|
|
8424
8457
|
});
|
|
8425
8458
|
|
|
8426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8427
8460
|
var tagging = strictObject({
|
|
8428
8461
|
tag: text,
|
|
8429
8462
|
type: picklist(TAG_TYPES),
|
|
@@ -8436,7 +8469,7 @@ var tagging = strictObject({
|
|
|
8436
8469
|
created_at: time
|
|
8437
8470
|
});
|
|
8438
8471
|
|
|
8439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8440
8473
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8441
8474
|
var taskPair = strictObject({
|
|
8442
8475
|
task: nullable(side),
|
|
@@ -8459,7 +8492,7 @@ var taskPair = strictObject({
|
|
|
8459
8492
|
created_at: time
|
|
8460
8493
|
});
|
|
8461
8494
|
|
|
8462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8463
8496
|
var nullableTime = nullable(time);
|
|
8464
8497
|
var link = strictObject({
|
|
8465
8498
|
id,
|
|
@@ -8633,7 +8666,7 @@ var taskReview = strictObject({
|
|
|
8633
8666
|
untrusted
|
|
8634
8667
|
});
|
|
8635
8668
|
|
|
8636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8637
8670
|
var template = strictObject({
|
|
8638
8671
|
key: text,
|
|
8639
8672
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8645,7 +8678,7 @@ var template = strictObject({
|
|
|
8645
8678
|
updated_by: nullable(text)
|
|
8646
8679
|
});
|
|
8647
8680
|
|
|
8648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8649
8682
|
var topic = strictObject({
|
|
8650
8683
|
id,
|
|
8651
8684
|
title: text,
|
|
@@ -8659,7 +8692,7 @@ var topic = strictObject({
|
|
|
8659
8692
|
untrusted
|
|
8660
8693
|
});
|
|
8661
8694
|
|
|
8662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8663
8696
|
var ENTITIES = {
|
|
8664
8697
|
sync_progress: progress,
|
|
8665
8698
|
deal,
|
|
@@ -8693,6 +8726,7 @@ var ENTITIES = {
|
|
|
8693
8726
|
attachments: optional(array(hitFile)),
|
|
8694
8727
|
untrusted
|
|
8695
8728
|
}),
|
|
8729
|
+
// Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
|
|
8696
8730
|
"message.summary": strictObject({
|
|
8697
8731
|
...pick(message, [
|
|
8698
8732
|
"ref",
|
|
@@ -8715,6 +8749,8 @@ var ENTITIES = {
|
|
|
8715
8749
|
message_pin: messagePin,
|
|
8716
8750
|
message_star: messageStar,
|
|
8717
8751
|
message_deletion: messageDeletion,
|
|
8752
|
+
scheduled_cancellation: scheduledCancellation,
|
|
8753
|
+
scheduled_send: scheduledSend,
|
|
8718
8754
|
message_transcript: messageTranscript,
|
|
8719
8755
|
message_links: messageLinks,
|
|
8720
8756
|
evidence_packet: evidencePacket,
|
|
@@ -8958,7 +8994,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8958
8994
|
return [name, definition];
|
|
8959
8995
|
})), "entityDefinitions");
|
|
8960
8996
|
|
|
8961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8962
8998
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8963
8999
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8964
9000
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8992,7 +9028,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8992
9028
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8993
9029
|
}, "answerRow");
|
|
8994
9030
|
|
|
8995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8996
9032
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8997
9033
|
var requests = new AsyncLocalStorage();
|
|
8998
9034
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9007,7 +9043,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9007
9043
|
return direct;
|
|
9008
9044
|
}, "exitCodeSet");
|
|
9009
9045
|
|
|
9010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9011
9047
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9012
9048
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9013
9049
|
messageId: message2.id,
|
|
@@ -9113,7 +9149,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9113
9149
|
}, "guardedWrite");
|
|
9114
9150
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9115
9151
|
|
|
9116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9117
9153
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9118
9154
|
try {
|
|
9119
9155
|
return work();
|
|
@@ -9140,7 +9176,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9140
9176
|
return projectFields(value, fields);
|
|
9141
9177
|
}), "projectFields");
|
|
9142
9178
|
|
|
9143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9144
9180
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9145
9181
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9146
9182
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9323,7 +9359,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9323
9359
|
}
|
|
9324
9360
|
}, "withAbort");
|
|
9325
9361
|
|
|
9326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9327
9363
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9328
9364
|
import { join as join2 } from "node:path";
|
|
9329
9365
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9412,7 +9448,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9412
9448
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9413
9449
|
}, "registryProfiles");
|
|
9414
9450
|
|
|
9415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9416
9452
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9417
9453
|
import { join as join3 } from "node:path";
|
|
9418
9454
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9434,7 +9470,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9434
9470
|
}, "profilesWithAccounts");
|
|
9435
9471
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9436
9472
|
|
|
9437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9438
9474
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9439
9475
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9440
9476
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9470,7 +9506,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9470
9506
|
return value;
|
|
9471
9507
|
}, "atDetail");
|
|
9472
9508
|
|
|
9473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/output.js
|
|
9474
9510
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9475
9511
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9476
9512
|
if (other)
|
|
@@ -9534,7 +9570,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9534
9570
|
}, "warn")
|
|
9535
9571
|
}), "silence");
|
|
9536
9572
|
|
|
9537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9573
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9538
9574
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9539
9575
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9540
9576
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9572,7 +9608,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9572
9608
|
progress: "sync.progress"
|
|
9573
9609
|
};
|
|
9574
9610
|
|
|
9575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9576
9612
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9577
9613
|
const recording = startRecording(options);
|
|
9578
9614
|
try {
|
|
@@ -9787,7 +9823,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9787
9823
|
return void 0;
|
|
9788
9824
|
}, "partialOutcome");
|
|
9789
9825
|
|
|
9790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9791
9827
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9792
9828
|
if (ms2 === void 0)
|
|
9793
9829
|
return body();
|
|
@@ -9813,7 +9849,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9813
9849
|
}
|
|
9814
9850
|
}, "withDeadline");
|
|
9815
9851
|
|
|
9816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9817
9853
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9818
9854
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9819
9855
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9882,10 +9918,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9882
9918
|
return void 0;
|
|
9883
9919
|
}, "sampleCommand");
|
|
9884
9920
|
|
|
9885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9886
9922
|
import { existsSync as existsSync5 } from "node:fs";
|
|
9887
9923
|
|
|
9888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9889
9925
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9890
9926
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9891
9927
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9954,7 +9990,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9954
9990
|
};
|
|
9955
9991
|
}, "modelTarget");
|
|
9956
9992
|
|
|
9957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9958
9994
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9959
9995
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9960
9996
|
var AI_FIELDS = {
|
|
@@ -9998,7 +10034,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9998
10034
|
};
|
|
9999
10035
|
}, "resolveAISettings");
|
|
10000
10036
|
|
|
10001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
10002
10038
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
10003
10039
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
10004
10040
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -10012,7 +10048,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
10012
10048
|
return ms2;
|
|
10013
10049
|
}, "parseDuration");
|
|
10014
10050
|
|
|
10015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10016
10052
|
var HISTORY_MAX_DAYS = 1095;
|
|
10017
10053
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10018
10054
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10059,7 +10095,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10059
10095
|
return { batch: { ...batch, messages }, skipped };
|
|
10060
10096
|
}, "limitBatch");
|
|
10061
10097
|
|
|
10062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10063
10099
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10064
10100
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10065
10101
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10354,7 +10390,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10354
10390
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10355
10391
|
}, "readConfigFile");
|
|
10356
10392
|
|
|
10357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10358
10394
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10359
10395
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10360
10396
|
var DEFAULT_CONFIG = {
|
|
@@ -10383,7 +10419,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10383
10419
|
}
|
|
10384
10420
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10385
10421
|
|
|
10386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10387
10423
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10388
10424
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10389
10425
|
const path2 = key.split(".");
|
|
@@ -10405,7 +10441,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10405
10441
|
return { config, added };
|
|
10406
10442
|
}, "withSettingDefaults");
|
|
10407
10443
|
|
|
10408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10409
10445
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10410
10446
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10411
10447
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10933,7 +10969,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10933
10969
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10934
10970
|
}, "given");
|
|
10935
10971
|
|
|
10936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10937
10973
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
10938
10974
|
const slot = environmentOf(command).exit;
|
|
10939
10975
|
const request = commandServerRequest();
|
|
@@ -10949,9 +10985,17 @@ var provide = /* @__PURE__ */ __name((program2, environment) => {
|
|
|
10949
10985
|
environments.set(program2, environment);
|
|
10950
10986
|
}, "provide");
|
|
10951
10987
|
var environmentOf = /* @__PURE__ */ __name((command) => environments.get(rootOf(command)) ?? {}, "environmentOf");
|
|
10988
|
+
var PAGING = ["page", "limit", "all"];
|
|
10989
|
+
var withoutOwnPaging = /* @__PURE__ */ __name((command, flags) => {
|
|
10990
|
+
if (metaOf(command).origin !== "generated")
|
|
10991
|
+
return flags;
|
|
10992
|
+
const own = PAGING.filter((name) => command.options.some((option) => option.attributeName() === name));
|
|
10993
|
+
return own.length > 0 ? Object.fromEntries(Object.entries(flags).filter(([name]) => !own.includes(name))) : flags;
|
|
10994
|
+
}, "withoutOwnPaging");
|
|
10952
10995
|
var withAgentLevels = /* @__PURE__ */ __name((command, flags) => {
|
|
10953
10996
|
const overrides = environmentOf(command).agent?.overrides ?? [];
|
|
10954
|
-
|
|
10997
|
+
const read = withoutOwnPaging(command, flags);
|
|
10998
|
+
return overrides.length > 0 ? { ...read, permission: [...overrides, ...read.permission ?? []] } : read;
|
|
10955
10999
|
}, "withAgentLevels");
|
|
10956
11000
|
var secretInputOf = /* @__PURE__ */ __name((command) => {
|
|
10957
11001
|
const { stdin, stderr } = environmentOf(command);
|
|
@@ -11069,7 +11113,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11069
11113
|
return words.join(" ");
|
|
11070
11114
|
}, "commandPath");
|
|
11071
11115
|
|
|
11072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11073
11117
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11074
11118
|
var FETCH = { remote: "read", local: "write" };
|
|
11075
11119
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11105,7 +11149,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
11105
11149
|
KEPT_UNDER_LOCK.add(command);
|
|
11106
11150
|
return command;
|
|
11107
11151
|
}, "destroysNothing");
|
|
11108
|
-
var PROPOSE_COMMANDS = [
|
|
11152
|
+
var PROPOSE_COMMANDS = [
|
|
11153
|
+
"messages acknowledge",
|
|
11154
|
+
"mail findings add",
|
|
11155
|
+
"projects actions add",
|
|
11156
|
+
"meetings actions add"
|
|
11157
|
+
];
|
|
11109
11158
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
11110
11159
|
var isProposal = /* @__PURE__ */ __name((command) => {
|
|
11111
11160
|
if (!PROPOSES.has(command))
|
|
@@ -11209,7 +11258,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11209
11258
|
throw readOnlyRefusal(lock, what);
|
|
11210
11259
|
}, "refuseUnderReadOnly");
|
|
11211
11260
|
|
|
11212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11213
11262
|
import { join as join5 } from "node:path";
|
|
11214
11263
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11215
11264
|
var IMAGE_MODELS = [
|
|
@@ -11263,7 +11312,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11263
11312
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11264
11313
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11265
11314
|
|
|
11266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11267
11316
|
var STEPS2 = defineSteps([
|
|
11268
11317
|
...STEPS,
|
|
11269
11318
|
{
|
|
@@ -11553,7 +11602,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11553
11602
|
].join(" ");
|
|
11554
11603
|
}, "stepLine");
|
|
11555
11604
|
|
|
11556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11557
11606
|
var where = [{ field: "ref" }];
|
|
11558
11607
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11559
11608
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11645,7 +11694,7 @@ var STATUS_ROWS = {
|
|
|
11645
11694
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11646
11695
|
};
|
|
11647
11696
|
|
|
11648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11649
11698
|
var TEXT_CHARS = 400;
|
|
11650
11699
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11651
11700
|
var messageRow = {
|
|
@@ -12013,7 +12062,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12013
12062
|
return lines.concat(footerOf(body)).join("\n");
|
|
12014
12063
|
}, "compactText");
|
|
12015
12064
|
|
|
12016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12017
12066
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12018
12067
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12019
12068
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12071,7 +12120,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12071
12120
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12072
12121
|
}, "largeAnswerSteps");
|
|
12073
12122
|
|
|
12074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12075
12124
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12076
12125
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12077
12126
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12085,7 +12134,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12085
12134
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12086
12135
|
}, "strip");
|
|
12087
12136
|
|
|
12088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12089
12138
|
var OPEN = "\u27E6";
|
|
12090
12139
|
var CLOSE = "\u27E7";
|
|
12091
12140
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12094,6 +12143,10 @@ var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
|
12094
12143
|
const mark = ancestorValue(envName(app, "UNTRUSTED_MARK"), env);
|
|
12095
12144
|
return mark && /^[0-9a-f]{16}$/.test(mark) ? mark : void 0;
|
|
12096
12145
|
}, "untrustedMarkOf");
|
|
12146
|
+
var runMarkOf = /* @__PURE__ */ __name((command) => {
|
|
12147
|
+
const { app, env } = environmentOf(command);
|
|
12148
|
+
return app ? untrustedMarkOf(app, env ?? process.env) : void 0;
|
|
12149
|
+
}, "runMarkOf");
|
|
12097
12150
|
var marked = /* @__PURE__ */ __name((text5, mark, source2, id6) => {
|
|
12098
12151
|
const inside = text5.replaceAll(OPEN, "").replaceAll(CLOSE, "").replaceAll(mark, "");
|
|
12099
12152
|
const named3 = id6 === void 0 ? "" : ` id=${id6.replaceAll(OPEN, "").replaceAll(CLOSE, "").replace(/\s/g, "")}`;
|
|
@@ -12169,7 +12222,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12169
12222
|
return result;
|
|
12170
12223
|
}, "withFieldsMarked");
|
|
12171
12224
|
|
|
12172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12173
12226
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12174
12227
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12175
12228
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12299,8 +12352,7 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
|
|
|
12299
12352
|
const root = rootOf2(command);
|
|
12300
12353
|
const runnableSteps = runnable(root, body.next);
|
|
12301
12354
|
const next = environmentOf(command).agent ? runnableSteps : withLines(root, runnableSteps);
|
|
12302
|
-
const
|
|
12303
|
-
const mark = app ? untrustedMarkOf(app, env ?? process.env) : void 0;
|
|
12355
|
+
const mark = runMarkOf(command);
|
|
12304
12356
|
const declared = untrustedFieldsOf(command);
|
|
12305
12357
|
const shown = mark === void 0 ? body : withUntrustedMarked(declared ? withFieldsMarked(body, declared, mark) : body, mark);
|
|
12306
12358
|
const kept = withoutProviderRefs({ ...shown, ...next.length > 0 ? { next } : {} });
|
|
@@ -12506,6 +12558,7 @@ export {
|
|
|
12506
12558
|
setExitCode,
|
|
12507
12559
|
provide,
|
|
12508
12560
|
environmentOf,
|
|
12561
|
+
withoutOwnPaging,
|
|
12509
12562
|
withAgentLevels,
|
|
12510
12563
|
secretInputOf,
|
|
12511
12564
|
outputFieldsOf,
|
|
@@ -12559,6 +12612,9 @@ export {
|
|
|
12559
12612
|
stepLine,
|
|
12560
12613
|
tooLargeSteps,
|
|
12561
12614
|
withoutProviderRefs,
|
|
12615
|
+
runMarkOf,
|
|
12616
|
+
marked,
|
|
12617
|
+
withUntrustedMarked,
|
|
12562
12618
|
marksUntrusted,
|
|
12563
12619
|
answerSchema,
|
|
12564
12620
|
listOf,
|