@wirecat/tg-cli 0.131.0 → 0.133.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 +138 -317
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-TA637IRT.js → adapter-GSGX3WBH.js} +61 -60
- package/dist/bundle/{all-profiles-7M3GBCB6.js → all-profiles-VOCJ55YH.js} +9 -9
- package/dist/bundle/{anthropic-P3THLZWO.js → anthropic-J6CTLU3W.js} +5 -5
- package/dist/bundle/{app-server-OE5EAXIY.js → app-server-GVFGA4TJ.js} +57 -57
- package/dist/bundle/{bot-api-WYR2C4A5.js → bot-api-LWONPIGK.js} +62 -61
- package/dist/bundle/{bot-history-PKJTHU7L.js → bot-history-XOW7Y2GC.js} +22 -22
- package/dist/bundle/{bun-XMZJDDEA.js → bun-436CH6CP.js} +2 -2
- package/dist/bundle/{bun-sqlite-F5RWCB2N.js → bun-sqlite-ZLB5RK5Q.js} +6 -6
- package/dist/bundle/chunk-2KQDJHF3.js +88 -0
- package/dist/bundle/{chunk-WG6UZJ3E.js → chunk-54WLIPIQ.js} +1 -1
- package/dist/bundle/{chunk-LDSTUBLY.js → chunk-57KJ3TRS.js} +9 -9
- package/dist/bundle/{chunk-LTP4BYHJ.js → chunk-5HKPQPD4.js} +6 -6
- package/dist/bundle/{chunk-LJO6MMQG.js → chunk-5L44DSHV.js} +4 -4
- package/dist/bundle/{chunk-5AJ5RLJW.js → chunk-5LRTYBZW.js} +14 -13
- package/dist/bundle/{chunk-6BPM3LNR.js → chunk-6A44ZZFC.js} +6 -6
- package/dist/bundle/{chunk-HT6OFANN.js → chunk-6CHIGUCY.js} +20 -20
- package/dist/bundle/{chunk-34PRGA7E.js → chunk-6H2NW6HK.js} +3 -3
- package/dist/bundle/{chunk-JSE4OBYI.js → chunk-6S77EKZU.js} +13 -13
- package/dist/bundle/{chunk-TT6OHNV2.js → chunk-6VCSOQFL.js} +2 -2
- package/dist/bundle/{chunk-CLG2ISQH.js → chunk-7NF3V5L2.js} +4 -4
- package/dist/bundle/{chunk-Z2TCTTPJ.js → chunk-7NYP4RBO.js} +1910 -1015
- package/dist/bundle/{chunk-B6NQJAUC.js → chunk-BXVB42KJ.js} +2 -2
- package/dist/bundle/{chunk-PS7ZS5HD.js → chunk-CEJYNB3I.js} +4 -4
- package/dist/bundle/{chunk-6O5AD3GA.js → chunk-D2SJLZSH.js} +2 -2
- package/dist/bundle/{chunk-P6KGEZIS.js → chunk-H7ML7X3G.js} +5 -5
- package/dist/bundle/{chunk-BXW6FGLD.js → chunk-HB5DP6L5.js} +15 -15
- package/dist/bundle/{chunk-S2IET7WM.js → chunk-IBCXEVNY.js} +3 -3
- package/dist/bundle/{chunk-PHGH5N4C.js → chunk-IH4Z3KZU.js} +2 -2
- package/dist/bundle/{chunk-UGYC2FV5.js → chunk-IPPCQ7IK.js} +2 -2
- package/dist/bundle/{chunk-AJQ6JFLY.js → chunk-IYAXLLGR.js} +6 -6
- package/dist/bundle/{chunk-UUNQV4YL.js → chunk-JGMXBAGH.js} +111 -41
- package/dist/bundle/{chunk-O7X6RM5R.js → chunk-JKSD43L7.js} +6 -6
- package/dist/bundle/{chunk-AEIDEIVB.js → chunk-JPNVEPS4.js} +2331 -1406
- package/dist/bundle/{chunk-GNIROVSK.js → chunk-KEN4B57V.js} +2 -2
- package/dist/bundle/{chunk-NOZZHEMD.js → chunk-KHUXDSXN.js} +1 -1
- package/dist/bundle/{chunk-JUFLELQ7.js → chunk-KUA24HWG.js} +2 -2
- package/dist/bundle/{chunk-H655CMXJ.js → chunk-KVFUH5IT.js} +1 -1
- package/dist/bundle/{chunk-EZBMLKBK.js → chunk-LBZEZO32.js} +36 -36
- package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-LIQMUDIZ.js} +2 -2
- package/dist/bundle/{chunk-SLT2PBFP.js → chunk-LOS4D6ZB.js} +67 -30
- package/dist/bundle/{chunk-6TJTQ4I4.js → chunk-LQQSDGQ6.js} +35 -36
- package/dist/bundle/{chunk-QGFUUJPL.js → chunk-M6QOM6SL.js} +1 -1
- package/dist/bundle/{chunk-JDLNI7BU.js → chunk-N3JUHGKM.js} +308 -285
- package/dist/bundle/{chunk-OOSX7K7G.js → chunk-N7QREPZW.js} +8 -8
- package/dist/bundle/{chunk-IULSIKEM.js → chunk-NAXOT35J.js} +3 -3
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-MYC3M4BY.js → chunk-NTWXL2QV.js} +2 -2
- package/dist/bundle/{chunk-WUIKJJ5A.js → chunk-O6JUVATT.js} +8 -8
- package/dist/bundle/{chunk-43KSYUZU.js → chunk-OWY52JBO.js} +7 -7
- package/dist/bundle/{chunk-2TOJQQKS.js → chunk-OX73ERZW.js} +1 -1
- package/dist/bundle/{chunk-NXNSEFGR.js → chunk-QGWISM4W.js} +24 -24
- package/dist/bundle/{chunk-AUNNJDVD.js → chunk-QVGEL66U.js} +28 -8
- package/dist/bundle/{chunk-5ZIT6JXP.js → chunk-QWO7L4UH.js} +7 -7
- package/dist/bundle/{chunk-PD4RREQB.js → chunk-QYLZD4DS.js} +1 -1
- package/dist/bundle/{chunk-LEPDRO3O.js → chunk-RABUG4KA.js} +76 -59
- package/dist/bundle/{chunk-ITYDJIRC.js → chunk-SMI2EUH4.js} +1 -1
- package/dist/bundle/{chunk-76UAXRDY.js → chunk-SMU6NA7F.js} +4 -4
- package/dist/bundle/{chunk-O73DZURO.js → chunk-TCI7I6YF.js} +10 -10
- package/dist/bundle/{chunk-VNJZXV7E.js → chunk-THYGLTRB.js} +9 -60
- package/dist/bundle/{chunk-OX5EAUKF.js → chunk-TPD37ECC.js} +3 -3
- package/dist/bundle/{chunk-2OXR2MRV.js → chunk-TTDZVWDU.js} +1 -1
- package/dist/bundle/{chunk-YZTMQE62.js → chunk-UGS57TT5.js} +2 -2
- package/dist/bundle/{chunk-OPG54IFH.js → chunk-UIAKLELF.js} +54 -54
- package/dist/bundle/{chunk-5N7TJ6TJ.js → chunk-UKBK2VWZ.js} +217 -165
- package/dist/bundle/{chunk-NTORQXAS.js → chunk-UQYL6TJ7.js} +4 -4
- package/dist/bundle/{chunk-2U6XE4HI.js → chunk-UZ63ORMY.js} +4 -4
- package/dist/bundle/{chunk-SQ2JLZFK.js → chunk-VCAOH45X.js} +1 -1
- package/dist/bundle/{chunk-YJ4BPNWI.js → chunk-VGN5YXYI.js} +3 -3
- package/dist/bundle/{chunk-XC2YJDDK.js → chunk-VTQMR3XG.js} +3 -3
- package/dist/bundle/{chunk-BFERGEBI.js → chunk-VWJTYAIQ.js} +17 -17
- package/dist/bundle/{chunk-JF4AJNCE.js → chunk-WCYKVX3B.js} +7 -7
- package/dist/bundle/{chunk-EXMJDHBM.js → chunk-XDQU5HBO.js} +12 -12
- package/dist/bundle/{chunk-SS5H2XAT.js → chunk-XKOMP3HV.js} +2 -2
- package/dist/bundle/{chunk-J2QQZVEN.js → chunk-XOX4BX5A.js} +4 -4
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-L2SMUTJY.js → chunk-YY6FGKGD.js} +2 -2
- package/dist/bundle/{chunk-VVUUP5NF.js → chunk-ZHO3TPHM.js} +13 -13
- package/dist/bundle/{chunk-LWSOCKOD.js → chunk-ZYAHZKYF.js} +3 -3
- package/dist/bundle/command-contract-TQIARAB4.js +37 -0
- package/dist/bundle/{command-server-entry-6FH3RXJ2.js → command-server-entry-AE27QXTE.js} +27 -27
- package/dist/bundle/{decode-UBRT2QDP.js → decode-RQPPZ72F.js} +5 -5
- package/dist/bundle/{dispatch-ST5FK2KI.js → dispatch-KQO2MCSH.js} +8 -8
- package/dist/bundle/{echarts-PG45GQLR.js → echarts-FZRIACN4.js} +2 -2
- package/dist/bundle/{embed-BUQDSZ57.js → embed-TOSWWMDL.js} +6 -6
- package/dist/bundle/{embedder-TXA3EV7O.js → embedder-JHIQSBGD.js} +9 -9
- package/dist/bundle/{entry-JWIEF57D.js → entry-DU4KRXTG.js} +9 -9
- package/dist/bundle/{failure-GMUQKQ5K.js → failure-3YC3YGYO.js} +2 -2
- package/dist/bundle/{first-run-5VTHKMK5.js → first-run-DQQT4FID.js} +12 -12
- package/dist/bundle/first-screen-7N4CTZSA.js +37 -0
- package/dist/bundle/{instructions-ZMEPWTFO.js → instructions-WI64CJQ6.js} +1 -1
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-3RAOFQ7M.js +23 -0
- package/dist/bundle/{meeting-model-5FVNZCTL.js → meeting-model-XNRSREIK.js} +11 -11
- package/dist/bundle/{meeting-semantic-HUMYFMO7.js → meeting-semantic-OOSCHQMB.js} +6 -6
- package/dist/bundle/{node-N4DQQJKK.js → node-JLKDNVKV.js} +2 -2
- package/dist/bundle/{node-sqlite-MG4KFXYY.js → node-sqlite-YOGH26O2.js} +7 -7
- package/dist/bundle/{oauth-NKDSXEH6.js → oauth-FOMXM5HP.js} +7 -7
- package/dist/bundle/{open-DV2YUU2M.js → open-SM2UXUKM.js} +5 -5
- package/dist/bundle/{openai-FEKMZOUJ.js → openai-J2H7S6ZF.js} +15 -15
- package/dist/bundle/{process-QZS3TE6A.js → process-HI7OZBOI.js} +1 -1
- package/dist/bundle/{program-FNDGXEVS.js → program-VY4HFU25.js} +64 -63
- package/dist/bundle/{prompt-C7RSBNH5.js → prompt-NUUVFMOF.js} +5 -5
- package/dist/bundle/{proxy-transport-A4MRO3PF.js → proxy-transport-AN4VMRRN.js} +5 -5
- package/dist/bundle/{recognize-5BL763FS.js → recognize-MALJHPDI.js} +4 -4
- package/dist/bundle/{remote-CXAKRC7X.js → remote-QUDRSTS2.js} +9 -9
- package/dist/bundle/{rerank-XAEXY5A4.js → rerank-2DSO3D3S.js} +7 -7
- package/dist/bundle/{serve-JLZGFTZH.js → serve-NCJ52MY3.js} +9 -9
- package/dist/bundle/server-CHGON5I2.js +70 -0
- package/dist/bundle/{server-GF3TV2U7.js → server-Y3M544AM.js} +49 -49
- package/dist/bundle/{sqlite-runtime-3OVQ7OTM.js → sqlite-runtime-NJUSXVKK.js} +6 -6
- package/dist/bundle/{state-FGJKQKC2.js → state-AVOWQVET.js} +6 -6
- package/dist/bundle/{store-WYLMNAAQ.js → store-BZ5ICDRP.js} +23 -19
- package/dist/bundle/{store-2J5VJZQY.js → store-MMIYOL4H.js} +19 -17
- package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +61 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +78 -576
- package/skills/tg-cli/references/files.md +64 -0
- package/skills/tg-cli/references/history.md +22 -0
- package/skills/tg-cli/references/mcp-and-bots.md +54 -0
- package/skills/tg-cli/references/messages.md +111 -0
- package/skills/tg-cli/references/people.md +85 -0
- package/skills/tg-cli/references/search.md +130 -0
- package/skills/tg-cli/references/setup.md +91 -0
- package/skills/tg-cli/references/stats.md +45 -0
- package/skills/tg-cli/references/tasks.md +54 -0
- package/dist/bundle/command-contract-DAQYQF6R.js +0 -37
- package/dist/bundle/first-screen-PTHIZ5ZF.js +0 -35
- package/dist/bundle/meeting-combined-DU3RJR6X.js +0 -23
- package/dist/bundle/server-GLPEWUYT.js +0 -69
- package/dist/bundle/store-maintenance-command-QN6QH6RA.js +0 -60
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QWO7L4UH.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NAXOT35J.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestorValue,
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KEN4B57V.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QYLZD4DS.js";
|
|
25
25
|
import {
|
|
26
26
|
note
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IBCXEVNY.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_RERANK_MODEL,
|
|
30
30
|
RERANK_MODELS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JKSD43L7.js";
|
|
32
32
|
import {
|
|
33
33
|
endpoint
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-H7ML7X3G.js";
|
|
35
35
|
import {
|
|
36
36
|
filesPresent,
|
|
37
37
|
sharedModelsDirectory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5L44DSHV.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-LBZEZO32.js";
|
|
97
97
|
import {
|
|
98
98
|
isCliFailure,
|
|
99
99
|
storeDamaged
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-ZYAHZKYF.js";
|
|
101
101
|
import {
|
|
102
102
|
TAG_TYPES
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-IH4Z3KZU.js";
|
|
104
104
|
import {
|
|
105
105
|
repairConfigText,
|
|
106
106
|
sharedConfigPath
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-WCYKVX3B.js";
|
|
108
108
|
import {
|
|
109
109
|
FACT_TYPES,
|
|
110
110
|
FIELD_TYPES,
|
|
@@ -114,6 +114,7 @@ import {
|
|
|
114
114
|
describeQuery,
|
|
115
115
|
event,
|
|
116
116
|
meeting,
|
|
117
|
+
meetingCall,
|
|
117
118
|
meetingCounts,
|
|
118
119
|
meetingDetails,
|
|
119
120
|
meetingHit,
|
|
@@ -131,10 +132,10 @@ import {
|
|
|
131
132
|
parseLucene,
|
|
132
133
|
readsZone,
|
|
133
134
|
timezoneOf
|
|
134
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-RABUG4KA.js";
|
|
135
136
|
import {
|
|
136
137
|
storePath
|
|
137
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-6VCSOQFL.js";
|
|
138
139
|
import {
|
|
139
140
|
configFilePath,
|
|
140
141
|
createRecordLog,
|
|
@@ -146,7 +147,7 @@ import {
|
|
|
146
147
|
resolvePaths,
|
|
147
148
|
saveConfigFile,
|
|
148
149
|
writeSecurely
|
|
149
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-6CHIGUCY.js";
|
|
150
151
|
import {
|
|
151
152
|
COMPACT_FLAG,
|
|
152
153
|
MAX_NEXT_STEPS,
|
|
@@ -198,18 +199,18 @@ import {
|
|
|
198
199
|
unwrap,
|
|
199
200
|
variant,
|
|
200
201
|
writes
|
|
201
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-QVGEL66U.js";
|
|
202
203
|
import {
|
|
203
204
|
CliError,
|
|
204
205
|
isCliError,
|
|
205
206
|
singleLine,
|
|
206
207
|
visibleControls
|
|
207
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
208
209
|
import {
|
|
209
210
|
__name
|
|
210
211
|
} from "./chunk-ZVVMGPBJ.js";
|
|
211
212
|
|
|
212
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
213
214
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
214
215
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
215
216
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3710,7 +3711,7 @@ __name(useColor, "useColor");
|
|
|
3710
3711
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3711
3712
|
var program = new Command();
|
|
3712
3713
|
|
|
3713
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3714
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
3714
3715
|
import { isDeepStrictEqual } from "node:util";
|
|
3715
3716
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3716
3717
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3912,7 +3913,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3912
3913
|
return command;
|
|
3913
3914
|
}, "customizeSharedCommand");
|
|
3914
3915
|
|
|
3915
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3916
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
3916
3917
|
var argumentInfoSchema = object({
|
|
3917
3918
|
name: string(),
|
|
3918
3919
|
required: boolean(),
|
|
@@ -3986,7 +3987,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3986
3987
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3987
3988
|
});
|
|
3988
3989
|
|
|
3989
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3990
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.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
|
|
3990
3991
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3991
3992
|
let command = root;
|
|
3992
3993
|
const path2 = [];
|
|
@@ -4004,7 +4005,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4004
4005
|
}
|
|
4005
4006
|
}, "refuseJoinedPath");
|
|
4006
4007
|
|
|
4007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4008
4009
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4009
4010
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4010
4011
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4430,7 +4431,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4430
4431
|
}
|
|
4431
4432
|
}, "assertRetentionEvidenceRead");
|
|
4432
4433
|
|
|
4433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4434
4435
|
var account = strictObject({
|
|
4435
4436
|
provider: text,
|
|
4436
4437
|
id,
|
|
@@ -4440,7 +4441,7 @@ var account = strictObject({
|
|
|
4440
4441
|
scope: optional(picklist(["personal", "work"]))
|
|
4441
4442
|
});
|
|
4442
4443
|
|
|
4443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4444
4445
|
var accountSession = strictObject({
|
|
4445
4446
|
current: boolean(),
|
|
4446
4447
|
client: nullable(text),
|
|
@@ -4450,7 +4451,7 @@ var accountSession = strictObject({
|
|
|
4450
4451
|
created_at: optional(nullable(time))
|
|
4451
4452
|
});
|
|
4452
4453
|
|
|
4453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4454
4455
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4455
4456
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4456
4457
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4479,7 +4480,7 @@ var accountRemoval = strictObject({
|
|
|
4479
4480
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4480
4481
|
});
|
|
4481
4482
|
|
|
4482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4483
4484
|
var accountProfile = strictObject({
|
|
4484
4485
|
profile: id,
|
|
4485
4486
|
current: boolean(),
|
|
@@ -4491,7 +4492,7 @@ var accountProfile = strictObject({
|
|
|
4491
4492
|
bot: optional(literal(true))
|
|
4492
4493
|
});
|
|
4493
4494
|
|
|
4494
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4495
4496
|
var milliseconds = pipe(number(), minValue(0));
|
|
4496
4497
|
var counterReading = strictObject({
|
|
4497
4498
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4503,7 +4504,7 @@ var counterReading = strictObject({
|
|
|
4503
4504
|
});
|
|
4504
4505
|
var selection = record(string(), unknown());
|
|
4505
4506
|
|
|
4506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4507
4508
|
var adminRow = strictObject({
|
|
4508
4509
|
ref: reference,
|
|
4509
4510
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4556,7 +4557,7 @@ var adminReport = strictObject({
|
|
|
4556
4557
|
rows: array(adminRow)
|
|
4557
4558
|
});
|
|
4558
4559
|
|
|
4559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4560
4561
|
var closeSuggestion = strictObject({
|
|
4561
4562
|
as: picklist(["done", "dismissed"]),
|
|
4562
4563
|
/** The agent's name. */
|
|
@@ -4618,7 +4619,7 @@ var task = strictObject({
|
|
|
4618
4619
|
updated_at: optional(time)
|
|
4619
4620
|
});
|
|
4620
4621
|
|
|
4621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4622
4623
|
var agendaChat = strictObject({
|
|
4623
4624
|
chat: reference,
|
|
4624
4625
|
title: nullable(text),
|
|
@@ -4688,11 +4689,11 @@ var agenda = strictObject({
|
|
|
4688
4689
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4689
4690
|
});
|
|
4690
4691
|
|
|
4691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4692
4693
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4693
4694
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4694
4695
|
|
|
4695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4696
4697
|
var attachment = strictObject({
|
|
4697
4698
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4698
4699
|
message: optional(reference),
|
|
@@ -4737,7 +4738,7 @@ var hitFile = strictObject({
|
|
|
4737
4738
|
local_path: optional(text)
|
|
4738
4739
|
});
|
|
4739
4740
|
|
|
4740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4741
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4741
4742
|
var actionableError = objectWithRest({
|
|
4742
4743
|
code: text,
|
|
4743
4744
|
message: text,
|
|
@@ -4754,7 +4755,7 @@ var batchResult = strictObject({
|
|
|
4754
4755
|
max_error_percent: count
|
|
4755
4756
|
});
|
|
4756
4757
|
|
|
4757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4758
4759
|
var extractionItem = strictObject({
|
|
4759
4760
|
ref: reference,
|
|
4760
4761
|
attachment: count,
|
|
@@ -4787,7 +4788,7 @@ var extractionReport = strictObject({
|
|
|
4787
4788
|
cursor: optional(text)
|
|
4788
4789
|
});
|
|
4789
4790
|
|
|
4790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4791
4792
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4792
4793
|
var attachmentBytes = strictObject({
|
|
4793
4794
|
ref: reference,
|
|
@@ -4818,7 +4819,7 @@ var attachmentTextChange = strictObject({
|
|
|
4818
4819
|
text: optional(text)
|
|
4819
4820
|
});
|
|
4820
4821
|
|
|
4821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4822
4823
|
var WEIGHTS = {
|
|
4823
4824
|
bot: 3,
|
|
4824
4825
|
scam: 3,
|
|
@@ -4843,7 +4844,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4843
4844
|
var DIGITS = /\d{5,}/;
|
|
4844
4845
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4845
4846
|
|
|
4846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4847
4848
|
var linkedIdentity = strictObject({
|
|
4848
4849
|
provider: text,
|
|
4849
4850
|
id,
|
|
@@ -4898,7 +4899,7 @@ var contactCheck = strictObject({
|
|
|
4898
4899
|
checked_at: time
|
|
4899
4900
|
});
|
|
4900
4901
|
|
|
4901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4902
4903
|
var member = strictObject({
|
|
4903
4904
|
id,
|
|
4904
4905
|
name: nullable(text),
|
|
@@ -4921,7 +4922,7 @@ var member = strictObject({
|
|
|
4921
4922
|
check: optional(record(string(), unknown()))
|
|
4922
4923
|
});
|
|
4923
4924
|
|
|
4924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4925
4926
|
var setting = optional(nullable(boolean()));
|
|
4926
4927
|
var chat = strictObject({
|
|
4927
4928
|
ref: reference,
|
|
@@ -4962,7 +4963,7 @@ var chat = strictObject({
|
|
|
4962
4963
|
members: optional(array(member))
|
|
4963
4964
|
});
|
|
4964
4965
|
|
|
4965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4966
4967
|
var quoted = strictObject({
|
|
4967
4968
|
id,
|
|
4968
4969
|
sender_id: nullable(id),
|
|
@@ -5081,7 +5082,7 @@ var message = strictObject({
|
|
|
5081
5082
|
provider_metadata: providerMetadata
|
|
5082
5083
|
});
|
|
5083
5084
|
|
|
5084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
5085
5086
|
var recordedMeeting = strictObject({
|
|
5086
5087
|
ref: reference,
|
|
5087
5088
|
meeting_id: count,
|
|
@@ -5090,11 +5091,15 @@ var recordedMeeting = strictObject({
|
|
|
5090
5091
|
started_at: nullable(time),
|
|
5091
5092
|
duration_ms: nullable(count),
|
|
5092
5093
|
has_transcript: boolean(),
|
|
5094
|
+
/** The start of its transcript, on one line: what the people said, never instructions. */
|
|
5095
|
+
snippet: optional(nullable(text)),
|
|
5093
5096
|
event: nullable(reference),
|
|
5094
|
-
people: array(reference)
|
|
5097
|
+
people: array(reference),
|
|
5098
|
+
/** Present only on a phone call: its direction, manager and the other side's number. */
|
|
5099
|
+
call: optional(meetingCall)
|
|
5095
5100
|
});
|
|
5096
5101
|
|
|
5097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5098
5103
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5099
5104
|
var contextMessage = strictObject({
|
|
5100
5105
|
locator: reference,
|
|
@@ -5300,7 +5305,7 @@ var contactPreparation = strictObject({
|
|
|
5300
5305
|
})
|
|
5301
5306
|
});
|
|
5302
5307
|
|
|
5303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5304
5309
|
var nullableText = nullable(text);
|
|
5305
5310
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5306
5311
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5318,6 +5323,12 @@ var activity = strictObject({
|
|
|
5318
5323
|
created_at: time,
|
|
5319
5324
|
updated_at: time
|
|
5320
5325
|
});
|
|
5326
|
+
var stageEntry = strictObject({
|
|
5327
|
+
from: nullableText,
|
|
5328
|
+
to: text,
|
|
5329
|
+
at: time,
|
|
5330
|
+
exact: boolean()
|
|
5331
|
+
});
|
|
5321
5332
|
var deal = strictObject({
|
|
5322
5333
|
id,
|
|
5323
5334
|
ref: reference,
|
|
@@ -5376,9 +5387,30 @@ var deal = strictObject({
|
|
|
5376
5387
|
activities: optional(array(activity)),
|
|
5377
5388
|
/** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
|
|
5378
5389
|
meetings: optional(array(recordedMeeting)),
|
|
5390
|
+
/**
|
|
5391
|
+
* `show` of a CRM copy: every stage it entered, oldest first. Once the CRM's own history names any, it alone is
|
|
5392
|
+
* listed, from as far back as it was read; the copy's changes between syncs are left out.
|
|
5393
|
+
*/
|
|
5394
|
+
stage_history: optional(array(stageEntry)),
|
|
5379
5395
|
untrusted
|
|
5380
5396
|
});
|
|
5381
5397
|
var lead = deal;
|
|
5398
|
+
var amount = strictObject({ amount: text, currency: text, items: count });
|
|
5399
|
+
var winRate = nullable(number());
|
|
5400
|
+
var pipelineOwner = strictObject({
|
|
5401
|
+
assignee: nullableText,
|
|
5402
|
+
name: nullableText,
|
|
5403
|
+
open: count,
|
|
5404
|
+
won: count,
|
|
5405
|
+
lost: count,
|
|
5406
|
+
win_rate: winRate
|
|
5407
|
+
});
|
|
5408
|
+
var pipelineClosed = strictObject({
|
|
5409
|
+
won: count,
|
|
5410
|
+
lost: count,
|
|
5411
|
+
win_rate: winRate,
|
|
5412
|
+
won_amounts: array(amount)
|
|
5413
|
+
});
|
|
5382
5414
|
var pipelineStage = strictObject({
|
|
5383
5415
|
name: text,
|
|
5384
5416
|
position: count,
|
|
@@ -5391,8 +5423,11 @@ var pipelineStage = strictObject({
|
|
|
5391
5423
|
conversion: optional(nullable(number())),
|
|
5392
5424
|
/** With a funnel: rows standing in it now, and their sum per currency, never converted. */
|
|
5393
5425
|
items: optional(count),
|
|
5394
|
-
amounts: optional(array(
|
|
5426
|
+
amounts: optional(array(amount)),
|
|
5427
|
+
/** With a funnel: the median days a row of the window stayed in it before it moved on. */
|
|
5428
|
+
median_days: optional(nullable(number()))
|
|
5395
5429
|
});
|
|
5430
|
+
var pipelineStageAnswer = pipelineStage;
|
|
5396
5431
|
var pipeline = strictObject({
|
|
5397
5432
|
id,
|
|
5398
5433
|
ref: reference,
|
|
@@ -5400,10 +5435,20 @@ var pipeline = strictObject({
|
|
|
5400
5435
|
kind: picklist(["deal", "lead"]),
|
|
5401
5436
|
account: crmAccount,
|
|
5402
5437
|
external_id: nullableText,
|
|
5403
|
-
stages: array(
|
|
5438
|
+
stages: array(pipelineStageAnswer),
|
|
5404
5439
|
created_at: time,
|
|
5405
|
-
|
|
5440
|
+
/** `show`: the rows made in the window. */
|
|
5441
|
+
totals: optional(strictObject({ items: count, open: count, won: count, lost: count, win_rate: winRate })),
|
|
5442
|
+
window: optional(strictObject({ since: nullable(time), until: nullable(time) })),
|
|
5406
5443
|
since: optional(day),
|
|
5444
|
+
/** `show`: rows closed on a day in the window, in the owner's zone. */
|
|
5445
|
+
closed: optional(pipelineClosed),
|
|
5446
|
+
/** `show`: days from made to won, of the rows won in the window. */
|
|
5447
|
+
cycle: optional(strictObject({ median_days: nullable(number()), items: count })),
|
|
5448
|
+
owners: optional(array(pipelineOwner)),
|
|
5449
|
+
lost_reasons: optional(array(strictObject({ reason: text, items: count }))),
|
|
5450
|
+
/** `show`: rows whose stages came from the CRM's own history, and from the copy's diffs. */
|
|
5451
|
+
history: optional(strictObject({ exact: count, copy: count })),
|
|
5407
5452
|
untrusted
|
|
5408
5453
|
});
|
|
5409
5454
|
var stage = strictObject({
|
|
@@ -5411,10 +5456,12 @@ var stage = strictObject({
|
|
|
5411
5456
|
pipeline: reference,
|
|
5412
5457
|
pipeline_name: text,
|
|
5413
5458
|
kind: picklist(["deal", "lead"]),
|
|
5459
|
+
/** A CRM's stage: the task its `stage-tasks` rule opens when a row enters it, or `null`. */
|
|
5460
|
+
stage_task: optional(nullable(strictObject({ title: text, due_days: count }))),
|
|
5414
5461
|
untrusted
|
|
5415
5462
|
});
|
|
5416
5463
|
|
|
5417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5418
5465
|
var nullableText2 = nullable(text);
|
|
5419
5466
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5420
5467
|
var standing = picklist(STANDINGS);
|
|
@@ -5545,7 +5592,7 @@ var organizationContext = strictObject({
|
|
|
5545
5592
|
var { untrusted: _, ...dealRow } = deal.entries;
|
|
5546
5593
|
var dealContext = strictObject({
|
|
5547
5594
|
deal: strictObject(dealRow),
|
|
5548
|
-
stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time })),
|
|
5595
|
+
stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time, exact: boolean() })),
|
|
5549
5596
|
organization: nullable(strictObject({ ref: reference, name: nullableText2, categories })),
|
|
5550
5597
|
participants: section(related),
|
|
5551
5598
|
owner: nullable(related),
|
|
@@ -5560,6 +5607,9 @@ var dealContext = strictObject({
|
|
|
5560
5607
|
title: nullableText2,
|
|
5561
5608
|
at: nullable(time),
|
|
5562
5609
|
people: array(reference),
|
|
5610
|
+
text: optional(nullableText2),
|
|
5611
|
+
call: optional(meetingCall),
|
|
5612
|
+
duration_ms: optional(nullable(count)),
|
|
5563
5613
|
standing: literal("proposed")
|
|
5564
5614
|
})).entries,
|
|
5565
5615
|
counts: strictObject(counts)
|
|
@@ -5588,7 +5638,7 @@ var dealBrief = strictObject({
|
|
|
5588
5638
|
not_read: coverage2.entries.not_read
|
|
5589
5639
|
});
|
|
5590
5640
|
|
|
5591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5592
5642
|
var chart = strictObject({
|
|
5593
5643
|
version: literal(1),
|
|
5594
5644
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5603,7 +5653,7 @@ var chart = strictObject({
|
|
|
5603
5653
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5604
5654
|
});
|
|
5605
5655
|
|
|
5606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5607
5657
|
var named = strictObject({
|
|
5608
5658
|
id,
|
|
5609
5659
|
title: nullable(text),
|
|
@@ -5626,7 +5676,7 @@ var folder = strictObject({
|
|
|
5626
5676
|
excluded_chats: optional(array(named))
|
|
5627
5677
|
});
|
|
5628
5678
|
|
|
5629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5679
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5630
5680
|
var inviteLink = strictObject({
|
|
5631
5681
|
link: text,
|
|
5632
5682
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5642,7 +5692,7 @@ var inviteLink = strictObject({
|
|
|
5642
5692
|
joined_count: optional(count)
|
|
5643
5693
|
});
|
|
5644
5694
|
|
|
5645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5646
5696
|
var operated = { operation_id: id, chat_id: id };
|
|
5647
5697
|
var group = strictObject({
|
|
5648
5698
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5722,7 +5772,7 @@ var chatFolderOrder = strictObject({
|
|
|
5722
5772
|
folders: array(strictObject({ id, title: text }))
|
|
5723
5773
|
});
|
|
5724
5774
|
|
|
5725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5726
5776
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5727
5777
|
var chatRemoval = strictObject(operated2);
|
|
5728
5778
|
var chatMuting = strictObject({
|
|
@@ -5733,7 +5783,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5733
5783
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5734
5784
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5735
5785
|
|
|
5736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5737
5787
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5738
5788
|
var chatEvent = strictObject({
|
|
5739
5789
|
chat_id: id,
|
|
@@ -5750,7 +5800,7 @@ var chatEvent = strictObject({
|
|
|
5750
5800
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5751
5801
|
});
|
|
5752
5802
|
|
|
5753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5754
5804
|
var chatMetadata = strictObject({
|
|
5755
5805
|
chat_id: id,
|
|
5756
5806
|
title: nullable(text),
|
|
@@ -5765,7 +5815,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5765
5815
|
has_more: boolean()
|
|
5766
5816
|
});
|
|
5767
5817
|
|
|
5768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5769
5819
|
var action = picklist(["report", "delete", "remove"]);
|
|
5770
5820
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5771
5821
|
var chatRules = strictObject({
|
|
@@ -5802,7 +5852,7 @@ var chatModeration = strictObject({
|
|
|
5802
5852
|
}))
|
|
5803
5853
|
});
|
|
5804
5854
|
|
|
5805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5855
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
5806
5856
|
var chatSending = strictObject({
|
|
5807
5857
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
5808
5858
|
meaning: text,
|
|
@@ -5812,7 +5862,7 @@ var chatSending = strictObject({
|
|
|
5812
5862
|
changed: optional(boolean())
|
|
5813
5863
|
});
|
|
5814
5864
|
|
|
5815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5816
5866
|
var optionalCount = optional(count);
|
|
5817
5867
|
var minutes = nullable(number());
|
|
5818
5868
|
var chatStats = strictObject({
|
|
@@ -5888,7 +5938,7 @@ var taskStats = strictObject({
|
|
|
5888
5938
|
}))
|
|
5889
5939
|
});
|
|
5890
5940
|
|
|
5891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5941
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5892
5942
|
var memberCount = strictObject({
|
|
5893
5943
|
day: pipe(text, isoDate()),
|
|
5894
5944
|
participants: nullable(count),
|
|
@@ -5911,7 +5961,7 @@ var chatTracking = strictObject({
|
|
|
5911
5961
|
tracked: boolean()
|
|
5912
5962
|
});
|
|
5913
5963
|
|
|
5914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5915
5965
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5916
5966
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5917
5967
|
var profileFields = {
|
|
@@ -5949,7 +5999,7 @@ var profileFields = {
|
|
|
5949
5999
|
}))
|
|
5950
6000
|
};
|
|
5951
6001
|
|
|
5952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5953
6003
|
var contact = strictObject({
|
|
5954
6004
|
ref: reference,
|
|
5955
6005
|
id,
|
|
@@ -5980,7 +6030,7 @@ var contact = strictObject({
|
|
|
5980
6030
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5981
6031
|
});
|
|
5982
6032
|
|
|
5983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5984
6034
|
var contactNote = strictObject({
|
|
5985
6035
|
id,
|
|
5986
6036
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5992,13 +6042,13 @@ var contactNote = strictObject({
|
|
|
5992
6042
|
updated_at: time
|
|
5993
6043
|
});
|
|
5994
6044
|
|
|
5995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5996
6046
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5997
6047
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5998
6048
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5999
6049
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6000
6050
|
|
|
6001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6002
6052
|
var conversation = strictObject({
|
|
6003
6053
|
id,
|
|
6004
6054
|
chat: reference,
|
|
@@ -6013,7 +6063,7 @@ var conversation = strictObject({
|
|
|
6013
6063
|
rules_version: count
|
|
6014
6064
|
});
|
|
6015
6065
|
|
|
6016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
6017
6067
|
var conversationBuild = strictObject({
|
|
6018
6068
|
chat: id,
|
|
6019
6069
|
messages: count,
|
|
@@ -6038,7 +6088,7 @@ var catchUpPreparation = strictObject({
|
|
|
6038
6088
|
prepared: optional(conversationPreparation)
|
|
6039
6089
|
});
|
|
6040
6090
|
|
|
6041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6042
6092
|
var conversationDetails = union([
|
|
6043
6093
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6044
6094
|
message
|
|
@@ -6128,7 +6178,7 @@ var conversationHit = strictObject({
|
|
|
6128
6178
|
stale: boolean()
|
|
6129
6179
|
});
|
|
6130
6180
|
|
|
6131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6132
6182
|
var counters = strictObject({
|
|
6133
6183
|
cutoff: time,
|
|
6134
6184
|
max_age_ms: milliseconds,
|
|
@@ -6158,7 +6208,7 @@ var counterRefresh = strictObject({
|
|
|
6158
6208
|
complete: optional(boolean())
|
|
6159
6209
|
});
|
|
6160
6210
|
|
|
6161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6162
6212
|
var document = strictObject({
|
|
6163
6213
|
ref: reference,
|
|
6164
6214
|
id,
|
|
@@ -6173,7 +6223,7 @@ var document = strictObject({
|
|
|
6173
6223
|
owners: optional(array(text))
|
|
6174
6224
|
});
|
|
6175
6225
|
|
|
6176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6177
6227
|
var documentLink = strictObject({
|
|
6178
6228
|
ref: reference,
|
|
6179
6229
|
url: text,
|
|
@@ -6184,7 +6234,7 @@ var documentLink = strictObject({
|
|
|
6184
6234
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6185
6235
|
});
|
|
6186
6236
|
|
|
6187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6188
6238
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6189
6239
|
var contribution = strictObject({
|
|
6190
6240
|
message: evidenceMessage,
|
|
@@ -6214,7 +6264,7 @@ var retentionStay = strictObject({
|
|
|
6214
6264
|
});
|
|
6215
6265
|
var evidence = union([contribution, retentionStay]);
|
|
6216
6266
|
|
|
6217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6218
6268
|
var fact = strictObject({
|
|
6219
6269
|
ref: reference,
|
|
6220
6270
|
id,
|
|
@@ -6245,7 +6295,7 @@ var fact = strictObject({
|
|
|
6245
6295
|
updated_at: time
|
|
6246
6296
|
});
|
|
6247
6297
|
|
|
6248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6249
6299
|
var hit = strictObject({
|
|
6250
6300
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6251
6301
|
ref: reference,
|
|
@@ -6293,7 +6343,7 @@ var hit = strictObject({
|
|
|
6293
6343
|
untrusted
|
|
6294
6344
|
});
|
|
6295
6345
|
|
|
6296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6297
6347
|
var identity = strictObject({
|
|
6298
6348
|
ref: reference,
|
|
6299
6349
|
provider: text,
|
|
@@ -6309,7 +6359,7 @@ var identity = strictObject({
|
|
|
6309
6359
|
person: optional(nullable(reference))
|
|
6310
6360
|
});
|
|
6311
6361
|
|
|
6312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6313
6363
|
var imageEmbedding = strictObject({
|
|
6314
6364
|
model: text,
|
|
6315
6365
|
embedded: count,
|
|
@@ -6318,13 +6368,13 @@ var imageEmbedding = strictObject({
|
|
|
6318
6368
|
more: boolean()
|
|
6319
6369
|
});
|
|
6320
6370
|
|
|
6321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6322
6372
|
import { spawn } from "node:child_process";
|
|
6323
6373
|
import { randomBytes } from "node:crypto";
|
|
6324
6374
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6325
6375
|
import { dirname, join } from "node:path";
|
|
6326
6376
|
|
|
6327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6328
6378
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6329
6379
|
const total = input.total ?? null;
|
|
6330
6380
|
const updated = input.updatedAt ?? null;
|
|
@@ -6340,7 +6390,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6340
6390
|
};
|
|
6341
6391
|
}, "progressOf");
|
|
6342
6392
|
|
|
6343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6344
6394
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6345
6395
|
const run = currentRun();
|
|
6346
6396
|
const trace = traceId ?? run.traceId;
|
|
@@ -6354,7 +6404,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6354
6404
|
}));
|
|
6355
6405
|
}, "recordLogFor");
|
|
6356
6406
|
|
|
6357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6358
6408
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6359
6409
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6360
6410
|
const out = openSync(log, "a", 384);
|
|
@@ -6509,7 +6559,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6509
6559
|
return { job: id6, pid, chat: input.chat, log };
|
|
6510
6560
|
}, "startArchiveJob");
|
|
6511
6561
|
|
|
6512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6513
6563
|
var problem = strictObject({ code: text, message: text });
|
|
6514
6564
|
var job = strictObject({
|
|
6515
6565
|
id,
|
|
@@ -6532,7 +6582,7 @@ var job = strictObject({
|
|
|
6532
6582
|
error: optional(problem)
|
|
6533
6583
|
});
|
|
6534
6584
|
|
|
6535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6536
6586
|
var joinRequest = strictObject({
|
|
6537
6587
|
person_id: id,
|
|
6538
6588
|
name: nullable(text),
|
|
@@ -6543,7 +6593,7 @@ var joinRequest = strictObject({
|
|
|
6543
6593
|
about: optional(text)
|
|
6544
6594
|
});
|
|
6545
6595
|
|
|
6546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6547
6597
|
var botProfile = strictObject({
|
|
6548
6598
|
name: text,
|
|
6549
6599
|
token: text,
|
|
@@ -6667,7 +6717,7 @@ var stickerInventory = strictObject({
|
|
|
6667
6717
|
url: optional(nullable(text))
|
|
6668
6718
|
});
|
|
6669
6719
|
|
|
6670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6720
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6671
6721
|
var pollVote = strictObject({
|
|
6672
6722
|
person_id: id,
|
|
6673
6723
|
name: nullable(text),
|
|
@@ -6677,7 +6727,7 @@ var pollVote = strictObject({
|
|
|
6677
6727
|
voted_at: time
|
|
6678
6728
|
});
|
|
6679
6729
|
|
|
6680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6681
6731
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6682
6732
|
var observation = strictObject({
|
|
6683
6733
|
value: pipe(number(), minValue(0)),
|
|
@@ -6719,7 +6769,7 @@ var serveSummary = strictObject({
|
|
|
6719
6769
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6720
6770
|
});
|
|
6721
6771
|
|
|
6722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6772
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6723
6773
|
var mailCounts = strictObject({
|
|
6724
6774
|
by: picklist(["day", "week", "sender"]),
|
|
6725
6775
|
received: count,
|
|
@@ -6734,7 +6784,7 @@ var mailCounts = strictObject({
|
|
|
6734
6784
|
}))
|
|
6735
6785
|
});
|
|
6736
6786
|
|
|
6737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6738
6788
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6739
6789
|
var base = { id, evidence: array(evidence2) };
|
|
6740
6790
|
var finding = variant("kind", [
|
|
@@ -6878,7 +6928,7 @@ var mailFindings = strictObject({
|
|
|
6878
6928
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6879
6929
|
});
|
|
6880
6930
|
|
|
6881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6882
6932
|
var mediaArchive = strictObject({
|
|
6883
6933
|
directory: text,
|
|
6884
6934
|
chats: count,
|
|
@@ -6910,7 +6960,7 @@ var mediaArchiveTimer = union([
|
|
|
6910
6960
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6911
6961
|
]);
|
|
6912
6962
|
|
|
6913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6963
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6914
6964
|
var preparationId = pipe(string(), minLength(1));
|
|
6915
6965
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6916
6966
|
var preparationTime = nullable(isoTime);
|
|
@@ -7002,7 +7052,7 @@ var preparationMeeting = strictObject({
|
|
|
7002
7052
|
updated_at: isoTime
|
|
7003
7053
|
});
|
|
7004
7054
|
|
|
7005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
7006
7056
|
var meetingEvidence = preparationEvidence;
|
|
7007
7057
|
var meetingPersonContext = strictObject({
|
|
7008
7058
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -7024,7 +7074,7 @@ var meetingPersonContext = strictObject({
|
|
|
7024
7074
|
})
|
|
7025
7075
|
});
|
|
7026
7076
|
|
|
7027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
7028
7078
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
7029
7079
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
7030
7080
|
var finding2 = variant("kind", [
|
|
@@ -7062,7 +7112,7 @@ var meetingFindings = strictObject({
|
|
|
7062
7112
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7063
7113
|
});
|
|
7064
7114
|
|
|
7065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7066
7116
|
var communicationCoverage = strictObject({
|
|
7067
7117
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7068
7118
|
query: string(),
|
|
@@ -7107,7 +7157,7 @@ var preparationCommunications = strictObject({
|
|
|
7107
7157
|
}))
|
|
7108
7158
|
});
|
|
7109
7159
|
|
|
7110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7111
7161
|
var meetingPreparation = strictObject({
|
|
7112
7162
|
communications: optional(preparationCommunications),
|
|
7113
7163
|
schema_version: literal(1),
|
|
@@ -7220,7 +7270,7 @@ var meetingPreparation = strictObject({
|
|
|
7220
7270
|
})
|
|
7221
7271
|
});
|
|
7222
7272
|
|
|
7223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7224
7274
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7225
7275
|
var id3 = pipe(string(), minLength(1));
|
|
7226
7276
|
var text3 = string();
|
|
@@ -7284,7 +7334,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7284
7334
|
})
|
|
7285
7335
|
});
|
|
7286
7336
|
|
|
7287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7288
7338
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7289
7339
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7290
7340
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7314,7 +7364,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7314
7364
|
})
|
|
7315
7365
|
});
|
|
7316
7366
|
|
|
7317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7318
7368
|
var text4 = string();
|
|
7319
7369
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7320
7370
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7331,7 +7381,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7331
7381
|
persistence: literal("proposal-only")
|
|
7332
7382
|
});
|
|
7333
7383
|
|
|
7334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7335
7385
|
var memory = strictObject({
|
|
7336
7386
|
ref: reference,
|
|
7337
7387
|
id,
|
|
@@ -7359,7 +7409,7 @@ var memory = strictObject({
|
|
|
7359
7409
|
updated_at: time
|
|
7360
7410
|
});
|
|
7361
7411
|
|
|
7362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7363
7413
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7364
7414
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7365
7415
|
var mention = strictObject({
|
|
@@ -7403,13 +7453,13 @@ var mentionRebuild = strictObject({
|
|
|
7403
7453
|
mentions: count
|
|
7404
7454
|
});
|
|
7405
7455
|
|
|
7406
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7407
7457
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7408
7458
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7409
7459
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7410
7460
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7411
7461
|
|
|
7412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7413
7463
|
var messageTranscript = strictObject({
|
|
7414
7464
|
message_id: id,
|
|
7415
7465
|
text,
|
|
@@ -7467,7 +7517,7 @@ var evidencePacket = strictObject({
|
|
|
7467
7517
|
}))
|
|
7468
7518
|
});
|
|
7469
7519
|
|
|
7470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7471
7521
|
var messageThread = strictObject({
|
|
7472
7522
|
ref: reference,
|
|
7473
7523
|
chat: id,
|
|
@@ -7484,7 +7534,7 @@ var messageThread = strictObject({
|
|
|
7484
7534
|
});
|
|
7485
7535
|
var messageContext = union([message, messageThread]);
|
|
7486
7536
|
|
|
7487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7488
7538
|
var messageCounts = strictObject({
|
|
7489
7539
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7490
7540
|
total: count,
|
|
@@ -7497,7 +7547,7 @@ var messageCounts = strictObject({
|
|
|
7497
7547
|
}))
|
|
7498
7548
|
});
|
|
7499
7549
|
|
|
7500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7501
7551
|
var messageLink = strictObject({
|
|
7502
7552
|
ref: reference,
|
|
7503
7553
|
url: nullable(text),
|
|
@@ -7514,7 +7564,7 @@ var messageLink = strictObject({
|
|
|
7514
7564
|
})))
|
|
7515
7565
|
});
|
|
7516
7566
|
|
|
7517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7518
7568
|
var savedMessageFile = strictObject({
|
|
7519
7569
|
kind: text,
|
|
7520
7570
|
path: text,
|
|
@@ -7601,7 +7651,7 @@ var messageSyncAll = strictObject({
|
|
|
7601
7651
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7602
7652
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7603
7653
|
|
|
7604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7605
7655
|
var messageWrite = strictObject({
|
|
7606
7656
|
operation_id: id,
|
|
7607
7657
|
message,
|
|
@@ -7616,7 +7666,7 @@ var draftWrite = strictObject({
|
|
|
7616
7666
|
});
|
|
7617
7667
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7618
7668
|
|
|
7619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7620
7670
|
var model = strictObject({
|
|
7621
7671
|
id,
|
|
7622
7672
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7651,7 +7701,7 @@ var chosenModel = strictObject({
|
|
|
7651
7701
|
estimate_seconds: nullable(count)
|
|
7652
7702
|
});
|
|
7653
7703
|
|
|
7654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7655
7705
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7656
7706
|
var modelKey = strictObject({
|
|
7657
7707
|
provider: text,
|
|
@@ -7661,7 +7711,7 @@ var modelKey = strictObject({
|
|
|
7661
7711
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7662
7712
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7663
7713
|
|
|
7664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7665
7715
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7666
7716
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7667
7717
|
var graph = strictObject({
|
|
@@ -7695,14 +7745,14 @@ var officialStats = strictObject({
|
|
|
7695
7745
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7696
7746
|
});
|
|
7697
7747
|
|
|
7698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7699
7749
|
var person2 = strictObject({
|
|
7700
7750
|
ref: reference,
|
|
7701
7751
|
name: nullable(text),
|
|
7702
7752
|
identities: optional(array(identity))
|
|
7703
7753
|
});
|
|
7704
7754
|
|
|
7705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7706
7756
|
var poll = strictObject({
|
|
7707
7757
|
chat_id: id,
|
|
7708
7758
|
message_id: id,
|
|
@@ -7718,11 +7768,11 @@ var poll = strictObject({
|
|
|
7718
7768
|
});
|
|
7719
7769
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7720
7770
|
|
|
7721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7722
7772
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7723
7773
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7724
7774
|
|
|
7725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7726
7776
|
var figures = record(string(), number());
|
|
7727
7777
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7728
7778
|
var rankingRow = strictObject({
|
|
@@ -7769,7 +7819,7 @@ var ranking = strictObject({
|
|
|
7769
7819
|
rows: array(rankingRow)
|
|
7770
7820
|
});
|
|
7771
7821
|
|
|
7772
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7773
7823
|
var reaction = strictObject({
|
|
7774
7824
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7775
7825
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7777,7 +7827,7 @@ var reaction = strictObject({
|
|
|
7777
7827
|
reacted_at: time
|
|
7778
7828
|
});
|
|
7779
7829
|
|
|
7780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7781
7831
|
var reactionChange = strictObject({
|
|
7782
7832
|
operation_id: id,
|
|
7783
7833
|
chat_id: id,
|
|
@@ -7785,7 +7835,7 @@ var reactionChange = strictObject({
|
|
|
7785
7835
|
reaction: nullable(text)
|
|
7786
7836
|
});
|
|
7787
7837
|
|
|
7788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7789
7839
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7790
7840
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7791
7841
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7796,7 +7846,7 @@ var recipientChange = strictObject({
|
|
|
7796
7846
|
...partial(recipientOff).entries
|
|
7797
7847
|
});
|
|
7798
7848
|
|
|
7799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7800
7850
|
var events = array(record(string(), unknown()));
|
|
7801
7851
|
var recordedRun = strictObject({
|
|
7802
7852
|
run_id: id,
|
|
@@ -7868,7 +7918,7 @@ var runHit = strictObject({
|
|
|
7868
7918
|
});
|
|
7869
7919
|
var runLocation = strictObject({ path: text });
|
|
7870
7920
|
|
|
7871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7872
7922
|
var relationship = strictObject({
|
|
7873
7923
|
id,
|
|
7874
7924
|
from: reference,
|
|
@@ -7895,7 +7945,7 @@ var relationship = strictObject({
|
|
|
7895
7945
|
created_at: time
|
|
7896
7946
|
});
|
|
7897
7947
|
|
|
7898
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7948
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7899
7949
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7900
7950
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7901
7951
|
var responseTimes = strictObject({
|
|
@@ -7912,7 +7962,7 @@ var waitingChats = strictObject({
|
|
|
7912
7962
|
by_kind: strictObject({ private: count, group: count })
|
|
7913
7963
|
});
|
|
7914
7964
|
|
|
7915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7916
7966
|
var retentionCohort = strictObject({
|
|
7917
7967
|
/** The first day of the joining day or week. */
|
|
7918
7968
|
cohort: text,
|
|
@@ -7960,7 +8010,7 @@ var retention = strictObject({
|
|
|
7960
8010
|
rows: array(retentionCohort)
|
|
7961
8011
|
});
|
|
7962
8012
|
|
|
7963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7964
8014
|
var savedSearch = strictObject({
|
|
7965
8015
|
id,
|
|
7966
8016
|
/** `null` for a run in the history. */
|
|
@@ -7977,7 +8027,7 @@ var savedSearch = strictObject({
|
|
|
7977
8027
|
});
|
|
7978
8028
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7979
8029
|
|
|
7980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7981
8031
|
var sendAttempt = strictObject({
|
|
7982
8032
|
at: time,
|
|
7983
8033
|
profile: text,
|
|
@@ -8005,7 +8055,7 @@ var sendAttempt = strictObject({
|
|
|
8005
8055
|
error_code: optional(text)
|
|
8006
8056
|
});
|
|
8007
8057
|
|
|
8008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
8009
8059
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
8010
8060
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
8011
8061
|
var infoSchema = strictObject({
|
|
@@ -8235,7 +8285,7 @@ var storeRepair = union([
|
|
|
8235
8285
|
]);
|
|
8236
8286
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8237
8287
|
|
|
8238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8239
8289
|
var range = strictObject({ from: number(), to: number() });
|
|
8240
8290
|
var storeChatStatus = strictObject({
|
|
8241
8291
|
chat_id: id,
|
|
@@ -8333,7 +8383,7 @@ var storeJobRetry = union([
|
|
|
8333
8383
|
]);
|
|
8334
8384
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8335
8385
|
|
|
8336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8337
8387
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8338
8388
|
var storeTable = strictObject({
|
|
8339
8389
|
name: text,
|
|
@@ -8342,7 +8392,7 @@ var storeTable = strictObject({
|
|
|
8342
8392
|
bytes: optional(nullable(count))
|
|
8343
8393
|
});
|
|
8344
8394
|
|
|
8345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8346
8396
|
var tagTarget = variant("type", [
|
|
8347
8397
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8348
8398
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8373,7 +8423,7 @@ var automaticTags = strictObject({
|
|
|
8373
8423
|
dry_run: boolean()
|
|
8374
8424
|
});
|
|
8375
8425
|
|
|
8376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8377
8427
|
var tagging = strictObject({
|
|
8378
8428
|
tag: text,
|
|
8379
8429
|
type: picklist(TAG_TYPES),
|
|
@@ -8386,7 +8436,7 @@ var tagging = strictObject({
|
|
|
8386
8436
|
created_at: time
|
|
8387
8437
|
});
|
|
8388
8438
|
|
|
8389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8390
8440
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8391
8441
|
var taskPair = strictObject({
|
|
8392
8442
|
task: nullable(side),
|
|
@@ -8409,7 +8459,7 @@ var taskPair = strictObject({
|
|
|
8409
8459
|
created_at: time
|
|
8410
8460
|
});
|
|
8411
8461
|
|
|
8412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8413
8463
|
var nullableTime = nullable(time);
|
|
8414
8464
|
var link = strictObject({
|
|
8415
8465
|
id,
|
|
@@ -8583,7 +8633,7 @@ var taskReview = strictObject({
|
|
|
8583
8633
|
untrusted
|
|
8584
8634
|
});
|
|
8585
8635
|
|
|
8586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8587
8637
|
var template = strictObject({
|
|
8588
8638
|
key: text,
|
|
8589
8639
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8595,7 +8645,7 @@ var template = strictObject({
|
|
|
8595
8645
|
updated_by: nullable(text)
|
|
8596
8646
|
});
|
|
8597
8647
|
|
|
8598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8599
8649
|
var topic = strictObject({
|
|
8600
8650
|
id,
|
|
8601
8651
|
title: text,
|
|
@@ -8609,7 +8659,7 @@ var topic = strictObject({
|
|
|
8609
8659
|
untrusted
|
|
8610
8660
|
});
|
|
8611
8661
|
|
|
8612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8613
8663
|
var ENTITIES = {
|
|
8614
8664
|
sync_progress: progress,
|
|
8615
8665
|
deal,
|
|
@@ -8908,7 +8958,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8908
8958
|
return [name, definition];
|
|
8909
8959
|
})), "entityDefinitions");
|
|
8910
8960
|
|
|
8911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8912
8962
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8913
8963
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8914
8964
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8942,7 +8992,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8942
8992
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8943
8993
|
}, "answerRow");
|
|
8944
8994
|
|
|
8945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8946
8996
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8947
8997
|
var requests = new AsyncLocalStorage();
|
|
8948
8998
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8957,7 +9007,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8957
9007
|
return direct;
|
|
8958
9008
|
}, "exitCodeSet");
|
|
8959
9009
|
|
|
8960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8961
9011
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8962
9012
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8963
9013
|
messageId: message2.id,
|
|
@@ -9063,7 +9113,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9063
9113
|
}, "guardedWrite");
|
|
9064
9114
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9065
9115
|
|
|
9066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9067
9117
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9068
9118
|
try {
|
|
9069
9119
|
return work();
|
|
@@ -9090,7 +9140,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9090
9140
|
return projectFields(value, fields);
|
|
9091
9141
|
}), "projectFields");
|
|
9092
9142
|
|
|
9093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9094
9144
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9095
9145
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9096
9146
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9273,7 +9323,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9273
9323
|
}
|
|
9274
9324
|
}, "withAbort");
|
|
9275
9325
|
|
|
9276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9277
9327
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9278
9328
|
import { join as join2 } from "node:path";
|
|
9279
9329
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9362,7 +9412,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9362
9412
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9363
9413
|
}, "registryProfiles");
|
|
9364
9414
|
|
|
9365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9366
9416
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9367
9417
|
import { join as join3 } from "node:path";
|
|
9368
9418
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9384,7 +9434,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9384
9434
|
}, "profilesWithAccounts");
|
|
9385
9435
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9386
9436
|
|
|
9387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9388
9438
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9389
9439
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9390
9440
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9420,7 +9470,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9420
9470
|
return value;
|
|
9421
9471
|
}, "atDetail");
|
|
9422
9472
|
|
|
9423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/output.js
|
|
9424
9474
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9425
9475
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9426
9476
|
if (other)
|
|
@@ -9484,7 +9534,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9484
9534
|
}, "warn")
|
|
9485
9535
|
}), "silence");
|
|
9486
9536
|
|
|
9487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9488
9538
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9489
9539
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9490
9540
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9522,7 +9572,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9522
9572
|
progress: "sync.progress"
|
|
9523
9573
|
};
|
|
9524
9574
|
|
|
9525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9526
9576
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9527
9577
|
const recording = startRecording(options);
|
|
9528
9578
|
try {
|
|
@@ -9737,7 +9787,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9737
9787
|
return void 0;
|
|
9738
9788
|
}, "partialOutcome");
|
|
9739
9789
|
|
|
9740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9741
9791
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9742
9792
|
if (ms2 === void 0)
|
|
9743
9793
|
return body();
|
|
@@ -9763,7 +9813,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9763
9813
|
}
|
|
9764
9814
|
}, "withDeadline");
|
|
9765
9815
|
|
|
9766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9767
9817
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9768
9818
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9769
9819
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9832,10 +9882,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9832
9882
|
return void 0;
|
|
9833
9883
|
}, "sampleCommand");
|
|
9834
9884
|
|
|
9835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9885
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9836
9886
|
import { existsSync as existsSync5 } from "node:fs";
|
|
9837
9887
|
|
|
9838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9839
9889
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9840
9890
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9841
9891
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9904,7 +9954,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9904
9954
|
};
|
|
9905
9955
|
}, "modelTarget");
|
|
9906
9956
|
|
|
9907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9908
9958
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9909
9959
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9910
9960
|
var AI_FIELDS = {
|
|
@@ -9948,7 +9998,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9948
9998
|
};
|
|
9949
9999
|
}, "resolveAISettings");
|
|
9950
10000
|
|
|
9951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9952
10002
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9953
10003
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9954
10004
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9962,7 +10012,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9962
10012
|
return ms2;
|
|
9963
10013
|
}, "parseDuration");
|
|
9964
10014
|
|
|
9965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9966
10016
|
var HISTORY_MAX_DAYS = 1095;
|
|
9967
10017
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9968
10018
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10009,7 +10059,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10009
10059
|
return { batch: { ...batch, messages }, skipped };
|
|
10010
10060
|
}, "limitBatch");
|
|
10011
10061
|
|
|
10012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10013
10063
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10014
10064
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10015
10065
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10304,7 +10354,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10304
10354
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10305
10355
|
}, "readConfigFile");
|
|
10306
10356
|
|
|
10307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10308
10358
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10309
10359
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10310
10360
|
var DEFAULT_CONFIG = {
|
|
@@ -10333,7 +10383,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10333
10383
|
}
|
|
10334
10384
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10335
10385
|
|
|
10336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10337
10387
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10338
10388
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10339
10389
|
const path2 = key.split(".");
|
|
@@ -10355,7 +10405,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10355
10405
|
return { config, added };
|
|
10356
10406
|
}, "withSettingDefaults");
|
|
10357
10407
|
|
|
10358
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10359
10409
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10360
10410
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10361
10411
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10504,13 +10554,13 @@ var NoProfileHere = class extends CliError {
|
|
|
10504
10554
|
}
|
|
10505
10555
|
app;
|
|
10506
10556
|
constructor(app) {
|
|
10507
|
-
super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { profiles: [] });
|
|
10557
|
+
super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { reason: "profile.missing", profiles: [] });
|
|
10508
10558
|
this.app = app;
|
|
10509
10559
|
}
|
|
10510
10560
|
/** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
|
|
10511
10561
|
withoutSetup(words) {
|
|
10512
10562
|
const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
|
|
10513
|
-
return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { profiles: [] });
|
|
10563
|
+
return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { reason: "profile.missing", profiles: [] });
|
|
10514
10564
|
}
|
|
10515
10565
|
};
|
|
10516
10566
|
var first = /* @__PURE__ */ __name((candidates, fallback) => {
|
|
@@ -10588,7 +10638,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10588
10638
|
const here = profilesOf(config, env);
|
|
10589
10639
|
if (here.length === 0)
|
|
10590
10640
|
throw new NoProfileHere(app);
|
|
10591
|
-
throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { profiles: here });
|
|
10641
|
+
throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { reason: "profile.missing", profiles: here });
|
|
10592
10642
|
}, "unnamed");
|
|
10593
10643
|
const profilesOf = /* @__PURE__ */ __name((config, env) => profilesHere(app, [...namedProfiles(config), ...extension.profiles?.(env) ?? []], env), "profilesOf");
|
|
10594
10644
|
const botsOf = /* @__PURE__ */ __name((config, env) => [.../* @__PURE__ */ new Set([...Object.keys(config.bot?.profiles ?? {}), ...registryProfiles(app, env)])].sort(), "botsOf");
|
|
@@ -10835,9 +10885,11 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10835
10885
|
saveConfigFile(path2, config);
|
|
10836
10886
|
return added;
|
|
10837
10887
|
}, "migrate");
|
|
10888
|
+
const settingSchema = /* @__PURE__ */ __name((key) => Object.hasOwn(profileEntries, key) ? profileEntries[key] : void 0, "settingSchema");
|
|
10838
10889
|
return {
|
|
10839
10890
|
resolveSettings,
|
|
10840
10891
|
configuredProfiles,
|
|
10892
|
+
settingSchema,
|
|
10841
10893
|
changeSetting,
|
|
10842
10894
|
migrate,
|
|
10843
10895
|
declaredSettings,
|
|
@@ -10881,7 +10933,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10881
10933
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10882
10934
|
}, "given");
|
|
10883
10935
|
|
|
10884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10885
10937
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
10886
10938
|
const slot = environmentOf(command).exit;
|
|
10887
10939
|
const request = commandServerRequest();
|
|
@@ -11017,7 +11069,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11017
11069
|
return words.join(" ");
|
|
11018
11070
|
}, "commandPath");
|
|
11019
11071
|
|
|
11020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11021
11073
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11022
11074
|
var FETCH = { remote: "read", local: "write" };
|
|
11023
11075
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11157,7 +11209,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11157
11209
|
throw readOnlyRefusal(lock, what);
|
|
11158
11210
|
}, "refuseUnderReadOnly");
|
|
11159
11211
|
|
|
11160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11161
11213
|
import { join as join5 } from "node:path";
|
|
11162
11214
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11163
11215
|
var IMAGE_MODELS = [
|
|
@@ -11211,7 +11263,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11211
11263
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11212
11264
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11213
11265
|
|
|
11214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11215
11267
|
var STEPS2 = defineSteps([
|
|
11216
11268
|
...STEPS,
|
|
11217
11269
|
{
|
|
@@ -11501,7 +11553,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11501
11553
|
].join(" ");
|
|
11502
11554
|
}, "stepLine");
|
|
11503
11555
|
|
|
11504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11505
11557
|
var where = [{ field: "ref" }];
|
|
11506
11558
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11507
11559
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11593,7 +11645,7 @@ var STATUS_ROWS = {
|
|
|
11593
11645
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11594
11646
|
};
|
|
11595
11647
|
|
|
11596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11597
11649
|
var TEXT_CHARS = 400;
|
|
11598
11650
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11599
11651
|
var messageRow = {
|
|
@@ -11961,7 +12013,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11961
12013
|
return lines.concat(footerOf(body)).join("\n");
|
|
11962
12014
|
}, "compactText");
|
|
11963
12015
|
|
|
11964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11965
12017
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11966
12018
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11967
12019
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12019,7 +12071,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12019
12071
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12020
12072
|
}, "largeAnswerSteps");
|
|
12021
12073
|
|
|
12022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12023
12075
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12024
12076
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12025
12077
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12033,7 +12085,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12033
12085
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12034
12086
|
}, "strip");
|
|
12035
12087
|
|
|
12036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12037
12089
|
var OPEN = "\u27E6";
|
|
12038
12090
|
var CLOSE = "\u27E7";
|
|
12039
12091
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12117,7 +12169,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12117
12169
|
return result;
|
|
12118
12170
|
}, "withFieldsMarked");
|
|
12119
12171
|
|
|
12120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12121
12173
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12122
12174
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12123
12175
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|