@wirecat/tg-cli 0.134.0 → 0.135.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-Y4IXTXAG.js → adapter-OHJF6PB5.js} +67 -67
- package/dist/bundle/agent-QPF2KU4I.js +37 -0
- package/dist/bundle/{all-profiles-SUGID6CX.js → all-profiles-LQ73BIFB.js} +10 -10
- package/dist/bundle/{anthropic-4QKTXT4B.js → anthropic-YYBMT2HD.js} +5 -5
- package/dist/bundle/{app-server-TPOD6LIJ.js → app-server-HV4C4CSA.js} +61 -61
- package/dist/bundle/{bot-api-KBESP422.js → bot-api-URQXWMVR.js} +67 -67
- package/dist/bundle/{bot-history-3EORA23G.js → bot-history-FRLCHPDQ.js} +23 -23
- package/dist/bundle/{bun-FL76M4M2.js → bun-J3ML43BO.js} +2 -2
- package/dist/bundle/{bun-sqlite-H37OSTAJ.js → bun-sqlite-ZNB2B2DL.js} +6 -6
- package/dist/bundle/{chunk-JXEO5EIN.js → chunk-24G3SEXH.js} +2 -2
- package/dist/bundle/{chunk-JWLODUN3.js → chunk-27F6QBPY.js} +14 -14
- package/dist/bundle/{chunk-XVRLD3LN.js → chunk-2OFCIF2W.js} +2 -2
- package/dist/bundle/{chunk-4S2DHHJM.js → chunk-2U7XA4IH.js} +1 -1
- package/dist/bundle/{chunk-HD7DV5B2.js → chunk-4CLSIEWN.js} +35 -35
- package/dist/bundle/{chunk-PRM7GKBV.js → chunk-5CEKH6R6.js} +7 -7
- package/dist/bundle/{chunk-Z77R76S2.js → chunk-5WEEK65F.js} +1 -1
- package/dist/bundle/{chunk-3O25FAPA.js → chunk-6VWVYPH2.js} +1 -1
- package/dist/bundle/{chunk-CNGNR4CY.js → chunk-6WS474NQ.js} +6 -6
- package/dist/bundle/{chunk-L4PNDW4S.js → chunk-7GWOGEWJ.js} +6 -6
- package/dist/bundle/{chunk-HETHFOHC.js → chunk-AMRMU23L.js} +16 -3
- package/dist/bundle/{chunk-M323L5SG.js → chunk-B2UXNYCD.js} +13 -13
- package/dist/bundle/{chunk-2GT563YH.js → chunk-B4ZMFU5I.js} +2 -2
- package/dist/bundle/{chunk-JWNSG5GI.js → chunk-BFKPMG5T.js} +1 -1
- package/dist/bundle/{chunk-ZC7OEYDX.js → chunk-BQSODAU3.js} +1 -1
- package/dist/bundle/{chunk-YHTSJMZ5.js → chunk-BXUMZWMN.js} +565 -477
- package/dist/bundle/{chunk-DG35TQ6P.js → chunk-E2VIO7RY.js} +3 -3
- package/dist/bundle/{chunk-H3TLAYGY.js → chunk-F5FOS64B.js} +4 -4
- package/dist/bundle/{chunk-PK5WEGPJ.js → chunk-GCUFGDKE.js} +2 -2
- package/dist/bundle/{chunk-YPJCURT6.js → chunk-GUERS64O.js} +2 -2
- package/dist/bundle/{chunk-ZW2N2GI2.js → chunk-HILS2UL7.js} +12 -12
- package/dist/bundle/{chunk-XS4EE7MO.js → chunk-IOJOLV25.js} +14 -14
- package/dist/bundle/{chunk-XLNV3U6N.js → chunk-JBS4VPAX.js} +3 -3
- package/dist/bundle/{chunk-2JWY7CXJ.js → chunk-K5QGBYDL.js} +4 -4
- package/dist/bundle/{chunk-ANBI3OXK.js → chunk-KKXF6TSS.js} +1 -1
- package/dist/bundle/{chunk-UTTEAOJ3.js → chunk-L2ZQDTDU.js} +1 -1
- package/dist/bundle/{chunk-XZ6XEAJP.js → chunk-LFPUW7DR.js} +15 -15
- package/dist/bundle/{chunk-L47PFECD.js → chunk-LGYATGQI.js} +7 -7
- package/dist/bundle/{chunk-JCDD5T3A.js → chunk-MA27675E.js} +2 -2
- package/dist/bundle/{chunk-NUD4CBHK.js → chunk-MDI7554C.js} +3 -3
- package/dist/bundle/{chunk-VH4J7IIS.js → chunk-MMZ4QAKJ.js} +1 -1
- package/dist/bundle/{chunk-FR4Y5CGW.js → chunk-MOPBEBVS.js} +4 -4
- package/dist/bundle/{chunk-TZCFJJEU.js → chunk-MPRXUTIK.js} +2 -2
- package/dist/bundle/{chunk-K5FK6WWN.js → chunk-N7F5KT6U.js} +1 -1
- package/dist/bundle/{chunk-CSXCCK6J.js → chunk-NBP6LXSY.js} +2 -2
- package/dist/bundle/{chunk-PCBVSHKD.js → chunk-NP46ZKQW.js} +4 -4
- package/dist/bundle/{chunk-TI5U6AUT.js → chunk-NRSJXUUO.js} +26 -26
- package/dist/bundle/{chunk-4R2ZJGFF.js → chunk-NVWZ7S3I.js} +578 -451
- package/dist/bundle/{chunk-W2QSDPG6.js → chunk-OBIMTRA7.js} +3 -3
- package/dist/bundle/{chunk-O3QBO6NW.js → chunk-OQJURSRL.js} +17 -17
- package/dist/bundle/{chunk-V6G4LTXU.js → chunk-OU3WN4YH.js} +3 -3
- package/dist/bundle/{chunk-VNJRWFHP.js → chunk-PBK2ECXT.js} +1 -1
- package/dist/bundle/{chunk-3ZNO27UE.js → chunk-PHAFT2BO.js} +1 -1
- package/dist/bundle/{chunk-3QQWTP77.js → chunk-PKIGE4NE.js} +2 -2
- package/dist/bundle/{chunk-CA7DY2YU.js → chunk-QBRQLOZA.js} +3 -3
- package/dist/bundle/{chunk-NYEVPAF2.js → chunk-QD4MTOI7.js} +61 -61
- package/dist/bundle/{chunk-WGGUKQE7.js → chunk-QHQ52UMF.js} +75 -31
- package/dist/bundle/{chunk-6UNLEQA5.js → chunk-R2G3MWEF.js} +19 -19
- package/dist/bundle/{chunk-TKWYXM7L.js → chunk-RCEP5OXD.js} +7 -7
- package/dist/bundle/{chunk-7GGDCQJ5.js → chunk-RHJ2VGHV.js} +8 -8
- package/dist/bundle/{chunk-SPXNI53Z.js → chunk-RXBKVNOK.js} +23 -10
- package/dist/bundle/{chunk-WPXVJGSL.js → chunk-RZ7POTFA.js} +3 -3
- package/dist/bundle/{chunk-OJSPB4LA.js → chunk-S7PIM4GG.js} +2 -2
- package/dist/bundle/{chunk-JHZJBNDO.js → chunk-SIDGH56R.js} +2 -2
- package/dist/bundle/{chunk-RVA3CRSY.js → chunk-SRMELB6Q.js} +12 -12
- package/dist/bundle/{chunk-IJ7R2WMK.js → chunk-SVPNU7PD.js} +4 -4
- package/dist/bundle/{chunk-GIGZTI74.js → chunk-TB2MG6PE.js} +938 -710
- package/dist/bundle/{chunk-J5RB4ASI.js → chunk-UN5TH2CG.js} +28 -13
- package/dist/bundle/{chunk-PZ2ZFPGO.js → chunk-V3ZWYMXT.js} +1 -1
- package/dist/bundle/{chunk-ITJ7DGNA.js → chunk-VFU25P57.js} +4 -4
- package/dist/bundle/{chunk-AYWST6NA.js → chunk-VJEMCJPL.js} +35 -35
- package/dist/bundle/{chunk-AHVWZDXO.js → chunk-VK2NDTBS.js} +72 -57
- package/dist/bundle/{chunk-CDKXZLMP.js → chunk-W6A2OZ3C.js} +164 -158
- package/dist/bundle/{chunk-EXMAWEHC.js → chunk-WDI6LA4X.js} +2 -2
- package/dist/bundle/{chunk-O4ZOQJ6W.js → chunk-WTGRQGQL.js} +15 -8
- package/dist/bundle/{chunk-JAL443BH.js → chunk-WUCTF2XE.js} +9 -9
- package/dist/bundle/{chunk-HEZK4W3U.js → chunk-WZCRCCOZ.js} +6 -6
- package/dist/bundle/{chunk-4X6BX3XP.js → chunk-XB6O445X.js} +6 -6
- package/dist/bundle/{chunk-PRI2XTM7.js → chunk-XKFES4EM.js} +8 -8
- package/dist/bundle/{chunk-6DJJVFSG.js → chunk-YBUX6EAK.js} +6 -6
- package/dist/bundle/{chunk-77E7Q4EQ.js → chunk-YMRL7MYS.js} +7 -7
- package/dist/bundle/{chunk-6MEHKUN6.js → chunk-Z6M6NZUX.js} +1 -1
- package/dist/bundle/{chunk-QYRK4XXH.js → chunk-ZCDRXKCR.js} +13 -13
- package/dist/bundle/{chunk-MMDFPBFZ.js → chunk-ZJ3S4S6H.js} +6 -6
- package/dist/bundle/{chunk-3PG6QVQZ.js → chunk-ZL7TJXFL.js} +10 -10
- package/dist/bundle/{chunk-MXA3FU2R.js → chunk-ZMBVZWUW.js} +1 -1
- package/dist/bundle/{chunk-MUV73B5A.js → chunk-ZMTASSIB.js} +7 -7
- package/dist/bundle/{chunk-6DGVK5KS.js → chunk-ZQ5ERQHO.js} +2 -2
- package/dist/bundle/{chunk-FR3ATU5I.js → chunk-ZWVDXVG3.js} +4 -4
- package/dist/bundle/command-contract-K4MU32K6.js +37 -0
- package/dist/bundle/{command-server-entry-WQAE5UGU.js → command-server-entry-XP6BVJIK.js} +27 -27
- package/dist/bundle/{decode-2J2DOVGV.js → decode-TUB45ALX.js} +5 -5
- package/dist/bundle/{dispatch-IZ2TP5GW.js → dispatch-ICPUKMEG.js} +8 -8
- package/dist/bundle/{echarts-GFIIHZ4U.js → echarts-HJ7D7XTM.js} +2 -2
- package/dist/bundle/{embed-AGOXADHW.js → embed-4QDN36YF.js} +6 -6
- package/dist/bundle/{embedder-PCIXGM2Y.js → embedder-Q7ID2LEG.js} +9 -9
- package/dist/bundle/{entry-HUQXUV52.js → entry-Z6VRZP7F.js} +9 -9
- package/dist/bundle/{failure-JSRHZ2S6.js → failure-PEPNEEK7.js} +2 -2
- package/dist/bundle/{first-run-2LXN7B33.js → first-run-GKBEHAAX.js} +12 -12
- package/dist/bundle/first-screen-IA3ONZ75.js +37 -0
- package/dist/bundle/{instructions-RSLTJVFJ.js → instructions-26ZXYYMY.js} +1 -1
- package/dist/bundle/{mcp-MMENCB7I.js → mcp-KGWT6TGO.js} +2 -2
- package/dist/bundle/meeting-combined-KUV2HP52.js +23 -0
- package/dist/bundle/{meeting-model-SI77WMMK.js → meeting-model-JB7X4CA3.js} +11 -11
- package/dist/bundle/{meeting-semantic-WRXWUR4M.js → meeting-semantic-MQNUVG33.js} +6 -6
- package/dist/bundle/{node-5XGMCUGQ.js → node-RIANITAT.js} +2 -2
- package/dist/bundle/{node-sqlite-ES7SQSIC.js → node-sqlite-I2P26Z3S.js} +7 -7
- package/dist/bundle/{oauth-QFM4Y6N7.js → oauth-GFMJL2ZZ.js} +7 -7
- package/dist/bundle/{open-2MD2DKGQ.js → open-CWVYEFNN.js} +5 -5
- package/dist/bundle/{openai-6TMKJKYO.js → openai-PQLK7YTJ.js} +15 -15
- package/dist/bundle/{process-VA2DP7MY.js → process-P4D4KFWE.js} +1 -1
- package/dist/bundle/{program-K3SLEA42.js → program-MF4QZJKH.js} +70 -70
- package/dist/bundle/{prompt-VZSPCE6E.js → prompt-JWIOYU53.js} +5 -5
- package/dist/bundle/{proxy-transport-OJU2EOOC.js → proxy-transport-DWY6ABVT.js} +5 -5
- package/dist/bundle/{recognize-LH3ZZEIL.js → recognize-IPJL4CQZ.js} +4 -4
- package/dist/bundle/{remote-JNW5HN2I.js → remote-DVY6F6YO.js} +9 -9
- package/dist/bundle/{rerank-P23UJMII.js → rerank-XSPWLBIO.js} +7 -7
- package/dist/bundle/{serve-VSLLMILH.js → serve-AJAVEH2M.js} +9 -9
- package/dist/bundle/server-GGXUR5BZ.js +78 -0
- package/dist/bundle/{server-FBRRRKCS.js → server-GII7NIKF.js} +53 -53
- package/dist/bundle/{sqlite-runtime-LWATDAAU.js → sqlite-runtime-KFDYJTUO.js} +6 -6
- package/dist/bundle/{state-3AFJL2EL.js → state-76OJSCQC.js} +6 -6
- package/dist/bundle/{store-6TLYL2VU.js → store-2KJS4YMH.js} +18 -18
- package/dist/bundle/{store-PEXV5DNA.js → store-FBP2J23G.js} +20 -20
- package/dist/bundle/store-maintenance-command-NUWOUZ62.js +65 -0
- package/dist/bundle/surface-EGSHCISG.js +64 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +5 -4
- package/skills/tg-cli/references/search.md +2 -2
- package/dist/bundle/agent-G7VHOJMS.js +0 -37
- package/dist/bundle/command-contract-LEFXJAA3.js +0 -37
- package/dist/bundle/first-screen-VUE6RCSF.js +0 -37
- package/dist/bundle/meeting-combined-PBNPHOM3.js +0 -23
- package/dist/bundle/server-TA4QP7PG.js +0 -78
- package/dist/bundle/store-maintenance-command-IYJLUQ5X.js +0 -65
- package/dist/bundle/surface-L4VY4WFG.js +0 -64
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LGYATGQI.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QBRQLOZA.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestorValue,
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-S7PIM4GG.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N7F5KT6U.js";
|
|
25
25
|
import {
|
|
26
26
|
note
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-JBS4VPAX.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_RERANK_MODEL,
|
|
30
30
|
RERANK_MODELS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WZCRCCOZ.js";
|
|
32
32
|
import {
|
|
33
33
|
endpoint
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XB6O445X.js";
|
|
35
35
|
import {
|
|
36
36
|
filesPresent,
|
|
37
37
|
sharedModelsDirectory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-K5QGBYDL.js";
|
|
39
39
|
import {
|
|
40
40
|
BUSINESS_KINDS,
|
|
41
41
|
CATEGORIES,
|
|
@@ -93,18 +93,18 @@ import {
|
|
|
93
93
|
typedCommand,
|
|
94
94
|
untrusted,
|
|
95
95
|
useAsProcessRun
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-4CLSIEWN.js";
|
|
97
97
|
import {
|
|
98
98
|
isCliFailure,
|
|
99
99
|
storeDamaged
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-RZ7POTFA.js";
|
|
101
101
|
import {
|
|
102
102
|
TAG_TYPES
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-MA27675E.js";
|
|
104
104
|
import {
|
|
105
105
|
repairConfigText,
|
|
106
106
|
sharedConfigPath
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-YMRL7MYS.js";
|
|
108
108
|
import {
|
|
109
109
|
FACT_TYPES,
|
|
110
110
|
FIELD_TYPES,
|
|
@@ -132,10 +132,10 @@ import {
|
|
|
132
132
|
parseLucene,
|
|
133
133
|
readsZone,
|
|
134
134
|
timezoneOf
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-QD4MTOI7.js";
|
|
136
136
|
import {
|
|
137
137
|
storePath
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-2OFCIF2W.js";
|
|
139
139
|
import {
|
|
140
140
|
configFilePath,
|
|
141
141
|
createRecordLog,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
resolvePaths,
|
|
148
148
|
saveConfigFile,
|
|
149
149
|
writeSecurely
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-R2G3MWEF.js";
|
|
151
151
|
import {
|
|
152
152
|
COMPACT_FLAG,
|
|
153
153
|
MAX_NEXT_STEPS,
|
|
@@ -199,18 +199,18 @@ import {
|
|
|
199
199
|
unwrap,
|
|
200
200
|
variant,
|
|
201
201
|
writes
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-RXBKVNOK.js";
|
|
203
203
|
import {
|
|
204
204
|
CliError,
|
|
205
205
|
isCliError,
|
|
206
206
|
singleLine,
|
|
207
207
|
visibleControls
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-GCUFGDKE.js";
|
|
209
209
|
import {
|
|
210
210
|
__name
|
|
211
211
|
} from "./chunk-ZVVMGPBJ.js";
|
|
212
212
|
|
|
213
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
214
214
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
215
215
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
216
216
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3711,7 +3711,7 @@ __name(useColor, "useColor");
|
|
|
3711
3711
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3712
3712
|
var program = new Command();
|
|
3713
3713
|
|
|
3714
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3714
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3715
3715
|
import { isDeepStrictEqual } from "node:util";
|
|
3716
3716
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3717
3717
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3913,7 +3913,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3913
3913
|
return command;
|
|
3914
3914
|
}, "customizeSharedCommand");
|
|
3915
3915
|
|
|
3916
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3916
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3917
3917
|
var argumentInfoSchema = object({
|
|
3918
3918
|
name: string(),
|
|
3919
3919
|
required: boolean(),
|
|
@@ -3987,7 +3987,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3987
3987
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3988
3988
|
});
|
|
3989
3989
|
|
|
3990
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3990
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3991
3991
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3992
3992
|
let command = root;
|
|
3993
3993
|
const path2 = [];
|
|
@@ -4005,7 +4005,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4005
4005
|
}
|
|
4006
4006
|
}, "refuseJoinedPath");
|
|
4007
4007
|
|
|
4008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4009
4009
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4010
4010
|
var DANGEROUS = /* @__PURE__ */ new Set([
|
|
4011
4011
|
"messages.delete",
|
|
@@ -4441,7 +4441,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4441
4441
|
}
|
|
4442
4442
|
}, "assertRetentionEvidenceRead");
|
|
4443
4443
|
|
|
4444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4445
4445
|
var account = strictObject({
|
|
4446
4446
|
provider: text,
|
|
4447
4447
|
id,
|
|
@@ -4451,7 +4451,7 @@ var account = strictObject({
|
|
|
4451
4451
|
scope: optional(picklist(["personal", "work"]))
|
|
4452
4452
|
});
|
|
4453
4453
|
|
|
4454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4455
4455
|
var accountSession = strictObject({
|
|
4456
4456
|
current: boolean(),
|
|
4457
4457
|
client: nullable(text),
|
|
@@ -4461,7 +4461,7 @@ var accountSession = strictObject({
|
|
|
4461
4461
|
created_at: optional(nullable(time))
|
|
4462
4462
|
});
|
|
4463
4463
|
|
|
4464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4465
4465
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4466
4466
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4467
4467
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4490,7 +4490,7 @@ var accountRemoval = strictObject({
|
|
|
4490
4490
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4491
4491
|
});
|
|
4492
4492
|
|
|
4493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4494
4494
|
var accountProfile = strictObject({
|
|
4495
4495
|
profile: id,
|
|
4496
4496
|
current: boolean(),
|
|
@@ -4502,7 +4502,7 @@ var accountProfile = strictObject({
|
|
|
4502
4502
|
bot: optional(literal(true))
|
|
4503
4503
|
});
|
|
4504
4504
|
|
|
4505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4506
4506
|
var milliseconds = pipe(number(), minValue(0));
|
|
4507
4507
|
var counterReading = strictObject({
|
|
4508
4508
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4514,7 +4514,7 @@ var counterReading = strictObject({
|
|
|
4514
4514
|
});
|
|
4515
4515
|
var selection = record(string(), unknown());
|
|
4516
4516
|
|
|
4517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4518
4518
|
var adminRow = strictObject({
|
|
4519
4519
|
ref: reference,
|
|
4520
4520
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4567,7 +4567,7 @@ var adminReport = strictObject({
|
|
|
4567
4567
|
rows: array(adminRow)
|
|
4568
4568
|
});
|
|
4569
4569
|
|
|
4570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4571
4571
|
var closeSuggestion = strictObject({
|
|
4572
4572
|
as: picklist(["done", "dismissed"]),
|
|
4573
4573
|
/** The agent's name. */
|
|
@@ -4629,7 +4629,7 @@ var task = strictObject({
|
|
|
4629
4629
|
updated_at: optional(time)
|
|
4630
4630
|
});
|
|
4631
4631
|
|
|
4632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4633
4633
|
var agendaChat = strictObject({
|
|
4634
4634
|
chat: reference,
|
|
4635
4635
|
title: nullable(text),
|
|
@@ -4699,11 +4699,11 @@ var agenda = strictObject({
|
|
|
4699
4699
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4700
4700
|
});
|
|
4701
4701
|
|
|
4702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4703
4703
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4704
4704
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4705
4705
|
|
|
4706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4707
4707
|
var attachment = strictObject({
|
|
4708
4708
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4709
4709
|
message: optional(reference),
|
|
@@ -4748,7 +4748,7 @@ var hitFile = strictObject({
|
|
|
4748
4748
|
local_path: optional(text)
|
|
4749
4749
|
});
|
|
4750
4750
|
|
|
4751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4752
4752
|
var actionableError = objectWithRest({
|
|
4753
4753
|
code: text,
|
|
4754
4754
|
message: text,
|
|
@@ -4765,7 +4765,7 @@ var batchResult = strictObject({
|
|
|
4765
4765
|
max_error_percent: count
|
|
4766
4766
|
});
|
|
4767
4767
|
|
|
4768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4769
4769
|
var extractionItem = strictObject({
|
|
4770
4770
|
ref: reference,
|
|
4771
4771
|
attachment: count,
|
|
@@ -4798,7 +4798,7 @@ var extractionReport = strictObject({
|
|
|
4798
4798
|
cursor: optional(text)
|
|
4799
4799
|
});
|
|
4800
4800
|
|
|
4801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4802
4802
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4803
4803
|
var attachmentBytes = strictObject({
|
|
4804
4804
|
ref: reference,
|
|
@@ -4829,7 +4829,7 @@ var attachmentTextChange = strictObject({
|
|
|
4829
4829
|
text: optional(text)
|
|
4830
4830
|
});
|
|
4831
4831
|
|
|
4832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4833
4833
|
var WEIGHTS = {
|
|
4834
4834
|
bot: 3,
|
|
4835
4835
|
scam: 3,
|
|
@@ -4854,7 +4854,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4854
4854
|
var DIGITS = /\d{5,}/;
|
|
4855
4855
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4856
4856
|
|
|
4857
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4858
4858
|
var linkedIdentity = strictObject({
|
|
4859
4859
|
provider: text,
|
|
4860
4860
|
id,
|
|
@@ -4909,7 +4909,7 @@ var contactCheck = strictObject({
|
|
|
4909
4909
|
checked_at: time
|
|
4910
4910
|
});
|
|
4911
4911
|
|
|
4912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4913
4913
|
var member = strictObject({
|
|
4914
4914
|
id,
|
|
4915
4915
|
name: nullable(text),
|
|
@@ -4932,7 +4932,7 @@ var member = strictObject({
|
|
|
4932
4932
|
check: optional(record(string(), unknown()))
|
|
4933
4933
|
});
|
|
4934
4934
|
|
|
4935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4936
4936
|
var setting = optional(nullable(boolean()));
|
|
4937
4937
|
var chat = strictObject({
|
|
4938
4938
|
ref: reference,
|
|
@@ -4973,7 +4973,7 @@ var chat = strictObject({
|
|
|
4973
4973
|
members: optional(array(member))
|
|
4974
4974
|
});
|
|
4975
4975
|
|
|
4976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4977
4977
|
var quoted = strictObject({
|
|
4978
4978
|
id,
|
|
4979
4979
|
sender_id: nullable(id),
|
|
@@ -5094,7 +5094,7 @@ var message = strictObject({
|
|
|
5094
5094
|
provider_metadata: providerMetadata
|
|
5095
5095
|
});
|
|
5096
5096
|
|
|
5097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
5098
5098
|
var recordedMeeting = strictObject({
|
|
5099
5099
|
ref: reference,
|
|
5100
5100
|
meeting_id: count,
|
|
@@ -5111,7 +5111,7 @@ var recordedMeeting = strictObject({
|
|
|
5111
5111
|
call: optional(meetingCall)
|
|
5112
5112
|
});
|
|
5113
5113
|
|
|
5114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5115
5115
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5116
5116
|
var contextMessage = strictObject({
|
|
5117
5117
|
locator: reference,
|
|
@@ -5317,7 +5317,7 @@ var contactPreparation = strictObject({
|
|
|
5317
5317
|
})
|
|
5318
5318
|
});
|
|
5319
5319
|
|
|
5320
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5321
5321
|
var nullableText = nullable(text);
|
|
5322
5322
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5323
5323
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5473,7 +5473,7 @@ var stage = strictObject({
|
|
|
5473
5473
|
untrusted
|
|
5474
5474
|
});
|
|
5475
5475
|
|
|
5476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5477
5477
|
var nullableText2 = nullable(text);
|
|
5478
5478
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5479
5479
|
var standing = picklist(STANDINGS);
|
|
@@ -5652,7 +5652,7 @@ var dealBrief = strictObject({
|
|
|
5652
5652
|
not_read: coverage2.entries.not_read
|
|
5653
5653
|
});
|
|
5654
5654
|
|
|
5655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5656
5656
|
var chart = strictObject({
|
|
5657
5657
|
version: literal(1),
|
|
5658
5658
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5667,7 +5667,7 @@ var chart = strictObject({
|
|
|
5667
5667
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5668
5668
|
});
|
|
5669
5669
|
|
|
5670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5671
5671
|
var named = strictObject({
|
|
5672
5672
|
id,
|
|
5673
5673
|
title: nullable(text),
|
|
@@ -5690,7 +5690,7 @@ var folder = strictObject({
|
|
|
5690
5690
|
excluded_chats: optional(array(named))
|
|
5691
5691
|
});
|
|
5692
5692
|
|
|
5693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5694
5694
|
var inviteLink = strictObject({
|
|
5695
5695
|
link: text,
|
|
5696
5696
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5706,7 +5706,7 @@ var inviteLink = strictObject({
|
|
|
5706
5706
|
joined_count: optional(count)
|
|
5707
5707
|
});
|
|
5708
5708
|
|
|
5709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5710
5710
|
var operated = { operation_id: id, chat_id: id };
|
|
5711
5711
|
var group = strictObject({
|
|
5712
5712
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5786,7 +5786,7 @@ var chatFolderOrder = strictObject({
|
|
|
5786
5786
|
folders: array(strictObject({ id, title: text }))
|
|
5787
5787
|
});
|
|
5788
5788
|
|
|
5789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5790
5790
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5791
5791
|
var chatRemoval = strictObject(operated2);
|
|
5792
5792
|
var chatMuting = strictObject({
|
|
@@ -5797,7 +5797,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5797
5797
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5798
5798
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5799
5799
|
|
|
5800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5801
5801
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5802
5802
|
var chatEvent = strictObject({
|
|
5803
5803
|
chat_id: id,
|
|
@@ -5814,7 +5814,7 @@ var chatEvent = strictObject({
|
|
|
5814
5814
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5815
5815
|
});
|
|
5816
5816
|
|
|
5817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5818
5818
|
var chatMetadata = strictObject({
|
|
5819
5819
|
chat_id: id,
|
|
5820
5820
|
title: nullable(text),
|
|
@@ -5829,7 +5829,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5829
5829
|
has_more: boolean()
|
|
5830
5830
|
});
|
|
5831
5831
|
|
|
5832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5833
5833
|
var action = picklist(["report", "delete", "remove"]);
|
|
5834
5834
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5835
5835
|
var chatRules = strictObject({
|
|
@@ -5866,7 +5866,7 @@ var chatModeration = strictObject({
|
|
|
5866
5866
|
}))
|
|
5867
5867
|
});
|
|
5868
5868
|
|
|
5869
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5869
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
5870
5870
|
var chatSending = strictObject({
|
|
5871
5871
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
5872
5872
|
meaning: text,
|
|
@@ -5876,7 +5876,7 @@ var chatSending = strictObject({
|
|
|
5876
5876
|
changed: optional(boolean())
|
|
5877
5877
|
});
|
|
5878
5878
|
|
|
5879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5880
5880
|
var optionalCount = optional(count);
|
|
5881
5881
|
var minutes = nullable(number());
|
|
5882
5882
|
var chatStats = strictObject({
|
|
@@ -5952,7 +5952,7 @@ var taskStats = strictObject({
|
|
|
5952
5952
|
}))
|
|
5953
5953
|
});
|
|
5954
5954
|
|
|
5955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5956
5956
|
var memberCount = strictObject({
|
|
5957
5957
|
day: pipe(text, isoDate()),
|
|
5958
5958
|
participants: nullable(count),
|
|
@@ -5975,7 +5975,7 @@ var chatTracking = strictObject({
|
|
|
5975
5975
|
tracked: boolean()
|
|
5976
5976
|
});
|
|
5977
5977
|
|
|
5978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5979
5979
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5980
5980
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5981
5981
|
var profileFields = {
|
|
@@ -6013,7 +6013,7 @@ var profileFields = {
|
|
|
6013
6013
|
}))
|
|
6014
6014
|
};
|
|
6015
6015
|
|
|
6016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6017
6017
|
var contact = strictObject({
|
|
6018
6018
|
ref: reference,
|
|
6019
6019
|
id,
|
|
@@ -6044,7 +6044,7 @@ var contact = strictObject({
|
|
|
6044
6044
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6045
6045
|
});
|
|
6046
6046
|
|
|
6047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
6048
6048
|
var contactNote = strictObject({
|
|
6049
6049
|
id,
|
|
6050
6050
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6056,13 +6056,13 @@ var contactNote = strictObject({
|
|
|
6056
6056
|
updated_at: time
|
|
6057
6057
|
});
|
|
6058
6058
|
|
|
6059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
6060
6060
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6061
6061
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6062
6062
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6063
6063
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6064
6064
|
|
|
6065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6066
6066
|
var conversation = strictObject({
|
|
6067
6067
|
id,
|
|
6068
6068
|
chat: reference,
|
|
@@ -6077,7 +6077,7 @@ var conversation = strictObject({
|
|
|
6077
6077
|
rules_version: count
|
|
6078
6078
|
});
|
|
6079
6079
|
|
|
6080
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6080
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
6081
6081
|
var conversationBuild = strictObject({
|
|
6082
6082
|
chat: id,
|
|
6083
6083
|
messages: count,
|
|
@@ -6102,7 +6102,7 @@ var catchUpPreparation = strictObject({
|
|
|
6102
6102
|
prepared: optional(conversationPreparation)
|
|
6103
6103
|
});
|
|
6104
6104
|
|
|
6105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6106
6106
|
var conversationDetails = union([
|
|
6107
6107
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6108
6108
|
message
|
|
@@ -6189,10 +6189,15 @@ var conversationHit = strictObject({
|
|
|
6189
6189
|
score: nullable(number()),
|
|
6190
6190
|
matched_in: optional(literal("context")),
|
|
6191
6191
|
by: array(picklist(["meaning", "words"])),
|
|
6192
|
-
stale: boolean()
|
|
6192
|
+
stale: boolean(),
|
|
6193
|
+
/** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
|
|
6194
|
+
lines: optional(array(text)),
|
|
6195
|
+
/** In the block of the owner's own conversations, which the hits before it left out. */
|
|
6196
|
+
from_owner: optional(literal(true)),
|
|
6197
|
+
untrusted
|
|
6193
6198
|
});
|
|
6194
6199
|
|
|
6195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6196
6201
|
var counters = strictObject({
|
|
6197
6202
|
cutoff: time,
|
|
6198
6203
|
max_age_ms: milliseconds,
|
|
@@ -6222,7 +6227,7 @@ var counterRefresh = strictObject({
|
|
|
6222
6227
|
complete: optional(boolean())
|
|
6223
6228
|
});
|
|
6224
6229
|
|
|
6225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6226
6231
|
var document = strictObject({
|
|
6227
6232
|
ref: reference,
|
|
6228
6233
|
id,
|
|
@@ -6237,7 +6242,7 @@ var document = strictObject({
|
|
|
6237
6242
|
owners: optional(array(text))
|
|
6238
6243
|
});
|
|
6239
6244
|
|
|
6240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6241
6246
|
var documentLink = strictObject({
|
|
6242
6247
|
ref: reference,
|
|
6243
6248
|
url: text,
|
|
@@ -6248,7 +6253,7 @@ var documentLink = strictObject({
|
|
|
6248
6253
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6249
6254
|
});
|
|
6250
6255
|
|
|
6251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6252
6257
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6253
6258
|
var contribution = strictObject({
|
|
6254
6259
|
message: evidenceMessage,
|
|
@@ -6278,7 +6283,7 @@ var retentionStay = strictObject({
|
|
|
6278
6283
|
});
|
|
6279
6284
|
var evidence = union([contribution, retentionStay]);
|
|
6280
6285
|
|
|
6281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6282
6287
|
var fact = strictObject({
|
|
6283
6288
|
ref: reference,
|
|
6284
6289
|
id,
|
|
@@ -6309,7 +6314,7 @@ var fact = strictObject({
|
|
|
6309
6314
|
updated_at: time
|
|
6310
6315
|
});
|
|
6311
6316
|
|
|
6312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6313
6318
|
var hit = strictObject({
|
|
6314
6319
|
kind: picklist([
|
|
6315
6320
|
"message",
|
|
@@ -6368,7 +6373,7 @@ var hit = strictObject({
|
|
|
6368
6373
|
untrusted
|
|
6369
6374
|
});
|
|
6370
6375
|
|
|
6371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6372
6377
|
var identity = strictObject({
|
|
6373
6378
|
ref: reference,
|
|
6374
6379
|
provider: text,
|
|
@@ -6384,7 +6389,7 @@ var identity = strictObject({
|
|
|
6384
6389
|
person: optional(nullable(reference))
|
|
6385
6390
|
});
|
|
6386
6391
|
|
|
6387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6388
6393
|
var imageEmbedding = strictObject({
|
|
6389
6394
|
model: text,
|
|
6390
6395
|
embedded: count,
|
|
@@ -6393,13 +6398,13 @@ var imageEmbedding = strictObject({
|
|
|
6393
6398
|
more: boolean()
|
|
6394
6399
|
});
|
|
6395
6400
|
|
|
6396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6397
6402
|
import { spawn } from "node:child_process";
|
|
6398
6403
|
import { randomBytes } from "node:crypto";
|
|
6399
6404
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6400
6405
|
import { dirname, join } from "node:path";
|
|
6401
6406
|
|
|
6402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6403
6408
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6404
6409
|
const total = input.total ?? null;
|
|
6405
6410
|
const updated = input.updatedAt ?? null;
|
|
@@ -6415,7 +6420,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6415
6420
|
};
|
|
6416
6421
|
}, "progressOf");
|
|
6417
6422
|
|
|
6418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6419
6424
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6420
6425
|
const run = currentRun();
|
|
6421
6426
|
const trace = traceId ?? run.traceId;
|
|
@@ -6429,7 +6434,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6429
6434
|
}));
|
|
6430
6435
|
}, "recordLogFor");
|
|
6431
6436
|
|
|
6432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6433
6438
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6434
6439
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6435
6440
|
const out = openSync(log, "a", 384);
|
|
@@ -6584,7 +6589,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6584
6589
|
return { job: id6, pid, chat: input.chat, log };
|
|
6585
6590
|
}, "startArchiveJob");
|
|
6586
6591
|
|
|
6587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6588
6593
|
var problem = strictObject({ code: text, message: text });
|
|
6589
6594
|
var job = strictObject({
|
|
6590
6595
|
id,
|
|
@@ -6607,7 +6612,7 @@ var job = strictObject({
|
|
|
6607
6612
|
error: optional(problem)
|
|
6608
6613
|
});
|
|
6609
6614
|
|
|
6610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6611
6616
|
var joinRequest = strictObject({
|
|
6612
6617
|
person_id: id,
|
|
6613
6618
|
name: nullable(text),
|
|
@@ -6618,7 +6623,7 @@ var joinRequest = strictObject({
|
|
|
6618
6623
|
about: optional(text)
|
|
6619
6624
|
});
|
|
6620
6625
|
|
|
6621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6622
6627
|
var botProfile = strictObject({
|
|
6623
6628
|
name: text,
|
|
6624
6629
|
token: text,
|
|
@@ -6742,7 +6747,7 @@ var stickerInventory = strictObject({
|
|
|
6742
6747
|
url: optional(nullable(text))
|
|
6743
6748
|
});
|
|
6744
6749
|
|
|
6745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6746
6751
|
var pollVote = strictObject({
|
|
6747
6752
|
person_id: id,
|
|
6748
6753
|
name: nullable(text),
|
|
@@ -6752,7 +6757,7 @@ var pollVote = strictObject({
|
|
|
6752
6757
|
voted_at: time
|
|
6753
6758
|
});
|
|
6754
6759
|
|
|
6755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6760
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6756
6761
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6757
6762
|
var observation = strictObject({
|
|
6758
6763
|
value: pipe(number(), minValue(0)),
|
|
@@ -6794,7 +6799,7 @@ var serveSummary = strictObject({
|
|
|
6794
6799
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6795
6800
|
});
|
|
6796
6801
|
|
|
6797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6798
6803
|
var mailCounts = strictObject({
|
|
6799
6804
|
by: picklist(["day", "week", "sender"]),
|
|
6800
6805
|
received: count,
|
|
@@ -6809,7 +6814,7 @@ var mailCounts = strictObject({
|
|
|
6809
6814
|
}))
|
|
6810
6815
|
});
|
|
6811
6816
|
|
|
6812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6813
6818
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6814
6819
|
var base = { id, evidence: array(evidence2) };
|
|
6815
6820
|
var finding = variant("kind", [
|
|
@@ -6953,7 +6958,7 @@ var mailFindings = strictObject({
|
|
|
6953
6958
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6954
6959
|
});
|
|
6955
6960
|
|
|
6956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6957
6962
|
var mediaArchive = strictObject({
|
|
6958
6963
|
directory: text,
|
|
6959
6964
|
chats: count,
|
|
@@ -6985,7 +6990,7 @@ var mediaArchiveTimer = union([
|
|
|
6985
6990
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6986
6991
|
]);
|
|
6987
6992
|
|
|
6988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6989
6994
|
var preparationId = pipe(string(), minLength(1));
|
|
6990
6995
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6991
6996
|
var preparationTime = nullable(isoTime);
|
|
@@ -7077,7 +7082,7 @@ var preparationMeeting = strictObject({
|
|
|
7077
7082
|
updated_at: isoTime
|
|
7078
7083
|
});
|
|
7079
7084
|
|
|
7080
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
7081
7086
|
var meetingEvidence = preparationEvidence;
|
|
7082
7087
|
var meetingPersonContext = strictObject({
|
|
7083
7088
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -7099,7 +7104,7 @@ var meetingPersonContext = strictObject({
|
|
|
7099
7104
|
})
|
|
7100
7105
|
});
|
|
7101
7106
|
|
|
7102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
7103
7108
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
7104
7109
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
7105
7110
|
var finding2 = variant("kind", [
|
|
@@ -7137,7 +7142,7 @@ var meetingFindings = strictObject({
|
|
|
7137
7142
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7138
7143
|
});
|
|
7139
7144
|
|
|
7140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7141
7146
|
var communicationCoverage = strictObject({
|
|
7142
7147
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7143
7148
|
query: string(),
|
|
@@ -7182,7 +7187,7 @@ var preparationCommunications = strictObject({
|
|
|
7182
7187
|
}))
|
|
7183
7188
|
});
|
|
7184
7189
|
|
|
7185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7186
7191
|
var meetingPreparation = strictObject({
|
|
7187
7192
|
communications: optional(preparationCommunications),
|
|
7188
7193
|
schema_version: literal(1),
|
|
@@ -7295,7 +7300,7 @@ var meetingPreparation = strictObject({
|
|
|
7295
7300
|
})
|
|
7296
7301
|
});
|
|
7297
7302
|
|
|
7298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7299
7304
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7300
7305
|
var id3 = pipe(string(), minLength(1));
|
|
7301
7306
|
var text3 = string();
|
|
@@ -7359,7 +7364,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7359
7364
|
})
|
|
7360
7365
|
});
|
|
7361
7366
|
|
|
7362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7363
7368
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7364
7369
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7365
7370
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7389,7 +7394,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7389
7394
|
})
|
|
7390
7395
|
});
|
|
7391
7396
|
|
|
7392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7393
7398
|
var text4 = string();
|
|
7394
7399
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7395
7400
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7406,7 +7411,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7406
7411
|
persistence: literal("proposal-only")
|
|
7407
7412
|
});
|
|
7408
7413
|
|
|
7409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7410
7415
|
var memory = strictObject({
|
|
7411
7416
|
ref: reference,
|
|
7412
7417
|
id,
|
|
@@ -7434,7 +7439,7 @@ var memory = strictObject({
|
|
|
7434
7439
|
updated_at: time
|
|
7435
7440
|
});
|
|
7436
7441
|
|
|
7437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7438
7443
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7439
7444
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7440
7445
|
var mention = strictObject({
|
|
@@ -7478,7 +7483,7 @@ var mentionRebuild = strictObject({
|
|
|
7478
7483
|
mentions: count
|
|
7479
7484
|
});
|
|
7480
7485
|
|
|
7481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7482
7487
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7483
7488
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7484
7489
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -7487,7 +7492,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
7487
7492
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
7488
7493
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
7489
7494
|
|
|
7490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7491
7496
|
var messageTranscript = strictObject({
|
|
7492
7497
|
message_id: id,
|
|
7493
7498
|
text,
|
|
@@ -7545,7 +7550,7 @@ var evidencePacket = strictObject({
|
|
|
7545
7550
|
}))
|
|
7546
7551
|
});
|
|
7547
7552
|
|
|
7548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7549
7554
|
var messageThread = strictObject({
|
|
7550
7555
|
ref: reference,
|
|
7551
7556
|
chat: id,
|
|
@@ -7562,7 +7567,7 @@ var messageThread = strictObject({
|
|
|
7562
7567
|
});
|
|
7563
7568
|
var messageContext = union([message, messageThread]);
|
|
7564
7569
|
|
|
7565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7566
7571
|
var messageCounts = strictObject({
|
|
7567
7572
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7568
7573
|
total: count,
|
|
@@ -7575,7 +7580,7 @@ var messageCounts = strictObject({
|
|
|
7575
7580
|
}))
|
|
7576
7581
|
});
|
|
7577
7582
|
|
|
7578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7579
7584
|
var messageLink = strictObject({
|
|
7580
7585
|
ref: reference,
|
|
7581
7586
|
url: nullable(text),
|
|
@@ -7592,7 +7597,7 @@ var messageLink = strictObject({
|
|
|
7592
7597
|
})))
|
|
7593
7598
|
});
|
|
7594
7599
|
|
|
7595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7596
7601
|
var savedMessageFile = strictObject({
|
|
7597
7602
|
kind: text,
|
|
7598
7603
|
path: text,
|
|
@@ -7679,7 +7684,7 @@ var messageSyncAll = strictObject({
|
|
|
7679
7684
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7680
7685
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7681
7686
|
|
|
7682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7683
7688
|
var messageWrite = strictObject({
|
|
7684
7689
|
operation_id: id,
|
|
7685
7690
|
message,
|
|
@@ -7694,7 +7699,7 @@ var draftWrite = strictObject({
|
|
|
7694
7699
|
});
|
|
7695
7700
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7696
7701
|
|
|
7697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7698
7703
|
var model = strictObject({
|
|
7699
7704
|
id,
|
|
7700
7705
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7729,7 +7734,7 @@ var chosenModel = strictObject({
|
|
|
7729
7734
|
estimate_seconds: nullable(count)
|
|
7730
7735
|
});
|
|
7731
7736
|
|
|
7732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7733
7738
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7734
7739
|
var modelKey = strictObject({
|
|
7735
7740
|
provider: text,
|
|
@@ -7739,7 +7744,7 @@ var modelKey = strictObject({
|
|
|
7739
7744
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7740
7745
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7741
7746
|
|
|
7742
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7743
7748
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7744
7749
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7745
7750
|
var graph = strictObject({
|
|
@@ -7773,14 +7778,14 @@ var officialStats = strictObject({
|
|
|
7773
7778
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7774
7779
|
});
|
|
7775
7780
|
|
|
7776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7777
7782
|
var person2 = strictObject({
|
|
7778
7783
|
ref: reference,
|
|
7779
7784
|
name: nullable(text),
|
|
7780
7785
|
identities: optional(array(identity))
|
|
7781
7786
|
});
|
|
7782
7787
|
|
|
7783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7784
7789
|
var poll = strictObject({
|
|
7785
7790
|
chat_id: id,
|
|
7786
7791
|
message_id: id,
|
|
@@ -7796,11 +7801,11 @@ var poll = strictObject({
|
|
|
7796
7801
|
});
|
|
7797
7802
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7798
7803
|
|
|
7799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7800
7805
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7801
7806
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7802
7807
|
|
|
7803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7804
7809
|
var figures = record(string(), number());
|
|
7805
7810
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7806
7811
|
var rankingRow = strictObject({
|
|
@@ -7847,7 +7852,7 @@ var ranking = strictObject({
|
|
|
7847
7852
|
rows: array(rankingRow)
|
|
7848
7853
|
});
|
|
7849
7854
|
|
|
7850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7855
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7851
7856
|
var reaction = strictObject({
|
|
7852
7857
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7853
7858
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7855,7 +7860,7 @@ var reaction = strictObject({
|
|
|
7855
7860
|
reacted_at: time
|
|
7856
7861
|
});
|
|
7857
7862
|
|
|
7858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7859
7864
|
var reactionChange = strictObject({
|
|
7860
7865
|
operation_id: id,
|
|
7861
7866
|
chat_id: id,
|
|
@@ -7863,7 +7868,7 @@ var reactionChange = strictObject({
|
|
|
7863
7868
|
reaction: nullable(text)
|
|
7864
7869
|
});
|
|
7865
7870
|
|
|
7866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7867
7872
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7868
7873
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7869
7874
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7874,7 +7879,7 @@ var recipientChange = strictObject({
|
|
|
7874
7879
|
...partial(recipientOff).entries
|
|
7875
7880
|
});
|
|
7876
7881
|
|
|
7877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7878
7883
|
var events = array(record(string(), unknown()));
|
|
7879
7884
|
var recordedRun = strictObject({
|
|
7880
7885
|
run_id: id,
|
|
@@ -7946,7 +7951,7 @@ var runHit = strictObject({
|
|
|
7946
7951
|
});
|
|
7947
7952
|
var runLocation = strictObject({ path: text });
|
|
7948
7953
|
|
|
7949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7950
7955
|
var relationship = strictObject({
|
|
7951
7956
|
id,
|
|
7952
7957
|
from: reference,
|
|
@@ -7973,7 +7978,7 @@ var relationship = strictObject({
|
|
|
7973
7978
|
created_at: time
|
|
7974
7979
|
});
|
|
7975
7980
|
|
|
7976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7981
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7977
7982
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7978
7983
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7979
7984
|
var responseTimes = strictObject({
|
|
@@ -7990,7 +7995,7 @@ var waitingChats = strictObject({
|
|
|
7990
7995
|
by_kind: strictObject({ private: count, group: count })
|
|
7991
7996
|
});
|
|
7992
7997
|
|
|
7993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7994
7999
|
var retentionCohort = strictObject({
|
|
7995
8000
|
/** The first day of the joining day or week. */
|
|
7996
8001
|
cohort: text,
|
|
@@ -8038,7 +8043,7 @@ var retention = strictObject({
|
|
|
8038
8043
|
rows: array(retentionCohort)
|
|
8039
8044
|
});
|
|
8040
8045
|
|
|
8041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
8042
8047
|
var savedSearch = strictObject({
|
|
8043
8048
|
id,
|
|
8044
8049
|
/** `null` for a run in the history. */
|
|
@@ -8055,7 +8060,7 @@ var savedSearch = strictObject({
|
|
|
8055
8060
|
});
|
|
8056
8061
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
8057
8062
|
|
|
8058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
8059
8064
|
var sendAttempt = strictObject({
|
|
8060
8065
|
at: time,
|
|
8061
8066
|
profile: text,
|
|
@@ -8083,7 +8088,7 @@ var sendAttempt = strictObject({
|
|
|
8083
8088
|
error_code: optional(text)
|
|
8084
8089
|
});
|
|
8085
8090
|
|
|
8086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
8087
8092
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
8088
8093
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
8089
8094
|
var infoSchema = strictObject({
|
|
@@ -8313,7 +8318,7 @@ var storeRepair = union([
|
|
|
8313
8318
|
]);
|
|
8314
8319
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8315
8320
|
|
|
8316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8317
8322
|
var range = strictObject({ from: number(), to: number() });
|
|
8318
8323
|
var storeChatStatus = strictObject({
|
|
8319
8324
|
chat_id: id,
|
|
@@ -8411,7 +8416,7 @@ var storeJobRetry = union([
|
|
|
8411
8416
|
]);
|
|
8412
8417
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8413
8418
|
|
|
8414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8415
8420
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8416
8421
|
var storeTable = strictObject({
|
|
8417
8422
|
name: text,
|
|
@@ -8420,7 +8425,7 @@ var storeTable = strictObject({
|
|
|
8420
8425
|
bytes: optional(nullable(count))
|
|
8421
8426
|
});
|
|
8422
8427
|
|
|
8423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8424
8429
|
var tagTarget = variant("type", [
|
|
8425
8430
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8426
8431
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8451,7 +8456,7 @@ var automaticTags = strictObject({
|
|
|
8451
8456
|
dry_run: boolean()
|
|
8452
8457
|
});
|
|
8453
8458
|
|
|
8454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8455
8460
|
var tagging = strictObject({
|
|
8456
8461
|
tag: text,
|
|
8457
8462
|
type: picklist(TAG_TYPES),
|
|
@@ -8464,7 +8469,7 @@ var tagging = strictObject({
|
|
|
8464
8469
|
created_at: time
|
|
8465
8470
|
});
|
|
8466
8471
|
|
|
8467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8468
8473
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8469
8474
|
var taskPair = strictObject({
|
|
8470
8475
|
task: nullable(side),
|
|
@@ -8487,7 +8492,7 @@ var taskPair = strictObject({
|
|
|
8487
8492
|
created_at: time
|
|
8488
8493
|
});
|
|
8489
8494
|
|
|
8490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8491
8496
|
var nullableTime = nullable(time);
|
|
8492
8497
|
var link = strictObject({
|
|
8493
8498
|
id,
|
|
@@ -8661,7 +8666,7 @@ var taskReview = strictObject({
|
|
|
8661
8666
|
untrusted
|
|
8662
8667
|
});
|
|
8663
8668
|
|
|
8664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8665
8670
|
var template = strictObject({
|
|
8666
8671
|
key: text,
|
|
8667
8672
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8673,7 +8678,7 @@ var template = strictObject({
|
|
|
8673
8678
|
updated_by: nullable(text)
|
|
8674
8679
|
});
|
|
8675
8680
|
|
|
8676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8677
8682
|
var topic = strictObject({
|
|
8678
8683
|
id,
|
|
8679
8684
|
title: text,
|
|
@@ -8687,7 +8692,7 @@ var topic = strictObject({
|
|
|
8687
8692
|
untrusted
|
|
8688
8693
|
});
|
|
8689
8694
|
|
|
8690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8691
8696
|
var ENTITIES = {
|
|
8692
8697
|
sync_progress: progress,
|
|
8693
8698
|
deal,
|
|
@@ -8989,7 +8994,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8989
8994
|
return [name, definition];
|
|
8990
8995
|
})), "entityDefinitions");
|
|
8991
8996
|
|
|
8992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8993
8998
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8994
8999
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8995
9000
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -9023,7 +9028,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
9023
9028
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
9024
9029
|
}, "answerRow");
|
|
9025
9030
|
|
|
9026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
9027
9032
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9028
9033
|
var requests = new AsyncLocalStorage();
|
|
9029
9034
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9038,7 +9043,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9038
9043
|
return direct;
|
|
9039
9044
|
}, "exitCodeSet");
|
|
9040
9045
|
|
|
9041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9042
9047
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9043
9048
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9044
9049
|
messageId: message2.id,
|
|
@@ -9144,7 +9149,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9144
9149
|
}, "guardedWrite");
|
|
9145
9150
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9146
9151
|
|
|
9147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9148
9153
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9149
9154
|
try {
|
|
9150
9155
|
return work();
|
|
@@ -9171,7 +9176,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9171
9176
|
return projectFields(value, fields);
|
|
9172
9177
|
}), "projectFields");
|
|
9173
9178
|
|
|
9174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9175
9180
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9176
9181
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9177
9182
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9354,7 +9359,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9354
9359
|
}
|
|
9355
9360
|
}, "withAbort");
|
|
9356
9361
|
|
|
9357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9358
9363
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9359
9364
|
import { join as join2 } from "node:path";
|
|
9360
9365
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9443,7 +9448,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9443
9448
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9444
9449
|
}, "registryProfiles");
|
|
9445
9450
|
|
|
9446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9447
9452
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9448
9453
|
import { join as join3 } from "node:path";
|
|
9449
9454
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9465,7 +9470,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9465
9470
|
}, "profilesWithAccounts");
|
|
9466
9471
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9467
9472
|
|
|
9468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9469
9474
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9470
9475
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9471
9476
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9501,7 +9506,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9501
9506
|
return value;
|
|
9502
9507
|
}, "atDetail");
|
|
9503
9508
|
|
|
9504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/output.js
|
|
9505
9510
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9506
9511
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9507
9512
|
if (other)
|
|
@@ -9565,7 +9570,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9565
9570
|
}, "warn")
|
|
9566
9571
|
}), "silence");
|
|
9567
9572
|
|
|
9568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9573
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9569
9574
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9570
9575
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9571
9576
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9603,7 +9608,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9603
9608
|
progress: "sync.progress"
|
|
9604
9609
|
};
|
|
9605
9610
|
|
|
9606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9607
9612
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9608
9613
|
const recording = startRecording(options);
|
|
9609
9614
|
try {
|
|
@@ -9818,7 +9823,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9818
9823
|
return void 0;
|
|
9819
9824
|
}, "partialOutcome");
|
|
9820
9825
|
|
|
9821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9822
9827
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9823
9828
|
if (ms2 === void 0)
|
|
9824
9829
|
return body();
|
|
@@ -9844,7 +9849,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9844
9849
|
}
|
|
9845
9850
|
}, "withDeadline");
|
|
9846
9851
|
|
|
9847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9848
9853
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9849
9854
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9850
9855
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9913,10 +9918,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9913
9918
|
return void 0;
|
|
9914
9919
|
}, "sampleCommand");
|
|
9915
9920
|
|
|
9916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9917
9922
|
import { existsSync as existsSync5 } from "node:fs";
|
|
9918
9923
|
|
|
9919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9920
9925
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9921
9926
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9922
9927
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9985,7 +9990,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9985
9990
|
};
|
|
9986
9991
|
}, "modelTarget");
|
|
9987
9992
|
|
|
9988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9989
9994
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9990
9995
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9991
9996
|
var AI_FIELDS = {
|
|
@@ -10029,7 +10034,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
10029
10034
|
};
|
|
10030
10035
|
}, "resolveAISettings");
|
|
10031
10036
|
|
|
10032
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
10033
10038
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
10034
10039
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
10035
10040
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -10043,7 +10048,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
10043
10048
|
return ms2;
|
|
10044
10049
|
}, "parseDuration");
|
|
10045
10050
|
|
|
10046
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10047
10052
|
var HISTORY_MAX_DAYS = 1095;
|
|
10048
10053
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10049
10054
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10090,7 +10095,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10090
10095
|
return { batch: { ...batch, messages }, skipped };
|
|
10091
10096
|
}, "limitBatch");
|
|
10092
10097
|
|
|
10093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10094
10099
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10095
10100
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10096
10101
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10385,7 +10390,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10385
10390
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10386
10391
|
}, "readConfigFile");
|
|
10387
10392
|
|
|
10388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10389
10394
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10390
10395
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10391
10396
|
var DEFAULT_CONFIG = {
|
|
@@ -10414,7 +10419,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10414
10419
|
}
|
|
10415
10420
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10416
10421
|
|
|
10417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10418
10423
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10419
10424
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10420
10425
|
const path2 = key.split(".");
|
|
@@ -10436,7 +10441,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10436
10441
|
return { config, added };
|
|
10437
10442
|
}, "withSettingDefaults");
|
|
10438
10443
|
|
|
10439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10440
10445
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10441
10446
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10442
10447
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10964,7 +10969,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10964
10969
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10965
10970
|
}, "given");
|
|
10966
10971
|
|
|
10967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10968
10973
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
10969
10974
|
const slot = environmentOf(command).exit;
|
|
10970
10975
|
const request = commandServerRequest();
|
|
@@ -11108,7 +11113,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11108
11113
|
return words.join(" ");
|
|
11109
11114
|
}, "commandPath");
|
|
11110
11115
|
|
|
11111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11112
11117
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11113
11118
|
var FETCH = { remote: "read", local: "write" };
|
|
11114
11119
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11253,7 +11258,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11253
11258
|
throw readOnlyRefusal(lock, what);
|
|
11254
11259
|
}, "refuseUnderReadOnly");
|
|
11255
11260
|
|
|
11256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11257
11262
|
import { join as join5 } from "node:path";
|
|
11258
11263
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11259
11264
|
var IMAGE_MODELS = [
|
|
@@ -11307,7 +11312,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11307
11312
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11308
11313
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11309
11314
|
|
|
11310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11311
11316
|
var STEPS2 = defineSteps([
|
|
11312
11317
|
...STEPS,
|
|
11313
11318
|
{
|
|
@@ -11597,7 +11602,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11597
11602
|
].join(" ");
|
|
11598
11603
|
}, "stepLine");
|
|
11599
11604
|
|
|
11600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11601
11606
|
var where = [{ field: "ref" }];
|
|
11602
11607
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11603
11608
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11689,7 +11694,7 @@ var STATUS_ROWS = {
|
|
|
11689
11694
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11690
11695
|
};
|
|
11691
11696
|
|
|
11692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11693
11698
|
var TEXT_CHARS = 400;
|
|
11694
11699
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11695
11700
|
var messageRow = {
|
|
@@ -12057,7 +12062,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12057
12062
|
return lines.concat(footerOf(body)).join("\n");
|
|
12058
12063
|
}, "compactText");
|
|
12059
12064
|
|
|
12060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12061
12066
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12062
12067
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12063
12068
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12115,7 +12120,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12115
12120
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12116
12121
|
}, "largeAnswerSteps");
|
|
12117
12122
|
|
|
12118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12119
12124
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12120
12125
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12121
12126
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12129,7 +12134,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12129
12134
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12130
12135
|
}, "strip");
|
|
12131
12136
|
|
|
12132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12133
12138
|
var OPEN = "\u27E6";
|
|
12134
12139
|
var CLOSE = "\u27E7";
|
|
12135
12140
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12217,7 +12222,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12217
12222
|
return result;
|
|
12218
12223
|
}, "withFieldsMarked");
|
|
12219
12224
|
|
|
12220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12221
12226
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12222
12227
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12223
12228
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12608,6 +12613,7 @@ export {
|
|
|
12608
12613
|
tooLargeSteps,
|
|
12609
12614
|
withoutProviderRefs,
|
|
12610
12615
|
runMarkOf,
|
|
12616
|
+
marked,
|
|
12611
12617
|
withUntrustedMarked,
|
|
12612
12618
|
marksUntrusted,
|
|
12613
12619
|
answerSchema,
|