@wirecat/tg-cli 0.132.0 → 0.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +138 -317
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-OXVMOWVE.js → adapter-GSGX3WBH.js} +61 -60
- package/dist/bundle/{all-profiles-6OQC7PBL.js → all-profiles-VOCJ55YH.js} +9 -9
- package/dist/bundle/{anthropic-YFMIHFW5.js → anthropic-J6CTLU3W.js} +5 -5
- package/dist/bundle/{app-server-S7CJPJXN.js → app-server-GVFGA4TJ.js} +57 -57
- package/dist/bundle/{bot-api-KJ6EZ4R6.js → bot-api-LWONPIGK.js} +62 -61
- package/dist/bundle/{bot-history-JYCXDFW4.js → bot-history-XOW7Y2GC.js} +22 -22
- package/dist/bundle/{bun-FVTOBYZ2.js → bun-436CH6CP.js} +2 -2
- package/dist/bundle/{bun-sqlite-KDGWBNOR.js → bun-sqlite-ZLB5RK5Q.js} +6 -6
- package/dist/bundle/chunk-2KQDJHF3.js +88 -0
- package/dist/bundle/{chunk-4CKYANQH.js → chunk-54WLIPIQ.js} +1 -1
- package/dist/bundle/{chunk-IY7CTAOQ.js → chunk-57KJ3TRS.js} +9 -9
- package/dist/bundle/{chunk-YAPO7QNO.js → chunk-5HKPQPD4.js} +6 -6
- package/dist/bundle/{chunk-EPR67IRV.js → chunk-5L44DSHV.js} +4 -4
- package/dist/bundle/{chunk-IYJ4B632.js → chunk-5LRTYBZW.js} +12 -12
- package/dist/bundle/{chunk-AUZWIBHJ.js → chunk-6A44ZZFC.js} +6 -6
- package/dist/bundle/{chunk-44A2XRDE.js → chunk-6CHIGUCY.js} +19 -19
- package/dist/bundle/{chunk-42MXCMW6.js → chunk-6H2NW6HK.js} +3 -3
- package/dist/bundle/{chunk-JPSRC732.js → chunk-6S77EKZU.js} +13 -13
- package/dist/bundle/{chunk-FPSRT2TX.js → chunk-6VCSOQFL.js} +2 -2
- package/dist/bundle/{chunk-4ZTVJHWU.js → chunk-7NF3V5L2.js} +4 -4
- package/dist/bundle/{chunk-Y57EKZZK.js → chunk-7NYP4RBO.js} +1617 -963
- package/dist/bundle/{chunk-BLZEQVP4.js → chunk-BXVB42KJ.js} +2 -2
- package/dist/bundle/{chunk-A5D3J7XZ.js → chunk-CEJYNB3I.js} +4 -4
- package/dist/bundle/{chunk-LZ3HFDYL.js → chunk-D2SJLZSH.js} +2 -2
- package/dist/bundle/{chunk-LF6FACSW.js → chunk-H7ML7X3G.js} +5 -5
- package/dist/bundle/{chunk-O3AM32YN.js → chunk-HB5DP6L5.js} +15 -15
- package/dist/bundle/{chunk-NWCFO37P.js → chunk-IBCXEVNY.js} +3 -3
- package/dist/bundle/{chunk-U7PHJSTX.js → chunk-IH4Z3KZU.js} +2 -2
- package/dist/bundle/{chunk-LMGVPDXN.js → chunk-IPPCQ7IK.js} +2 -2
- package/dist/bundle/{chunk-OIRNHSAH.js → chunk-IYAXLLGR.js} +6 -6
- package/dist/bundle/{chunk-5UPEEMEF.js → chunk-JGMXBAGH.js} +104 -41
- package/dist/bundle/{chunk-4YB7JU2W.js → chunk-JKSD43L7.js} +6 -6
- package/dist/bundle/{chunk-YSNQGOUI.js → chunk-JPNVEPS4.js} +439 -394
- package/dist/bundle/{chunk-74UPKW7H.js → chunk-KEN4B57V.js} +2 -2
- package/dist/bundle/{chunk-PYECFCPD.js → chunk-KHUXDSXN.js} +1 -1
- package/dist/bundle/{chunk-2UGSIHLV.js → chunk-KUA24HWG.js} +2 -2
- package/dist/bundle/{chunk-JMJOWT4N.js → chunk-KVFUH5IT.js} +1 -1
- package/dist/bundle/{chunk-KJICORS4.js → chunk-LBZEZO32.js} +36 -36
- package/dist/bundle/{chunk-5RDNBG7D.js → chunk-LIQMUDIZ.js} +2 -2
- package/dist/bundle/{chunk-ESOFH7PA.js → chunk-LOS4D6ZB.js} +60 -30
- package/dist/bundle/{chunk-PR4F3TYK.js → chunk-LQQSDGQ6.js} +35 -36
- package/dist/bundle/{chunk-BSXS7VAC.js → chunk-M6QOM6SL.js} +1 -1
- package/dist/bundle/{chunk-B4LGDOG5.js → chunk-N3JUHGKM.js} +302 -282
- package/dist/bundle/{chunk-CFWFESBO.js → chunk-N7QREPZW.js} +8 -8
- package/dist/bundle/{chunk-7SEVVE3X.js → chunk-NAXOT35J.js} +3 -3
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-DXPGMUOR.js → chunk-NTWXL2QV.js} +2 -2
- package/dist/bundle/{chunk-BMI2NWFI.js → chunk-O6JUVATT.js} +8 -8
- package/dist/bundle/{chunk-FKGYXIN7.js → chunk-OWY52JBO.js} +7 -7
- package/dist/bundle/{chunk-UGD4SCUI.js → chunk-OX73ERZW.js} +1 -1
- package/dist/bundle/{chunk-ZRW3DF25.js → chunk-QGWISM4W.js} +24 -24
- package/dist/bundle/{chunk-4EDJJQJI.js → chunk-QVGEL66U.js} +8 -8
- package/dist/bundle/{chunk-LG3K5NHX.js → chunk-QWO7L4UH.js} +7 -7
- package/dist/bundle/{chunk-DSJNZXTP.js → chunk-QYLZD4DS.js} +1 -1
- package/dist/bundle/{chunk-PG37E63A.js → chunk-RABUG4KA.js} +60 -60
- package/dist/bundle/{chunk-HBSKP7OV.js → chunk-SMI2EUH4.js} +1 -1
- package/dist/bundle/{chunk-2LZD2VFV.js → chunk-SMU6NA7F.js} +4 -4
- package/dist/bundle/{chunk-AERP2QR6.js → chunk-TCI7I6YF.js} +10 -10
- package/dist/bundle/{chunk-SMQ45RZX.js → chunk-THYGLTRB.js} +9 -60
- package/dist/bundle/{chunk-NLRGMP7M.js → chunk-TPD37ECC.js} +3 -3
- package/dist/bundle/{chunk-FIUH52FE.js → chunk-TTDZVWDU.js} +1 -1
- package/dist/bundle/{chunk-YRXSNH3R.js → chunk-UGS57TT5.js} +2 -2
- package/dist/bundle/{chunk-OGZZUDJJ.js → chunk-UIAKLELF.js} +54 -54
- package/dist/bundle/{chunk-O43PARFS.js → chunk-UKBK2VWZ.js} +208 -161
- package/dist/bundle/{chunk-JNWKV3QV.js → chunk-UQYL6TJ7.js} +4 -4
- package/dist/bundle/{chunk-3QHKZLBU.js → chunk-UZ63ORMY.js} +4 -4
- package/dist/bundle/{chunk-UAFSDTID.js → chunk-VCAOH45X.js} +1 -1
- package/dist/bundle/{chunk-6LPUK62N.js → chunk-VGN5YXYI.js} +3 -3
- package/dist/bundle/{chunk-N5LZ6L4D.js → chunk-VTQMR3XG.js} +3 -3
- package/dist/bundle/{chunk-QS46C5SW.js → chunk-VWJTYAIQ.js} +17 -17
- package/dist/bundle/{chunk-M2TV6BDB.js → chunk-WCYKVX3B.js} +7 -7
- package/dist/bundle/{chunk-QNEAPLOP.js → chunk-XDQU5HBO.js} +12 -12
- package/dist/bundle/{chunk-ZJIGVT6Z.js → chunk-XKOMP3HV.js} +2 -2
- package/dist/bundle/{chunk-JDNDWZYS.js → chunk-XOX4BX5A.js} +4 -4
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-JZJV3DYK.js → chunk-YY6FGKGD.js} +2 -2
- package/dist/bundle/{chunk-WAVRUADL.js → chunk-ZHO3TPHM.js} +13 -13
- package/dist/bundle/{chunk-NWDADTPE.js → chunk-ZYAHZKYF.js} +3 -3
- package/dist/bundle/command-contract-TQIARAB4.js +37 -0
- package/dist/bundle/{command-server-entry-TM264M2J.js → command-server-entry-AE27QXTE.js} +27 -27
- package/dist/bundle/{decode-RJFOSHCE.js → decode-RQPPZ72F.js} +5 -5
- package/dist/bundle/{dispatch-7OZP3X4O.js → dispatch-KQO2MCSH.js} +8 -8
- package/dist/bundle/{echarts-PYKF4D7B.js → echarts-FZRIACN4.js} +2 -2
- package/dist/bundle/{embed-JFN6Z5TG.js → embed-TOSWWMDL.js} +6 -6
- package/dist/bundle/{embedder-WN54JIMY.js → embedder-JHIQSBGD.js} +9 -9
- package/dist/bundle/{entry-Z6LO6N6S.js → entry-DU4KRXTG.js} +9 -9
- package/dist/bundle/{failure-UONA2IA5.js → failure-3YC3YGYO.js} +2 -2
- package/dist/bundle/{first-run-WQAKES7G.js → first-run-DQQT4FID.js} +12 -12
- package/dist/bundle/first-screen-7N4CTZSA.js +37 -0
- package/dist/bundle/{instructions-PR4BBBTM.js → instructions-WI64CJQ6.js} +1 -1
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-3RAOFQ7M.js +23 -0
- package/dist/bundle/{meeting-model-YVTUOM4H.js → meeting-model-XNRSREIK.js} +11 -11
- package/dist/bundle/{meeting-semantic-X4KG6RNV.js → meeting-semantic-OOSCHQMB.js} +6 -6
- package/dist/bundle/{node-OVS5LTVZ.js → node-JLKDNVKV.js} +2 -2
- package/dist/bundle/{node-sqlite-LC44SM4Z.js → node-sqlite-YOGH26O2.js} +7 -7
- package/dist/bundle/{oauth-NSVUFQCW.js → oauth-FOMXM5HP.js} +7 -7
- package/dist/bundle/{open-XN5SJFVY.js → open-SM2UXUKM.js} +5 -5
- package/dist/bundle/{openai-WOYZHJNL.js → openai-J2H7S6ZF.js} +15 -15
- package/dist/bundle/{process-UFBRGTQC.js → process-HI7OZBOI.js} +1 -1
- package/dist/bundle/{program-RAGBRRQH.js → program-VY4HFU25.js} +64 -63
- package/dist/bundle/{prompt-6HAKBUQN.js → prompt-NUUVFMOF.js} +5 -5
- package/dist/bundle/{proxy-transport-5EJVFUTC.js → proxy-transport-AN4VMRRN.js} +5 -5
- package/dist/bundle/{recognize-CN5COBVJ.js → recognize-MALJHPDI.js} +4 -4
- package/dist/bundle/{remote-STX5AMGE.js → remote-QUDRSTS2.js} +9 -9
- package/dist/bundle/{rerank-ZCOWTXIJ.js → rerank-2DSO3D3S.js} +7 -7
- package/dist/bundle/{serve-XMQEOIG2.js → serve-NCJ52MY3.js} +9 -9
- package/dist/bundle/server-CHGON5I2.js +70 -0
- package/dist/bundle/{server-PGGUD3DM.js → server-Y3M544AM.js} +49 -49
- package/dist/bundle/{sqlite-runtime-PS4DSOIU.js → sqlite-runtime-NJUSXVKK.js} +6 -6
- package/dist/bundle/{state-GL4ZC57O.js → state-AVOWQVET.js} +6 -6
- package/dist/bundle/{store-HJ76TLWD.js → store-BZ5ICDRP.js} +23 -19
- package/dist/bundle/{store-VISFXSHL.js → store-MMIYOL4H.js} +19 -17
- package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +61 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +78 -576
- package/skills/tg-cli/references/files.md +64 -0
- package/skills/tg-cli/references/history.md +22 -0
- package/skills/tg-cli/references/mcp-and-bots.md +54 -0
- package/skills/tg-cli/references/messages.md +111 -0
- package/skills/tg-cli/references/people.md +85 -0
- package/skills/tg-cli/references/search.md +130 -0
- package/skills/tg-cli/references/setup.md +91 -0
- package/skills/tg-cli/references/stats.md +45 -0
- package/skills/tg-cli/references/tasks.md +54 -0
- package/dist/bundle/command-contract-FRH7LBGE.js +0 -37
- package/dist/bundle/first-screen-4RFG22SA.js +0 -35
- package/dist/bundle/meeting-combined-MHWTZOF2.js +0 -23
- package/dist/bundle/server-WTNYWCZ4.js +0 -69
- package/dist/bundle/store-maintenance-command-SMARMN5C.js +0 -60
- /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QWO7L4UH.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NAXOT35J.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestorValue,
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KEN4B57V.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QYLZD4DS.js";
|
|
25
25
|
import {
|
|
26
26
|
note
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IBCXEVNY.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_RERANK_MODEL,
|
|
30
30
|
RERANK_MODELS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JKSD43L7.js";
|
|
32
32
|
import {
|
|
33
33
|
endpoint
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-H7ML7X3G.js";
|
|
35
35
|
import {
|
|
36
36
|
filesPresent,
|
|
37
37
|
sharedModelsDirectory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5L44DSHV.js";
|
|
39
39
|
import {
|
|
40
40
|
BUSINESS_KINDS,
|
|
41
41
|
CATEGORIES,
|
|
@@ -93,18 +93,18 @@ import {
|
|
|
93
93
|
typedCommand,
|
|
94
94
|
untrusted,
|
|
95
95
|
useAsProcessRun
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-LBZEZO32.js";
|
|
97
97
|
import {
|
|
98
98
|
isCliFailure,
|
|
99
99
|
storeDamaged
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-ZYAHZKYF.js";
|
|
101
101
|
import {
|
|
102
102
|
TAG_TYPES
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-IH4Z3KZU.js";
|
|
104
104
|
import {
|
|
105
105
|
repairConfigText,
|
|
106
106
|
sharedConfigPath
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-WCYKVX3B.js";
|
|
108
108
|
import {
|
|
109
109
|
FACT_TYPES,
|
|
110
110
|
FIELD_TYPES,
|
|
@@ -132,10 +132,10 @@ import {
|
|
|
132
132
|
parseLucene,
|
|
133
133
|
readsZone,
|
|
134
134
|
timezoneOf
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-RABUG4KA.js";
|
|
136
136
|
import {
|
|
137
137
|
storePath
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-6VCSOQFL.js";
|
|
139
139
|
import {
|
|
140
140
|
configFilePath,
|
|
141
141
|
createRecordLog,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
resolvePaths,
|
|
148
148
|
saveConfigFile,
|
|
149
149
|
writeSecurely
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-6CHIGUCY.js";
|
|
151
151
|
import {
|
|
152
152
|
COMPACT_FLAG,
|
|
153
153
|
MAX_NEXT_STEPS,
|
|
@@ -199,18 +199,18 @@ import {
|
|
|
199
199
|
unwrap,
|
|
200
200
|
variant,
|
|
201
201
|
writes
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-QVGEL66U.js";
|
|
203
203
|
import {
|
|
204
204
|
CliError,
|
|
205
205
|
isCliError,
|
|
206
206
|
singleLine,
|
|
207
207
|
visibleControls
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
209
209
|
import {
|
|
210
210
|
__name
|
|
211
211
|
} from "./chunk-ZVVMGPBJ.js";
|
|
212
212
|
|
|
213
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
214
214
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
215
215
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
216
216
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3711,7 +3711,7 @@ __name(useColor, "useColor");
|
|
|
3711
3711
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3712
3712
|
var program = new Command();
|
|
3713
3713
|
|
|
3714
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3714
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3715
3715
|
import { isDeepStrictEqual } from "node:util";
|
|
3716
3716
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3717
3717
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3913,7 +3913,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3913
3913
|
return command;
|
|
3914
3914
|
}, "customizeSharedCommand");
|
|
3915
3915
|
|
|
3916
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3916
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3917
3917
|
var argumentInfoSchema = object({
|
|
3918
3918
|
name: string(),
|
|
3919
3919
|
required: boolean(),
|
|
@@ -3987,7 +3987,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3987
3987
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3988
3988
|
});
|
|
3989
3989
|
|
|
3990
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3990
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3991
3991
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3992
3992
|
let command = root;
|
|
3993
3993
|
const path2 = [];
|
|
@@ -4005,7 +4005,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4005
4005
|
}
|
|
4006
4006
|
}, "refuseJoinedPath");
|
|
4007
4007
|
|
|
4008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4009
4009
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4010
4010
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4011
4011
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4431,7 +4431,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4431
4431
|
}
|
|
4432
4432
|
}, "assertRetentionEvidenceRead");
|
|
4433
4433
|
|
|
4434
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4435
4435
|
var account = strictObject({
|
|
4436
4436
|
provider: text,
|
|
4437
4437
|
id,
|
|
@@ -4441,7 +4441,7 @@ var account = strictObject({
|
|
|
4441
4441
|
scope: optional(picklist(["personal", "work"]))
|
|
4442
4442
|
});
|
|
4443
4443
|
|
|
4444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4444
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4445
4445
|
var accountSession = strictObject({
|
|
4446
4446
|
current: boolean(),
|
|
4447
4447
|
client: nullable(text),
|
|
@@ -4451,7 +4451,7 @@ var accountSession = strictObject({
|
|
|
4451
4451
|
created_at: optional(nullable(time))
|
|
4452
4452
|
});
|
|
4453
4453
|
|
|
4454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4455
4455
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4456
4456
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4457
4457
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4480,7 +4480,7 @@ var accountRemoval = strictObject({
|
|
|
4480
4480
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4481
4481
|
});
|
|
4482
4482
|
|
|
4483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4484
4484
|
var accountProfile = strictObject({
|
|
4485
4485
|
profile: id,
|
|
4486
4486
|
current: boolean(),
|
|
@@ -4492,7 +4492,7 @@ var accountProfile = strictObject({
|
|
|
4492
4492
|
bot: optional(literal(true))
|
|
4493
4493
|
});
|
|
4494
4494
|
|
|
4495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4496
4496
|
var milliseconds = pipe(number(), minValue(0));
|
|
4497
4497
|
var counterReading = strictObject({
|
|
4498
4498
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4504,7 +4504,7 @@ var counterReading = strictObject({
|
|
|
4504
4504
|
});
|
|
4505
4505
|
var selection = record(string(), unknown());
|
|
4506
4506
|
|
|
4507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4508
4508
|
var adminRow = strictObject({
|
|
4509
4509
|
ref: reference,
|
|
4510
4510
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4557,7 +4557,7 @@ var adminReport = strictObject({
|
|
|
4557
4557
|
rows: array(adminRow)
|
|
4558
4558
|
});
|
|
4559
4559
|
|
|
4560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4561
4561
|
var closeSuggestion = strictObject({
|
|
4562
4562
|
as: picklist(["done", "dismissed"]),
|
|
4563
4563
|
/** The agent's name. */
|
|
@@ -4619,7 +4619,7 @@ var task = strictObject({
|
|
|
4619
4619
|
updated_at: optional(time)
|
|
4620
4620
|
});
|
|
4621
4621
|
|
|
4622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4623
4623
|
var agendaChat = strictObject({
|
|
4624
4624
|
chat: reference,
|
|
4625
4625
|
title: nullable(text),
|
|
@@ -4689,11 +4689,11 @@ var agenda = strictObject({
|
|
|
4689
4689
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4690
4690
|
});
|
|
4691
4691
|
|
|
4692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4693
4693
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4694
4694
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4695
4695
|
|
|
4696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4697
4697
|
var attachment = strictObject({
|
|
4698
4698
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4699
4699
|
message: optional(reference),
|
|
@@ -4738,7 +4738,7 @@ var hitFile = strictObject({
|
|
|
4738
4738
|
local_path: optional(text)
|
|
4739
4739
|
});
|
|
4740
4740
|
|
|
4741
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4741
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4742
4742
|
var actionableError = objectWithRest({
|
|
4743
4743
|
code: text,
|
|
4744
4744
|
message: text,
|
|
@@ -4755,7 +4755,7 @@ var batchResult = strictObject({
|
|
|
4755
4755
|
max_error_percent: count
|
|
4756
4756
|
});
|
|
4757
4757
|
|
|
4758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4759
4759
|
var extractionItem = strictObject({
|
|
4760
4760
|
ref: reference,
|
|
4761
4761
|
attachment: count,
|
|
@@ -4788,7 +4788,7 @@ var extractionReport = strictObject({
|
|
|
4788
4788
|
cursor: optional(text)
|
|
4789
4789
|
});
|
|
4790
4790
|
|
|
4791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4792
4792
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4793
4793
|
var attachmentBytes = strictObject({
|
|
4794
4794
|
ref: reference,
|
|
@@ -4819,7 +4819,7 @@ var attachmentTextChange = strictObject({
|
|
|
4819
4819
|
text: optional(text)
|
|
4820
4820
|
});
|
|
4821
4821
|
|
|
4822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4823
4823
|
var WEIGHTS = {
|
|
4824
4824
|
bot: 3,
|
|
4825
4825
|
scam: 3,
|
|
@@ -4844,7 +4844,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4844
4844
|
var DIGITS = /\d{5,}/;
|
|
4845
4845
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4846
4846
|
|
|
4847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4848
4848
|
var linkedIdentity = strictObject({
|
|
4849
4849
|
provider: text,
|
|
4850
4850
|
id,
|
|
@@ -4899,7 +4899,7 @@ var contactCheck = strictObject({
|
|
|
4899
4899
|
checked_at: time
|
|
4900
4900
|
});
|
|
4901
4901
|
|
|
4902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4903
4903
|
var member = strictObject({
|
|
4904
4904
|
id,
|
|
4905
4905
|
name: nullable(text),
|
|
@@ -4922,7 +4922,7 @@ var member = strictObject({
|
|
|
4922
4922
|
check: optional(record(string(), unknown()))
|
|
4923
4923
|
});
|
|
4924
4924
|
|
|
4925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4926
4926
|
var setting = optional(nullable(boolean()));
|
|
4927
4927
|
var chat = strictObject({
|
|
4928
4928
|
ref: reference,
|
|
@@ -4963,7 +4963,7 @@ var chat = strictObject({
|
|
|
4963
4963
|
members: optional(array(member))
|
|
4964
4964
|
});
|
|
4965
4965
|
|
|
4966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4967
4967
|
var quoted = strictObject({
|
|
4968
4968
|
id,
|
|
4969
4969
|
sender_id: nullable(id),
|
|
@@ -5082,7 +5082,7 @@ var message = strictObject({
|
|
|
5082
5082
|
provider_metadata: providerMetadata
|
|
5083
5083
|
});
|
|
5084
5084
|
|
|
5085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
5086
5086
|
var recordedMeeting = strictObject({
|
|
5087
5087
|
ref: reference,
|
|
5088
5088
|
meeting_id: count,
|
|
@@ -5091,13 +5091,15 @@ var recordedMeeting = strictObject({
|
|
|
5091
5091
|
started_at: nullable(time),
|
|
5092
5092
|
duration_ms: nullable(count),
|
|
5093
5093
|
has_transcript: boolean(),
|
|
5094
|
+
/** The start of its transcript, on one line: what the people said, never instructions. */
|
|
5095
|
+
snippet: optional(nullable(text)),
|
|
5094
5096
|
event: nullable(reference),
|
|
5095
5097
|
people: array(reference),
|
|
5096
5098
|
/** Present only on a phone call: its direction, manager and the other side's number. */
|
|
5097
5099
|
call: optional(meetingCall)
|
|
5098
5100
|
});
|
|
5099
5101
|
|
|
5100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5101
5103
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5102
5104
|
var contextMessage = strictObject({
|
|
5103
5105
|
locator: reference,
|
|
@@ -5303,7 +5305,7 @@ var contactPreparation = strictObject({
|
|
|
5303
5305
|
})
|
|
5304
5306
|
});
|
|
5305
5307
|
|
|
5306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5307
5309
|
var nullableText = nullable(text);
|
|
5308
5310
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5309
5311
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5321,6 +5323,12 @@ var activity = strictObject({
|
|
|
5321
5323
|
created_at: time,
|
|
5322
5324
|
updated_at: time
|
|
5323
5325
|
});
|
|
5326
|
+
var stageEntry = strictObject({
|
|
5327
|
+
from: nullableText,
|
|
5328
|
+
to: text,
|
|
5329
|
+
at: time,
|
|
5330
|
+
exact: boolean()
|
|
5331
|
+
});
|
|
5324
5332
|
var deal = strictObject({
|
|
5325
5333
|
id,
|
|
5326
5334
|
ref: reference,
|
|
@@ -5379,9 +5387,30 @@ var deal = strictObject({
|
|
|
5379
5387
|
activities: optional(array(activity)),
|
|
5380
5388
|
/** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
|
|
5381
5389
|
meetings: optional(array(recordedMeeting)),
|
|
5390
|
+
/**
|
|
5391
|
+
* `show` of a CRM copy: every stage it entered, oldest first. Once the CRM's own history names any, it alone is
|
|
5392
|
+
* listed, from as far back as it was read; the copy's changes between syncs are left out.
|
|
5393
|
+
*/
|
|
5394
|
+
stage_history: optional(array(stageEntry)),
|
|
5382
5395
|
untrusted
|
|
5383
5396
|
});
|
|
5384
5397
|
var lead = deal;
|
|
5398
|
+
var amount = strictObject({ amount: text, currency: text, items: count });
|
|
5399
|
+
var winRate = nullable(number());
|
|
5400
|
+
var pipelineOwner = strictObject({
|
|
5401
|
+
assignee: nullableText,
|
|
5402
|
+
name: nullableText,
|
|
5403
|
+
open: count,
|
|
5404
|
+
won: count,
|
|
5405
|
+
lost: count,
|
|
5406
|
+
win_rate: winRate
|
|
5407
|
+
});
|
|
5408
|
+
var pipelineClosed = strictObject({
|
|
5409
|
+
won: count,
|
|
5410
|
+
lost: count,
|
|
5411
|
+
win_rate: winRate,
|
|
5412
|
+
won_amounts: array(amount)
|
|
5413
|
+
});
|
|
5385
5414
|
var pipelineStage = strictObject({
|
|
5386
5415
|
name: text,
|
|
5387
5416
|
position: count,
|
|
@@ -5394,8 +5423,11 @@ var pipelineStage = strictObject({
|
|
|
5394
5423
|
conversion: optional(nullable(number())),
|
|
5395
5424
|
/** With a funnel: rows standing in it now, and their sum per currency, never converted. */
|
|
5396
5425
|
items: optional(count),
|
|
5397
|
-
amounts: optional(array(
|
|
5426
|
+
amounts: optional(array(amount)),
|
|
5427
|
+
/** With a funnel: the median days a row of the window stayed in it before it moved on. */
|
|
5428
|
+
median_days: optional(nullable(number()))
|
|
5398
5429
|
});
|
|
5430
|
+
var pipelineStageAnswer = pipelineStage;
|
|
5399
5431
|
var pipeline = strictObject({
|
|
5400
5432
|
id,
|
|
5401
5433
|
ref: reference,
|
|
@@ -5403,10 +5435,20 @@ var pipeline = strictObject({
|
|
|
5403
5435
|
kind: picklist(["deal", "lead"]),
|
|
5404
5436
|
account: crmAccount,
|
|
5405
5437
|
external_id: nullableText,
|
|
5406
|
-
stages: array(
|
|
5438
|
+
stages: array(pipelineStageAnswer),
|
|
5407
5439
|
created_at: time,
|
|
5408
|
-
|
|
5440
|
+
/** `show`: the rows made in the window. */
|
|
5441
|
+
totals: optional(strictObject({ items: count, open: count, won: count, lost: count, win_rate: winRate })),
|
|
5442
|
+
window: optional(strictObject({ since: nullable(time), until: nullable(time) })),
|
|
5409
5443
|
since: optional(day),
|
|
5444
|
+
/** `show`: rows closed on a day in the window, in the owner's zone. */
|
|
5445
|
+
closed: optional(pipelineClosed),
|
|
5446
|
+
/** `show`: days from made to won, of the rows won in the window. */
|
|
5447
|
+
cycle: optional(strictObject({ median_days: nullable(number()), items: count })),
|
|
5448
|
+
owners: optional(array(pipelineOwner)),
|
|
5449
|
+
lost_reasons: optional(array(strictObject({ reason: text, items: count }))),
|
|
5450
|
+
/** `show`: rows whose stages came from the CRM's own history, and from the copy's diffs. */
|
|
5451
|
+
history: optional(strictObject({ exact: count, copy: count })),
|
|
5410
5452
|
untrusted
|
|
5411
5453
|
});
|
|
5412
5454
|
var stage = strictObject({
|
|
@@ -5414,10 +5456,12 @@ var stage = strictObject({
|
|
|
5414
5456
|
pipeline: reference,
|
|
5415
5457
|
pipeline_name: text,
|
|
5416
5458
|
kind: picklist(["deal", "lead"]),
|
|
5459
|
+
/** A CRM's stage: the task its `stage-tasks` rule opens when a row enters it, or `null`. */
|
|
5460
|
+
stage_task: optional(nullable(strictObject({ title: text, due_days: count }))),
|
|
5417
5461
|
untrusted
|
|
5418
5462
|
});
|
|
5419
5463
|
|
|
5420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5421
5465
|
var nullableText2 = nullable(text);
|
|
5422
5466
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5423
5467
|
var standing = picklist(STANDINGS);
|
|
@@ -5548,7 +5592,7 @@ var organizationContext = strictObject({
|
|
|
5548
5592
|
var { untrusted: _, ...dealRow } = deal.entries;
|
|
5549
5593
|
var dealContext = strictObject({
|
|
5550
5594
|
deal: strictObject(dealRow),
|
|
5551
|
-
stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time })),
|
|
5595
|
+
stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time, exact: boolean() })),
|
|
5552
5596
|
organization: nullable(strictObject({ ref: reference, name: nullableText2, categories })),
|
|
5553
5597
|
participants: section(related),
|
|
5554
5598
|
owner: nullable(related),
|
|
@@ -5563,6 +5607,9 @@ var dealContext = strictObject({
|
|
|
5563
5607
|
title: nullableText2,
|
|
5564
5608
|
at: nullable(time),
|
|
5565
5609
|
people: array(reference),
|
|
5610
|
+
text: optional(nullableText2),
|
|
5611
|
+
call: optional(meetingCall),
|
|
5612
|
+
duration_ms: optional(nullable(count)),
|
|
5566
5613
|
standing: literal("proposed")
|
|
5567
5614
|
})).entries,
|
|
5568
5615
|
counts: strictObject(counts)
|
|
@@ -5591,7 +5638,7 @@ var dealBrief = strictObject({
|
|
|
5591
5638
|
not_read: coverage2.entries.not_read
|
|
5592
5639
|
});
|
|
5593
5640
|
|
|
5594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5595
5642
|
var chart = strictObject({
|
|
5596
5643
|
version: literal(1),
|
|
5597
5644
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5606,7 +5653,7 @@ var chart = strictObject({
|
|
|
5606
5653
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5607
5654
|
});
|
|
5608
5655
|
|
|
5609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5610
5657
|
var named = strictObject({
|
|
5611
5658
|
id,
|
|
5612
5659
|
title: nullable(text),
|
|
@@ -5629,7 +5676,7 @@ var folder = strictObject({
|
|
|
5629
5676
|
excluded_chats: optional(array(named))
|
|
5630
5677
|
});
|
|
5631
5678
|
|
|
5632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5679
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5633
5680
|
var inviteLink = strictObject({
|
|
5634
5681
|
link: text,
|
|
5635
5682
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5645,7 +5692,7 @@ var inviteLink = strictObject({
|
|
|
5645
5692
|
joined_count: optional(count)
|
|
5646
5693
|
});
|
|
5647
5694
|
|
|
5648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5649
5696
|
var operated = { operation_id: id, chat_id: id };
|
|
5650
5697
|
var group = strictObject({
|
|
5651
5698
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5725,7 +5772,7 @@ var chatFolderOrder = strictObject({
|
|
|
5725
5772
|
folders: array(strictObject({ id, title: text }))
|
|
5726
5773
|
});
|
|
5727
5774
|
|
|
5728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5729
5776
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5730
5777
|
var chatRemoval = strictObject(operated2);
|
|
5731
5778
|
var chatMuting = strictObject({
|
|
@@ -5736,7 +5783,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5736
5783
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5737
5784
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5738
5785
|
|
|
5739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5740
5787
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5741
5788
|
var chatEvent = strictObject({
|
|
5742
5789
|
chat_id: id,
|
|
@@ -5753,7 +5800,7 @@ var chatEvent = strictObject({
|
|
|
5753
5800
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5754
5801
|
});
|
|
5755
5802
|
|
|
5756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5757
5804
|
var chatMetadata = strictObject({
|
|
5758
5805
|
chat_id: id,
|
|
5759
5806
|
title: nullable(text),
|
|
@@ -5768,7 +5815,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5768
5815
|
has_more: boolean()
|
|
5769
5816
|
});
|
|
5770
5817
|
|
|
5771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5772
5819
|
var action = picklist(["report", "delete", "remove"]);
|
|
5773
5820
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5774
5821
|
var chatRules = strictObject({
|
|
@@ -5805,7 +5852,7 @@ var chatModeration = strictObject({
|
|
|
5805
5852
|
}))
|
|
5806
5853
|
});
|
|
5807
5854
|
|
|
5808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5855
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
5809
5856
|
var chatSending = strictObject({
|
|
5810
5857
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
5811
5858
|
meaning: text,
|
|
@@ -5815,7 +5862,7 @@ var chatSending = strictObject({
|
|
|
5815
5862
|
changed: optional(boolean())
|
|
5816
5863
|
});
|
|
5817
5864
|
|
|
5818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5819
5866
|
var optionalCount = optional(count);
|
|
5820
5867
|
var minutes = nullable(number());
|
|
5821
5868
|
var chatStats = strictObject({
|
|
@@ -5891,7 +5938,7 @@ var taskStats = strictObject({
|
|
|
5891
5938
|
}))
|
|
5892
5939
|
});
|
|
5893
5940
|
|
|
5894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5941
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5895
5942
|
var memberCount = strictObject({
|
|
5896
5943
|
day: pipe(text, isoDate()),
|
|
5897
5944
|
participants: nullable(count),
|
|
@@ -5914,7 +5961,7 @@ var chatTracking = strictObject({
|
|
|
5914
5961
|
tracked: boolean()
|
|
5915
5962
|
});
|
|
5916
5963
|
|
|
5917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5918
5965
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5919
5966
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5920
5967
|
var profileFields = {
|
|
@@ -5952,7 +5999,7 @@ var profileFields = {
|
|
|
5952
5999
|
}))
|
|
5953
6000
|
};
|
|
5954
6001
|
|
|
5955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5956
6003
|
var contact = strictObject({
|
|
5957
6004
|
ref: reference,
|
|
5958
6005
|
id,
|
|
@@ -5983,7 +6030,7 @@ var contact = strictObject({
|
|
|
5983
6030
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5984
6031
|
});
|
|
5985
6032
|
|
|
5986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5987
6034
|
var contactNote = strictObject({
|
|
5988
6035
|
id,
|
|
5989
6036
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5995,13 +6042,13 @@ var contactNote = strictObject({
|
|
|
5995
6042
|
updated_at: time
|
|
5996
6043
|
});
|
|
5997
6044
|
|
|
5998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5999
6046
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6000
6047
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6001
6048
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6002
6049
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6003
6050
|
|
|
6004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6005
6052
|
var conversation = strictObject({
|
|
6006
6053
|
id,
|
|
6007
6054
|
chat: reference,
|
|
@@ -6016,7 +6063,7 @@ var conversation = strictObject({
|
|
|
6016
6063
|
rules_version: count
|
|
6017
6064
|
});
|
|
6018
6065
|
|
|
6019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
6020
6067
|
var conversationBuild = strictObject({
|
|
6021
6068
|
chat: id,
|
|
6022
6069
|
messages: count,
|
|
@@ -6041,7 +6088,7 @@ var catchUpPreparation = strictObject({
|
|
|
6041
6088
|
prepared: optional(conversationPreparation)
|
|
6042
6089
|
});
|
|
6043
6090
|
|
|
6044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6045
6092
|
var conversationDetails = union([
|
|
6046
6093
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6047
6094
|
message
|
|
@@ -6131,7 +6178,7 @@ var conversationHit = strictObject({
|
|
|
6131
6178
|
stale: boolean()
|
|
6132
6179
|
});
|
|
6133
6180
|
|
|
6134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6135
6182
|
var counters = strictObject({
|
|
6136
6183
|
cutoff: time,
|
|
6137
6184
|
max_age_ms: milliseconds,
|
|
@@ -6161,7 +6208,7 @@ var counterRefresh = strictObject({
|
|
|
6161
6208
|
complete: optional(boolean())
|
|
6162
6209
|
});
|
|
6163
6210
|
|
|
6164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6165
6212
|
var document = strictObject({
|
|
6166
6213
|
ref: reference,
|
|
6167
6214
|
id,
|
|
@@ -6176,7 +6223,7 @@ var document = strictObject({
|
|
|
6176
6223
|
owners: optional(array(text))
|
|
6177
6224
|
});
|
|
6178
6225
|
|
|
6179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6180
6227
|
var documentLink = strictObject({
|
|
6181
6228
|
ref: reference,
|
|
6182
6229
|
url: text,
|
|
@@ -6187,7 +6234,7 @@ var documentLink = strictObject({
|
|
|
6187
6234
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6188
6235
|
});
|
|
6189
6236
|
|
|
6190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6191
6238
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6192
6239
|
var contribution = strictObject({
|
|
6193
6240
|
message: evidenceMessage,
|
|
@@ -6217,7 +6264,7 @@ var retentionStay = strictObject({
|
|
|
6217
6264
|
});
|
|
6218
6265
|
var evidence = union([contribution, retentionStay]);
|
|
6219
6266
|
|
|
6220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6221
6268
|
var fact = strictObject({
|
|
6222
6269
|
ref: reference,
|
|
6223
6270
|
id,
|
|
@@ -6248,7 +6295,7 @@ var fact = strictObject({
|
|
|
6248
6295
|
updated_at: time
|
|
6249
6296
|
});
|
|
6250
6297
|
|
|
6251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6252
6299
|
var hit = strictObject({
|
|
6253
6300
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6254
6301
|
ref: reference,
|
|
@@ -6296,7 +6343,7 @@ var hit = strictObject({
|
|
|
6296
6343
|
untrusted
|
|
6297
6344
|
});
|
|
6298
6345
|
|
|
6299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6300
6347
|
var identity = strictObject({
|
|
6301
6348
|
ref: reference,
|
|
6302
6349
|
provider: text,
|
|
@@ -6312,7 +6359,7 @@ var identity = strictObject({
|
|
|
6312
6359
|
person: optional(nullable(reference))
|
|
6313
6360
|
});
|
|
6314
6361
|
|
|
6315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6316
6363
|
var imageEmbedding = strictObject({
|
|
6317
6364
|
model: text,
|
|
6318
6365
|
embedded: count,
|
|
@@ -6321,13 +6368,13 @@ var imageEmbedding = strictObject({
|
|
|
6321
6368
|
more: boolean()
|
|
6322
6369
|
});
|
|
6323
6370
|
|
|
6324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6325
6372
|
import { spawn } from "node:child_process";
|
|
6326
6373
|
import { randomBytes } from "node:crypto";
|
|
6327
6374
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6328
6375
|
import { dirname, join } from "node:path";
|
|
6329
6376
|
|
|
6330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6331
6378
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6332
6379
|
const total = input.total ?? null;
|
|
6333
6380
|
const updated = input.updatedAt ?? null;
|
|
@@ -6343,7 +6390,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6343
6390
|
};
|
|
6344
6391
|
}, "progressOf");
|
|
6345
6392
|
|
|
6346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6347
6394
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6348
6395
|
const run = currentRun();
|
|
6349
6396
|
const trace = traceId ?? run.traceId;
|
|
@@ -6357,7 +6404,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6357
6404
|
}));
|
|
6358
6405
|
}, "recordLogFor");
|
|
6359
6406
|
|
|
6360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6361
6408
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6362
6409
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6363
6410
|
const out = openSync(log, "a", 384);
|
|
@@ -6512,7 +6559,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6512
6559
|
return { job: id6, pid, chat: input.chat, log };
|
|
6513
6560
|
}, "startArchiveJob");
|
|
6514
6561
|
|
|
6515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6516
6563
|
var problem = strictObject({ code: text, message: text });
|
|
6517
6564
|
var job = strictObject({
|
|
6518
6565
|
id,
|
|
@@ -6535,7 +6582,7 @@ var job = strictObject({
|
|
|
6535
6582
|
error: optional(problem)
|
|
6536
6583
|
});
|
|
6537
6584
|
|
|
6538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6539
6586
|
var joinRequest = strictObject({
|
|
6540
6587
|
person_id: id,
|
|
6541
6588
|
name: nullable(text),
|
|
@@ -6546,7 +6593,7 @@ var joinRequest = strictObject({
|
|
|
6546
6593
|
about: optional(text)
|
|
6547
6594
|
});
|
|
6548
6595
|
|
|
6549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6550
6597
|
var botProfile = strictObject({
|
|
6551
6598
|
name: text,
|
|
6552
6599
|
token: text,
|
|
@@ -6670,7 +6717,7 @@ var stickerInventory = strictObject({
|
|
|
6670
6717
|
url: optional(nullable(text))
|
|
6671
6718
|
});
|
|
6672
6719
|
|
|
6673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6720
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6674
6721
|
var pollVote = strictObject({
|
|
6675
6722
|
person_id: id,
|
|
6676
6723
|
name: nullable(text),
|
|
@@ -6680,7 +6727,7 @@ var pollVote = strictObject({
|
|
|
6680
6727
|
voted_at: time
|
|
6681
6728
|
});
|
|
6682
6729
|
|
|
6683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6684
6731
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6685
6732
|
var observation = strictObject({
|
|
6686
6733
|
value: pipe(number(), minValue(0)),
|
|
@@ -6722,7 +6769,7 @@ var serveSummary = strictObject({
|
|
|
6722
6769
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6723
6770
|
});
|
|
6724
6771
|
|
|
6725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6772
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6726
6773
|
var mailCounts = strictObject({
|
|
6727
6774
|
by: picklist(["day", "week", "sender"]),
|
|
6728
6775
|
received: count,
|
|
@@ -6737,7 +6784,7 @@ var mailCounts = strictObject({
|
|
|
6737
6784
|
}))
|
|
6738
6785
|
});
|
|
6739
6786
|
|
|
6740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6741
6788
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6742
6789
|
var base = { id, evidence: array(evidence2) };
|
|
6743
6790
|
var finding = variant("kind", [
|
|
@@ -6881,7 +6928,7 @@ var mailFindings = strictObject({
|
|
|
6881
6928
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6882
6929
|
});
|
|
6883
6930
|
|
|
6884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6885
6932
|
var mediaArchive = strictObject({
|
|
6886
6933
|
directory: text,
|
|
6887
6934
|
chats: count,
|
|
@@ -6913,7 +6960,7 @@ var mediaArchiveTimer = union([
|
|
|
6913
6960
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6914
6961
|
]);
|
|
6915
6962
|
|
|
6916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6963
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6917
6964
|
var preparationId = pipe(string(), minLength(1));
|
|
6918
6965
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6919
6966
|
var preparationTime = nullable(isoTime);
|
|
@@ -7005,7 +7052,7 @@ var preparationMeeting = strictObject({
|
|
|
7005
7052
|
updated_at: isoTime
|
|
7006
7053
|
});
|
|
7007
7054
|
|
|
7008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
7009
7056
|
var meetingEvidence = preparationEvidence;
|
|
7010
7057
|
var meetingPersonContext = strictObject({
|
|
7011
7058
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -7027,7 +7074,7 @@ var meetingPersonContext = strictObject({
|
|
|
7027
7074
|
})
|
|
7028
7075
|
});
|
|
7029
7076
|
|
|
7030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
7031
7078
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
7032
7079
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
7033
7080
|
var finding2 = variant("kind", [
|
|
@@ -7065,7 +7112,7 @@ var meetingFindings = strictObject({
|
|
|
7065
7112
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7066
7113
|
});
|
|
7067
7114
|
|
|
7068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7069
7116
|
var communicationCoverage = strictObject({
|
|
7070
7117
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7071
7118
|
query: string(),
|
|
@@ -7110,7 +7157,7 @@ var preparationCommunications = strictObject({
|
|
|
7110
7157
|
}))
|
|
7111
7158
|
});
|
|
7112
7159
|
|
|
7113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7114
7161
|
var meetingPreparation = strictObject({
|
|
7115
7162
|
communications: optional(preparationCommunications),
|
|
7116
7163
|
schema_version: literal(1),
|
|
@@ -7223,7 +7270,7 @@ var meetingPreparation = strictObject({
|
|
|
7223
7270
|
})
|
|
7224
7271
|
});
|
|
7225
7272
|
|
|
7226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7227
7274
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7228
7275
|
var id3 = pipe(string(), minLength(1));
|
|
7229
7276
|
var text3 = string();
|
|
@@ -7287,7 +7334,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7287
7334
|
})
|
|
7288
7335
|
});
|
|
7289
7336
|
|
|
7290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7291
7338
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7292
7339
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7293
7340
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7317,7 +7364,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7317
7364
|
})
|
|
7318
7365
|
});
|
|
7319
7366
|
|
|
7320
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7321
7368
|
var text4 = string();
|
|
7322
7369
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7323
7370
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7334,7 +7381,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7334
7381
|
persistence: literal("proposal-only")
|
|
7335
7382
|
});
|
|
7336
7383
|
|
|
7337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7338
7385
|
var memory = strictObject({
|
|
7339
7386
|
ref: reference,
|
|
7340
7387
|
id,
|
|
@@ -7362,7 +7409,7 @@ var memory = strictObject({
|
|
|
7362
7409
|
updated_at: time
|
|
7363
7410
|
});
|
|
7364
7411
|
|
|
7365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7366
7413
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7367
7414
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7368
7415
|
var mention = strictObject({
|
|
@@ -7406,13 +7453,13 @@ var mentionRebuild = strictObject({
|
|
|
7406
7453
|
mentions: count
|
|
7407
7454
|
});
|
|
7408
7455
|
|
|
7409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7410
7457
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7411
7458
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7412
7459
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7413
7460
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7414
7461
|
|
|
7415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7416
7463
|
var messageTranscript = strictObject({
|
|
7417
7464
|
message_id: id,
|
|
7418
7465
|
text,
|
|
@@ -7470,7 +7517,7 @@ var evidencePacket = strictObject({
|
|
|
7470
7517
|
}))
|
|
7471
7518
|
});
|
|
7472
7519
|
|
|
7473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7474
7521
|
var messageThread = strictObject({
|
|
7475
7522
|
ref: reference,
|
|
7476
7523
|
chat: id,
|
|
@@ -7487,7 +7534,7 @@ var messageThread = strictObject({
|
|
|
7487
7534
|
});
|
|
7488
7535
|
var messageContext = union([message, messageThread]);
|
|
7489
7536
|
|
|
7490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7491
7538
|
var messageCounts = strictObject({
|
|
7492
7539
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7493
7540
|
total: count,
|
|
@@ -7500,7 +7547,7 @@ var messageCounts = strictObject({
|
|
|
7500
7547
|
}))
|
|
7501
7548
|
});
|
|
7502
7549
|
|
|
7503
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7504
7551
|
var messageLink = strictObject({
|
|
7505
7552
|
ref: reference,
|
|
7506
7553
|
url: nullable(text),
|
|
@@ -7517,7 +7564,7 @@ var messageLink = strictObject({
|
|
|
7517
7564
|
})))
|
|
7518
7565
|
});
|
|
7519
7566
|
|
|
7520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7521
7568
|
var savedMessageFile = strictObject({
|
|
7522
7569
|
kind: text,
|
|
7523
7570
|
path: text,
|
|
@@ -7604,7 +7651,7 @@ var messageSyncAll = strictObject({
|
|
|
7604
7651
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7605
7652
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7606
7653
|
|
|
7607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7608
7655
|
var messageWrite = strictObject({
|
|
7609
7656
|
operation_id: id,
|
|
7610
7657
|
message,
|
|
@@ -7619,7 +7666,7 @@ var draftWrite = strictObject({
|
|
|
7619
7666
|
});
|
|
7620
7667
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7621
7668
|
|
|
7622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7623
7670
|
var model = strictObject({
|
|
7624
7671
|
id,
|
|
7625
7672
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7654,7 +7701,7 @@ var chosenModel = strictObject({
|
|
|
7654
7701
|
estimate_seconds: nullable(count)
|
|
7655
7702
|
});
|
|
7656
7703
|
|
|
7657
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7658
7705
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7659
7706
|
var modelKey = strictObject({
|
|
7660
7707
|
provider: text,
|
|
@@ -7664,7 +7711,7 @@ var modelKey = strictObject({
|
|
|
7664
7711
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7665
7712
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7666
7713
|
|
|
7667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7668
7715
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7669
7716
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7670
7717
|
var graph = strictObject({
|
|
@@ -7698,14 +7745,14 @@ var officialStats = strictObject({
|
|
|
7698
7745
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7699
7746
|
});
|
|
7700
7747
|
|
|
7701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7702
7749
|
var person2 = strictObject({
|
|
7703
7750
|
ref: reference,
|
|
7704
7751
|
name: nullable(text),
|
|
7705
7752
|
identities: optional(array(identity))
|
|
7706
7753
|
});
|
|
7707
7754
|
|
|
7708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7709
7756
|
var poll = strictObject({
|
|
7710
7757
|
chat_id: id,
|
|
7711
7758
|
message_id: id,
|
|
@@ -7721,11 +7768,11 @@ var poll = strictObject({
|
|
|
7721
7768
|
});
|
|
7722
7769
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7723
7770
|
|
|
7724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7725
7772
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7726
7773
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7727
7774
|
|
|
7728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7729
7776
|
var figures = record(string(), number());
|
|
7730
7777
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7731
7778
|
var rankingRow = strictObject({
|
|
@@ -7772,7 +7819,7 @@ var ranking = strictObject({
|
|
|
7772
7819
|
rows: array(rankingRow)
|
|
7773
7820
|
});
|
|
7774
7821
|
|
|
7775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7776
7823
|
var reaction = strictObject({
|
|
7777
7824
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7778
7825
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7780,7 +7827,7 @@ var reaction = strictObject({
|
|
|
7780
7827
|
reacted_at: time
|
|
7781
7828
|
});
|
|
7782
7829
|
|
|
7783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7784
7831
|
var reactionChange = strictObject({
|
|
7785
7832
|
operation_id: id,
|
|
7786
7833
|
chat_id: id,
|
|
@@ -7788,7 +7835,7 @@ var reactionChange = strictObject({
|
|
|
7788
7835
|
reaction: nullable(text)
|
|
7789
7836
|
});
|
|
7790
7837
|
|
|
7791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7792
7839
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7793
7840
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7794
7841
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7799,7 +7846,7 @@ var recipientChange = strictObject({
|
|
|
7799
7846
|
...partial(recipientOff).entries
|
|
7800
7847
|
});
|
|
7801
7848
|
|
|
7802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7803
7850
|
var events = array(record(string(), unknown()));
|
|
7804
7851
|
var recordedRun = strictObject({
|
|
7805
7852
|
run_id: id,
|
|
@@ -7871,7 +7918,7 @@ var runHit = strictObject({
|
|
|
7871
7918
|
});
|
|
7872
7919
|
var runLocation = strictObject({ path: text });
|
|
7873
7920
|
|
|
7874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7875
7922
|
var relationship = strictObject({
|
|
7876
7923
|
id,
|
|
7877
7924
|
from: reference,
|
|
@@ -7898,7 +7945,7 @@ var relationship = strictObject({
|
|
|
7898
7945
|
created_at: time
|
|
7899
7946
|
});
|
|
7900
7947
|
|
|
7901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7948
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7902
7949
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7903
7950
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7904
7951
|
var responseTimes = strictObject({
|
|
@@ -7915,7 +7962,7 @@ var waitingChats = strictObject({
|
|
|
7915
7962
|
by_kind: strictObject({ private: count, group: count })
|
|
7916
7963
|
});
|
|
7917
7964
|
|
|
7918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7919
7966
|
var retentionCohort = strictObject({
|
|
7920
7967
|
/** The first day of the joining day or week. */
|
|
7921
7968
|
cohort: text,
|
|
@@ -7963,7 +8010,7 @@ var retention = strictObject({
|
|
|
7963
8010
|
rows: array(retentionCohort)
|
|
7964
8011
|
});
|
|
7965
8012
|
|
|
7966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7967
8014
|
var savedSearch = strictObject({
|
|
7968
8015
|
id,
|
|
7969
8016
|
/** `null` for a run in the history. */
|
|
@@ -7980,7 +8027,7 @@ var savedSearch = strictObject({
|
|
|
7980
8027
|
});
|
|
7981
8028
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7982
8029
|
|
|
7983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7984
8031
|
var sendAttempt = strictObject({
|
|
7985
8032
|
at: time,
|
|
7986
8033
|
profile: text,
|
|
@@ -8008,7 +8055,7 @@ var sendAttempt = strictObject({
|
|
|
8008
8055
|
error_code: optional(text)
|
|
8009
8056
|
});
|
|
8010
8057
|
|
|
8011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
8012
8059
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
8013
8060
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
8014
8061
|
var infoSchema = strictObject({
|
|
@@ -8238,7 +8285,7 @@ var storeRepair = union([
|
|
|
8238
8285
|
]);
|
|
8239
8286
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8240
8287
|
|
|
8241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8242
8289
|
var range = strictObject({ from: number(), to: number() });
|
|
8243
8290
|
var storeChatStatus = strictObject({
|
|
8244
8291
|
chat_id: id,
|
|
@@ -8336,7 +8383,7 @@ var storeJobRetry = union([
|
|
|
8336
8383
|
]);
|
|
8337
8384
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8338
8385
|
|
|
8339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8340
8387
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8341
8388
|
var storeTable = strictObject({
|
|
8342
8389
|
name: text,
|
|
@@ -8345,7 +8392,7 @@ var storeTable = strictObject({
|
|
|
8345
8392
|
bytes: optional(nullable(count))
|
|
8346
8393
|
});
|
|
8347
8394
|
|
|
8348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8349
8396
|
var tagTarget = variant("type", [
|
|
8350
8397
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8351
8398
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8376,7 +8423,7 @@ var automaticTags = strictObject({
|
|
|
8376
8423
|
dry_run: boolean()
|
|
8377
8424
|
});
|
|
8378
8425
|
|
|
8379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8380
8427
|
var tagging = strictObject({
|
|
8381
8428
|
tag: text,
|
|
8382
8429
|
type: picklist(TAG_TYPES),
|
|
@@ -8389,7 +8436,7 @@ var tagging = strictObject({
|
|
|
8389
8436
|
created_at: time
|
|
8390
8437
|
});
|
|
8391
8438
|
|
|
8392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8393
8440
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8394
8441
|
var taskPair = strictObject({
|
|
8395
8442
|
task: nullable(side),
|
|
@@ -8412,7 +8459,7 @@ var taskPair = strictObject({
|
|
|
8412
8459
|
created_at: time
|
|
8413
8460
|
});
|
|
8414
8461
|
|
|
8415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8416
8463
|
var nullableTime = nullable(time);
|
|
8417
8464
|
var link = strictObject({
|
|
8418
8465
|
id,
|
|
@@ -8586,7 +8633,7 @@ var taskReview = strictObject({
|
|
|
8586
8633
|
untrusted
|
|
8587
8634
|
});
|
|
8588
8635
|
|
|
8589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8590
8637
|
var template = strictObject({
|
|
8591
8638
|
key: text,
|
|
8592
8639
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8598,7 +8645,7 @@ var template = strictObject({
|
|
|
8598
8645
|
updated_by: nullable(text)
|
|
8599
8646
|
});
|
|
8600
8647
|
|
|
8601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8602
8649
|
var topic = strictObject({
|
|
8603
8650
|
id,
|
|
8604
8651
|
title: text,
|
|
@@ -8612,7 +8659,7 @@ var topic = strictObject({
|
|
|
8612
8659
|
untrusted
|
|
8613
8660
|
});
|
|
8614
8661
|
|
|
8615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8616
8663
|
var ENTITIES = {
|
|
8617
8664
|
sync_progress: progress,
|
|
8618
8665
|
deal,
|
|
@@ -8911,7 +8958,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8911
8958
|
return [name, definition];
|
|
8912
8959
|
})), "entityDefinitions");
|
|
8913
8960
|
|
|
8914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8915
8962
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8916
8963
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8917
8964
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8945,7 +8992,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8945
8992
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8946
8993
|
}, "answerRow");
|
|
8947
8994
|
|
|
8948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8949
8996
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8950
8997
|
var requests = new AsyncLocalStorage();
|
|
8951
8998
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8960,7 +9007,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8960
9007
|
return direct;
|
|
8961
9008
|
}, "exitCodeSet");
|
|
8962
9009
|
|
|
8963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8964
9011
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8965
9012
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8966
9013
|
messageId: message2.id,
|
|
@@ -9066,7 +9113,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9066
9113
|
}, "guardedWrite");
|
|
9067
9114
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9068
9115
|
|
|
9069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9070
9117
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9071
9118
|
try {
|
|
9072
9119
|
return work();
|
|
@@ -9093,7 +9140,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9093
9140
|
return projectFields(value, fields);
|
|
9094
9141
|
}), "projectFields");
|
|
9095
9142
|
|
|
9096
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9097
9144
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9098
9145
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9099
9146
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9276,7 +9323,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9276
9323
|
}
|
|
9277
9324
|
}, "withAbort");
|
|
9278
9325
|
|
|
9279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9280
9327
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9281
9328
|
import { join as join2 } from "node:path";
|
|
9282
9329
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9365,7 +9412,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9365
9412
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9366
9413
|
}, "registryProfiles");
|
|
9367
9414
|
|
|
9368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9369
9416
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9370
9417
|
import { join as join3 } from "node:path";
|
|
9371
9418
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9387,7 +9434,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9387
9434
|
}, "profilesWithAccounts");
|
|
9388
9435
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9389
9436
|
|
|
9390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9391
9438
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9392
9439
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9393
9440
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9423,7 +9470,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9423
9470
|
return value;
|
|
9424
9471
|
}, "atDetail");
|
|
9425
9472
|
|
|
9426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/output.js
|
|
9427
9474
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9428
9475
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9429
9476
|
if (other)
|
|
@@ -9487,7 +9534,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9487
9534
|
}, "warn")
|
|
9488
9535
|
}), "silence");
|
|
9489
9536
|
|
|
9490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9491
9538
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9492
9539
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9493
9540
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9525,7 +9572,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9525
9572
|
progress: "sync.progress"
|
|
9526
9573
|
};
|
|
9527
9574
|
|
|
9528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9529
9576
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9530
9577
|
const recording = startRecording(options);
|
|
9531
9578
|
try {
|
|
@@ -9740,7 +9787,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9740
9787
|
return void 0;
|
|
9741
9788
|
}, "partialOutcome");
|
|
9742
9789
|
|
|
9743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9744
9791
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9745
9792
|
if (ms2 === void 0)
|
|
9746
9793
|
return body();
|
|
@@ -9766,7 +9813,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9766
9813
|
}
|
|
9767
9814
|
}, "withDeadline");
|
|
9768
9815
|
|
|
9769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9770
9817
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9771
9818
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9772
9819
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9835,10 +9882,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9835
9882
|
return void 0;
|
|
9836
9883
|
}, "sampleCommand");
|
|
9837
9884
|
|
|
9838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9885
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9839
9886
|
import { existsSync as existsSync5 } from "node:fs";
|
|
9840
9887
|
|
|
9841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9842
9889
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9843
9890
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9844
9891
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9907,7 +9954,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9907
9954
|
};
|
|
9908
9955
|
}, "modelTarget");
|
|
9909
9956
|
|
|
9910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9911
9958
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9912
9959
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9913
9960
|
var AI_FIELDS = {
|
|
@@ -9951,7 +9998,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9951
9998
|
};
|
|
9952
9999
|
}, "resolveAISettings");
|
|
9953
10000
|
|
|
9954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9955
10002
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9956
10003
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9957
10004
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9965,7 +10012,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9965
10012
|
return ms2;
|
|
9966
10013
|
}, "parseDuration");
|
|
9967
10014
|
|
|
9968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9969
10016
|
var HISTORY_MAX_DAYS = 1095;
|
|
9970
10017
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9971
10018
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10012,7 +10059,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10012
10059
|
return { batch: { ...batch, messages }, skipped };
|
|
10013
10060
|
}, "limitBatch");
|
|
10014
10061
|
|
|
10015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10016
10063
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10017
10064
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10018
10065
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10307,7 +10354,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10307
10354
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10308
10355
|
}, "readConfigFile");
|
|
10309
10356
|
|
|
10310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10311
10358
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10312
10359
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10313
10360
|
var DEFAULT_CONFIG = {
|
|
@@ -10336,7 +10383,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10336
10383
|
}
|
|
10337
10384
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10338
10385
|
|
|
10339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10340
10387
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10341
10388
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10342
10389
|
const path2 = key.split(".");
|
|
@@ -10358,7 +10405,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10358
10405
|
return { config, added };
|
|
10359
10406
|
}, "withSettingDefaults");
|
|
10360
10407
|
|
|
10361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10362
10409
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10363
10410
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10364
10411
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10886,7 +10933,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10886
10933
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10887
10934
|
}, "given");
|
|
10888
10935
|
|
|
10889
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10890
10937
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
10891
10938
|
const slot = environmentOf(command).exit;
|
|
10892
10939
|
const request = commandServerRequest();
|
|
@@ -11022,7 +11069,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11022
11069
|
return words.join(" ");
|
|
11023
11070
|
}, "commandPath");
|
|
11024
11071
|
|
|
11025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11026
11073
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11027
11074
|
var FETCH = { remote: "read", local: "write" };
|
|
11028
11075
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11162,7 +11209,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11162
11209
|
throw readOnlyRefusal(lock, what);
|
|
11163
11210
|
}, "refuseUnderReadOnly");
|
|
11164
11211
|
|
|
11165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11166
11213
|
import { join as join5 } from "node:path";
|
|
11167
11214
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11168
11215
|
var IMAGE_MODELS = [
|
|
@@ -11216,7 +11263,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11216
11263
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11217
11264
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11218
11265
|
|
|
11219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11220
11267
|
var STEPS2 = defineSteps([
|
|
11221
11268
|
...STEPS,
|
|
11222
11269
|
{
|
|
@@ -11506,7 +11553,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11506
11553
|
].join(" ");
|
|
11507
11554
|
}, "stepLine");
|
|
11508
11555
|
|
|
11509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11510
11557
|
var where = [{ field: "ref" }];
|
|
11511
11558
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11512
11559
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11598,7 +11645,7 @@ var STATUS_ROWS = {
|
|
|
11598
11645
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11599
11646
|
};
|
|
11600
11647
|
|
|
11601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11602
11649
|
var TEXT_CHARS = 400;
|
|
11603
11650
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11604
11651
|
var messageRow = {
|
|
@@ -11966,7 +12013,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11966
12013
|
return lines.concat(footerOf(body)).join("\n");
|
|
11967
12014
|
}, "compactText");
|
|
11968
12015
|
|
|
11969
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11970
12017
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11971
12018
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11972
12019
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12024,7 +12071,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12024
12071
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12025
12072
|
}, "largeAnswerSteps");
|
|
12026
12073
|
|
|
12027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12028
12075
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12029
12076
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12030
12077
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12038,7 +12085,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12038
12085
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12039
12086
|
}, "strip");
|
|
12040
12087
|
|
|
12041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12042
12089
|
var OPEN = "\u27E6";
|
|
12043
12090
|
var CLOSE = "\u27E7";
|
|
12044
12091
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12122,7 +12169,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12122
12169
|
return result;
|
|
12123
12170
|
}, "withFieldsMarked");
|
|
12124
12171
|
|
|
12125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12126
12173
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12127
12174
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12128
12175
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|