@wirecat/tg-cli 0.130.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-2XFPXBTA.js → adapter-OXVMOWVE.js} +60 -60
- package/dist/bundle/{all-profiles-GXFPZLYU.js → all-profiles-6OQC7PBL.js} +9 -9
- package/dist/bundle/{anthropic-FHS5XNK5.js → anthropic-YFMIHFW5.js} +5 -5
- package/dist/bundle/{app-server-IZMFSFP2.js → app-server-S7CJPJXN.js} +52 -52
- package/dist/bundle/{bot-api-V3ZJ75KE.js → bot-api-KJ6EZ4R6.js} +61 -61
- package/dist/bundle/{bot-history-EJQOD4AQ.js → bot-history-JYCXDFW4.js} +22 -22
- package/dist/bundle/{bun-GBAZFRCV.js → bun-FVTOBYZ2.js} +2 -2
- package/dist/bundle/{bun-sqlite-JB4BX6X7.js → bun-sqlite-KDGWBNOR.js} +6 -6
- package/dist/bundle/{chunk-KY3JLXW2.js → chunk-2LZD2VFV.js} +4 -4
- package/dist/bundle/{chunk-JUFLELQ7.js → chunk-2UGSIHLV.js} +2 -2
- package/dist/bundle/{chunk-TGRB4SSZ.js → chunk-3QHKZLBU.js} +4 -4
- package/dist/bundle/{chunk-6M3FAHPS.js → chunk-42MXCMW6.js} +3 -3
- package/dist/bundle/{chunk-HT6OFANN.js → chunk-44A2XRDE.js} +20 -20
- package/dist/bundle/{chunk-QJLCEOAP.js → chunk-4CKYANQH.js} +1 -1
- package/dist/bundle/{chunk-AUNNJDVD.js → chunk-4EDJJQJI.js} +28 -8
- package/dist/bundle/{chunk-2JZJPVBH.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-6JBRQ6PM.js → chunk-5UPEEMEF.js} +61 -19
- package/dist/bundle/{chunk-SYZXOEHY.js → chunk-6LPUK62N.js} +3 -3
- package/dist/bundle/{chunk-NRCY3WBC.js → chunk-74UPKW7H.js} +2 -2
- package/dist/bundle/{chunk-QDEP2QOA.js → chunk-7SEVVE3X.js} +3 -3
- package/dist/bundle/{chunk-PS7ZS5HD.js → chunk-A5D3J7XZ.js} +4 -4
- package/dist/bundle/{chunk-3XMUP55N.js → chunk-AERP2QR6.js} +10 -10
- package/dist/bundle/{chunk-RZPMFVWM.js → chunk-AUZWIBHJ.js} +6 -6
- package/dist/bundle/{chunk-OWVQMK7G.js → chunk-B4LGDOG5.js} +528 -389
- package/dist/bundle/{chunk-B6NQJAUC.js → chunk-BLZEQVP4.js} +2 -2
- package/dist/bundle/{chunk-GGGBPWUS.js → chunk-BMI2NWFI.js} +8 -8
- package/dist/bundle/{chunk-EB2JE722.js → chunk-BSXS7VAC.js} +1 -1
- package/dist/bundle/{chunk-FIO5NMK3.js → chunk-CFWFESBO.js} +8 -8
- package/dist/bundle/{chunk-QFVIHBLD.js → chunk-DSJNZXTP.js} +1 -1
- package/dist/bundle/{chunk-F6CV4KUN.js → chunk-DXPGMUOR.js} +2 -2
- package/dist/bundle/{chunk-IV6SIKVH.js → chunk-EPR67IRV.js} +4 -4
- package/dist/bundle/{chunk-BMSS3PCY.js → chunk-ESOFH7PA.js} +37 -30
- package/dist/bundle/{chunk-XXW6PFAX.js → chunk-FIUH52FE.js} +1 -1
- package/dist/bundle/{chunk-4BJAQNJ5.js → chunk-FKGYXIN7.js} +7 -7
- package/dist/bundle/{chunk-VSPSHBAC.js → chunk-FPSRT2TX.js} +2 -2
- package/dist/bundle/{chunk-OKTRB4ZQ.js → chunk-HBSKP7OV.js} +1 -1
- package/dist/bundle/{chunk-RAFK5KXU.js → chunk-IY7CTAOQ.js} +9 -9
- package/dist/bundle/{chunk-66UG67CE.js → chunk-IYJ4B632.js} +14 -13
- package/dist/bundle/{chunk-FH4YIBBH.js → chunk-JDNDWZYS.js} +4 -4
- package/dist/bundle/{chunk-C4ALE7CH.js → chunk-JMJOWT4N.js} +1 -1
- package/dist/bundle/{chunk-ZRQQOGAZ.js → chunk-JNWKV3QV.js} +4 -4
- package/dist/bundle/{chunk-2LPODKIF.js → chunk-JPSRC732.js} +17 -115
- package/dist/bundle/{chunk-SZB5WRMI.js → chunk-JZJV3DYK.js} +2 -2
- package/dist/bundle/{chunk-S5UTBEV3.js → chunk-KJICORS4.js} +38 -37
- package/dist/bundle/{chunk-RPWYTOLI.js → chunk-LF6FACSW.js} +5 -5
- package/dist/bundle/{chunk-QJDHRBXL.js → chunk-LG3K5NHX.js} +7 -7
- package/dist/bundle/{chunk-6WGAWISN.js → chunk-LMGVPDXN.js} +2 -2
- package/dist/bundle/{chunk-EUL7HMUL.js → chunk-LZ3HFDYL.js} +2 -2
- package/dist/bundle/{chunk-B5RGPZDZ.js → chunk-M2TV6BDB.js} +7 -7
- package/dist/bundle/{chunk-3KZG63EH.js → chunk-N5LZ6L4D.js} +3 -3
- package/dist/bundle/{chunk-O2ULG7OO.js → chunk-NLRGMP7M.js} +3 -3
- package/dist/bundle/{chunk-GYCKRIRK.js → chunk-NWCFO37P.js} +3 -3
- package/dist/bundle/{chunk-QBNEWEJC.js → chunk-NWDADTPE.js} +3 -3
- package/dist/bundle/{chunk-42LRWOTT.js → chunk-O3AM32YN.js} +15 -15
- package/dist/bundle/{chunk-7F3LOHRB.js → chunk-O43PARFS.js} +170 -162
- package/dist/bundle/{chunk-IRWSZJYL.js → chunk-OGZZUDJJ.js} +54 -54
- package/dist/bundle/{chunk-M327UNS6.js → chunk-OIRNHSAH.js} +6 -6
- package/dist/bundle/{chunk-XHX5D5VE.js → chunk-PG37E63A.js} +174 -72
- package/dist/bundle/{chunk-PWQKGFS2.js → chunk-PR4F3TYK.js} +30 -30
- package/dist/bundle/{chunk-I5PILOTU.js → chunk-PYECFCPD.js} +1 -1
- package/dist/bundle/{chunk-MVFSWKTM.js → chunk-QNEAPLOP.js} +12 -12
- package/dist/bundle/{chunk-VTJ3AOTT.js → chunk-QS46C5SW.js} +17 -17
- package/dist/bundle/{chunk-X5H5NERR.js → chunk-SMQ45RZX.js} +6 -6
- package/dist/bundle/{chunk-IBSHQWIJ.js → chunk-U7PHJSTX.js} +2 -2
- package/dist/bundle/{chunk-CKJ73EF3.js → chunk-UAFSDTID.js} +1 -1
- package/dist/bundle/{chunk-HHUK3XO5.js → chunk-UGD4SCUI.js} +1 -1
- package/dist/bundle/{chunk-MS6YEIG5.js → chunk-WAVRUADL.js} +13 -13
- package/dist/bundle/{chunk-VXWDQDRU.js → chunk-Y57EKZZK.js} +795 -467
- package/dist/bundle/{chunk-LQPZDDDP.js → chunk-YAPO7QNO.js} +6 -6
- package/dist/bundle/{chunk-G2SMVYBU.js → chunk-YRXSNH3R.js} +2 -2
- package/dist/bundle/{chunk-OJMDKWWL.js → chunk-YSNQGOUI.js} +2268 -1354
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-GSHTLLCJ.js → chunk-ZJIGVT6Z.js} +2 -2
- package/dist/bundle/{chunk-LPT5T6PU.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-YR6ONDWO.js → command-server-entry-TM264M2J.js} +27 -27
- package/dist/bundle/{decode-VUKGWFSW.js → decode-RJFOSHCE.js} +5 -5
- package/dist/bundle/{dispatch-ST5FK2KI.js → dispatch-7OZP3X4O.js} +8 -8
- package/dist/bundle/{echarts-GOV5M733.js → echarts-PYKF4D7B.js} +2 -2
- package/dist/bundle/{embed-2IVIYNAJ.js → embed-JFN6Z5TG.js} +6 -6
- package/dist/bundle/{embedder-2HU7JYZK.js → embedder-WN54JIMY.js} +9 -9
- package/dist/bundle/{entry-CSTCXYI5.js → entry-Z6LO6N6S.js} +9 -9
- package/dist/bundle/{failure-GMUQKQ5K.js → failure-UONA2IA5.js} +2 -2
- package/dist/bundle/{first-run-3IZGXZT5.js → first-run-WQAKES7G.js} +12 -12
- package/dist/bundle/first-screen-4RFG22SA.js +35 -0
- package/dist/bundle/{instructions-YSXV6FAC.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-FQBDHGRU.js → meeting-model-YVTUOM4H.js} +11 -11
- package/dist/bundle/{meeting-semantic-ONNEOJX5.js → meeting-semantic-X4KG6RNV.js} +6 -6
- package/dist/bundle/{node-FMQWCZRS.js → node-OVS5LTVZ.js} +2 -2
- package/dist/bundle/{node-sqlite-YN5OKOC6.js → node-sqlite-LC44SM4Z.js} +7 -7
- package/dist/bundle/{oauth-EW7PTZVT.js → oauth-NSVUFQCW.js} +7 -7
- package/dist/bundle/{open-Q2RDY344.js → open-XN5SJFVY.js} +5 -5
- package/dist/bundle/{openai-STON6G3O.js → openai-WOYZHJNL.js} +15 -15
- package/dist/bundle/{process-OQUC2TW3.js → process-UFBRGTQC.js} +1 -1
- package/dist/bundle/{program-N5BT75OC.js → program-RAGBRRQH.js} +65 -65
- package/dist/bundle/{prompt-WHVF7UTW.js → prompt-6HAKBUQN.js} +5 -5
- package/dist/bundle/{proxy-transport-A4MRO3PF.js → proxy-transport-5EJVFUTC.js} +5 -5
- package/dist/bundle/{recognize-YDQWMXNI.js → recognize-CN5COBVJ.js} +4 -4
- package/dist/bundle/{remote-477LQHP6.js → remote-STX5AMGE.js} +9 -9
- package/dist/bundle/{rerank-4YPB26FG.js → rerank-ZCOWTXIJ.js} +7 -7
- package/dist/bundle/{serve-FXJNUOTS.js → serve-XMQEOIG2.js} +9 -9
- package/dist/bundle/{server-2S6HFBGR.js → server-PGGUD3DM.js} +44 -44
- package/dist/bundle/server-WTNYWCZ4.js +69 -0
- package/dist/bundle/{sqlite-runtime-RXYNJYMC.js → sqlite-runtime-PS4DSOIU.js} +6 -6
- package/dist/bundle/{state-I2GGYGRL.js → state-GL4ZC57O.js} +6 -6
- package/dist/bundle/{store-KX3AAQZH.js → store-HJ76TLWD.js} +19 -19
- package/dist/bundle/{store-VQXIB6KV.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/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +11 -9
- package/dist/bundle/command-contract-G752BLKA.js +0 -37
- package/dist/bundle/first-screen-7QSNCZIK.js +0 -35
- package/dist/bundle/meeting-combined-X4E3LSIJ.js +0 -23
- package/dist/bundle/server-UOSUTZNE.js +0 -69
- package/dist/bundle/store-maintenance-command-LW2MMDLY.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"]);
|
|
@@ -5348,7 +5351,10 @@ var deal = strictObject({
|
|
|
5348
5351
|
external_id: nullableText,
|
|
5349
5352
|
/** A CRM copy's assignee, the identity `<account>/user/<id>`. */
|
|
5350
5353
|
assignee: nullableText,
|
|
5351
|
-
/**
|
|
5354
|
+
/**
|
|
5355
|
+
* A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. `amount_note` is
|
|
5356
|
+
* WireCat's own note, not a CRM field: the CRM's amount the store could not keep, and why.
|
|
5357
|
+
*/
|
|
5352
5358
|
provider_metadata: record(string(), strictObject({
|
|
5353
5359
|
label: nullable(string()),
|
|
5354
5360
|
value: unknown(),
|
|
@@ -5411,7 +5417,7 @@ var stage = strictObject({
|
|
|
5411
5417
|
untrusted
|
|
5412
5418
|
});
|
|
5413
5419
|
|
|
5414
|
-
// 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
|
|
5415
5421
|
var nullableText2 = nullable(text);
|
|
5416
5422
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5417
5423
|
var standing = picklist(STANDINGS);
|
|
@@ -5585,7 +5591,7 @@ var dealBrief = strictObject({
|
|
|
5585
5591
|
not_read: coverage2.entries.not_read
|
|
5586
5592
|
});
|
|
5587
5593
|
|
|
5588
|
-
// 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
|
|
5589
5595
|
var chart = strictObject({
|
|
5590
5596
|
version: literal(1),
|
|
5591
5597
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5600,7 +5606,7 @@ var chart = strictObject({
|
|
|
5600
5606
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5601
5607
|
});
|
|
5602
5608
|
|
|
5603
|
-
// 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
|
|
5604
5610
|
var named = strictObject({
|
|
5605
5611
|
id,
|
|
5606
5612
|
title: nullable(text),
|
|
@@ -5623,7 +5629,7 @@ var folder = strictObject({
|
|
|
5623
5629
|
excluded_chats: optional(array(named))
|
|
5624
5630
|
});
|
|
5625
5631
|
|
|
5626
|
-
// 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
|
|
5627
5633
|
var inviteLink = strictObject({
|
|
5628
5634
|
link: text,
|
|
5629
5635
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5639,7 +5645,7 @@ var inviteLink = strictObject({
|
|
|
5639
5645
|
joined_count: optional(count)
|
|
5640
5646
|
});
|
|
5641
5647
|
|
|
5642
|
-
// 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
|
|
5643
5649
|
var operated = { operation_id: id, chat_id: id };
|
|
5644
5650
|
var group = strictObject({
|
|
5645
5651
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5719,7 +5725,7 @@ var chatFolderOrder = strictObject({
|
|
|
5719
5725
|
folders: array(strictObject({ id, title: text }))
|
|
5720
5726
|
});
|
|
5721
5727
|
|
|
5722
|
-
// 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
|
|
5723
5729
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5724
5730
|
var chatRemoval = strictObject(operated2);
|
|
5725
5731
|
var chatMuting = strictObject({
|
|
@@ -5730,7 +5736,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5730
5736
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5731
5737
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5732
5738
|
|
|
5733
|
-
// 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
|
|
5734
5740
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5735
5741
|
var chatEvent = strictObject({
|
|
5736
5742
|
chat_id: id,
|
|
@@ -5747,7 +5753,7 @@ var chatEvent = strictObject({
|
|
|
5747
5753
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5748
5754
|
});
|
|
5749
5755
|
|
|
5750
|
-
// 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
|
|
5751
5757
|
var chatMetadata = strictObject({
|
|
5752
5758
|
chat_id: id,
|
|
5753
5759
|
title: nullable(text),
|
|
@@ -5762,7 +5768,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5762
5768
|
has_more: boolean()
|
|
5763
5769
|
});
|
|
5764
5770
|
|
|
5765
|
-
// 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
|
|
5766
5772
|
var action = picklist(["report", "delete", "remove"]);
|
|
5767
5773
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5768
5774
|
var chatRules = strictObject({
|
|
@@ -5799,7 +5805,7 @@ var chatModeration = strictObject({
|
|
|
5799
5805
|
}))
|
|
5800
5806
|
});
|
|
5801
5807
|
|
|
5802
|
-
// 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
|
|
5803
5809
|
var chatSending = strictObject({
|
|
5804
5810
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
5805
5811
|
meaning: text,
|
|
@@ -5809,7 +5815,7 @@ var chatSending = strictObject({
|
|
|
5809
5815
|
changed: optional(boolean())
|
|
5810
5816
|
});
|
|
5811
5817
|
|
|
5812
|
-
// 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
|
|
5813
5819
|
var optionalCount = optional(count);
|
|
5814
5820
|
var minutes = nullable(number());
|
|
5815
5821
|
var chatStats = strictObject({
|
|
@@ -5885,7 +5891,7 @@ var taskStats = strictObject({
|
|
|
5885
5891
|
}))
|
|
5886
5892
|
});
|
|
5887
5893
|
|
|
5888
|
-
// 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
|
|
5889
5895
|
var memberCount = strictObject({
|
|
5890
5896
|
day: pipe(text, isoDate()),
|
|
5891
5897
|
participants: nullable(count),
|
|
@@ -5908,7 +5914,7 @@ var chatTracking = strictObject({
|
|
|
5908
5914
|
tracked: boolean()
|
|
5909
5915
|
});
|
|
5910
5916
|
|
|
5911
|
-
// 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
|
|
5912
5918
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5913
5919
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5914
5920
|
var profileFields = {
|
|
@@ -5946,7 +5952,7 @@ var profileFields = {
|
|
|
5946
5952
|
}))
|
|
5947
5953
|
};
|
|
5948
5954
|
|
|
5949
|
-
// 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
|
|
5950
5956
|
var contact = strictObject({
|
|
5951
5957
|
ref: reference,
|
|
5952
5958
|
id,
|
|
@@ -5977,7 +5983,7 @@ var contact = strictObject({
|
|
|
5977
5983
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5978
5984
|
});
|
|
5979
5985
|
|
|
5980
|
-
// 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
|
|
5981
5987
|
var contactNote = strictObject({
|
|
5982
5988
|
id,
|
|
5983
5989
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5989,13 +5995,13 @@ var contactNote = strictObject({
|
|
|
5989
5995
|
updated_at: time
|
|
5990
5996
|
});
|
|
5991
5997
|
|
|
5992
|
-
// 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
|
|
5993
5999
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5994
6000
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5995
6001
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5996
6002
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5997
6003
|
|
|
5998
|
-
// 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
|
|
5999
6005
|
var conversation = strictObject({
|
|
6000
6006
|
id,
|
|
6001
6007
|
chat: reference,
|
|
@@ -6010,7 +6016,7 @@ var conversation = strictObject({
|
|
|
6010
6016
|
rules_version: count
|
|
6011
6017
|
});
|
|
6012
6018
|
|
|
6013
|
-
// 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
|
|
6014
6020
|
var conversationBuild = strictObject({
|
|
6015
6021
|
chat: id,
|
|
6016
6022
|
messages: count,
|
|
@@ -6035,7 +6041,7 @@ var catchUpPreparation = strictObject({
|
|
|
6035
6041
|
prepared: optional(conversationPreparation)
|
|
6036
6042
|
});
|
|
6037
6043
|
|
|
6038
|
-
// 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
|
|
6039
6045
|
var conversationDetails = union([
|
|
6040
6046
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6041
6047
|
message
|
|
@@ -6125,7 +6131,7 @@ var conversationHit = strictObject({
|
|
|
6125
6131
|
stale: boolean()
|
|
6126
6132
|
});
|
|
6127
6133
|
|
|
6128
|
-
// 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
|
|
6129
6135
|
var counters = strictObject({
|
|
6130
6136
|
cutoff: time,
|
|
6131
6137
|
max_age_ms: milliseconds,
|
|
@@ -6155,7 +6161,7 @@ var counterRefresh = strictObject({
|
|
|
6155
6161
|
complete: optional(boolean())
|
|
6156
6162
|
});
|
|
6157
6163
|
|
|
6158
|
-
// 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
|
|
6159
6165
|
var document = strictObject({
|
|
6160
6166
|
ref: reference,
|
|
6161
6167
|
id,
|
|
@@ -6170,7 +6176,7 @@ var document = strictObject({
|
|
|
6170
6176
|
owners: optional(array(text))
|
|
6171
6177
|
});
|
|
6172
6178
|
|
|
6173
|
-
// 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
|
|
6174
6180
|
var documentLink = strictObject({
|
|
6175
6181
|
ref: reference,
|
|
6176
6182
|
url: text,
|
|
@@ -6181,7 +6187,7 @@ var documentLink = strictObject({
|
|
|
6181
6187
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6182
6188
|
});
|
|
6183
6189
|
|
|
6184
|
-
// 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
|
|
6185
6191
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6186
6192
|
var contribution = strictObject({
|
|
6187
6193
|
message: evidenceMessage,
|
|
@@ -6211,7 +6217,7 @@ var retentionStay = strictObject({
|
|
|
6211
6217
|
});
|
|
6212
6218
|
var evidence = union([contribution, retentionStay]);
|
|
6213
6219
|
|
|
6214
|
-
// 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
|
|
6215
6221
|
var fact = strictObject({
|
|
6216
6222
|
ref: reference,
|
|
6217
6223
|
id,
|
|
@@ -6242,7 +6248,7 @@ var fact = strictObject({
|
|
|
6242
6248
|
updated_at: time
|
|
6243
6249
|
});
|
|
6244
6250
|
|
|
6245
|
-
// 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
|
|
6246
6252
|
var hit = strictObject({
|
|
6247
6253
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6248
6254
|
ref: reference,
|
|
@@ -6290,7 +6296,7 @@ var hit = strictObject({
|
|
|
6290
6296
|
untrusted
|
|
6291
6297
|
});
|
|
6292
6298
|
|
|
6293
|
-
// 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
|
|
6294
6300
|
var identity = strictObject({
|
|
6295
6301
|
ref: reference,
|
|
6296
6302
|
provider: text,
|
|
@@ -6306,7 +6312,7 @@ var identity = strictObject({
|
|
|
6306
6312
|
person: optional(nullable(reference))
|
|
6307
6313
|
});
|
|
6308
6314
|
|
|
6309
|
-
// 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
|
|
6310
6316
|
var imageEmbedding = strictObject({
|
|
6311
6317
|
model: text,
|
|
6312
6318
|
embedded: count,
|
|
@@ -6315,13 +6321,13 @@ var imageEmbedding = strictObject({
|
|
|
6315
6321
|
more: boolean()
|
|
6316
6322
|
});
|
|
6317
6323
|
|
|
6318
|
-
// 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
|
|
6319
6325
|
import { spawn } from "node:child_process";
|
|
6320
6326
|
import { randomBytes } from "node:crypto";
|
|
6321
6327
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6322
6328
|
import { dirname, join } from "node:path";
|
|
6323
6329
|
|
|
6324
|
-
// 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
|
|
6325
6331
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6326
6332
|
const total = input.total ?? null;
|
|
6327
6333
|
const updated = input.updatedAt ?? null;
|
|
@@ -6337,7 +6343,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6337
6343
|
};
|
|
6338
6344
|
}, "progressOf");
|
|
6339
6345
|
|
|
6340
|
-
// 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
|
|
6341
6347
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6342
6348
|
const run = currentRun();
|
|
6343
6349
|
const trace = traceId ?? run.traceId;
|
|
@@ -6351,7 +6357,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6351
6357
|
}));
|
|
6352
6358
|
}, "recordLogFor");
|
|
6353
6359
|
|
|
6354
|
-
// 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
|
|
6355
6361
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6356
6362
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6357
6363
|
const out = openSync(log, "a", 384);
|
|
@@ -6506,7 +6512,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6506
6512
|
return { job: id6, pid, chat: input.chat, log };
|
|
6507
6513
|
}, "startArchiveJob");
|
|
6508
6514
|
|
|
6509
|
-
// 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
|
|
6510
6516
|
var problem = strictObject({ code: text, message: text });
|
|
6511
6517
|
var job = strictObject({
|
|
6512
6518
|
id,
|
|
@@ -6529,7 +6535,7 @@ var job = strictObject({
|
|
|
6529
6535
|
error: optional(problem)
|
|
6530
6536
|
});
|
|
6531
6537
|
|
|
6532
|
-
// 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
|
|
6533
6539
|
var joinRequest = strictObject({
|
|
6534
6540
|
person_id: id,
|
|
6535
6541
|
name: nullable(text),
|
|
@@ -6540,7 +6546,7 @@ var joinRequest = strictObject({
|
|
|
6540
6546
|
about: optional(text)
|
|
6541
6547
|
});
|
|
6542
6548
|
|
|
6543
|
-
// 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
|
|
6544
6550
|
var botProfile = strictObject({
|
|
6545
6551
|
name: text,
|
|
6546
6552
|
token: text,
|
|
@@ -6664,7 +6670,7 @@ var stickerInventory = strictObject({
|
|
|
6664
6670
|
url: optional(nullable(text))
|
|
6665
6671
|
});
|
|
6666
6672
|
|
|
6667
|
-
// 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
|
|
6668
6674
|
var pollVote = strictObject({
|
|
6669
6675
|
person_id: id,
|
|
6670
6676
|
name: nullable(text),
|
|
@@ -6674,7 +6680,7 @@ var pollVote = strictObject({
|
|
|
6674
6680
|
voted_at: time
|
|
6675
6681
|
});
|
|
6676
6682
|
|
|
6677
|
-
// 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
|
|
6678
6684
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6679
6685
|
var observation = strictObject({
|
|
6680
6686
|
value: pipe(number(), minValue(0)),
|
|
@@ -6716,7 +6722,7 @@ var serveSummary = strictObject({
|
|
|
6716
6722
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6717
6723
|
});
|
|
6718
6724
|
|
|
6719
|
-
// 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
|
|
6720
6726
|
var mailCounts = strictObject({
|
|
6721
6727
|
by: picklist(["day", "week", "sender"]),
|
|
6722
6728
|
received: count,
|
|
@@ -6731,7 +6737,7 @@ var mailCounts = strictObject({
|
|
|
6731
6737
|
}))
|
|
6732
6738
|
});
|
|
6733
6739
|
|
|
6734
|
-
// 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
|
|
6735
6741
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6736
6742
|
var base = { id, evidence: array(evidence2) };
|
|
6737
6743
|
var finding = variant("kind", [
|
|
@@ -6875,7 +6881,7 @@ var mailFindings = strictObject({
|
|
|
6875
6881
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6876
6882
|
});
|
|
6877
6883
|
|
|
6878
|
-
// 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
|
|
6879
6885
|
var mediaArchive = strictObject({
|
|
6880
6886
|
directory: text,
|
|
6881
6887
|
chats: count,
|
|
@@ -6907,7 +6913,7 @@ var mediaArchiveTimer = union([
|
|
|
6907
6913
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6908
6914
|
]);
|
|
6909
6915
|
|
|
6910
|
-
// 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
|
|
6911
6917
|
var preparationId = pipe(string(), minLength(1));
|
|
6912
6918
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6913
6919
|
var preparationTime = nullable(isoTime);
|
|
@@ -6999,7 +7005,7 @@ var preparationMeeting = strictObject({
|
|
|
6999
7005
|
updated_at: isoTime
|
|
7000
7006
|
});
|
|
7001
7007
|
|
|
7002
|
-
// 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
|
|
7003
7009
|
var meetingEvidence = preparationEvidence;
|
|
7004
7010
|
var meetingPersonContext = strictObject({
|
|
7005
7011
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -7021,7 +7027,7 @@ var meetingPersonContext = strictObject({
|
|
|
7021
7027
|
})
|
|
7022
7028
|
});
|
|
7023
7029
|
|
|
7024
|
-
// 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
|
|
7025
7031
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
7026
7032
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
7027
7033
|
var finding2 = variant("kind", [
|
|
@@ -7059,7 +7065,7 @@ var meetingFindings = strictObject({
|
|
|
7059
7065
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7060
7066
|
});
|
|
7061
7067
|
|
|
7062
|
-
// 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
|
|
7063
7069
|
var communicationCoverage = strictObject({
|
|
7064
7070
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7065
7071
|
query: string(),
|
|
@@ -7104,7 +7110,7 @@ var preparationCommunications = strictObject({
|
|
|
7104
7110
|
}))
|
|
7105
7111
|
});
|
|
7106
7112
|
|
|
7107
|
-
// 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
|
|
7108
7114
|
var meetingPreparation = strictObject({
|
|
7109
7115
|
communications: optional(preparationCommunications),
|
|
7110
7116
|
schema_version: literal(1),
|
|
@@ -7217,7 +7223,7 @@ var meetingPreparation = strictObject({
|
|
|
7217
7223
|
})
|
|
7218
7224
|
});
|
|
7219
7225
|
|
|
7220
|
-
// 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
|
|
7221
7227
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7222
7228
|
var id3 = pipe(string(), minLength(1));
|
|
7223
7229
|
var text3 = string();
|
|
@@ -7281,7 +7287,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7281
7287
|
})
|
|
7282
7288
|
});
|
|
7283
7289
|
|
|
7284
|
-
// 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
|
|
7285
7291
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7286
7292
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7287
7293
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7311,7 +7317,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7311
7317
|
})
|
|
7312
7318
|
});
|
|
7313
7319
|
|
|
7314
|
-
// 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
|
|
7315
7321
|
var text4 = string();
|
|
7316
7322
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7317
7323
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7328,7 +7334,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7328
7334
|
persistence: literal("proposal-only")
|
|
7329
7335
|
});
|
|
7330
7336
|
|
|
7331
|
-
// 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
|
|
7332
7338
|
var memory = strictObject({
|
|
7333
7339
|
ref: reference,
|
|
7334
7340
|
id,
|
|
@@ -7356,7 +7362,7 @@ var memory = strictObject({
|
|
|
7356
7362
|
updated_at: time
|
|
7357
7363
|
});
|
|
7358
7364
|
|
|
7359
|
-
// 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
|
|
7360
7366
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7361
7367
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7362
7368
|
var mention = strictObject({
|
|
@@ -7400,13 +7406,13 @@ var mentionRebuild = strictObject({
|
|
|
7400
7406
|
mentions: count
|
|
7401
7407
|
});
|
|
7402
7408
|
|
|
7403
|
-
// 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
|
|
7404
7410
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7405
7411
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7406
7412
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7407
7413
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7408
7414
|
|
|
7409
|
-
// 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
|
|
7410
7416
|
var messageTranscript = strictObject({
|
|
7411
7417
|
message_id: id,
|
|
7412
7418
|
text,
|
|
@@ -7464,7 +7470,7 @@ var evidencePacket = strictObject({
|
|
|
7464
7470
|
}))
|
|
7465
7471
|
});
|
|
7466
7472
|
|
|
7467
|
-
// 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
|
|
7468
7474
|
var messageThread = strictObject({
|
|
7469
7475
|
ref: reference,
|
|
7470
7476
|
chat: id,
|
|
@@ -7481,7 +7487,7 @@ var messageThread = strictObject({
|
|
|
7481
7487
|
});
|
|
7482
7488
|
var messageContext = union([message, messageThread]);
|
|
7483
7489
|
|
|
7484
|
-
// 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
|
|
7485
7491
|
var messageCounts = strictObject({
|
|
7486
7492
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7487
7493
|
total: count,
|
|
@@ -7494,7 +7500,7 @@ var messageCounts = strictObject({
|
|
|
7494
7500
|
}))
|
|
7495
7501
|
});
|
|
7496
7502
|
|
|
7497
|
-
// 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
|
|
7498
7504
|
var messageLink = strictObject({
|
|
7499
7505
|
ref: reference,
|
|
7500
7506
|
url: nullable(text),
|
|
@@ -7511,7 +7517,7 @@ var messageLink = strictObject({
|
|
|
7511
7517
|
})))
|
|
7512
7518
|
});
|
|
7513
7519
|
|
|
7514
|
-
// 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
|
|
7515
7521
|
var savedMessageFile = strictObject({
|
|
7516
7522
|
kind: text,
|
|
7517
7523
|
path: text,
|
|
@@ -7598,7 +7604,7 @@ var messageSyncAll = strictObject({
|
|
|
7598
7604
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7599
7605
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7600
7606
|
|
|
7601
|
-
// 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
|
|
7602
7608
|
var messageWrite = strictObject({
|
|
7603
7609
|
operation_id: id,
|
|
7604
7610
|
message,
|
|
@@ -7613,7 +7619,7 @@ var draftWrite = strictObject({
|
|
|
7613
7619
|
});
|
|
7614
7620
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7615
7621
|
|
|
7616
|
-
// 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
|
|
7617
7623
|
var model = strictObject({
|
|
7618
7624
|
id,
|
|
7619
7625
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7648,7 +7654,7 @@ var chosenModel = strictObject({
|
|
|
7648
7654
|
estimate_seconds: nullable(count)
|
|
7649
7655
|
});
|
|
7650
7656
|
|
|
7651
|
-
// 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
|
|
7652
7658
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7653
7659
|
var modelKey = strictObject({
|
|
7654
7660
|
provider: text,
|
|
@@ -7658,7 +7664,7 @@ var modelKey = strictObject({
|
|
|
7658
7664
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7659
7665
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7660
7666
|
|
|
7661
|
-
// 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
|
|
7662
7668
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7663
7669
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7664
7670
|
var graph = strictObject({
|
|
@@ -7692,14 +7698,14 @@ var officialStats = strictObject({
|
|
|
7692
7698
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7693
7699
|
});
|
|
7694
7700
|
|
|
7695
|
-
// 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
|
|
7696
7702
|
var person2 = strictObject({
|
|
7697
7703
|
ref: reference,
|
|
7698
7704
|
name: nullable(text),
|
|
7699
7705
|
identities: optional(array(identity))
|
|
7700
7706
|
});
|
|
7701
7707
|
|
|
7702
|
-
// 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
|
|
7703
7709
|
var poll = strictObject({
|
|
7704
7710
|
chat_id: id,
|
|
7705
7711
|
message_id: id,
|
|
@@ -7715,11 +7721,11 @@ var poll = strictObject({
|
|
|
7715
7721
|
});
|
|
7716
7722
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7717
7723
|
|
|
7718
|
-
// 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
|
|
7719
7725
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7720
7726
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7721
7727
|
|
|
7722
|
-
// 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
|
|
7723
7729
|
var figures = record(string(), number());
|
|
7724
7730
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7725
7731
|
var rankingRow = strictObject({
|
|
@@ -7766,7 +7772,7 @@ var ranking = strictObject({
|
|
|
7766
7772
|
rows: array(rankingRow)
|
|
7767
7773
|
});
|
|
7768
7774
|
|
|
7769
|
-
// 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
|
|
7770
7776
|
var reaction = strictObject({
|
|
7771
7777
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7772
7778
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7774,7 +7780,7 @@ var reaction = strictObject({
|
|
|
7774
7780
|
reacted_at: time
|
|
7775
7781
|
});
|
|
7776
7782
|
|
|
7777
|
-
// 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
|
|
7778
7784
|
var reactionChange = strictObject({
|
|
7779
7785
|
operation_id: id,
|
|
7780
7786
|
chat_id: id,
|
|
@@ -7782,7 +7788,7 @@ var reactionChange = strictObject({
|
|
|
7782
7788
|
reaction: nullable(text)
|
|
7783
7789
|
});
|
|
7784
7790
|
|
|
7785
|
-
// 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
|
|
7786
7792
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7787
7793
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7788
7794
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7793,7 +7799,7 @@ var recipientChange = strictObject({
|
|
|
7793
7799
|
...partial(recipientOff).entries
|
|
7794
7800
|
});
|
|
7795
7801
|
|
|
7796
|
-
// 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
|
|
7797
7803
|
var events = array(record(string(), unknown()));
|
|
7798
7804
|
var recordedRun = strictObject({
|
|
7799
7805
|
run_id: id,
|
|
@@ -7865,7 +7871,7 @@ var runHit = strictObject({
|
|
|
7865
7871
|
});
|
|
7866
7872
|
var runLocation = strictObject({ path: text });
|
|
7867
7873
|
|
|
7868
|
-
// 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
|
|
7869
7875
|
var relationship = strictObject({
|
|
7870
7876
|
id,
|
|
7871
7877
|
from: reference,
|
|
@@ -7892,7 +7898,7 @@ var relationship = strictObject({
|
|
|
7892
7898
|
created_at: time
|
|
7893
7899
|
});
|
|
7894
7900
|
|
|
7895
|
-
// 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
|
|
7896
7902
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7897
7903
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7898
7904
|
var responseTimes = strictObject({
|
|
@@ -7909,7 +7915,7 @@ var waitingChats = strictObject({
|
|
|
7909
7915
|
by_kind: strictObject({ private: count, group: count })
|
|
7910
7916
|
});
|
|
7911
7917
|
|
|
7912
|
-
// 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
|
|
7913
7919
|
var retentionCohort = strictObject({
|
|
7914
7920
|
/** The first day of the joining day or week. */
|
|
7915
7921
|
cohort: text,
|
|
@@ -7957,7 +7963,7 @@ var retention = strictObject({
|
|
|
7957
7963
|
rows: array(retentionCohort)
|
|
7958
7964
|
});
|
|
7959
7965
|
|
|
7960
|
-
// 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
|
|
7961
7967
|
var savedSearch = strictObject({
|
|
7962
7968
|
id,
|
|
7963
7969
|
/** `null` for a run in the history. */
|
|
@@ -7974,7 +7980,7 @@ var savedSearch = strictObject({
|
|
|
7974
7980
|
});
|
|
7975
7981
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7976
7982
|
|
|
7977
|
-
// 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
|
|
7978
7984
|
var sendAttempt = strictObject({
|
|
7979
7985
|
at: time,
|
|
7980
7986
|
profile: text,
|
|
@@ -8002,7 +8008,7 @@ var sendAttempt = strictObject({
|
|
|
8002
8008
|
error_code: optional(text)
|
|
8003
8009
|
});
|
|
8004
8010
|
|
|
8005
|
-
// 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
|
|
8006
8012
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
8007
8013
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
8008
8014
|
var infoSchema = strictObject({
|
|
@@ -8232,7 +8238,7 @@ var storeRepair = union([
|
|
|
8232
8238
|
]);
|
|
8233
8239
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8234
8240
|
|
|
8235
|
-
// 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
|
|
8236
8242
|
var range = strictObject({ from: number(), to: number() });
|
|
8237
8243
|
var storeChatStatus = strictObject({
|
|
8238
8244
|
chat_id: id,
|
|
@@ -8330,7 +8336,7 @@ var storeJobRetry = union([
|
|
|
8330
8336
|
]);
|
|
8331
8337
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8332
8338
|
|
|
8333
|
-
// 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
|
|
8334
8340
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8335
8341
|
var storeTable = strictObject({
|
|
8336
8342
|
name: text,
|
|
@@ -8339,7 +8345,7 @@ var storeTable = strictObject({
|
|
|
8339
8345
|
bytes: optional(nullable(count))
|
|
8340
8346
|
});
|
|
8341
8347
|
|
|
8342
|
-
// 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
|
|
8343
8349
|
var tagTarget = variant("type", [
|
|
8344
8350
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8345
8351
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8370,7 +8376,7 @@ var automaticTags = strictObject({
|
|
|
8370
8376
|
dry_run: boolean()
|
|
8371
8377
|
});
|
|
8372
8378
|
|
|
8373
|
-
// 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
|
|
8374
8380
|
var tagging = strictObject({
|
|
8375
8381
|
tag: text,
|
|
8376
8382
|
type: picklist(TAG_TYPES),
|
|
@@ -8383,7 +8389,7 @@ var tagging = strictObject({
|
|
|
8383
8389
|
created_at: time
|
|
8384
8390
|
});
|
|
8385
8391
|
|
|
8386
|
-
// 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
|
|
8387
8393
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8388
8394
|
var taskPair = strictObject({
|
|
8389
8395
|
task: nullable(side),
|
|
@@ -8406,7 +8412,7 @@ var taskPair = strictObject({
|
|
|
8406
8412
|
created_at: time
|
|
8407
8413
|
});
|
|
8408
8414
|
|
|
8409
|
-
// 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
|
|
8410
8416
|
var nullableTime = nullable(time);
|
|
8411
8417
|
var link = strictObject({
|
|
8412
8418
|
id,
|
|
@@ -8580,7 +8586,7 @@ var taskReview = strictObject({
|
|
|
8580
8586
|
untrusted
|
|
8581
8587
|
});
|
|
8582
8588
|
|
|
8583
|
-
// 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
|
|
8584
8590
|
var template = strictObject({
|
|
8585
8591
|
key: text,
|
|
8586
8592
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8592,7 +8598,7 @@ var template = strictObject({
|
|
|
8592
8598
|
updated_by: nullable(text)
|
|
8593
8599
|
});
|
|
8594
8600
|
|
|
8595
|
-
// 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
|
|
8596
8602
|
var topic = strictObject({
|
|
8597
8603
|
id,
|
|
8598
8604
|
title: text,
|
|
@@ -8606,7 +8612,7 @@ var topic = strictObject({
|
|
|
8606
8612
|
untrusted
|
|
8607
8613
|
});
|
|
8608
8614
|
|
|
8609
|
-
// 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
|
|
8610
8616
|
var ENTITIES = {
|
|
8611
8617
|
sync_progress: progress,
|
|
8612
8618
|
deal,
|
|
@@ -8905,7 +8911,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8905
8911
|
return [name, definition];
|
|
8906
8912
|
})), "entityDefinitions");
|
|
8907
8913
|
|
|
8908
|
-
// 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
|
|
8909
8915
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8910
8916
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8911
8917
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8939,7 +8945,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8939
8945
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8940
8946
|
}, "answerRow");
|
|
8941
8947
|
|
|
8942
|
-
// 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
|
|
8943
8949
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8944
8950
|
var requests = new AsyncLocalStorage();
|
|
8945
8951
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8954,7 +8960,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8954
8960
|
return direct;
|
|
8955
8961
|
}, "exitCodeSet");
|
|
8956
8962
|
|
|
8957
|
-
// 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
|
|
8958
8964
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8959
8965
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8960
8966
|
messageId: message2.id,
|
|
@@ -9060,7 +9066,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9060
9066
|
}, "guardedWrite");
|
|
9061
9067
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9062
9068
|
|
|
9063
|
-
// 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
|
|
9064
9070
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9065
9071
|
try {
|
|
9066
9072
|
return work();
|
|
@@ -9087,7 +9093,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9087
9093
|
return projectFields(value, fields);
|
|
9088
9094
|
}), "projectFields");
|
|
9089
9095
|
|
|
9090
|
-
// 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
|
|
9091
9097
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9092
9098
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9093
9099
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9270,7 +9276,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9270
9276
|
}
|
|
9271
9277
|
}, "withAbort");
|
|
9272
9278
|
|
|
9273
|
-
// 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
|
|
9274
9280
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9275
9281
|
import { join as join2 } from "node:path";
|
|
9276
9282
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9359,7 +9365,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9359
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));
|
|
9360
9366
|
}, "registryProfiles");
|
|
9361
9367
|
|
|
9362
|
-
// 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
|
|
9363
9369
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9364
9370
|
import { join as join3 } from "node:path";
|
|
9365
9371
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9381,7 +9387,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9381
9387
|
}, "profilesWithAccounts");
|
|
9382
9388
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9383
9389
|
|
|
9384
|
-
// 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
|
|
9385
9391
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9386
9392
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9387
9393
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9417,7 +9423,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9417
9423
|
return value;
|
|
9418
9424
|
}, "atDetail");
|
|
9419
9425
|
|
|
9420
|
-
// 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
|
|
9421
9427
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9422
9428
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9423
9429
|
if (other)
|
|
@@ -9481,7 +9487,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9481
9487
|
}, "warn")
|
|
9482
9488
|
}), "silence");
|
|
9483
9489
|
|
|
9484
|
-
// 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
|
|
9485
9491
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9486
9492
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9487
9493
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9519,7 +9525,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9519
9525
|
progress: "sync.progress"
|
|
9520
9526
|
};
|
|
9521
9527
|
|
|
9522
|
-
// 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
|
|
9523
9529
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9524
9530
|
const recording = startRecording(options);
|
|
9525
9531
|
try {
|
|
@@ -9734,7 +9740,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9734
9740
|
return void 0;
|
|
9735
9741
|
}, "partialOutcome");
|
|
9736
9742
|
|
|
9737
|
-
// 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
|
|
9738
9744
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9739
9745
|
if (ms2 === void 0)
|
|
9740
9746
|
return body();
|
|
@@ -9760,7 +9766,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9760
9766
|
}
|
|
9761
9767
|
}, "withDeadline");
|
|
9762
9768
|
|
|
9763
|
-
// 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
|
|
9764
9770
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9765
9771
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9766
9772
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9829,10 +9835,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9829
9835
|
return void 0;
|
|
9830
9836
|
}, "sampleCommand");
|
|
9831
9837
|
|
|
9832
|
-
// 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
|
|
9833
9839
|
import { existsSync as existsSync5 } from "node:fs";
|
|
9834
9840
|
|
|
9835
|
-
// 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
|
|
9836
9842
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9837
9843
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9838
9844
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9901,7 +9907,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9901
9907
|
};
|
|
9902
9908
|
}, "modelTarget");
|
|
9903
9909
|
|
|
9904
|
-
// 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
|
|
9905
9911
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9906
9912
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9907
9913
|
var AI_FIELDS = {
|
|
@@ -9945,7 +9951,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9945
9951
|
};
|
|
9946
9952
|
}, "resolveAISettings");
|
|
9947
9953
|
|
|
9948
|
-
// 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
|
|
9949
9955
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9950
9956
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9951
9957
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9959,7 +9965,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9959
9965
|
return ms2;
|
|
9960
9966
|
}, "parseDuration");
|
|
9961
9967
|
|
|
9962
|
-
// 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
|
|
9963
9969
|
var HISTORY_MAX_DAYS = 1095;
|
|
9964
9970
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9965
9971
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10006,7 +10012,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10006
10012
|
return { batch: { ...batch, messages }, skipped };
|
|
10007
10013
|
}, "limitBatch");
|
|
10008
10014
|
|
|
10009
|
-
// 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
|
|
10010
10016
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10011
10017
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10012
10018
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10301,7 +10307,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10301
10307
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10302
10308
|
}, "readConfigFile");
|
|
10303
10309
|
|
|
10304
|
-
// 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
|
|
10305
10311
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10306
10312
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10307
10313
|
var DEFAULT_CONFIG = {
|
|
@@ -10330,7 +10336,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10330
10336
|
}
|
|
10331
10337
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10332
10338
|
|
|
10333
|
-
// 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
|
|
10334
10340
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10335
10341
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10336
10342
|
const path2 = key.split(".");
|
|
@@ -10352,7 +10358,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10352
10358
|
return { config, added };
|
|
10353
10359
|
}, "withSettingDefaults");
|
|
10354
10360
|
|
|
10355
|
-
// 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
|
|
10356
10362
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10357
10363
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10358
10364
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10501,13 +10507,13 @@ var NoProfileHere = class extends CliError {
|
|
|
10501
10507
|
}
|
|
10502
10508
|
app;
|
|
10503
10509
|
constructor(app) {
|
|
10504
|
-
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: [] });
|
|
10505
10511
|
this.app = app;
|
|
10506
10512
|
}
|
|
10507
10513
|
/** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
|
|
10508
10514
|
withoutSetup(words) {
|
|
10509
10515
|
const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
|
|
10510
|
-
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: [] });
|
|
10511
10517
|
}
|
|
10512
10518
|
};
|
|
10513
10519
|
var first = /* @__PURE__ */ __name((candidates, fallback) => {
|
|
@@ -10585,7 +10591,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10585
10591
|
const here = profilesOf(config, env);
|
|
10586
10592
|
if (here.length === 0)
|
|
10587
10593
|
throw new NoProfileHere(app);
|
|
10588
|
-
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 });
|
|
10589
10595
|
}, "unnamed");
|
|
10590
10596
|
const profilesOf = /* @__PURE__ */ __name((config, env) => profilesHere(app, [...namedProfiles(config), ...extension.profiles?.(env) ?? []], env), "profilesOf");
|
|
10591
10597
|
const botsOf = /* @__PURE__ */ __name((config, env) => [.../* @__PURE__ */ new Set([...Object.keys(config.bot?.profiles ?? {}), ...registryProfiles(app, env)])].sort(), "botsOf");
|
|
@@ -10832,9 +10838,11 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10832
10838
|
saveConfigFile(path2, config);
|
|
10833
10839
|
return added;
|
|
10834
10840
|
}, "migrate");
|
|
10841
|
+
const settingSchema = /* @__PURE__ */ __name((key) => Object.hasOwn(profileEntries, key) ? profileEntries[key] : void 0, "settingSchema");
|
|
10835
10842
|
return {
|
|
10836
10843
|
resolveSettings,
|
|
10837
10844
|
configuredProfiles,
|
|
10845
|
+
settingSchema,
|
|
10838
10846
|
changeSetting,
|
|
10839
10847
|
migrate,
|
|
10840
10848
|
declaredSettings,
|
|
@@ -10878,7 +10886,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10878
10886
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10879
10887
|
}, "given");
|
|
10880
10888
|
|
|
10881
|
-
// 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
|
|
10882
10890
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
10883
10891
|
const slot = environmentOf(command).exit;
|
|
10884
10892
|
const request = commandServerRequest();
|
|
@@ -11014,7 +11022,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11014
11022
|
return words.join(" ");
|
|
11015
11023
|
}, "commandPath");
|
|
11016
11024
|
|
|
11017
|
-
// 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
|
|
11018
11026
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11019
11027
|
var FETCH = { remote: "read", local: "write" };
|
|
11020
11028
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11154,7 +11162,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11154
11162
|
throw readOnlyRefusal(lock, what);
|
|
11155
11163
|
}, "refuseUnderReadOnly");
|
|
11156
11164
|
|
|
11157
|
-
// 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
|
|
11158
11166
|
import { join as join5 } from "node:path";
|
|
11159
11167
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11160
11168
|
var IMAGE_MODELS = [
|
|
@@ -11208,7 +11216,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11208
11216
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11209
11217
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11210
11218
|
|
|
11211
|
-
// 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
|
|
11212
11220
|
var STEPS2 = defineSteps([
|
|
11213
11221
|
...STEPS,
|
|
11214
11222
|
{
|
|
@@ -11498,7 +11506,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11498
11506
|
].join(" ");
|
|
11499
11507
|
}, "stepLine");
|
|
11500
11508
|
|
|
11501
|
-
// 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
|
|
11502
11510
|
var where = [{ field: "ref" }];
|
|
11503
11511
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11504
11512
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11590,7 +11598,7 @@ var STATUS_ROWS = {
|
|
|
11590
11598
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11591
11599
|
};
|
|
11592
11600
|
|
|
11593
|
-
// 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
|
|
11594
11602
|
var TEXT_CHARS = 400;
|
|
11595
11603
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11596
11604
|
var messageRow = {
|
|
@@ -11958,7 +11966,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11958
11966
|
return lines.concat(footerOf(body)).join("\n");
|
|
11959
11967
|
}, "compactText");
|
|
11960
11968
|
|
|
11961
|
-
// 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
|
|
11962
11970
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11963
11971
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11964
11972
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12016,7 +12024,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12016
12024
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12017
12025
|
}, "largeAnswerSteps");
|
|
12018
12026
|
|
|
12019
|
-
// 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
|
|
12020
12028
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12021
12029
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12022
12030
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12030,7 +12038,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12030
12038
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12031
12039
|
}, "strip");
|
|
12032
12040
|
|
|
12033
|
-
// 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
|
|
12034
12042
|
var OPEN = "\u27E6";
|
|
12035
12043
|
var CLOSE = "\u27E7";
|
|
12036
12044
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12114,7 +12122,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12114
12122
|
return result;
|
|
12115
12123
|
}, "withFieldsMarked");
|
|
12116
12124
|
|
|
12117
|
-
// 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
|
|
12118
12126
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12119
12127
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12120
12128
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|