@wirecat/tg-cli 0.133.0 → 0.134.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-Y4IXTXAG.js} +104 -69
- package/dist/bundle/agent-G7VHOJMS.js +37 -0
- package/dist/bundle/{all-profiles-VOCJ55YH.js → all-profiles-SUGID6CX.js} +62 -20
- package/dist/bundle/{anthropic-J6CTLU3W.js → anthropic-4QKTXT4B.js} +5 -5
- package/dist/bundle/{app-server-GVFGA4TJ.js → app-server-TPOD6LIJ.js} +72 -62
- package/dist/bundle/{bot-api-LWONPIGK.js → bot-api-KBESP422.js} +73 -92
- package/dist/bundle/{bot-history-XOW7Y2GC.js → bot-history-3EORA23G.js} +23 -22
- package/dist/bundle/{bun-436CH6CP.js → bun-FL76M4M2.js} +2 -2
- package/dist/bundle/{bun-sqlite-ZLB5RK5Q.js → bun-sqlite-H37OSTAJ.js} +6 -6
- package/dist/bundle/{chunk-YY6FGKGD.js → chunk-2GT563YH.js} +2 -2
- package/dist/bundle/{chunk-5L44DSHV.js → chunk-2JWY7CXJ.js} +4 -4
- package/dist/bundle/{chunk-OX73ERZW.js → chunk-3O25FAPA.js} +3 -4
- package/dist/bundle/{chunk-TCI7I6YF.js → chunk-3PG6QVQZ.js} +11 -25
- package/dist/bundle/{chunk-NTWXL2QV.js → chunk-3QQWTP77.js} +2 -2
- package/dist/bundle/{chunk-TTDZVWDU.js → chunk-3ZNO27UE.js} +1 -1
- package/dist/bundle/{chunk-7NYP4RBO.js → chunk-4R2ZJGFF.js} +2125 -1179
- package/dist/bundle/{chunk-VGN5YXYI.js → chunk-4S2DHHJM.js} +2 -100
- package/dist/bundle/{chunk-H7ML7X3G.js → chunk-4X6BX3XP.js} +144 -10
- package/dist/bundle/{chunk-D2SJLZSH.js → chunk-6DGVK5KS.js} +2 -2
- package/dist/bundle/chunk-6DJJVFSG.js +388 -0
- package/dist/bundle/{chunk-M6QOM6SL.js → chunk-6MEHKUN6.js} +1 -1
- package/dist/bundle/{chunk-6CHIGUCY.js → chunk-6UNLEQA5.js} +31 -20
- package/dist/bundle/{chunk-WCYKVX3B.js → chunk-77E7Q4EQ.js} +7 -7
- package/dist/bundle/chunk-7GGDCQJ5.js +353 -0
- package/dist/bundle/{chunk-UIAKLELF.js → chunk-AHVWZDXO.js} +79 -64
- package/dist/bundle/{chunk-NO2LIHWA.js → chunk-ANBI3OXK.js} +1 -1
- package/dist/bundle/{chunk-LQQSDGQ6.js → chunk-AYWST6NA.js} +56 -46
- package/dist/bundle/{chunk-NAXOT35J.js → chunk-CA7DY2YU.js} +3 -3
- package/dist/bundle/{chunk-UKBK2VWZ.js → chunk-CDKXZLMP.js} +225 -175
- package/dist/bundle/{chunk-5HKPQPD4.js → chunk-CNGNR4CY.js} +6 -6
- package/dist/bundle/{chunk-KUA24HWG.js → chunk-CSXCCK6J.js} +2 -2
- package/dist/bundle/{chunk-VTQMR3XG.js → chunk-DG35TQ6P.js} +3 -3
- package/dist/bundle/{chunk-IPPCQ7IK.js → chunk-EXMAWEHC.js} +2 -2
- package/dist/bundle/{chunk-CEJYNB3I.js → chunk-FR3ATU5I.js} +4 -4
- package/dist/bundle/{chunk-XOX4BX5A.js → chunk-FR4Y5CGW.js} +4 -4
- package/dist/bundle/{chunk-JPNVEPS4.js → chunk-GIGZTI74.js} +2023 -1928
- package/dist/bundle/{chunk-UZ63ORMY.js → chunk-H3TLAYGY.js} +4 -4
- package/dist/bundle/{chunk-LBZEZO32.js → chunk-HD7DV5B2.js} +65 -43
- package/dist/bundle/{chunk-TPD37ECC.js → chunk-HETHFOHC.js} +3 -3
- package/dist/bundle/{chunk-JKSD43L7.js → chunk-HEZK4W3U.js} +6 -6
- package/dist/bundle/{chunk-SMU6NA7F.js → chunk-IJ7R2WMK.js} +4 -4
- package/dist/bundle/{chunk-7NF3V5L2.js → chunk-ITJ7DGNA.js} +4 -4
- package/dist/bundle/{chunk-JGMXBAGH.js → chunk-J5RB4ASI.js} +140 -433
- package/dist/bundle/{chunk-57KJ3TRS.js → chunk-JAL443BH.js} +9 -9
- package/dist/bundle/{chunk-IH4Z3KZU.js → chunk-JCDD5T3A.js} +2 -2
- package/dist/bundle/{chunk-BXVB42KJ.js → chunk-JHZJBNDO.js} +2 -2
- package/dist/bundle/chunk-JWLODUN3.js +555 -0
- package/dist/bundle/{chunk-54WLIPIQ.js → chunk-JWNSG5GI.js} +1 -1
- package/dist/bundle/{chunk-UGS57TT5.js → chunk-JXEO5EIN.js} +2 -2
- package/dist/bundle/{chunk-QYLZD4DS.js → chunk-K5FK6WWN.js} +1 -1
- package/dist/bundle/{chunk-QWO7L4UH.js → chunk-L47PFECD.js} +7 -7
- package/dist/bundle/{chunk-IYAXLLGR.js → chunk-L4PNDW4S.js} +6 -6
- package/dist/bundle/{chunk-ZHO3TPHM.js → chunk-M323L5SG.js} +30 -15
- package/dist/bundle/{chunk-6A44ZZFC.js → chunk-MMDFPBFZ.js} +43 -64
- package/dist/bundle/{chunk-OWY52JBO.js → chunk-MUV73B5A.js} +7 -7
- package/dist/bundle/{chunk-2KQDJHF3.js → chunk-MXA3FU2R.js} +29 -1
- package/dist/bundle/{chunk-6H2NW6HK.js → chunk-NUD4CBHK.js} +3 -3
- package/dist/bundle/{chunk-RABUG4KA.js → chunk-NYEVPAF2.js} +511 -472
- package/dist/bundle/{chunk-VWJTYAIQ.js → chunk-O3QBO6NW.js} +17 -17
- package/dist/bundle/{chunk-N7QREPZW.js → chunk-O4ZOQJ6W.js} +9 -9
- package/dist/bundle/{chunk-KEN4B57V.js → chunk-OJSPB4LA.js} +2 -2
- package/dist/bundle/{chunk-UQYL6TJ7.js → chunk-PCBVSHKD.js} +4 -4
- package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-PK5WEGPJ.js} +2 -2
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-O6JUVATT.js → chunk-PRI2XTM7.js} +35 -12
- package/dist/bundle/chunk-PRM7GKBV.js +340 -0
- package/dist/bundle/{chunk-YAPDU3SV.js → chunk-PZ2ZFPGO.js} +1 -1
- package/dist/bundle/chunk-QYRK4XXH.js +727 -0
- package/dist/bundle/{chunk-XDQU5HBO.js → chunk-RVA3CRSY.js} +12 -12
- package/dist/bundle/{chunk-QVGEL66U.js → chunk-SPXNI53Z.js} +38 -9
- package/dist/bundle/{chunk-QGWISM4W.js → chunk-TI5U6AUT.js} +34 -28
- package/dist/bundle/{chunk-THYGLTRB.js → chunk-TKWYXM7L.js} +7 -7
- package/dist/bundle/{chunk-XKOMP3HV.js → chunk-TZCFJJEU.js} +6 -6
- package/dist/bundle/chunk-UTTEAOJ3.js +7 -0
- package/dist/bundle/chunk-V6G4LTXU.js +50 -0
- package/dist/bundle/{chunk-KVFUH5IT.js → chunk-VH4J7IIS.js} +1 -1
- package/dist/bundle/{chunk-VCAOH45X.js → chunk-VNJRWFHP.js} +1 -1
- package/dist/bundle/chunk-W2QSDPG6.js +80 -0
- package/dist/bundle/{chunk-LOS4D6ZB.js → chunk-WGGUKQE7.js} +113 -567
- package/dist/bundle/{chunk-ZYAHZKYF.js → chunk-WPXVJGSL.js} +3 -3
- package/dist/bundle/{chunk-IBCXEVNY.js → chunk-XLNV3U6N.js} +3 -3
- package/dist/bundle/{chunk-6S77EKZU.js → chunk-XS4EE7MO.js} +17 -15
- package/dist/bundle/{chunk-6VCSOQFL.js → chunk-XVRLD3LN.js} +2 -2
- package/dist/bundle/{chunk-HB5DP6L5.js → chunk-XZ6XEAJP.js} +18 -18
- package/dist/bundle/{chunk-N3JUHGKM.js → chunk-YHTSJMZ5.js} +3706 -3372
- package/dist/bundle/chunk-YPJCURT6.js +108 -0
- package/dist/bundle/{chunk-SMI2EUH4.js → chunk-Z77R76S2.js} +1 -1
- package/dist/bundle/{chunk-KHUXDSXN.js → chunk-ZC7OEYDX.js} +1 -1
- package/dist/bundle/{chunk-5LRTYBZW.js → chunk-ZW2N2GI2.js} +12 -12
- package/dist/bundle/command-contract-LEFXJAA3.js +37 -0
- package/dist/bundle/{command-server-entry-AE27QXTE.js → command-server-entry-WQAE5UGU.js} +27 -27
- package/dist/bundle/{decode-RQPPZ72F.js → decode-2J2DOVGV.js} +5 -5
- package/dist/bundle/{dispatch-KQO2MCSH.js → dispatch-IZ2TP5GW.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FZRIACN4.js → echarts-GFIIHZ4U.js} +2 -2
- package/dist/bundle/{embed-TOSWWMDL.js → embed-AGOXADHW.js} +6 -6
- package/dist/bundle/{embedder-JHIQSBGD.js → embedder-PCIXGM2Y.js} +9 -9
- package/dist/bundle/{entry-DU4KRXTG.js → entry-HUQXUV52.js} +9 -9
- package/dist/bundle/{failure-3YC3YGYO.js → failure-JSRHZ2S6.js} +2 -2
- package/dist/bundle/{first-run-DQQT4FID.js → first-run-2LXN7B33.js} +12 -12
- package/dist/bundle/first-screen-VUE6RCSF.js +37 -0
- package/dist/bundle/{instructions-WI64CJQ6.js → instructions-RSLTJVFJ.js} +1 -1
- package/dist/bundle/{mcp-VMS6PBCU.js → mcp-MMENCB7I.js} +2 -2
- package/dist/bundle/meeting-combined-PBNPHOM3.js +23 -0
- package/dist/bundle/{meeting-model-XNRSREIK.js → meeting-model-SI77WMMK.js} +11 -11
- package/dist/bundle/{meeting-semantic-OOSCHQMB.js → meeting-semantic-WRXWUR4M.js} +6 -6
- package/dist/bundle/{node-JLKDNVKV.js → node-5XGMCUGQ.js} +2 -2
- package/dist/bundle/{node-sqlite-YOGH26O2.js → node-sqlite-ES7SQSIC.js} +7 -7
- package/dist/bundle/{oauth-FOMXM5HP.js → oauth-QFM4Y6N7.js} +8 -8
- package/dist/bundle/{open-SM2UXUKM.js → open-2MD2DKGQ.js} +5 -5
- package/dist/bundle/{openai-J2H7S6ZF.js → openai-6TMKJKYO.js} +15 -15
- package/dist/bundle/{process-HI7OZBOI.js → process-VA2DP7MY.js} +1 -1
- package/dist/bundle/{program-VY4HFU25.js → program-K3SLEA42.js} +70 -64
- package/dist/bundle/{prompt-NUUVFMOF.js → prompt-VZSPCE6E.js} +5 -5
- package/dist/bundle/{proxy-transport-AN4VMRRN.js → proxy-transport-OJU2EOOC.js} +5 -5
- package/dist/bundle/{recognize-MALJHPDI.js → recognize-LH3ZZEIL.js} +4 -4
- package/dist/bundle/{remote-QUDRSTS2.js → remote-JNW5HN2I.js} +9 -9
- package/dist/bundle/{rerank-2DSO3D3S.js → rerank-P23UJMII.js} +7 -7
- package/dist/bundle/{serve-NCJ52MY3.js → serve-VSLLMILH.js} +15 -15
- package/dist/bundle/{server-Y3M544AM.js → server-FBRRRKCS.js} +65 -54
- package/dist/bundle/server-TA4QP7PG.js +78 -0
- package/dist/bundle/{sqlite-runtime-NJUSXVKK.js → sqlite-runtime-LWATDAAU.js} +6 -6
- package/dist/bundle/{state-AVOWQVET.js → state-3AFJL2EL.js} +6 -6
- package/dist/bundle/{store-MMIYOL4H.js → store-6TLYL2VU.js} +28 -17
- package/dist/bundle/{store-BZ5ICDRP.js → store-PEXV5DNA.js} +20 -19
- package/dist/bundle/store-maintenance-command-IYJLUQ5X.js +65 -0
- package/dist/bundle/surface-L4VY4WFG.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 +4 -2
- 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-L47PFECD.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CA7DY2YU.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestorValue,
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OJSPB4LA.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-K5FK6WWN.js";
|
|
25
25
|
import {
|
|
26
26
|
note
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XLNV3U6N.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_RERANK_MODEL,
|
|
30
30
|
RERANK_MODELS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HEZK4W3U.js";
|
|
32
32
|
import {
|
|
33
33
|
endpoint
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4X6BX3XP.js";
|
|
35
35
|
import {
|
|
36
36
|
filesPresent,
|
|
37
37
|
sharedModelsDirectory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2JWY7CXJ.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-HD7DV5B2.js";
|
|
97
97
|
import {
|
|
98
98
|
isCliFailure,
|
|
99
99
|
storeDamaged
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-WPXVJGSL.js";
|
|
101
101
|
import {
|
|
102
102
|
TAG_TYPES
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-JCDD5T3A.js";
|
|
104
104
|
import {
|
|
105
105
|
repairConfigText,
|
|
106
106
|
sharedConfigPath
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-77E7Q4EQ.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-NYEVPAF2.js";
|
|
136
136
|
import {
|
|
137
137
|
storePath
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-XVRLD3LN.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-6UNLEQA5.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-SPXNI53Z.js";
|
|
203
203
|
import {
|
|
204
204
|
CliError,
|
|
205
205
|
isCliError,
|
|
206
206
|
singleLine,
|
|
207
207
|
visibleControls
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-PK5WEGPJ.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.122.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
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.122.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
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.122.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
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.122.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/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
|
|
@@ -6178,7 +6192,7 @@ var conversationHit = strictObject({
|
|
|
6178
6192
|
stale: boolean()
|
|
6179
6193
|
});
|
|
6180
6194
|
|
|
6181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6182
6196
|
var counters = strictObject({
|
|
6183
6197
|
cutoff: time,
|
|
6184
6198
|
max_age_ms: milliseconds,
|
|
@@ -6208,7 +6222,7 @@ var counterRefresh = strictObject({
|
|
|
6208
6222
|
complete: optional(boolean())
|
|
6209
6223
|
});
|
|
6210
6224
|
|
|
6211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6212
6226
|
var document = strictObject({
|
|
6213
6227
|
ref: reference,
|
|
6214
6228
|
id,
|
|
@@ -6223,7 +6237,7 @@ var document = strictObject({
|
|
|
6223
6237
|
owners: optional(array(text))
|
|
6224
6238
|
});
|
|
6225
6239
|
|
|
6226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6227
6241
|
var documentLink = strictObject({
|
|
6228
6242
|
ref: reference,
|
|
6229
6243
|
url: text,
|
|
@@ -6234,7 +6248,7 @@ var documentLink = strictObject({
|
|
|
6234
6248
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6235
6249
|
});
|
|
6236
6250
|
|
|
6237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6238
6252
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6239
6253
|
var contribution = strictObject({
|
|
6240
6254
|
message: evidenceMessage,
|
|
@@ -6264,7 +6278,7 @@ var retentionStay = strictObject({
|
|
|
6264
6278
|
});
|
|
6265
6279
|
var evidence = union([contribution, retentionStay]);
|
|
6266
6280
|
|
|
6267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6268
6282
|
var fact = strictObject({
|
|
6269
6283
|
ref: reference,
|
|
6270
6284
|
id,
|
|
@@ -6295,9 +6309,20 @@ var fact = strictObject({
|
|
|
6295
6309
|
updated_at: time
|
|
6296
6310
|
});
|
|
6297
6311
|
|
|
6298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6312
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6299
6313
|
var hit = strictObject({
|
|
6300
|
-
kind: picklist([
|
|
6314
|
+
kind: picklist([
|
|
6315
|
+
"message",
|
|
6316
|
+
"mail",
|
|
6317
|
+
"note",
|
|
6318
|
+
"document",
|
|
6319
|
+
"event",
|
|
6320
|
+
"meeting",
|
|
6321
|
+
"deal",
|
|
6322
|
+
"lead",
|
|
6323
|
+
"crm_file",
|
|
6324
|
+
...BUSINESS_KINDS
|
|
6325
|
+
]),
|
|
6301
6326
|
ref: reference,
|
|
6302
6327
|
provider: text,
|
|
6303
6328
|
url: optional(text),
|
|
@@ -6343,7 +6368,7 @@ var hit = strictObject({
|
|
|
6343
6368
|
untrusted
|
|
6344
6369
|
});
|
|
6345
6370
|
|
|
6346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6347
6372
|
var identity = strictObject({
|
|
6348
6373
|
ref: reference,
|
|
6349
6374
|
provider: text,
|
|
@@ -6359,7 +6384,7 @@ var identity = strictObject({
|
|
|
6359
6384
|
person: optional(nullable(reference))
|
|
6360
6385
|
});
|
|
6361
6386
|
|
|
6362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6363
6388
|
var imageEmbedding = strictObject({
|
|
6364
6389
|
model: text,
|
|
6365
6390
|
embedded: count,
|
|
@@ -6368,13 +6393,13 @@ var imageEmbedding = strictObject({
|
|
|
6368
6393
|
more: boolean()
|
|
6369
6394
|
});
|
|
6370
6395
|
|
|
6371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6372
6397
|
import { spawn } from "node:child_process";
|
|
6373
6398
|
import { randomBytes } from "node:crypto";
|
|
6374
6399
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6375
6400
|
import { dirname, join } from "node:path";
|
|
6376
6401
|
|
|
6377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6378
6403
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6379
6404
|
const total = input.total ?? null;
|
|
6380
6405
|
const updated = input.updatedAt ?? null;
|
|
@@ -6390,7 +6415,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6390
6415
|
};
|
|
6391
6416
|
}, "progressOf");
|
|
6392
6417
|
|
|
6393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6394
6419
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6395
6420
|
const run = currentRun();
|
|
6396
6421
|
const trace = traceId ?? run.traceId;
|
|
@@ -6404,7 +6429,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6404
6429
|
}));
|
|
6405
6430
|
}, "recordLogFor");
|
|
6406
6431
|
|
|
6407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6408
6433
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6409
6434
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6410
6435
|
const out = openSync(log, "a", 384);
|
|
@@ -6559,7 +6584,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6559
6584
|
return { job: id6, pid, chat: input.chat, log };
|
|
6560
6585
|
}, "startArchiveJob");
|
|
6561
6586
|
|
|
6562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6563
6588
|
var problem = strictObject({ code: text, message: text });
|
|
6564
6589
|
var job = strictObject({
|
|
6565
6590
|
id,
|
|
@@ -6582,7 +6607,7 @@ var job = strictObject({
|
|
|
6582
6607
|
error: optional(problem)
|
|
6583
6608
|
});
|
|
6584
6609
|
|
|
6585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6586
6611
|
var joinRequest = strictObject({
|
|
6587
6612
|
person_id: id,
|
|
6588
6613
|
name: nullable(text),
|
|
@@ -6593,7 +6618,7 @@ var joinRequest = strictObject({
|
|
|
6593
6618
|
about: optional(text)
|
|
6594
6619
|
});
|
|
6595
6620
|
|
|
6596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6597
6622
|
var botProfile = strictObject({
|
|
6598
6623
|
name: text,
|
|
6599
6624
|
token: text,
|
|
@@ -6717,7 +6742,7 @@ var stickerInventory = strictObject({
|
|
|
6717
6742
|
url: optional(nullable(text))
|
|
6718
6743
|
});
|
|
6719
6744
|
|
|
6720
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6721
6746
|
var pollVote = strictObject({
|
|
6722
6747
|
person_id: id,
|
|
6723
6748
|
name: nullable(text),
|
|
@@ -6727,7 +6752,7 @@ var pollVote = strictObject({
|
|
|
6727
6752
|
voted_at: time
|
|
6728
6753
|
});
|
|
6729
6754
|
|
|
6730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6731
6756
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6732
6757
|
var observation = strictObject({
|
|
6733
6758
|
value: pipe(number(), minValue(0)),
|
|
@@ -6769,7 +6794,7 @@ var serveSummary = strictObject({
|
|
|
6769
6794
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6770
6795
|
});
|
|
6771
6796
|
|
|
6772
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6773
6798
|
var mailCounts = strictObject({
|
|
6774
6799
|
by: picklist(["day", "week", "sender"]),
|
|
6775
6800
|
received: count,
|
|
@@ -6784,7 +6809,7 @@ var mailCounts = strictObject({
|
|
|
6784
6809
|
}))
|
|
6785
6810
|
});
|
|
6786
6811
|
|
|
6787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6788
6813
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6789
6814
|
var base = { id, evidence: array(evidence2) };
|
|
6790
6815
|
var finding = variant("kind", [
|
|
@@ -6928,7 +6953,7 @@ var mailFindings = strictObject({
|
|
|
6928
6953
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6929
6954
|
});
|
|
6930
6955
|
|
|
6931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6932
6957
|
var mediaArchive = strictObject({
|
|
6933
6958
|
directory: text,
|
|
6934
6959
|
chats: count,
|
|
@@ -6960,7 +6985,7 @@ var mediaArchiveTimer = union([
|
|
|
6960
6985
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6961
6986
|
]);
|
|
6962
6987
|
|
|
6963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6964
6989
|
var preparationId = pipe(string(), minLength(1));
|
|
6965
6990
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6966
6991
|
var preparationTime = nullable(isoTime);
|
|
@@ -7052,7 +7077,7 @@ var preparationMeeting = strictObject({
|
|
|
7052
7077
|
updated_at: isoTime
|
|
7053
7078
|
});
|
|
7054
7079
|
|
|
7055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7080
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
7056
7081
|
var meetingEvidence = preparationEvidence;
|
|
7057
7082
|
var meetingPersonContext = strictObject({
|
|
7058
7083
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -7074,7 +7099,7 @@ var meetingPersonContext = strictObject({
|
|
|
7074
7099
|
})
|
|
7075
7100
|
});
|
|
7076
7101
|
|
|
7077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
7078
7103
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
7079
7104
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
7080
7105
|
var finding2 = variant("kind", [
|
|
@@ -7112,7 +7137,7 @@ var meetingFindings = strictObject({
|
|
|
7112
7137
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7113
7138
|
});
|
|
7114
7139
|
|
|
7115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7116
7141
|
var communicationCoverage = strictObject({
|
|
7117
7142
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7118
7143
|
query: string(),
|
|
@@ -7157,7 +7182,7 @@ var preparationCommunications = strictObject({
|
|
|
7157
7182
|
}))
|
|
7158
7183
|
});
|
|
7159
7184
|
|
|
7160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7161
7186
|
var meetingPreparation = strictObject({
|
|
7162
7187
|
communications: optional(preparationCommunications),
|
|
7163
7188
|
schema_version: literal(1),
|
|
@@ -7270,7 +7295,7 @@ var meetingPreparation = strictObject({
|
|
|
7270
7295
|
})
|
|
7271
7296
|
});
|
|
7272
7297
|
|
|
7273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7274
7299
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7275
7300
|
var id3 = pipe(string(), minLength(1));
|
|
7276
7301
|
var text3 = string();
|
|
@@ -7334,7 +7359,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7334
7359
|
})
|
|
7335
7360
|
});
|
|
7336
7361
|
|
|
7337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7338
7363
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7339
7364
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7340
7365
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7364,7 +7389,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7364
7389
|
})
|
|
7365
7390
|
});
|
|
7366
7391
|
|
|
7367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7368
7393
|
var text4 = string();
|
|
7369
7394
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7370
7395
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7381,7 +7406,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7381
7406
|
persistence: literal("proposal-only")
|
|
7382
7407
|
});
|
|
7383
7408
|
|
|
7384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7385
7410
|
var memory = strictObject({
|
|
7386
7411
|
ref: reference,
|
|
7387
7412
|
id,
|
|
@@ -7409,7 +7434,7 @@ var memory = strictObject({
|
|
|
7409
7434
|
updated_at: time
|
|
7410
7435
|
});
|
|
7411
7436
|
|
|
7412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7413
7438
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7414
7439
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7415
7440
|
var mention = strictObject({
|
|
@@ -7453,13 +7478,16 @@ var mentionRebuild = strictObject({
|
|
|
7453
7478
|
mentions: count
|
|
7454
7479
|
});
|
|
7455
7480
|
|
|
7456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7457
7482
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7458
7483
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7459
7484
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7460
7485
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7486
|
+
var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
|
|
7487
|
+
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
7488
|
+
var scheduledSend = strictObject(scheduledSendEntries);
|
|
7461
7489
|
|
|
7462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7463
7491
|
var messageTranscript = strictObject({
|
|
7464
7492
|
message_id: id,
|
|
7465
7493
|
text,
|
|
@@ -7517,7 +7545,7 @@ var evidencePacket = strictObject({
|
|
|
7517
7545
|
}))
|
|
7518
7546
|
});
|
|
7519
7547
|
|
|
7520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7521
7549
|
var messageThread = strictObject({
|
|
7522
7550
|
ref: reference,
|
|
7523
7551
|
chat: id,
|
|
@@ -7534,7 +7562,7 @@ var messageThread = strictObject({
|
|
|
7534
7562
|
});
|
|
7535
7563
|
var messageContext = union([message, messageThread]);
|
|
7536
7564
|
|
|
7537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7538
7566
|
var messageCounts = strictObject({
|
|
7539
7567
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7540
7568
|
total: count,
|
|
@@ -7547,7 +7575,7 @@ var messageCounts = strictObject({
|
|
|
7547
7575
|
}))
|
|
7548
7576
|
});
|
|
7549
7577
|
|
|
7550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7551
7579
|
var messageLink = strictObject({
|
|
7552
7580
|
ref: reference,
|
|
7553
7581
|
url: nullable(text),
|
|
@@ -7564,7 +7592,7 @@ var messageLink = strictObject({
|
|
|
7564
7592
|
})))
|
|
7565
7593
|
});
|
|
7566
7594
|
|
|
7567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7595
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7568
7596
|
var savedMessageFile = strictObject({
|
|
7569
7597
|
kind: text,
|
|
7570
7598
|
path: text,
|
|
@@ -7651,7 +7679,7 @@ var messageSyncAll = strictObject({
|
|
|
7651
7679
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7652
7680
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7653
7681
|
|
|
7654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7655
7683
|
var messageWrite = strictObject({
|
|
7656
7684
|
operation_id: id,
|
|
7657
7685
|
message,
|
|
@@ -7666,7 +7694,7 @@ var draftWrite = strictObject({
|
|
|
7666
7694
|
});
|
|
7667
7695
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7668
7696
|
|
|
7669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7670
7698
|
var model = strictObject({
|
|
7671
7699
|
id,
|
|
7672
7700
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7701,7 +7729,7 @@ var chosenModel = strictObject({
|
|
|
7701
7729
|
estimate_seconds: nullable(count)
|
|
7702
7730
|
});
|
|
7703
7731
|
|
|
7704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7705
7733
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7706
7734
|
var modelKey = strictObject({
|
|
7707
7735
|
provider: text,
|
|
@@ -7711,7 +7739,7 @@ var modelKey = strictObject({
|
|
|
7711
7739
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7712
7740
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7713
7741
|
|
|
7714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7715
7743
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7716
7744
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7717
7745
|
var graph = strictObject({
|
|
@@ -7745,14 +7773,14 @@ var officialStats = strictObject({
|
|
|
7745
7773
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7746
7774
|
});
|
|
7747
7775
|
|
|
7748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7749
7777
|
var person2 = strictObject({
|
|
7750
7778
|
ref: reference,
|
|
7751
7779
|
name: nullable(text),
|
|
7752
7780
|
identities: optional(array(identity))
|
|
7753
7781
|
});
|
|
7754
7782
|
|
|
7755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7756
7784
|
var poll = strictObject({
|
|
7757
7785
|
chat_id: id,
|
|
7758
7786
|
message_id: id,
|
|
@@ -7768,11 +7796,11 @@ var poll = strictObject({
|
|
|
7768
7796
|
});
|
|
7769
7797
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7770
7798
|
|
|
7771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7772
7800
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7773
7801
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7774
7802
|
|
|
7775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7776
7804
|
var figures = record(string(), number());
|
|
7777
7805
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7778
7806
|
var rankingRow = strictObject({
|
|
@@ -7819,7 +7847,7 @@ var ranking = strictObject({
|
|
|
7819
7847
|
rows: array(rankingRow)
|
|
7820
7848
|
});
|
|
7821
7849
|
|
|
7822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7823
7851
|
var reaction = strictObject({
|
|
7824
7852
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7825
7853
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7827,7 +7855,7 @@ var reaction = strictObject({
|
|
|
7827
7855
|
reacted_at: time
|
|
7828
7856
|
});
|
|
7829
7857
|
|
|
7830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7831
7859
|
var reactionChange = strictObject({
|
|
7832
7860
|
operation_id: id,
|
|
7833
7861
|
chat_id: id,
|
|
@@ -7835,7 +7863,7 @@ var reactionChange = strictObject({
|
|
|
7835
7863
|
reaction: nullable(text)
|
|
7836
7864
|
});
|
|
7837
7865
|
|
|
7838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7839
7867
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7840
7868
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7841
7869
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7846,7 +7874,7 @@ var recipientChange = strictObject({
|
|
|
7846
7874
|
...partial(recipientOff).entries
|
|
7847
7875
|
});
|
|
7848
7876
|
|
|
7849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7850
7878
|
var events = array(record(string(), unknown()));
|
|
7851
7879
|
var recordedRun = strictObject({
|
|
7852
7880
|
run_id: id,
|
|
@@ -7918,7 +7946,7 @@ var runHit = strictObject({
|
|
|
7918
7946
|
});
|
|
7919
7947
|
var runLocation = strictObject({ path: text });
|
|
7920
7948
|
|
|
7921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7922
7950
|
var relationship = strictObject({
|
|
7923
7951
|
id,
|
|
7924
7952
|
from: reference,
|
|
@@ -7945,7 +7973,7 @@ var relationship = strictObject({
|
|
|
7945
7973
|
created_at: time
|
|
7946
7974
|
});
|
|
7947
7975
|
|
|
7948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7949
7977
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7950
7978
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7951
7979
|
var responseTimes = strictObject({
|
|
@@ -7962,7 +7990,7 @@ var waitingChats = strictObject({
|
|
|
7962
7990
|
by_kind: strictObject({ private: count, group: count })
|
|
7963
7991
|
});
|
|
7964
7992
|
|
|
7965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7966
7994
|
var retentionCohort = strictObject({
|
|
7967
7995
|
/** The first day of the joining day or week. */
|
|
7968
7996
|
cohort: text,
|
|
@@ -8010,7 +8038,7 @@ var retention = strictObject({
|
|
|
8010
8038
|
rows: array(retentionCohort)
|
|
8011
8039
|
});
|
|
8012
8040
|
|
|
8013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
8014
8042
|
var savedSearch = strictObject({
|
|
8015
8043
|
id,
|
|
8016
8044
|
/** `null` for a run in the history. */
|
|
@@ -8027,7 +8055,7 @@ var savedSearch = strictObject({
|
|
|
8027
8055
|
});
|
|
8028
8056
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
8029
8057
|
|
|
8030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
8031
8059
|
var sendAttempt = strictObject({
|
|
8032
8060
|
at: time,
|
|
8033
8061
|
profile: text,
|
|
@@ -8055,7 +8083,7 @@ var sendAttempt = strictObject({
|
|
|
8055
8083
|
error_code: optional(text)
|
|
8056
8084
|
});
|
|
8057
8085
|
|
|
8058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
8059
8087
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
8060
8088
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
8061
8089
|
var infoSchema = strictObject({
|
|
@@ -8285,7 +8313,7 @@ var storeRepair = union([
|
|
|
8285
8313
|
]);
|
|
8286
8314
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8287
8315
|
|
|
8288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8289
8317
|
var range = strictObject({ from: number(), to: number() });
|
|
8290
8318
|
var storeChatStatus = strictObject({
|
|
8291
8319
|
chat_id: id,
|
|
@@ -8383,7 +8411,7 @@ var storeJobRetry = union([
|
|
|
8383
8411
|
]);
|
|
8384
8412
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8385
8413
|
|
|
8386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8387
8415
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8388
8416
|
var storeTable = strictObject({
|
|
8389
8417
|
name: text,
|
|
@@ -8392,7 +8420,7 @@ var storeTable = strictObject({
|
|
|
8392
8420
|
bytes: optional(nullable(count))
|
|
8393
8421
|
});
|
|
8394
8422
|
|
|
8395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8396
8424
|
var tagTarget = variant("type", [
|
|
8397
8425
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8398
8426
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8423,7 +8451,7 @@ var automaticTags = strictObject({
|
|
|
8423
8451
|
dry_run: boolean()
|
|
8424
8452
|
});
|
|
8425
8453
|
|
|
8426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8427
8455
|
var tagging = strictObject({
|
|
8428
8456
|
tag: text,
|
|
8429
8457
|
type: picklist(TAG_TYPES),
|
|
@@ -8436,7 +8464,7 @@ var tagging = strictObject({
|
|
|
8436
8464
|
created_at: time
|
|
8437
8465
|
});
|
|
8438
8466
|
|
|
8439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8440
8468
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8441
8469
|
var taskPair = strictObject({
|
|
8442
8470
|
task: nullable(side),
|
|
@@ -8459,7 +8487,7 @@ var taskPair = strictObject({
|
|
|
8459
8487
|
created_at: time
|
|
8460
8488
|
});
|
|
8461
8489
|
|
|
8462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8463
8491
|
var nullableTime = nullable(time);
|
|
8464
8492
|
var link = strictObject({
|
|
8465
8493
|
id,
|
|
@@ -8633,7 +8661,7 @@ var taskReview = strictObject({
|
|
|
8633
8661
|
untrusted
|
|
8634
8662
|
});
|
|
8635
8663
|
|
|
8636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8637
8665
|
var template = strictObject({
|
|
8638
8666
|
key: text,
|
|
8639
8667
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8645,7 +8673,7 @@ var template = strictObject({
|
|
|
8645
8673
|
updated_by: nullable(text)
|
|
8646
8674
|
});
|
|
8647
8675
|
|
|
8648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8649
8677
|
var topic = strictObject({
|
|
8650
8678
|
id,
|
|
8651
8679
|
title: text,
|
|
@@ -8659,7 +8687,7 @@ var topic = strictObject({
|
|
|
8659
8687
|
untrusted
|
|
8660
8688
|
});
|
|
8661
8689
|
|
|
8662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8663
8691
|
var ENTITIES = {
|
|
8664
8692
|
sync_progress: progress,
|
|
8665
8693
|
deal,
|
|
@@ -8693,6 +8721,7 @@ var ENTITIES = {
|
|
|
8693
8721
|
attachments: optional(array(hitFile)),
|
|
8694
8722
|
untrusted
|
|
8695
8723
|
}),
|
|
8724
|
+
// Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
|
|
8696
8725
|
"message.summary": strictObject({
|
|
8697
8726
|
...pick(message, [
|
|
8698
8727
|
"ref",
|
|
@@ -8715,6 +8744,8 @@ var ENTITIES = {
|
|
|
8715
8744
|
message_pin: messagePin,
|
|
8716
8745
|
message_star: messageStar,
|
|
8717
8746
|
message_deletion: messageDeletion,
|
|
8747
|
+
scheduled_cancellation: scheduledCancellation,
|
|
8748
|
+
scheduled_send: scheduledSend,
|
|
8718
8749
|
message_transcript: messageTranscript,
|
|
8719
8750
|
message_links: messageLinks,
|
|
8720
8751
|
evidence_packet: evidencePacket,
|
|
@@ -8958,7 +8989,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8958
8989
|
return [name, definition];
|
|
8959
8990
|
})), "entityDefinitions");
|
|
8960
8991
|
|
|
8961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8992
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8962
8993
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8963
8994
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8964
8995
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8992,7 +9023,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8992
9023
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8993
9024
|
}, "answerRow");
|
|
8994
9025
|
|
|
8995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9026
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8996
9027
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8997
9028
|
var requests = new AsyncLocalStorage();
|
|
8998
9029
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9007,7 +9038,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9007
9038
|
return direct;
|
|
9008
9039
|
}, "exitCodeSet");
|
|
9009
9040
|
|
|
9010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9011
9042
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9012
9043
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9013
9044
|
messageId: message2.id,
|
|
@@ -9113,7 +9144,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9113
9144
|
}, "guardedWrite");
|
|
9114
9145
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9115
9146
|
|
|
9116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9117
9148
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9118
9149
|
try {
|
|
9119
9150
|
return work();
|
|
@@ -9140,7 +9171,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9140
9171
|
return projectFields(value, fields);
|
|
9141
9172
|
}), "projectFields");
|
|
9142
9173
|
|
|
9143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9144
9175
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9145
9176
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9146
9177
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9323,7 +9354,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9323
9354
|
}
|
|
9324
9355
|
}, "withAbort");
|
|
9325
9356
|
|
|
9326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9327
9358
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9328
9359
|
import { join as join2 } from "node:path";
|
|
9329
9360
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9412,7 +9443,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9412
9443
|
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
9444
|
}, "registryProfiles");
|
|
9414
9445
|
|
|
9415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9416
9447
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9417
9448
|
import { join as join3 } from "node:path";
|
|
9418
9449
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9434,7 +9465,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9434
9465
|
}, "profilesWithAccounts");
|
|
9435
9466
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9436
9467
|
|
|
9437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9438
9469
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9439
9470
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9440
9471
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9470,7 +9501,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9470
9501
|
return value;
|
|
9471
9502
|
}, "atDetail");
|
|
9472
9503
|
|
|
9473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9504
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/output.js
|
|
9474
9505
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9475
9506
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9476
9507
|
if (other)
|
|
@@ -9534,7 +9565,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9534
9565
|
}, "warn")
|
|
9535
9566
|
}), "silence");
|
|
9536
9567
|
|
|
9537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9538
9569
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9539
9570
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9540
9571
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9572,7 +9603,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9572
9603
|
progress: "sync.progress"
|
|
9573
9604
|
};
|
|
9574
9605
|
|
|
9575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9576
9607
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9577
9608
|
const recording = startRecording(options);
|
|
9578
9609
|
try {
|
|
@@ -9787,7 +9818,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9787
9818
|
return void 0;
|
|
9788
9819
|
}, "partialOutcome");
|
|
9789
9820
|
|
|
9790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9791
9822
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9792
9823
|
if (ms2 === void 0)
|
|
9793
9824
|
return body();
|
|
@@ -9813,7 +9844,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9813
9844
|
}
|
|
9814
9845
|
}, "withDeadline");
|
|
9815
9846
|
|
|
9816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9817
9848
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9818
9849
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9819
9850
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9882,10 +9913,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9882
9913
|
return void 0;
|
|
9883
9914
|
}, "sampleCommand");
|
|
9884
9915
|
|
|
9885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9916
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9886
9917
|
import { existsSync as existsSync5 } from "node:fs";
|
|
9887
9918
|
|
|
9888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9889
9920
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9890
9921
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9891
9922
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9954,7 +9985,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9954
9985
|
};
|
|
9955
9986
|
}, "modelTarget");
|
|
9956
9987
|
|
|
9957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9958
9989
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9959
9990
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9960
9991
|
var AI_FIELDS = {
|
|
@@ -9998,7 +10029,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9998
10029
|
};
|
|
9999
10030
|
}, "resolveAISettings");
|
|
10000
10031
|
|
|
10001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10032
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
10002
10033
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
10003
10034
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
10004
10035
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -10012,7 +10043,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
10012
10043
|
return ms2;
|
|
10013
10044
|
}, "parseDuration");
|
|
10014
10045
|
|
|
10015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10016
10047
|
var HISTORY_MAX_DAYS = 1095;
|
|
10017
10048
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10018
10049
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10059,7 +10090,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10059
10090
|
return { batch: { ...batch, messages }, skipped };
|
|
10060
10091
|
}, "limitBatch");
|
|
10061
10092
|
|
|
10062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10063
10094
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10064
10095
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10065
10096
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10354,7 +10385,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10354
10385
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10355
10386
|
}, "readConfigFile");
|
|
10356
10387
|
|
|
10357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10358
10389
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10359
10390
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10360
10391
|
var DEFAULT_CONFIG = {
|
|
@@ -10383,7 +10414,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10383
10414
|
}
|
|
10384
10415
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10385
10416
|
|
|
10386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10387
10418
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10388
10419
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10389
10420
|
const path2 = key.split(".");
|
|
@@ -10405,7 +10436,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10405
10436
|
return { config, added };
|
|
10406
10437
|
}, "withSettingDefaults");
|
|
10407
10438
|
|
|
10408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10409
10440
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10410
10441
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10411
10442
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10933,7 +10964,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10933
10964
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10934
10965
|
}, "given");
|
|
10935
10966
|
|
|
10936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10937
10968
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
10938
10969
|
const slot = environmentOf(command).exit;
|
|
10939
10970
|
const request = commandServerRequest();
|
|
@@ -10949,9 +10980,17 @@ var provide = /* @__PURE__ */ __name((program2, environment) => {
|
|
|
10949
10980
|
environments.set(program2, environment);
|
|
10950
10981
|
}, "provide");
|
|
10951
10982
|
var environmentOf = /* @__PURE__ */ __name((command) => environments.get(rootOf(command)) ?? {}, "environmentOf");
|
|
10983
|
+
var PAGING = ["page", "limit", "all"];
|
|
10984
|
+
var withoutOwnPaging = /* @__PURE__ */ __name((command, flags) => {
|
|
10985
|
+
if (metaOf(command).origin !== "generated")
|
|
10986
|
+
return flags;
|
|
10987
|
+
const own = PAGING.filter((name) => command.options.some((option) => option.attributeName() === name));
|
|
10988
|
+
return own.length > 0 ? Object.fromEntries(Object.entries(flags).filter(([name]) => !own.includes(name))) : flags;
|
|
10989
|
+
}, "withoutOwnPaging");
|
|
10952
10990
|
var withAgentLevels = /* @__PURE__ */ __name((command, flags) => {
|
|
10953
10991
|
const overrides = environmentOf(command).agent?.overrides ?? [];
|
|
10954
|
-
|
|
10992
|
+
const read = withoutOwnPaging(command, flags);
|
|
10993
|
+
return overrides.length > 0 ? { ...read, permission: [...overrides, ...read.permission ?? []] } : read;
|
|
10955
10994
|
}, "withAgentLevels");
|
|
10956
10995
|
var secretInputOf = /* @__PURE__ */ __name((command) => {
|
|
10957
10996
|
const { stdin, stderr } = environmentOf(command);
|
|
@@ -11069,7 +11108,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11069
11108
|
return words.join(" ");
|
|
11070
11109
|
}, "commandPath");
|
|
11071
11110
|
|
|
11072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11073
11112
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11074
11113
|
var FETCH = { remote: "read", local: "write" };
|
|
11075
11114
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11105,7 +11144,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
11105
11144
|
KEPT_UNDER_LOCK.add(command);
|
|
11106
11145
|
return command;
|
|
11107
11146
|
}, "destroysNothing");
|
|
11108
|
-
var PROPOSE_COMMANDS = [
|
|
11147
|
+
var PROPOSE_COMMANDS = [
|
|
11148
|
+
"messages acknowledge",
|
|
11149
|
+
"mail findings add",
|
|
11150
|
+
"projects actions add",
|
|
11151
|
+
"meetings actions add"
|
|
11152
|
+
];
|
|
11109
11153
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
11110
11154
|
var isProposal = /* @__PURE__ */ __name((command) => {
|
|
11111
11155
|
if (!PROPOSES.has(command))
|
|
@@ -11209,7 +11253,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11209
11253
|
throw readOnlyRefusal(lock, what);
|
|
11210
11254
|
}, "refuseUnderReadOnly");
|
|
11211
11255
|
|
|
11212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11213
11257
|
import { join as join5 } from "node:path";
|
|
11214
11258
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11215
11259
|
var IMAGE_MODELS = [
|
|
@@ -11263,7 +11307,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11263
11307
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11264
11308
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11265
11309
|
|
|
11266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11310
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11267
11311
|
var STEPS2 = defineSteps([
|
|
11268
11312
|
...STEPS,
|
|
11269
11313
|
{
|
|
@@ -11553,7 +11597,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11553
11597
|
].join(" ");
|
|
11554
11598
|
}, "stepLine");
|
|
11555
11599
|
|
|
11556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11557
11601
|
var where = [{ field: "ref" }];
|
|
11558
11602
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11559
11603
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11645,7 +11689,7 @@ var STATUS_ROWS = {
|
|
|
11645
11689
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11646
11690
|
};
|
|
11647
11691
|
|
|
11648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11649
11693
|
var TEXT_CHARS = 400;
|
|
11650
11694
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11651
11695
|
var messageRow = {
|
|
@@ -12013,7 +12057,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12013
12057
|
return lines.concat(footerOf(body)).join("\n");
|
|
12014
12058
|
}, "compactText");
|
|
12015
12059
|
|
|
12016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12017
12061
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12018
12062
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12019
12063
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12071,7 +12115,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12071
12115
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12072
12116
|
}, "largeAnswerSteps");
|
|
12073
12117
|
|
|
12074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12075
12119
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12076
12120
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12077
12121
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12085,7 +12129,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12085
12129
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12086
12130
|
}, "strip");
|
|
12087
12131
|
|
|
12088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12089
12133
|
var OPEN = "\u27E6";
|
|
12090
12134
|
var CLOSE = "\u27E7";
|
|
12091
12135
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12094,6 +12138,10 @@ var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
|
12094
12138
|
const mark = ancestorValue(envName(app, "UNTRUSTED_MARK"), env);
|
|
12095
12139
|
return mark && /^[0-9a-f]{16}$/.test(mark) ? mark : void 0;
|
|
12096
12140
|
}, "untrustedMarkOf");
|
|
12141
|
+
var runMarkOf = /* @__PURE__ */ __name((command) => {
|
|
12142
|
+
const { app, env } = environmentOf(command);
|
|
12143
|
+
return app ? untrustedMarkOf(app, env ?? process.env) : void 0;
|
|
12144
|
+
}, "runMarkOf");
|
|
12097
12145
|
var marked = /* @__PURE__ */ __name((text5, mark, source2, id6) => {
|
|
12098
12146
|
const inside = text5.replaceAll(OPEN, "").replaceAll(CLOSE, "").replaceAll(mark, "");
|
|
12099
12147
|
const named3 = id6 === void 0 ? "" : ` id=${id6.replaceAll(OPEN, "").replaceAll(CLOSE, "").replace(/\s/g, "")}`;
|
|
@@ -12169,7 +12217,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12169
12217
|
return result;
|
|
12170
12218
|
}, "withFieldsMarked");
|
|
12171
12219
|
|
|
12172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12173
12221
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12174
12222
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12175
12223
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12299,8 +12347,7 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
|
|
|
12299
12347
|
const root = rootOf2(command);
|
|
12300
12348
|
const runnableSteps = runnable(root, body.next);
|
|
12301
12349
|
const next = environmentOf(command).agent ? runnableSteps : withLines(root, runnableSteps);
|
|
12302
|
-
const
|
|
12303
|
-
const mark = app ? untrustedMarkOf(app, env ?? process.env) : void 0;
|
|
12350
|
+
const mark = runMarkOf(command);
|
|
12304
12351
|
const declared = untrustedFieldsOf(command);
|
|
12305
12352
|
const shown = mark === void 0 ? body : withUntrustedMarked(declared ? withFieldsMarked(body, declared, mark) : body, mark);
|
|
12306
12353
|
const kept = withoutProviderRefs({ ...shown, ...next.length > 0 ? { next } : {} });
|
|
@@ -12506,6 +12553,7 @@ export {
|
|
|
12506
12553
|
setExitCode,
|
|
12507
12554
|
provide,
|
|
12508
12555
|
environmentOf,
|
|
12556
|
+
withoutOwnPaging,
|
|
12509
12557
|
withAgentLevels,
|
|
12510
12558
|
secretInputOf,
|
|
12511
12559
|
outputFieldsOf,
|
|
@@ -12559,6 +12607,8 @@ export {
|
|
|
12559
12607
|
stepLine,
|
|
12560
12608
|
tooLargeSteps,
|
|
12561
12609
|
withoutProviderRefs,
|
|
12610
|
+
runMarkOf,
|
|
12611
|
+
withUntrustedMarked,
|
|
12562
12612
|
marksUntrusted,
|
|
12563
12613
|
answerSchema,
|
|
12564
12614
|
listOf,
|