@wirecat/tg-cli 0.131.0 → 0.132.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-TA637IRT.js → adapter-OXVMOWVE.js} +60 -60
- package/dist/bundle/{all-profiles-7M3GBCB6.js → all-profiles-6OQC7PBL.js} +9 -9
- package/dist/bundle/{anthropic-P3THLZWO.js → anthropic-YFMIHFW5.js} +5 -5
- package/dist/bundle/{app-server-OE5EAXIY.js → app-server-S7CJPJXN.js} +52 -52
- package/dist/bundle/{bot-api-WYR2C4A5.js → bot-api-KJ6EZ4R6.js} +61 -61
- package/dist/bundle/{bot-history-PKJTHU7L.js → bot-history-JYCXDFW4.js} +22 -22
- package/dist/bundle/{bun-XMZJDDEA.js → bun-FVTOBYZ2.js} +2 -2
- package/dist/bundle/{bun-sqlite-F5RWCB2N.js → bun-sqlite-KDGWBNOR.js} +6 -6
- package/dist/bundle/{chunk-76UAXRDY.js → chunk-2LZD2VFV.js} +4 -4
- package/dist/bundle/{chunk-JUFLELQ7.js → chunk-2UGSIHLV.js} +2 -2
- package/dist/bundle/{chunk-2U6XE4HI.js → chunk-3QHKZLBU.js} +4 -4
- package/dist/bundle/{chunk-34PRGA7E.js → chunk-42MXCMW6.js} +3 -3
- package/dist/bundle/{chunk-HT6OFANN.js → chunk-44A2XRDE.js} +20 -20
- package/dist/bundle/{chunk-WG6UZJ3E.js → chunk-4CKYANQH.js} +1 -1
- package/dist/bundle/{chunk-AUNNJDVD.js → chunk-4EDJJQJI.js} +28 -8
- package/dist/bundle/{chunk-O7X6RM5R.js → chunk-4YB7JU2W.js} +6 -6
- package/dist/bundle/{chunk-CLG2ISQH.js → chunk-4ZTVJHWU.js} +4 -4
- package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-5RDNBG7D.js} +2 -2
- package/dist/bundle/{chunk-UUNQV4YL.js → chunk-5UPEEMEF.js} +22 -15
- package/dist/bundle/{chunk-YJ4BPNWI.js → chunk-6LPUK62N.js} +3 -3
- package/dist/bundle/{chunk-GNIROVSK.js → chunk-74UPKW7H.js} +2 -2
- package/dist/bundle/{chunk-IULSIKEM.js → chunk-7SEVVE3X.js} +3 -3
- package/dist/bundle/{chunk-PS7ZS5HD.js → chunk-A5D3J7XZ.js} +4 -4
- package/dist/bundle/{chunk-O73DZURO.js → chunk-AERP2QR6.js} +10 -10
- package/dist/bundle/{chunk-6BPM3LNR.js → chunk-AUZWIBHJ.js} +6 -6
- package/dist/bundle/{chunk-JDLNI7BU.js → chunk-B4LGDOG5.js} +263 -260
- package/dist/bundle/{chunk-B6NQJAUC.js → chunk-BLZEQVP4.js} +2 -2
- package/dist/bundle/{chunk-WUIKJJ5A.js → chunk-BMI2NWFI.js} +8 -8
- package/dist/bundle/{chunk-QGFUUJPL.js → chunk-BSXS7VAC.js} +1 -1
- package/dist/bundle/{chunk-OOSX7K7G.js → chunk-CFWFESBO.js} +8 -8
- package/dist/bundle/{chunk-PD4RREQB.js → chunk-DSJNZXTP.js} +1 -1
- package/dist/bundle/{chunk-MYC3M4BY.js → chunk-DXPGMUOR.js} +2 -2
- package/dist/bundle/{chunk-LJO6MMQG.js → chunk-EPR67IRV.js} +4 -4
- package/dist/bundle/{chunk-SLT2PBFP.js → chunk-ESOFH7PA.js} +37 -30
- package/dist/bundle/{chunk-2OXR2MRV.js → chunk-FIUH52FE.js} +1 -1
- package/dist/bundle/{chunk-43KSYUZU.js → chunk-FKGYXIN7.js} +7 -7
- package/dist/bundle/{chunk-TT6OHNV2.js → chunk-FPSRT2TX.js} +2 -2
- package/dist/bundle/{chunk-ITYDJIRC.js → chunk-HBSKP7OV.js} +1 -1
- package/dist/bundle/{chunk-LDSTUBLY.js → chunk-IY7CTAOQ.js} +9 -9
- package/dist/bundle/{chunk-5AJ5RLJW.js → chunk-IYJ4B632.js} +14 -13
- package/dist/bundle/{chunk-J2QQZVEN.js → chunk-JDNDWZYS.js} +4 -4
- package/dist/bundle/{chunk-H655CMXJ.js → chunk-JMJOWT4N.js} +1 -1
- package/dist/bundle/{chunk-NTORQXAS.js → chunk-JNWKV3QV.js} +4 -4
- package/dist/bundle/{chunk-JSE4OBYI.js → chunk-JPSRC732.js} +13 -13
- package/dist/bundle/{chunk-L2SMUTJY.js → chunk-JZJV3DYK.js} +2 -2
- package/dist/bundle/{chunk-EZBMLKBK.js → chunk-KJICORS4.js} +36 -36
- package/dist/bundle/{chunk-P6KGEZIS.js → chunk-LF6FACSW.js} +5 -5
- package/dist/bundle/{chunk-5ZIT6JXP.js → chunk-LG3K5NHX.js} +7 -7
- package/dist/bundle/{chunk-UGYC2FV5.js → chunk-LMGVPDXN.js} +2 -2
- package/dist/bundle/{chunk-6O5AD3GA.js → chunk-LZ3HFDYL.js} +2 -2
- package/dist/bundle/{chunk-JF4AJNCE.js → chunk-M2TV6BDB.js} +7 -7
- package/dist/bundle/{chunk-XC2YJDDK.js → chunk-N5LZ6L4D.js} +3 -3
- package/dist/bundle/{chunk-OX5EAUKF.js → chunk-NLRGMP7M.js} +3 -3
- package/dist/bundle/{chunk-S2IET7WM.js → chunk-NWCFO37P.js} +3 -3
- package/dist/bundle/{chunk-LWSOCKOD.js → chunk-NWDADTPE.js} +3 -3
- package/dist/bundle/{chunk-BXW6FGLD.js → chunk-O3AM32YN.js} +15 -15
- package/dist/bundle/{chunk-5N7TJ6TJ.js → chunk-O43PARFS.js} +166 -161
- package/dist/bundle/{chunk-OPG54IFH.js → chunk-OGZZUDJJ.js} +54 -54
- package/dist/bundle/{chunk-AJQ6JFLY.js → chunk-OIRNHSAH.js} +6 -6
- package/dist/bundle/{chunk-LEPDRO3O.js → chunk-PG37E63A.js} +76 -59
- package/dist/bundle/{chunk-6TJTQ4I4.js → chunk-PR4F3TYK.js} +30 -30
- package/dist/bundle/{chunk-NOZZHEMD.js → chunk-PYECFCPD.js} +1 -1
- package/dist/bundle/{chunk-EXMJDHBM.js → chunk-QNEAPLOP.js} +12 -12
- package/dist/bundle/{chunk-BFERGEBI.js → chunk-QS46C5SW.js} +17 -17
- package/dist/bundle/{chunk-VNJZXV7E.js → chunk-SMQ45RZX.js} +6 -6
- package/dist/bundle/{chunk-PHGH5N4C.js → chunk-U7PHJSTX.js} +2 -2
- package/dist/bundle/{chunk-SQ2JLZFK.js → chunk-UAFSDTID.js} +1 -1
- package/dist/bundle/{chunk-2TOJQQKS.js → chunk-UGD4SCUI.js} +1 -1
- package/dist/bundle/{chunk-VVUUP5NF.js → chunk-WAVRUADL.js} +13 -13
- package/dist/bundle/{chunk-Z2TCTTPJ.js → chunk-Y57EKZZK.js} +676 -435
- package/dist/bundle/{chunk-LTP4BYHJ.js → chunk-YAPO7QNO.js} +6 -6
- package/dist/bundle/{chunk-YZTMQE62.js → chunk-YRXSNH3R.js} +2 -2
- package/dist/bundle/{chunk-AEIDEIVB.js → chunk-YSNQGOUI.js} +2235 -1355
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-SS5H2XAT.js → chunk-ZJIGVT6Z.js} +2 -2
- package/dist/bundle/{chunk-NXNSEFGR.js → chunk-ZRW3DF25.js} +24 -24
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/command-contract-FRH7LBGE.js +37 -0
- package/dist/bundle/{command-server-entry-6FH3RXJ2.js → command-server-entry-TM264M2J.js} +27 -27
- package/dist/bundle/{decode-UBRT2QDP.js → decode-RJFOSHCE.js} +5 -5
- package/dist/bundle/{dispatch-ST5FK2KI.js → dispatch-7OZP3X4O.js} +8 -8
- package/dist/bundle/{echarts-PG45GQLR.js → echarts-PYKF4D7B.js} +2 -2
- package/dist/bundle/{embed-BUQDSZ57.js → embed-JFN6Z5TG.js} +6 -6
- package/dist/bundle/{embedder-TXA3EV7O.js → embedder-WN54JIMY.js} +9 -9
- package/dist/bundle/{entry-JWIEF57D.js → entry-Z6LO6N6S.js} +9 -9
- package/dist/bundle/{failure-GMUQKQ5K.js → failure-UONA2IA5.js} +2 -2
- package/dist/bundle/{first-run-5VTHKMK5.js → first-run-WQAKES7G.js} +12 -12
- package/dist/bundle/first-screen-4RFG22SA.js +35 -0
- package/dist/bundle/{instructions-ZMEPWTFO.js → instructions-PR4BBBTM.js} +1 -1
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.js} +2 -2
- package/dist/bundle/meeting-combined-MHWTZOF2.js +23 -0
- package/dist/bundle/{meeting-model-5FVNZCTL.js → meeting-model-YVTUOM4H.js} +11 -11
- package/dist/bundle/{meeting-semantic-HUMYFMO7.js → meeting-semantic-X4KG6RNV.js} +6 -6
- package/dist/bundle/{node-N4DQQJKK.js → node-OVS5LTVZ.js} +2 -2
- package/dist/bundle/{node-sqlite-MG4KFXYY.js → node-sqlite-LC44SM4Z.js} +7 -7
- package/dist/bundle/{oauth-NKDSXEH6.js → oauth-NSVUFQCW.js} +7 -7
- package/dist/bundle/{open-DV2YUU2M.js → open-XN5SJFVY.js} +5 -5
- package/dist/bundle/{openai-FEKMZOUJ.js → openai-WOYZHJNL.js} +15 -15
- package/dist/bundle/{process-QZS3TE6A.js → process-UFBRGTQC.js} +1 -1
- package/dist/bundle/{program-FNDGXEVS.js → program-RAGBRRQH.js} +63 -63
- package/dist/bundle/{prompt-C7RSBNH5.js → prompt-6HAKBUQN.js} +5 -5
- package/dist/bundle/{proxy-transport-A4MRO3PF.js → proxy-transport-5EJVFUTC.js} +5 -5
- package/dist/bundle/{recognize-5BL763FS.js → recognize-CN5COBVJ.js} +4 -4
- package/dist/bundle/{remote-CXAKRC7X.js → remote-STX5AMGE.js} +9 -9
- package/dist/bundle/{rerank-XAEXY5A4.js → rerank-ZCOWTXIJ.js} +7 -7
- package/dist/bundle/{serve-JLZGFTZH.js → serve-XMQEOIG2.js} +9 -9
- package/dist/bundle/{server-GF3TV2U7.js → server-PGGUD3DM.js} +44 -44
- package/dist/bundle/server-WTNYWCZ4.js +69 -0
- package/dist/bundle/{sqlite-runtime-3OVQ7OTM.js → sqlite-runtime-PS4DSOIU.js} +6 -6
- package/dist/bundle/{state-FGJKQKC2.js → state-GL4ZC57O.js} +6 -6
- package/dist/bundle/{store-WYLMNAAQ.js → store-HJ76TLWD.js} +19 -19
- package/dist/bundle/{store-2J5VJZQY.js → store-VISFXSHL.js} +17 -17
- package/dist/bundle/store-maintenance-command-SMARMN5C.js +60 -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/dist/bundle/command-contract-DAQYQF6R.js +0 -37
- package/dist/bundle/first-screen-PTHIZ5ZF.js +0 -35
- package/dist/bundle/meeting-combined-DU3RJR6X.js +0 -23
- package/dist/bundle/server-GLPEWUYT.js +0 -69
- package/dist/bundle/store-maintenance-command-QN6QH6RA.js +0 -60
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-VKE77B3F.js} +0 -0
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LG3K5NHX.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7SEVVE3X.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestorValue,
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-74UPKW7H.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DSJNZXTP.js";
|
|
25
25
|
import {
|
|
26
26
|
note
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NWCFO37P.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_RERANK_MODEL,
|
|
30
30
|
RERANK_MODELS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4YB7JU2W.js";
|
|
32
32
|
import {
|
|
33
33
|
endpoint
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-LF6FACSW.js";
|
|
35
35
|
import {
|
|
36
36
|
filesPresent,
|
|
37
37
|
sharedModelsDirectory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-EPR67IRV.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-KJICORS4.js";
|
|
97
97
|
import {
|
|
98
98
|
isCliFailure,
|
|
99
99
|
storeDamaged
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-NWDADTPE.js";
|
|
101
101
|
import {
|
|
102
102
|
TAG_TYPES
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-U7PHJSTX.js";
|
|
104
104
|
import {
|
|
105
105
|
repairConfigText,
|
|
106
106
|
sharedConfigPath
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-M2TV6BDB.js";
|
|
108
108
|
import {
|
|
109
109
|
FACT_TYPES,
|
|
110
110
|
FIELD_TYPES,
|
|
@@ -114,6 +114,7 @@ import {
|
|
|
114
114
|
describeQuery,
|
|
115
115
|
event,
|
|
116
116
|
meeting,
|
|
117
|
+
meetingCall,
|
|
117
118
|
meetingCounts,
|
|
118
119
|
meetingDetails,
|
|
119
120
|
meetingHit,
|
|
@@ -131,10 +132,10 @@ import {
|
|
|
131
132
|
parseLucene,
|
|
132
133
|
readsZone,
|
|
133
134
|
timezoneOf
|
|
134
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-PG37E63A.js";
|
|
135
136
|
import {
|
|
136
137
|
storePath
|
|
137
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-FPSRT2TX.js";
|
|
138
139
|
import {
|
|
139
140
|
configFilePath,
|
|
140
141
|
createRecordLog,
|
|
@@ -146,7 +147,7 @@ import {
|
|
|
146
147
|
resolvePaths,
|
|
147
148
|
saveConfigFile,
|
|
148
149
|
writeSecurely
|
|
149
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-44A2XRDE.js";
|
|
150
151
|
import {
|
|
151
152
|
COMPACT_FLAG,
|
|
152
153
|
MAX_NEXT_STEPS,
|
|
@@ -198,18 +199,18 @@ import {
|
|
|
198
199
|
unwrap,
|
|
199
200
|
variant,
|
|
200
201
|
writes
|
|
201
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-4EDJJQJI.js";
|
|
202
203
|
import {
|
|
203
204
|
CliError,
|
|
204
205
|
isCliError,
|
|
205
206
|
singleLine,
|
|
206
207
|
visibleControls
|
|
207
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-5RDNBG7D.js";
|
|
208
209
|
import {
|
|
209
210
|
__name
|
|
210
211
|
} from "./chunk-ZVVMGPBJ.js";
|
|
211
212
|
|
|
212
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.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
|
|
213
214
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
214
215
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
215
216
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3710,7 +3711,7 @@ __name(useColor, "useColor");
|
|
|
3710
3711
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3711
3712
|
var program = new Command();
|
|
3712
3713
|
|
|
3713
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3714
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.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
|
|
3714
3715
|
import { isDeepStrictEqual } from "node:util";
|
|
3715
3716
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3716
3717
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3912,7 +3913,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3912
3913
|
return command;
|
|
3913
3914
|
}, "customizeSharedCommand");
|
|
3914
3915
|
|
|
3915
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3916
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.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
|
|
3916
3917
|
var argumentInfoSchema = object({
|
|
3917
3918
|
name: string(),
|
|
3918
3919
|
required: boolean(),
|
|
@@ -3986,7 +3987,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3986
3987
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3987
3988
|
});
|
|
3988
3989
|
|
|
3989
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3990
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.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
|
|
3990
3991
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3991
3992
|
let command = root;
|
|
3992
3993
|
const path2 = [];
|
|
@@ -4004,7 +4005,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4004
4005
|
}
|
|
4005
4006
|
}, "refuseJoinedPath");
|
|
4006
4007
|
|
|
4007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4008
4009
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4009
4010
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4010
4011
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4430,7 +4431,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4430
4431
|
}
|
|
4431
4432
|
}, "assertRetentionEvidenceRead");
|
|
4432
4433
|
|
|
4433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4434
4435
|
var account = strictObject({
|
|
4435
4436
|
provider: text,
|
|
4436
4437
|
id,
|
|
@@ -4440,7 +4441,7 @@ var account = strictObject({
|
|
|
4440
4441
|
scope: optional(picklist(["personal", "work"]))
|
|
4441
4442
|
});
|
|
4442
4443
|
|
|
4443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4444
4445
|
var accountSession = strictObject({
|
|
4445
4446
|
current: boolean(),
|
|
4446
4447
|
client: nullable(text),
|
|
@@ -4450,7 +4451,7 @@ var accountSession = strictObject({
|
|
|
4450
4451
|
created_at: optional(nullable(time))
|
|
4451
4452
|
});
|
|
4452
4453
|
|
|
4453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4454
4455
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4455
4456
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4456
4457
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4479,7 +4480,7 @@ var accountRemoval = strictObject({
|
|
|
4479
4480
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4480
4481
|
});
|
|
4481
4482
|
|
|
4482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4483
4484
|
var accountProfile = strictObject({
|
|
4484
4485
|
profile: id,
|
|
4485
4486
|
current: boolean(),
|
|
@@ -4491,7 +4492,7 @@ var accountProfile = strictObject({
|
|
|
4491
4492
|
bot: optional(literal(true))
|
|
4492
4493
|
});
|
|
4493
4494
|
|
|
4494
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4495
4496
|
var milliseconds = pipe(number(), minValue(0));
|
|
4496
4497
|
var counterReading = strictObject({
|
|
4497
4498
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4503,7 +4504,7 @@ var counterReading = strictObject({
|
|
|
4503
4504
|
});
|
|
4504
4505
|
var selection = record(string(), unknown());
|
|
4505
4506
|
|
|
4506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4507
4508
|
var adminRow = strictObject({
|
|
4508
4509
|
ref: reference,
|
|
4509
4510
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4556,7 +4557,7 @@ var adminReport = strictObject({
|
|
|
4556
4557
|
rows: array(adminRow)
|
|
4557
4558
|
});
|
|
4558
4559
|
|
|
4559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4560
4561
|
var closeSuggestion = strictObject({
|
|
4561
4562
|
as: picklist(["done", "dismissed"]),
|
|
4562
4563
|
/** The agent's name. */
|
|
@@ -4618,7 +4619,7 @@ var task = strictObject({
|
|
|
4618
4619
|
updated_at: optional(time)
|
|
4619
4620
|
});
|
|
4620
4621
|
|
|
4621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4622
4623
|
var agendaChat = strictObject({
|
|
4623
4624
|
chat: reference,
|
|
4624
4625
|
title: nullable(text),
|
|
@@ -4688,11 +4689,11 @@ var agenda = strictObject({
|
|
|
4688
4689
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4689
4690
|
});
|
|
4690
4691
|
|
|
4691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4692
4693
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4693
4694
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4694
4695
|
|
|
4695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4696
4697
|
var attachment = strictObject({
|
|
4697
4698
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4698
4699
|
message: optional(reference),
|
|
@@ -4737,7 +4738,7 @@ var hitFile = strictObject({
|
|
|
4737
4738
|
local_path: optional(text)
|
|
4738
4739
|
});
|
|
4739
4740
|
|
|
4740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4741
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4741
4742
|
var actionableError = objectWithRest({
|
|
4742
4743
|
code: text,
|
|
4743
4744
|
message: text,
|
|
@@ -4754,7 +4755,7 @@ var batchResult = strictObject({
|
|
|
4754
4755
|
max_error_percent: count
|
|
4755
4756
|
});
|
|
4756
4757
|
|
|
4757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4758
4759
|
var extractionItem = strictObject({
|
|
4759
4760
|
ref: reference,
|
|
4760
4761
|
attachment: count,
|
|
@@ -4787,7 +4788,7 @@ var extractionReport = strictObject({
|
|
|
4787
4788
|
cursor: optional(text)
|
|
4788
4789
|
});
|
|
4789
4790
|
|
|
4790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4791
4792
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4792
4793
|
var attachmentBytes = strictObject({
|
|
4793
4794
|
ref: reference,
|
|
@@ -4818,7 +4819,7 @@ var attachmentTextChange = strictObject({
|
|
|
4818
4819
|
text: optional(text)
|
|
4819
4820
|
});
|
|
4820
4821
|
|
|
4821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4822
4823
|
var WEIGHTS = {
|
|
4823
4824
|
bot: 3,
|
|
4824
4825
|
scam: 3,
|
|
@@ -4843,7 +4844,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4843
4844
|
var DIGITS = /\d{5,}/;
|
|
4844
4845
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4845
4846
|
|
|
4846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4847
4848
|
var linkedIdentity = strictObject({
|
|
4848
4849
|
provider: text,
|
|
4849
4850
|
id,
|
|
@@ -4898,7 +4899,7 @@ var contactCheck = strictObject({
|
|
|
4898
4899
|
checked_at: time
|
|
4899
4900
|
});
|
|
4900
4901
|
|
|
4901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4902
4903
|
var member = strictObject({
|
|
4903
4904
|
id,
|
|
4904
4905
|
name: nullable(text),
|
|
@@ -4921,7 +4922,7 @@ var member = strictObject({
|
|
|
4921
4922
|
check: optional(record(string(), unknown()))
|
|
4922
4923
|
});
|
|
4923
4924
|
|
|
4924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4925
4926
|
var setting = optional(nullable(boolean()));
|
|
4926
4927
|
var chat = strictObject({
|
|
4927
4928
|
ref: reference,
|
|
@@ -4962,7 +4963,7 @@ var chat = strictObject({
|
|
|
4962
4963
|
members: optional(array(member))
|
|
4963
4964
|
});
|
|
4964
4965
|
|
|
4965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4966
4967
|
var quoted = strictObject({
|
|
4967
4968
|
id,
|
|
4968
4969
|
sender_id: nullable(id),
|
|
@@ -5081,7 +5082,7 @@ var message = strictObject({
|
|
|
5081
5082
|
provider_metadata: providerMetadata
|
|
5082
5083
|
});
|
|
5083
5084
|
|
|
5084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
5085
5086
|
var recordedMeeting = strictObject({
|
|
5086
5087
|
ref: reference,
|
|
5087
5088
|
meeting_id: count,
|
|
@@ -5091,10 +5092,12 @@ var recordedMeeting = strictObject({
|
|
|
5091
5092
|
duration_ms: nullable(count),
|
|
5092
5093
|
has_transcript: boolean(),
|
|
5093
5094
|
event: nullable(reference),
|
|
5094
|
-
people: array(reference)
|
|
5095
|
+
people: array(reference),
|
|
5096
|
+
/** Present only on a phone call: its direction, manager and the other side's number. */
|
|
5097
|
+
call: optional(meetingCall)
|
|
5095
5098
|
});
|
|
5096
5099
|
|
|
5097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5098
5101
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5099
5102
|
var contextMessage = strictObject({
|
|
5100
5103
|
locator: reference,
|
|
@@ -5300,7 +5303,7 @@ var contactPreparation = strictObject({
|
|
|
5300
5303
|
})
|
|
5301
5304
|
});
|
|
5302
5305
|
|
|
5303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5304
5307
|
var nullableText = nullable(text);
|
|
5305
5308
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5306
5309
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5414,7 +5417,7 @@ var stage = strictObject({
|
|
|
5414
5417
|
untrusted
|
|
5415
5418
|
});
|
|
5416
5419
|
|
|
5417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5418
5421
|
var nullableText2 = nullable(text);
|
|
5419
5422
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5420
5423
|
var standing = picklist(STANDINGS);
|
|
@@ -5588,7 +5591,7 @@ var dealBrief = strictObject({
|
|
|
5588
5591
|
not_read: coverage2.entries.not_read
|
|
5589
5592
|
});
|
|
5590
5593
|
|
|
5591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5592
5595
|
var chart = strictObject({
|
|
5593
5596
|
version: literal(1),
|
|
5594
5597
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5603,7 +5606,7 @@ var chart = strictObject({
|
|
|
5603
5606
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5604
5607
|
});
|
|
5605
5608
|
|
|
5606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5607
5610
|
var named = strictObject({
|
|
5608
5611
|
id,
|
|
5609
5612
|
title: nullable(text),
|
|
@@ -5626,7 +5629,7 @@ var folder = strictObject({
|
|
|
5626
5629
|
excluded_chats: optional(array(named))
|
|
5627
5630
|
});
|
|
5628
5631
|
|
|
5629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5630
5633
|
var inviteLink = strictObject({
|
|
5631
5634
|
link: text,
|
|
5632
5635
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5642,7 +5645,7 @@ var inviteLink = strictObject({
|
|
|
5642
5645
|
joined_count: optional(count)
|
|
5643
5646
|
});
|
|
5644
5647
|
|
|
5645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5646
5649
|
var operated = { operation_id: id, chat_id: id };
|
|
5647
5650
|
var group = strictObject({
|
|
5648
5651
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5722,7 +5725,7 @@ var chatFolderOrder = strictObject({
|
|
|
5722
5725
|
folders: array(strictObject({ id, title: text }))
|
|
5723
5726
|
});
|
|
5724
5727
|
|
|
5725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5726
5729
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5727
5730
|
var chatRemoval = strictObject(operated2);
|
|
5728
5731
|
var chatMuting = strictObject({
|
|
@@ -5733,7 +5736,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5733
5736
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5734
5737
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5735
5738
|
|
|
5736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5737
5740
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5738
5741
|
var chatEvent = strictObject({
|
|
5739
5742
|
chat_id: id,
|
|
@@ -5750,7 +5753,7 @@ var chatEvent = strictObject({
|
|
|
5750
5753
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5751
5754
|
});
|
|
5752
5755
|
|
|
5753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5754
5757
|
var chatMetadata = strictObject({
|
|
5755
5758
|
chat_id: id,
|
|
5756
5759
|
title: nullable(text),
|
|
@@ -5765,7 +5768,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5765
5768
|
has_more: boolean()
|
|
5766
5769
|
});
|
|
5767
5770
|
|
|
5768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5769
5772
|
var action = picklist(["report", "delete", "remove"]);
|
|
5770
5773
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5771
5774
|
var chatRules = strictObject({
|
|
@@ -5802,7 +5805,7 @@ var chatModeration = strictObject({
|
|
|
5802
5805
|
}))
|
|
5803
5806
|
});
|
|
5804
5807
|
|
|
5805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
5806
5809
|
var chatSending = strictObject({
|
|
5807
5810
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
5808
5811
|
meaning: text,
|
|
@@ -5812,7 +5815,7 @@ var chatSending = strictObject({
|
|
|
5812
5815
|
changed: optional(boolean())
|
|
5813
5816
|
});
|
|
5814
5817
|
|
|
5815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5816
5819
|
var optionalCount = optional(count);
|
|
5817
5820
|
var minutes = nullable(number());
|
|
5818
5821
|
var chatStats = strictObject({
|
|
@@ -5888,7 +5891,7 @@ var taskStats = strictObject({
|
|
|
5888
5891
|
}))
|
|
5889
5892
|
});
|
|
5890
5893
|
|
|
5891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5892
5895
|
var memberCount = strictObject({
|
|
5893
5896
|
day: pipe(text, isoDate()),
|
|
5894
5897
|
participants: nullable(count),
|
|
@@ -5911,7 +5914,7 @@ var chatTracking = strictObject({
|
|
|
5911
5914
|
tracked: boolean()
|
|
5912
5915
|
});
|
|
5913
5916
|
|
|
5914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5915
5918
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5916
5919
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5917
5920
|
var profileFields = {
|
|
@@ -5949,7 +5952,7 @@ var profileFields = {
|
|
|
5949
5952
|
}))
|
|
5950
5953
|
};
|
|
5951
5954
|
|
|
5952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5953
5956
|
var contact = strictObject({
|
|
5954
5957
|
ref: reference,
|
|
5955
5958
|
id,
|
|
@@ -5980,7 +5983,7 @@ var contact = strictObject({
|
|
|
5980
5983
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5981
5984
|
});
|
|
5982
5985
|
|
|
5983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5984
5987
|
var contactNote = strictObject({
|
|
5985
5988
|
id,
|
|
5986
5989
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5992,13 +5995,13 @@ var contactNote = strictObject({
|
|
|
5992
5995
|
updated_at: time
|
|
5993
5996
|
});
|
|
5994
5997
|
|
|
5995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5996
5999
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5997
6000
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5998
6001
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5999
6002
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6000
6003
|
|
|
6001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6002
6005
|
var conversation = strictObject({
|
|
6003
6006
|
id,
|
|
6004
6007
|
chat: reference,
|
|
@@ -6013,7 +6016,7 @@ var conversation = strictObject({
|
|
|
6013
6016
|
rules_version: count
|
|
6014
6017
|
});
|
|
6015
6018
|
|
|
6016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
6017
6020
|
var conversationBuild = strictObject({
|
|
6018
6021
|
chat: id,
|
|
6019
6022
|
messages: count,
|
|
@@ -6038,7 +6041,7 @@ var catchUpPreparation = strictObject({
|
|
|
6038
6041
|
prepared: optional(conversationPreparation)
|
|
6039
6042
|
});
|
|
6040
6043
|
|
|
6041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6042
6045
|
var conversationDetails = union([
|
|
6043
6046
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6044
6047
|
message
|
|
@@ -6128,7 +6131,7 @@ var conversationHit = strictObject({
|
|
|
6128
6131
|
stale: boolean()
|
|
6129
6132
|
});
|
|
6130
6133
|
|
|
6131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6132
6135
|
var counters = strictObject({
|
|
6133
6136
|
cutoff: time,
|
|
6134
6137
|
max_age_ms: milliseconds,
|
|
@@ -6158,7 +6161,7 @@ var counterRefresh = strictObject({
|
|
|
6158
6161
|
complete: optional(boolean())
|
|
6159
6162
|
});
|
|
6160
6163
|
|
|
6161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6162
6165
|
var document = strictObject({
|
|
6163
6166
|
ref: reference,
|
|
6164
6167
|
id,
|
|
@@ -6173,7 +6176,7 @@ var document = strictObject({
|
|
|
6173
6176
|
owners: optional(array(text))
|
|
6174
6177
|
});
|
|
6175
6178
|
|
|
6176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6177
6180
|
var documentLink = strictObject({
|
|
6178
6181
|
ref: reference,
|
|
6179
6182
|
url: text,
|
|
@@ -6184,7 +6187,7 @@ var documentLink = strictObject({
|
|
|
6184
6187
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6185
6188
|
});
|
|
6186
6189
|
|
|
6187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6188
6191
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6189
6192
|
var contribution = strictObject({
|
|
6190
6193
|
message: evidenceMessage,
|
|
@@ -6214,7 +6217,7 @@ var retentionStay = strictObject({
|
|
|
6214
6217
|
});
|
|
6215
6218
|
var evidence = union([contribution, retentionStay]);
|
|
6216
6219
|
|
|
6217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6218
6221
|
var fact = strictObject({
|
|
6219
6222
|
ref: reference,
|
|
6220
6223
|
id,
|
|
@@ -6245,7 +6248,7 @@ var fact = strictObject({
|
|
|
6245
6248
|
updated_at: time
|
|
6246
6249
|
});
|
|
6247
6250
|
|
|
6248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6249
6252
|
var hit = strictObject({
|
|
6250
6253
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6251
6254
|
ref: reference,
|
|
@@ -6293,7 +6296,7 @@ var hit = strictObject({
|
|
|
6293
6296
|
untrusted
|
|
6294
6297
|
});
|
|
6295
6298
|
|
|
6296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6297
6300
|
var identity = strictObject({
|
|
6298
6301
|
ref: reference,
|
|
6299
6302
|
provider: text,
|
|
@@ -6309,7 +6312,7 @@ var identity = strictObject({
|
|
|
6309
6312
|
person: optional(nullable(reference))
|
|
6310
6313
|
});
|
|
6311
6314
|
|
|
6312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6313
6316
|
var imageEmbedding = strictObject({
|
|
6314
6317
|
model: text,
|
|
6315
6318
|
embedded: count,
|
|
@@ -6318,13 +6321,13 @@ var imageEmbedding = strictObject({
|
|
|
6318
6321
|
more: boolean()
|
|
6319
6322
|
});
|
|
6320
6323
|
|
|
6321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6322
6325
|
import { spawn } from "node:child_process";
|
|
6323
6326
|
import { randomBytes } from "node:crypto";
|
|
6324
6327
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6325
6328
|
import { dirname, join } from "node:path";
|
|
6326
6329
|
|
|
6327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6328
6331
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6329
6332
|
const total = input.total ?? null;
|
|
6330
6333
|
const updated = input.updatedAt ?? null;
|
|
@@ -6340,7 +6343,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6340
6343
|
};
|
|
6341
6344
|
}, "progressOf");
|
|
6342
6345
|
|
|
6343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6344
6347
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6345
6348
|
const run = currentRun();
|
|
6346
6349
|
const trace = traceId ?? run.traceId;
|
|
@@ -6354,7 +6357,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6354
6357
|
}));
|
|
6355
6358
|
}, "recordLogFor");
|
|
6356
6359
|
|
|
6357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6358
6361
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6359
6362
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6360
6363
|
const out = openSync(log, "a", 384);
|
|
@@ -6509,7 +6512,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6509
6512
|
return { job: id6, pid, chat: input.chat, log };
|
|
6510
6513
|
}, "startArchiveJob");
|
|
6511
6514
|
|
|
6512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6513
6516
|
var problem = strictObject({ code: text, message: text });
|
|
6514
6517
|
var job = strictObject({
|
|
6515
6518
|
id,
|
|
@@ -6532,7 +6535,7 @@ var job = strictObject({
|
|
|
6532
6535
|
error: optional(problem)
|
|
6533
6536
|
});
|
|
6534
6537
|
|
|
6535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6536
6539
|
var joinRequest = strictObject({
|
|
6537
6540
|
person_id: id,
|
|
6538
6541
|
name: nullable(text),
|
|
@@ -6543,7 +6546,7 @@ var joinRequest = strictObject({
|
|
|
6543
6546
|
about: optional(text)
|
|
6544
6547
|
});
|
|
6545
6548
|
|
|
6546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6547
6550
|
var botProfile = strictObject({
|
|
6548
6551
|
name: text,
|
|
6549
6552
|
token: text,
|
|
@@ -6667,7 +6670,7 @@ var stickerInventory = strictObject({
|
|
|
6667
6670
|
url: optional(nullable(text))
|
|
6668
6671
|
});
|
|
6669
6672
|
|
|
6670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6671
6674
|
var pollVote = strictObject({
|
|
6672
6675
|
person_id: id,
|
|
6673
6676
|
name: nullable(text),
|
|
@@ -6677,7 +6680,7 @@ var pollVote = strictObject({
|
|
|
6677
6680
|
voted_at: time
|
|
6678
6681
|
});
|
|
6679
6682
|
|
|
6680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6681
6684
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6682
6685
|
var observation = strictObject({
|
|
6683
6686
|
value: pipe(number(), minValue(0)),
|
|
@@ -6719,7 +6722,7 @@ var serveSummary = strictObject({
|
|
|
6719
6722
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6720
6723
|
});
|
|
6721
6724
|
|
|
6722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6723
6726
|
var mailCounts = strictObject({
|
|
6724
6727
|
by: picklist(["day", "week", "sender"]),
|
|
6725
6728
|
received: count,
|
|
@@ -6734,7 +6737,7 @@ var mailCounts = strictObject({
|
|
|
6734
6737
|
}))
|
|
6735
6738
|
});
|
|
6736
6739
|
|
|
6737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6738
6741
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6739
6742
|
var base = { id, evidence: array(evidence2) };
|
|
6740
6743
|
var finding = variant("kind", [
|
|
@@ -6878,7 +6881,7 @@ var mailFindings = strictObject({
|
|
|
6878
6881
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6879
6882
|
});
|
|
6880
6883
|
|
|
6881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6882
6885
|
var mediaArchive = strictObject({
|
|
6883
6886
|
directory: text,
|
|
6884
6887
|
chats: count,
|
|
@@ -6910,7 +6913,7 @@ var mediaArchiveTimer = union([
|
|
|
6910
6913
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6911
6914
|
]);
|
|
6912
6915
|
|
|
6913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6916
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6914
6917
|
var preparationId = pipe(string(), minLength(1));
|
|
6915
6918
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6916
6919
|
var preparationTime = nullable(isoTime);
|
|
@@ -7002,7 +7005,7 @@ var preparationMeeting = strictObject({
|
|
|
7002
7005
|
updated_at: isoTime
|
|
7003
7006
|
});
|
|
7004
7007
|
|
|
7005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
7006
7009
|
var meetingEvidence = preparationEvidence;
|
|
7007
7010
|
var meetingPersonContext = strictObject({
|
|
7008
7011
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -7024,7 +7027,7 @@ var meetingPersonContext = strictObject({
|
|
|
7024
7027
|
})
|
|
7025
7028
|
});
|
|
7026
7029
|
|
|
7027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
7028
7031
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
7029
7032
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
7030
7033
|
var finding2 = variant("kind", [
|
|
@@ -7062,7 +7065,7 @@ var meetingFindings = strictObject({
|
|
|
7062
7065
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7063
7066
|
});
|
|
7064
7067
|
|
|
7065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7066
7069
|
var communicationCoverage = strictObject({
|
|
7067
7070
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7068
7071
|
query: string(),
|
|
@@ -7107,7 +7110,7 @@ var preparationCommunications = strictObject({
|
|
|
7107
7110
|
}))
|
|
7108
7111
|
});
|
|
7109
7112
|
|
|
7110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7111
7114
|
var meetingPreparation = strictObject({
|
|
7112
7115
|
communications: optional(preparationCommunications),
|
|
7113
7116
|
schema_version: literal(1),
|
|
@@ -7220,7 +7223,7 @@ var meetingPreparation = strictObject({
|
|
|
7220
7223
|
})
|
|
7221
7224
|
});
|
|
7222
7225
|
|
|
7223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7224
7227
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7225
7228
|
var id3 = pipe(string(), minLength(1));
|
|
7226
7229
|
var text3 = string();
|
|
@@ -7284,7 +7287,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7284
7287
|
})
|
|
7285
7288
|
});
|
|
7286
7289
|
|
|
7287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7288
7291
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7289
7292
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7290
7293
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7314,7 +7317,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7314
7317
|
})
|
|
7315
7318
|
});
|
|
7316
7319
|
|
|
7317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7318
7321
|
var text4 = string();
|
|
7319
7322
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7320
7323
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7331,7 +7334,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7331
7334
|
persistence: literal("proposal-only")
|
|
7332
7335
|
});
|
|
7333
7336
|
|
|
7334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7335
7338
|
var memory = strictObject({
|
|
7336
7339
|
ref: reference,
|
|
7337
7340
|
id,
|
|
@@ -7359,7 +7362,7 @@ var memory = strictObject({
|
|
|
7359
7362
|
updated_at: time
|
|
7360
7363
|
});
|
|
7361
7364
|
|
|
7362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7363
7366
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7364
7367
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7365
7368
|
var mention = strictObject({
|
|
@@ -7403,13 +7406,13 @@ var mentionRebuild = strictObject({
|
|
|
7403
7406
|
mentions: count
|
|
7404
7407
|
});
|
|
7405
7408
|
|
|
7406
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7407
7410
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7408
7411
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7409
7412
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7410
7413
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7411
7414
|
|
|
7412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7413
7416
|
var messageTranscript = strictObject({
|
|
7414
7417
|
message_id: id,
|
|
7415
7418
|
text,
|
|
@@ -7467,7 +7470,7 @@ var evidencePacket = strictObject({
|
|
|
7467
7470
|
}))
|
|
7468
7471
|
});
|
|
7469
7472
|
|
|
7470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7471
7474
|
var messageThread = strictObject({
|
|
7472
7475
|
ref: reference,
|
|
7473
7476
|
chat: id,
|
|
@@ -7484,7 +7487,7 @@ var messageThread = strictObject({
|
|
|
7484
7487
|
});
|
|
7485
7488
|
var messageContext = union([message, messageThread]);
|
|
7486
7489
|
|
|
7487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7488
7491
|
var messageCounts = strictObject({
|
|
7489
7492
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7490
7493
|
total: count,
|
|
@@ -7497,7 +7500,7 @@ var messageCounts = strictObject({
|
|
|
7497
7500
|
}))
|
|
7498
7501
|
});
|
|
7499
7502
|
|
|
7500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7501
7504
|
var messageLink = strictObject({
|
|
7502
7505
|
ref: reference,
|
|
7503
7506
|
url: nullable(text),
|
|
@@ -7514,7 +7517,7 @@ var messageLink = strictObject({
|
|
|
7514
7517
|
})))
|
|
7515
7518
|
});
|
|
7516
7519
|
|
|
7517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7518
7521
|
var savedMessageFile = strictObject({
|
|
7519
7522
|
kind: text,
|
|
7520
7523
|
path: text,
|
|
@@ -7601,7 +7604,7 @@ var messageSyncAll = strictObject({
|
|
|
7601
7604
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7602
7605
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7603
7606
|
|
|
7604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7605
7608
|
var messageWrite = strictObject({
|
|
7606
7609
|
operation_id: id,
|
|
7607
7610
|
message,
|
|
@@ -7616,7 +7619,7 @@ var draftWrite = strictObject({
|
|
|
7616
7619
|
});
|
|
7617
7620
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7618
7621
|
|
|
7619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7620
7623
|
var model = strictObject({
|
|
7621
7624
|
id,
|
|
7622
7625
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7651,7 +7654,7 @@ var chosenModel = strictObject({
|
|
|
7651
7654
|
estimate_seconds: nullable(count)
|
|
7652
7655
|
});
|
|
7653
7656
|
|
|
7654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7655
7658
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7656
7659
|
var modelKey = strictObject({
|
|
7657
7660
|
provider: text,
|
|
@@ -7661,7 +7664,7 @@ var modelKey = strictObject({
|
|
|
7661
7664
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7662
7665
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7663
7666
|
|
|
7664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7665
7668
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7666
7669
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7667
7670
|
var graph = strictObject({
|
|
@@ -7695,14 +7698,14 @@ var officialStats = strictObject({
|
|
|
7695
7698
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7696
7699
|
});
|
|
7697
7700
|
|
|
7698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7699
7702
|
var person2 = strictObject({
|
|
7700
7703
|
ref: reference,
|
|
7701
7704
|
name: nullable(text),
|
|
7702
7705
|
identities: optional(array(identity))
|
|
7703
7706
|
});
|
|
7704
7707
|
|
|
7705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7706
7709
|
var poll = strictObject({
|
|
7707
7710
|
chat_id: id,
|
|
7708
7711
|
message_id: id,
|
|
@@ -7718,11 +7721,11 @@ var poll = strictObject({
|
|
|
7718
7721
|
});
|
|
7719
7722
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7720
7723
|
|
|
7721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7722
7725
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7723
7726
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7724
7727
|
|
|
7725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7726
7729
|
var figures = record(string(), number());
|
|
7727
7730
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7728
7731
|
var rankingRow = strictObject({
|
|
@@ -7769,7 +7772,7 @@ var ranking = strictObject({
|
|
|
7769
7772
|
rows: array(rankingRow)
|
|
7770
7773
|
});
|
|
7771
7774
|
|
|
7772
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7773
7776
|
var reaction = strictObject({
|
|
7774
7777
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7775
7778
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7777,7 +7780,7 @@ var reaction = strictObject({
|
|
|
7777
7780
|
reacted_at: time
|
|
7778
7781
|
});
|
|
7779
7782
|
|
|
7780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7781
7784
|
var reactionChange = strictObject({
|
|
7782
7785
|
operation_id: id,
|
|
7783
7786
|
chat_id: id,
|
|
@@ -7785,7 +7788,7 @@ var reactionChange = strictObject({
|
|
|
7785
7788
|
reaction: nullable(text)
|
|
7786
7789
|
});
|
|
7787
7790
|
|
|
7788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7789
7792
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7790
7793
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7791
7794
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7796,7 +7799,7 @@ var recipientChange = strictObject({
|
|
|
7796
7799
|
...partial(recipientOff).entries
|
|
7797
7800
|
});
|
|
7798
7801
|
|
|
7799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7800
7803
|
var events = array(record(string(), unknown()));
|
|
7801
7804
|
var recordedRun = strictObject({
|
|
7802
7805
|
run_id: id,
|
|
@@ -7868,7 +7871,7 @@ var runHit = strictObject({
|
|
|
7868
7871
|
});
|
|
7869
7872
|
var runLocation = strictObject({ path: text });
|
|
7870
7873
|
|
|
7871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7872
7875
|
var relationship = strictObject({
|
|
7873
7876
|
id,
|
|
7874
7877
|
from: reference,
|
|
@@ -7895,7 +7898,7 @@ var relationship = strictObject({
|
|
|
7895
7898
|
created_at: time
|
|
7896
7899
|
});
|
|
7897
7900
|
|
|
7898
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7899
7902
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7900
7903
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7901
7904
|
var responseTimes = strictObject({
|
|
@@ -7912,7 +7915,7 @@ var waitingChats = strictObject({
|
|
|
7912
7915
|
by_kind: strictObject({ private: count, group: count })
|
|
7913
7916
|
});
|
|
7914
7917
|
|
|
7915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7916
7919
|
var retentionCohort = strictObject({
|
|
7917
7920
|
/** The first day of the joining day or week. */
|
|
7918
7921
|
cohort: text,
|
|
@@ -7960,7 +7963,7 @@ var retention = strictObject({
|
|
|
7960
7963
|
rows: array(retentionCohort)
|
|
7961
7964
|
});
|
|
7962
7965
|
|
|
7963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7964
7967
|
var savedSearch = strictObject({
|
|
7965
7968
|
id,
|
|
7966
7969
|
/** `null` for a run in the history. */
|
|
@@ -7977,7 +7980,7 @@ var savedSearch = strictObject({
|
|
|
7977
7980
|
});
|
|
7978
7981
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7979
7982
|
|
|
7980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7983
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7981
7984
|
var sendAttempt = strictObject({
|
|
7982
7985
|
at: time,
|
|
7983
7986
|
profile: text,
|
|
@@ -8005,7 +8008,7 @@ var sendAttempt = strictObject({
|
|
|
8005
8008
|
error_code: optional(text)
|
|
8006
8009
|
});
|
|
8007
8010
|
|
|
8008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8011
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
8009
8012
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
8010
8013
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
8011
8014
|
var infoSchema = strictObject({
|
|
@@ -8235,7 +8238,7 @@ var storeRepair = union([
|
|
|
8235
8238
|
]);
|
|
8236
8239
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8237
8240
|
|
|
8238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8239
8242
|
var range = strictObject({ from: number(), to: number() });
|
|
8240
8243
|
var storeChatStatus = strictObject({
|
|
8241
8244
|
chat_id: id,
|
|
@@ -8333,7 +8336,7 @@ var storeJobRetry = union([
|
|
|
8333
8336
|
]);
|
|
8334
8337
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8335
8338
|
|
|
8336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8337
8340
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8338
8341
|
var storeTable = strictObject({
|
|
8339
8342
|
name: text,
|
|
@@ -8342,7 +8345,7 @@ var storeTable = strictObject({
|
|
|
8342
8345
|
bytes: optional(nullable(count))
|
|
8343
8346
|
});
|
|
8344
8347
|
|
|
8345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8346
8349
|
var tagTarget = variant("type", [
|
|
8347
8350
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8348
8351
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8373,7 +8376,7 @@ var automaticTags = strictObject({
|
|
|
8373
8376
|
dry_run: boolean()
|
|
8374
8377
|
});
|
|
8375
8378
|
|
|
8376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8377
8380
|
var tagging = strictObject({
|
|
8378
8381
|
tag: text,
|
|
8379
8382
|
type: picklist(TAG_TYPES),
|
|
@@ -8386,7 +8389,7 @@ var tagging = strictObject({
|
|
|
8386
8389
|
created_at: time
|
|
8387
8390
|
});
|
|
8388
8391
|
|
|
8389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8390
8393
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8391
8394
|
var taskPair = strictObject({
|
|
8392
8395
|
task: nullable(side),
|
|
@@ -8409,7 +8412,7 @@ var taskPair = strictObject({
|
|
|
8409
8412
|
created_at: time
|
|
8410
8413
|
});
|
|
8411
8414
|
|
|
8412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8413
8416
|
var nullableTime = nullable(time);
|
|
8414
8417
|
var link = strictObject({
|
|
8415
8418
|
id,
|
|
@@ -8583,7 +8586,7 @@ var taskReview = strictObject({
|
|
|
8583
8586
|
untrusted
|
|
8584
8587
|
});
|
|
8585
8588
|
|
|
8586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8587
8590
|
var template = strictObject({
|
|
8588
8591
|
key: text,
|
|
8589
8592
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8595,7 +8598,7 @@ var template = strictObject({
|
|
|
8595
8598
|
updated_by: nullable(text)
|
|
8596
8599
|
});
|
|
8597
8600
|
|
|
8598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8599
8602
|
var topic = strictObject({
|
|
8600
8603
|
id,
|
|
8601
8604
|
title: text,
|
|
@@ -8609,7 +8612,7 @@ var topic = strictObject({
|
|
|
8609
8612
|
untrusted
|
|
8610
8613
|
});
|
|
8611
8614
|
|
|
8612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8613
8616
|
var ENTITIES = {
|
|
8614
8617
|
sync_progress: progress,
|
|
8615
8618
|
deal,
|
|
@@ -8908,7 +8911,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8908
8911
|
return [name, definition];
|
|
8909
8912
|
})), "entityDefinitions");
|
|
8910
8913
|
|
|
8911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8912
8915
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8913
8916
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8914
8917
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8942,7 +8945,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8942
8945
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8943
8946
|
}, "answerRow");
|
|
8944
8947
|
|
|
8945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8948
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8946
8949
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8947
8950
|
var requests = new AsyncLocalStorage();
|
|
8948
8951
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8957,7 +8960,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8957
8960
|
return direct;
|
|
8958
8961
|
}, "exitCodeSet");
|
|
8959
8962
|
|
|
8960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8963
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8961
8964
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8962
8965
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8963
8966
|
messageId: message2.id,
|
|
@@ -9063,7 +9066,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9063
9066
|
}, "guardedWrite");
|
|
9064
9067
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9065
9068
|
|
|
9066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9069
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9067
9070
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9068
9071
|
try {
|
|
9069
9072
|
return work();
|
|
@@ -9090,7 +9093,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9090
9093
|
return projectFields(value, fields);
|
|
9091
9094
|
}), "projectFields");
|
|
9092
9095
|
|
|
9093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9094
9097
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9095
9098
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9096
9099
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9273,7 +9276,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9273
9276
|
}
|
|
9274
9277
|
}, "withAbort");
|
|
9275
9278
|
|
|
9276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9277
9280
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9278
9281
|
import { join as join2 } from "node:path";
|
|
9279
9282
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9362,7 +9365,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9362
9365
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9363
9366
|
}, "registryProfiles");
|
|
9364
9367
|
|
|
9365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9368
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9366
9369
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9367
9370
|
import { join as join3 } from "node:path";
|
|
9368
9371
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9384,7 +9387,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9384
9387
|
}, "profilesWithAccounts");
|
|
9385
9388
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9386
9389
|
|
|
9387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9388
9391
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9389
9392
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9390
9393
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9420,7 +9423,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9420
9423
|
return value;
|
|
9421
9424
|
}, "atDetail");
|
|
9422
9425
|
|
|
9423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/output.js
|
|
9424
9427
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9425
9428
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9426
9429
|
if (other)
|
|
@@ -9484,7 +9487,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9484
9487
|
}, "warn")
|
|
9485
9488
|
}), "silence");
|
|
9486
9489
|
|
|
9487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9488
9491
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9489
9492
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9490
9493
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9522,7 +9525,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9522
9525
|
progress: "sync.progress"
|
|
9523
9526
|
};
|
|
9524
9527
|
|
|
9525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9526
9529
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9527
9530
|
const recording = startRecording(options);
|
|
9528
9531
|
try {
|
|
@@ -9737,7 +9740,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9737
9740
|
return void 0;
|
|
9738
9741
|
}, "partialOutcome");
|
|
9739
9742
|
|
|
9740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9741
9744
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9742
9745
|
if (ms2 === void 0)
|
|
9743
9746
|
return body();
|
|
@@ -9763,7 +9766,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9763
9766
|
}
|
|
9764
9767
|
}, "withDeadline");
|
|
9765
9768
|
|
|
9766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9767
9770
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9768
9771
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9769
9772
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9832,10 +9835,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9832
9835
|
return void 0;
|
|
9833
9836
|
}, "sampleCommand");
|
|
9834
9837
|
|
|
9835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9836
9839
|
import { existsSync as existsSync5 } from "node:fs";
|
|
9837
9840
|
|
|
9838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9839
9842
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9840
9843
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9841
9844
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9904,7 +9907,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9904
9907
|
};
|
|
9905
9908
|
}, "modelTarget");
|
|
9906
9909
|
|
|
9907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9908
9911
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9909
9912
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9910
9913
|
var AI_FIELDS = {
|
|
@@ -9948,7 +9951,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9948
9951
|
};
|
|
9949
9952
|
}, "resolveAISettings");
|
|
9950
9953
|
|
|
9951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9952
9955
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9953
9956
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9954
9957
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9962,7 +9965,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9962
9965
|
return ms2;
|
|
9963
9966
|
}, "parseDuration");
|
|
9964
9967
|
|
|
9965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9966
9969
|
var HISTORY_MAX_DAYS = 1095;
|
|
9967
9970
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9968
9971
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10009,7 +10012,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10009
10012
|
return { batch: { ...batch, messages }, skipped };
|
|
10010
10013
|
}, "limitBatch");
|
|
10011
10014
|
|
|
10012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10013
10016
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10014
10017
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10015
10018
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10304,7 +10307,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10304
10307
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10305
10308
|
}, "readConfigFile");
|
|
10306
10309
|
|
|
10307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10310
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10308
10311
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10309
10312
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10310
10313
|
var DEFAULT_CONFIG = {
|
|
@@ -10333,7 +10336,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10333
10336
|
}
|
|
10334
10337
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10335
10338
|
|
|
10336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10337
10340
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10338
10341
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10339
10342
|
const path2 = key.split(".");
|
|
@@ -10355,7 +10358,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10355
10358
|
return { config, added };
|
|
10356
10359
|
}, "withSettingDefaults");
|
|
10357
10360
|
|
|
10358
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10359
10362
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10360
10363
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10361
10364
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10504,13 +10507,13 @@ var NoProfileHere = class extends CliError {
|
|
|
10504
10507
|
}
|
|
10505
10508
|
app;
|
|
10506
10509
|
constructor(app) {
|
|
10507
|
-
super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { profiles: [] });
|
|
10510
|
+
super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { reason: "profile.missing", profiles: [] });
|
|
10508
10511
|
this.app = app;
|
|
10509
10512
|
}
|
|
10510
10513
|
/** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
|
|
10511
10514
|
withoutSetup(words) {
|
|
10512
10515
|
const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
|
|
10513
|
-
return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { profiles: [] });
|
|
10516
|
+
return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { reason: "profile.missing", profiles: [] });
|
|
10514
10517
|
}
|
|
10515
10518
|
};
|
|
10516
10519
|
var first = /* @__PURE__ */ __name((candidates, fallback) => {
|
|
@@ -10588,7 +10591,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10588
10591
|
const here = profilesOf(config, env);
|
|
10589
10592
|
if (here.length === 0)
|
|
10590
10593
|
throw new NoProfileHere(app);
|
|
10591
|
-
throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { profiles: here });
|
|
10594
|
+
throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { reason: "profile.missing", profiles: here });
|
|
10592
10595
|
}, "unnamed");
|
|
10593
10596
|
const profilesOf = /* @__PURE__ */ __name((config, env) => profilesHere(app, [...namedProfiles(config), ...extension.profiles?.(env) ?? []], env), "profilesOf");
|
|
10594
10597
|
const botsOf = /* @__PURE__ */ __name((config, env) => [.../* @__PURE__ */ new Set([...Object.keys(config.bot?.profiles ?? {}), ...registryProfiles(app, env)])].sort(), "botsOf");
|
|
@@ -10835,9 +10838,11 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10835
10838
|
saveConfigFile(path2, config);
|
|
10836
10839
|
return added;
|
|
10837
10840
|
}, "migrate");
|
|
10841
|
+
const settingSchema = /* @__PURE__ */ __name((key) => Object.hasOwn(profileEntries, key) ? profileEntries[key] : void 0, "settingSchema");
|
|
10838
10842
|
return {
|
|
10839
10843
|
resolveSettings,
|
|
10840
10844
|
configuredProfiles,
|
|
10845
|
+
settingSchema,
|
|
10841
10846
|
changeSetting,
|
|
10842
10847
|
migrate,
|
|
10843
10848
|
declaredSettings,
|
|
@@ -10881,7 +10886,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10881
10886
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10882
10887
|
}, "given");
|
|
10883
10888
|
|
|
10884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10889
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10885
10890
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
10886
10891
|
const slot = environmentOf(command).exit;
|
|
10887
10892
|
const request = commandServerRequest();
|
|
@@ -11017,7 +11022,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11017
11022
|
return words.join(" ");
|
|
11018
11023
|
}, "commandPath");
|
|
11019
11024
|
|
|
11020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11021
11026
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11022
11027
|
var FETCH = { remote: "read", local: "write" };
|
|
11023
11028
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11157,7 +11162,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11157
11162
|
throw readOnlyRefusal(lock, what);
|
|
11158
11163
|
}, "refuseUnderReadOnly");
|
|
11159
11164
|
|
|
11160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11161
11166
|
import { join as join5 } from "node:path";
|
|
11162
11167
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11163
11168
|
var IMAGE_MODELS = [
|
|
@@ -11211,7 +11216,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11211
11216
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11212
11217
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11213
11218
|
|
|
11214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11215
11220
|
var STEPS2 = defineSteps([
|
|
11216
11221
|
...STEPS,
|
|
11217
11222
|
{
|
|
@@ -11501,7 +11506,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11501
11506
|
].join(" ");
|
|
11502
11507
|
}, "stepLine");
|
|
11503
11508
|
|
|
11504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11505
11510
|
var where = [{ field: "ref" }];
|
|
11506
11511
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11507
11512
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11593,7 +11598,7 @@ var STATUS_ROWS = {
|
|
|
11593
11598
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11594
11599
|
};
|
|
11595
11600
|
|
|
11596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11597
11602
|
var TEXT_CHARS = 400;
|
|
11598
11603
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11599
11604
|
var messageRow = {
|
|
@@ -11961,7 +11966,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11961
11966
|
return lines.concat(footerOf(body)).join("\n");
|
|
11962
11967
|
}, "compactText");
|
|
11963
11968
|
|
|
11964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11965
11970
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11966
11971
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11967
11972
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12019,7 +12024,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12019
12024
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12020
12025
|
}, "largeAnswerSteps");
|
|
12021
12026
|
|
|
12022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12023
12028
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12024
12029
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12025
12030
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12033,7 +12038,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12033
12038
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12034
12039
|
}, "strip");
|
|
12035
12040
|
|
|
12036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12037
12042
|
var OPEN = "\u27E6";
|
|
12038
12043
|
var CLOSE = "\u27E7";
|
|
12039
12044
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12117,7 +12122,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12117
12122
|
return result;
|
|
12118
12123
|
}, "withFieldsMarked");
|
|
12119
12124
|
|
|
12120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12121
12126
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12122
12127
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12123
12128
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|