@wirecat/tg-cli 0.130.0 → 0.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-2XFPXBTA.js → adapter-TA637IRT.js} +51 -51
- package/dist/bundle/{all-profiles-GXFPZLYU.js → all-profiles-7M3GBCB6.js} +5 -5
- package/dist/bundle/{anthropic-FHS5XNK5.js → anthropic-P3THLZWO.js} +2 -2
- package/dist/bundle/{app-server-IZMFSFP2.js → app-server-OE5EAXIY.js} +45 -45
- package/dist/bundle/{bot-api-V3ZJ75KE.js → bot-api-WYR2C4A5.js} +52 -52
- package/dist/bundle/{bot-history-EJQOD4AQ.js → bot-history-PKJTHU7L.js} +16 -16
- package/dist/bundle/{bun-GBAZFRCV.js → bun-XMZJDDEA.js} +2 -2
- package/dist/bundle/{bun-sqlite-JB4BX6X7.js → bun-sqlite-F5RWCB2N.js} +3 -3
- package/dist/bundle/{chunk-XXW6PFAX.js → chunk-2OXR2MRV.js} +1 -1
- package/dist/bundle/{chunk-HHUK3XO5.js → chunk-2TOJQQKS.js} +1 -1
- package/dist/bundle/{chunk-TGRB4SSZ.js → chunk-2U6XE4HI.js} +4 -4
- package/dist/bundle/{chunk-6M3FAHPS.js → chunk-34PRGA7E.js} +2 -2
- package/dist/bundle/{chunk-4BJAQNJ5.js → chunk-43KSYUZU.js} +5 -5
- package/dist/bundle/{chunk-66UG67CE.js → chunk-5AJ5RLJW.js} +10 -10
- package/dist/bundle/{chunk-7F3LOHRB.js → chunk-5N7TJ6TJ.js} +154 -151
- package/dist/bundle/{chunk-QJDHRBXL.js → chunk-5ZIT6JXP.js} +6 -6
- package/dist/bundle/{chunk-RZPMFVWM.js → chunk-6BPM3LNR.js} +5 -5
- package/dist/bundle/{chunk-EUL7HMUL.js → chunk-6O5AD3GA.js} +1 -1
- package/dist/bundle/{chunk-PWQKGFS2.js → chunk-6TJTQ4I4.js} +28 -28
- package/dist/bundle/{chunk-KY3JLXW2.js → chunk-76UAXRDY.js} +2 -2
- package/dist/bundle/{chunk-OJMDKWWL.js → chunk-AEIDEIVB.js} +355 -321
- package/dist/bundle/{chunk-M327UNS6.js → chunk-AJQ6JFLY.js} +5 -5
- package/dist/bundle/{chunk-VTJ3AOTT.js → chunk-BFERGEBI.js} +16 -16
- package/dist/bundle/{chunk-42LRWOTT.js → chunk-BXW6FGLD.js} +11 -11
- package/dist/bundle/{chunk-MVFSWKTM.js → chunk-EXMJDHBM.js} +10 -10
- package/dist/bundle/{chunk-S5UTBEV3.js → chunk-EZBMLKBK.js} +35 -34
- package/dist/bundle/{chunk-NRCY3WBC.js → chunk-GNIROVSK.js} +1 -1
- package/dist/bundle/{chunk-C4ALE7CH.js → chunk-H655CMXJ.js} +1 -1
- package/dist/bundle/{chunk-OKTRB4ZQ.js → chunk-ITYDJIRC.js} +1 -1
- package/dist/bundle/{chunk-QDEP2QOA.js → chunk-IULSIKEM.js} +2 -2
- package/dist/bundle/{chunk-FH4YIBBH.js → chunk-J2QQZVEN.js} +2 -2
- package/dist/bundle/{chunk-OWVQMK7G.js → chunk-JDLNI7BU.js} +518 -382
- package/dist/bundle/{chunk-B5RGPZDZ.js → chunk-JF4AJNCE.js} +5 -5
- package/dist/bundle/{chunk-2LPODKIF.js → chunk-JSE4OBYI.js} +16 -114
- package/dist/bundle/{chunk-SZB5WRMI.js → chunk-L2SMUTJY.js} +1 -1
- package/dist/bundle/{chunk-RAFK5KXU.js → chunk-LDSTUBLY.js} +7 -7
- package/dist/bundle/{chunk-XHX5D5VE.js → chunk-LEPDRO3O.js} +147 -62
- package/dist/bundle/{chunk-IV6SIKVH.js → chunk-LJO6MMQG.js} +3 -3
- package/dist/bundle/{chunk-LQPZDDDP.js → chunk-LTP4BYHJ.js} +5 -5
- package/dist/bundle/{chunk-QBNEWEJC.js → chunk-LWSOCKOD.js} +2 -2
- package/dist/bundle/{chunk-F6CV4KUN.js → chunk-MYC3M4BY.js} +2 -2
- package/dist/bundle/{chunk-I5PILOTU.js → chunk-NOZZHEMD.js} +1 -1
- package/dist/bundle/{chunk-ZRQQOGAZ.js → chunk-NTORQXAS.js} +3 -3
- package/dist/bundle/{chunk-LPT5T6PU.js → chunk-NXNSEFGR.js} +22 -22
- package/dist/bundle/{chunk-3XMUP55N.js → chunk-O73DZURO.js} +9 -9
- package/dist/bundle/{chunk-2JZJPVBH.js → chunk-O7X6RM5R.js} +4 -4
- package/dist/bundle/{chunk-FIO5NMK3.js → chunk-OOSX7K7G.js} +6 -6
- package/dist/bundle/{chunk-IRWSZJYL.js → chunk-OPG54IFH.js} +51 -51
- package/dist/bundle/{chunk-O2ULG7OO.js → chunk-OX5EAUKF.js} +2 -2
- package/dist/bundle/{chunk-RPWYTOLI.js → chunk-P6KGEZIS.js} +1 -1
- package/dist/bundle/{chunk-QFVIHBLD.js → chunk-PD4RREQB.js} +1 -1
- package/dist/bundle/{chunk-IBSHQWIJ.js → chunk-PHGH5N4C.js} +1 -1
- package/dist/bundle/{chunk-EB2JE722.js → chunk-QGFUUJPL.js} +1 -1
- package/dist/bundle/{chunk-GYCKRIRK.js → chunk-S2IET7WM.js} +2 -2
- package/dist/bundle/{chunk-BMSS3PCY.js → chunk-SLT2PBFP.js} +13 -13
- package/dist/bundle/{chunk-CKJ73EF3.js → chunk-SQ2JLZFK.js} +1 -1
- package/dist/bundle/{chunk-GSHTLLCJ.js → chunk-SS5H2XAT.js} +2 -2
- package/dist/bundle/{chunk-VSPSHBAC.js → chunk-TT6OHNV2.js} +1 -1
- package/dist/bundle/{chunk-6WGAWISN.js → chunk-UGYC2FV5.js} +1 -1
- package/dist/bundle/{chunk-6JBRQ6PM.js → chunk-UUNQV4YL.js} +48 -13
- package/dist/bundle/{chunk-X5H5NERR.js → chunk-VNJZXV7E.js} +4 -4
- package/dist/bundle/{chunk-MS6YEIG5.js → chunk-VVUUP5NF.js} +12 -12
- package/dist/bundle/{chunk-QJLCEOAP.js → chunk-WG6UZJ3E.js} +1 -1
- package/dist/bundle/{chunk-GGGBPWUS.js → chunk-WUIKJJ5A.js} +7 -7
- package/dist/bundle/{chunk-3KZG63EH.js → chunk-XC2YJDDK.js} +2 -2
- package/dist/bundle/{chunk-SYZXOEHY.js → chunk-YJ4BPNWI.js} +3 -3
- package/dist/bundle/{chunk-G2SMVYBU.js → chunk-YZTMQE62.js} +1 -1
- package/dist/bundle/{chunk-VXWDQDRU.js → chunk-Z2TCTTPJ.js} +497 -410
- package/dist/bundle/command-contract-DAQYQF6R.js +37 -0
- package/dist/bundle/{command-server-entry-YR6ONDWO.js → command-server-entry-6FH3RXJ2.js} +23 -23
- package/dist/bundle/{decode-VUKGWFSW.js → decode-UBRT2QDP.js} +2 -2
- package/dist/bundle/{echarts-GOV5M733.js → echarts-PG45GQLR.js} +2 -2
- package/dist/bundle/{embed-2IVIYNAJ.js → embed-BUQDSZ57.js} +3 -3
- package/dist/bundle/{embedder-2HU7JYZK.js → embedder-TXA3EV7O.js} +6 -6
- package/dist/bundle/{entry-CSTCXYI5.js → entry-JWIEF57D.js} +6 -6
- package/dist/bundle/{first-run-3IZGXZT5.js → first-run-5VTHKMK5.js} +6 -6
- package/dist/bundle/first-screen-PTHIZ5ZF.js +35 -0
- package/dist/bundle/{instructions-YSXV6FAC.js → instructions-ZMEPWTFO.js} +1 -1
- package/dist/bundle/{meeting-combined-X4E3LSIJ.js → meeting-combined-DU3RJR6X.js} +10 -10
- package/dist/bundle/{meeting-model-FQBDHGRU.js → meeting-model-5FVNZCTL.js} +8 -8
- package/dist/bundle/{meeting-semantic-ONNEOJX5.js → meeting-semantic-HUMYFMO7.js} +2 -2
- package/dist/bundle/{node-FMQWCZRS.js → node-N4DQQJKK.js} +2 -2
- package/dist/bundle/{node-sqlite-YN5OKOC6.js → node-sqlite-MG4KFXYY.js} +4 -4
- package/dist/bundle/{oauth-EW7PTZVT.js → oauth-NKDSXEH6.js} +4 -4
- package/dist/bundle/{open-Q2RDY344.js → open-DV2YUU2M.js} +2 -2
- package/dist/bundle/{openai-STON6G3O.js → openai-FEKMZOUJ.js} +12 -12
- package/dist/bundle/{process-OQUC2TW3.js → process-QZS3TE6A.js} +1 -1
- package/dist/bundle/{program-N5BT75OC.js → program-FNDGXEVS.js} +56 -56
- package/dist/bundle/{prompt-WHVF7UTW.js → prompt-C7RSBNH5.js} +2 -2
- package/dist/bundle/{recognize-YDQWMXNI.js → recognize-5BL763FS.js} +1 -1
- package/dist/bundle/{remote-477LQHP6.js → remote-CXAKRC7X.js} +6 -6
- package/dist/bundle/{rerank-4YPB26FG.js → rerank-XAEXY5A4.js} +4 -4
- package/dist/bundle/{serve-FXJNUOTS.js → serve-JLZGFTZH.js} +6 -6
- package/dist/bundle/{server-2S6HFBGR.js → server-GF3TV2U7.js} +37 -37
- package/dist/bundle/server-GLPEWUYT.js +69 -0
- package/dist/bundle/{sqlite-runtime-RXYNJYMC.js → sqlite-runtime-3OVQ7OTM.js} +3 -3
- package/dist/bundle/{state-I2GGYGRL.js → state-FGJKQKC2.js} +3 -3
- package/dist/bundle/{store-VQXIB6KV.js → store-2J5VJZQY.js} +13 -13
- package/dist/bundle/{store-KX3AAQZH.js → store-WYLMNAAQ.js} +15 -15
- package/dist/bundle/store-maintenance-command-QN6QH6RA.js +60 -0
- package/dist/bundle/tg.js +3 -3
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/tg-cli/SKILL.md +11 -9
- package/dist/bundle/command-contract-G752BLKA.js +0 -37
- package/dist/bundle/first-screen-7QSNCZIK.js +0 -35
- package/dist/bundle/server-UOSUTZNE.js +0 -69
- package/dist/bundle/store-maintenance-command-LW2MMDLY.js +0 -60
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5ZIT6JXP.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IULSIKEM.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestorValue,
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GNIROVSK.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PD4RREQB.js";
|
|
25
25
|
import {
|
|
26
26
|
note
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-S2IET7WM.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_RERANK_MODEL,
|
|
30
30
|
RERANK_MODELS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-O7X6RM5R.js";
|
|
32
32
|
import {
|
|
33
33
|
endpoint
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-P6KGEZIS.js";
|
|
35
35
|
import {
|
|
36
36
|
filesPresent,
|
|
37
37
|
sharedModelsDirectory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-LJO6MMQG.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-EZBMLKBK.js";
|
|
97
97
|
import {
|
|
98
98
|
isCliFailure,
|
|
99
99
|
storeDamaged
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-LWSOCKOD.js";
|
|
101
101
|
import {
|
|
102
102
|
TAG_TYPES
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-PHGH5N4C.js";
|
|
104
104
|
import {
|
|
105
105
|
repairConfigText,
|
|
106
106
|
sharedConfigPath
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-JF4AJNCE.js";
|
|
108
108
|
import {
|
|
109
109
|
FACT_TYPES,
|
|
110
110
|
FIELD_TYPES,
|
|
@@ -131,10 +131,10 @@ import {
|
|
|
131
131
|
parseLucene,
|
|
132
132
|
readsZone,
|
|
133
133
|
timezoneOf
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-LEPDRO3O.js";
|
|
135
135
|
import {
|
|
136
136
|
storePath
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-TT6OHNV2.js";
|
|
138
138
|
import {
|
|
139
139
|
configFilePath,
|
|
140
140
|
createRecordLog,
|
|
@@ -4004,7 +4004,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4004
4004
|
}
|
|
4005
4005
|
}, "refuseJoinedPath");
|
|
4006
4006
|
|
|
4007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4008
4008
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4009
4009
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4010
4010
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4430,7 +4430,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4430
4430
|
}
|
|
4431
4431
|
}, "assertRetentionEvidenceRead");
|
|
4432
4432
|
|
|
4433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4434
4434
|
var account = strictObject({
|
|
4435
4435
|
provider: text,
|
|
4436
4436
|
id,
|
|
@@ -4440,7 +4440,7 @@ var account = strictObject({
|
|
|
4440
4440
|
scope: optional(picklist(["personal", "work"]))
|
|
4441
4441
|
});
|
|
4442
4442
|
|
|
4443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4444
4444
|
var accountSession = strictObject({
|
|
4445
4445
|
current: boolean(),
|
|
4446
4446
|
client: nullable(text),
|
|
@@ -4450,7 +4450,7 @@ var accountSession = strictObject({
|
|
|
4450
4450
|
created_at: optional(nullable(time))
|
|
4451
4451
|
});
|
|
4452
4452
|
|
|
4453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4454
4454
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4455
4455
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4456
4456
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4479,7 +4479,7 @@ var accountRemoval = strictObject({
|
|
|
4479
4479
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4480
4480
|
});
|
|
4481
4481
|
|
|
4482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4483
4483
|
var accountProfile = strictObject({
|
|
4484
4484
|
profile: id,
|
|
4485
4485
|
current: boolean(),
|
|
@@ -4491,7 +4491,7 @@ var accountProfile = strictObject({
|
|
|
4491
4491
|
bot: optional(literal(true))
|
|
4492
4492
|
});
|
|
4493
4493
|
|
|
4494
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4494
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4495
4495
|
var milliseconds = pipe(number(), minValue(0));
|
|
4496
4496
|
var counterReading = strictObject({
|
|
4497
4497
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4503,7 +4503,7 @@ var counterReading = strictObject({
|
|
|
4503
4503
|
});
|
|
4504
4504
|
var selection = record(string(), unknown());
|
|
4505
4505
|
|
|
4506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4507
4507
|
var adminRow = strictObject({
|
|
4508
4508
|
ref: reference,
|
|
4509
4509
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4556,7 +4556,7 @@ var adminReport = strictObject({
|
|
|
4556
4556
|
rows: array(adminRow)
|
|
4557
4557
|
});
|
|
4558
4558
|
|
|
4559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4560
4560
|
var closeSuggestion = strictObject({
|
|
4561
4561
|
as: picklist(["done", "dismissed"]),
|
|
4562
4562
|
/** The agent's name. */
|
|
@@ -4618,7 +4618,7 @@ var task = strictObject({
|
|
|
4618
4618
|
updated_at: optional(time)
|
|
4619
4619
|
});
|
|
4620
4620
|
|
|
4621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4622
4622
|
var agendaChat = strictObject({
|
|
4623
4623
|
chat: reference,
|
|
4624
4624
|
title: nullable(text),
|
|
@@ -4688,11 +4688,11 @@ var agenda = strictObject({
|
|
|
4688
4688
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4689
4689
|
});
|
|
4690
4690
|
|
|
4691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4692
4692
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4693
4693
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4694
4694
|
|
|
4695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4696
4696
|
var attachment = strictObject({
|
|
4697
4697
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4698
4698
|
message: optional(reference),
|
|
@@ -4737,7 +4737,7 @@ var hitFile = strictObject({
|
|
|
4737
4737
|
local_path: optional(text)
|
|
4738
4738
|
});
|
|
4739
4739
|
|
|
4740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4741
4741
|
var actionableError = objectWithRest({
|
|
4742
4742
|
code: text,
|
|
4743
4743
|
message: text,
|
|
@@ -4754,7 +4754,7 @@ var batchResult = strictObject({
|
|
|
4754
4754
|
max_error_percent: count
|
|
4755
4755
|
});
|
|
4756
4756
|
|
|
4757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4758
4758
|
var extractionItem = strictObject({
|
|
4759
4759
|
ref: reference,
|
|
4760
4760
|
attachment: count,
|
|
@@ -4787,7 +4787,7 @@ var extractionReport = strictObject({
|
|
|
4787
4787
|
cursor: optional(text)
|
|
4788
4788
|
});
|
|
4789
4789
|
|
|
4790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4791
4791
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4792
4792
|
var attachmentBytes = strictObject({
|
|
4793
4793
|
ref: reference,
|
|
@@ -4818,7 +4818,7 @@ var attachmentTextChange = strictObject({
|
|
|
4818
4818
|
text: optional(text)
|
|
4819
4819
|
});
|
|
4820
4820
|
|
|
4821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4822
4822
|
var WEIGHTS = {
|
|
4823
4823
|
bot: 3,
|
|
4824
4824
|
scam: 3,
|
|
@@ -4843,7 +4843,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4843
4843
|
var DIGITS = /\d{5,}/;
|
|
4844
4844
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4845
4845
|
|
|
4846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4846
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4847
4847
|
var linkedIdentity = strictObject({
|
|
4848
4848
|
provider: text,
|
|
4849
4849
|
id,
|
|
@@ -4898,7 +4898,7 @@ var contactCheck = strictObject({
|
|
|
4898
4898
|
checked_at: time
|
|
4899
4899
|
});
|
|
4900
4900
|
|
|
4901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4902
4902
|
var member = strictObject({
|
|
4903
4903
|
id,
|
|
4904
4904
|
name: nullable(text),
|
|
@@ -4921,7 +4921,7 @@ var member = strictObject({
|
|
|
4921
4921
|
check: optional(record(string(), unknown()))
|
|
4922
4922
|
});
|
|
4923
4923
|
|
|
4924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4925
4925
|
var setting = optional(nullable(boolean()));
|
|
4926
4926
|
var chat = strictObject({
|
|
4927
4927
|
ref: reference,
|
|
@@ -4962,7 +4962,7 @@ var chat = strictObject({
|
|
|
4962
4962
|
members: optional(array(member))
|
|
4963
4963
|
});
|
|
4964
4964
|
|
|
4965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4966
4966
|
var quoted = strictObject({
|
|
4967
4967
|
id,
|
|
4968
4968
|
sender_id: nullable(id),
|
|
@@ -5081,7 +5081,7 @@ var message = strictObject({
|
|
|
5081
5081
|
provider_metadata: providerMetadata
|
|
5082
5082
|
});
|
|
5083
5083
|
|
|
5084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5084
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
5085
5085
|
var recordedMeeting = strictObject({
|
|
5086
5086
|
ref: reference,
|
|
5087
5087
|
meeting_id: count,
|
|
@@ -5094,7 +5094,7 @@ var recordedMeeting = strictObject({
|
|
|
5094
5094
|
people: array(reference)
|
|
5095
5095
|
});
|
|
5096
5096
|
|
|
5097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5098
5098
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5099
5099
|
var contextMessage = strictObject({
|
|
5100
5100
|
locator: reference,
|
|
@@ -5300,7 +5300,7 @@ var contactPreparation = strictObject({
|
|
|
5300
5300
|
})
|
|
5301
5301
|
});
|
|
5302
5302
|
|
|
5303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5304
5304
|
var nullableText = nullable(text);
|
|
5305
5305
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5306
5306
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5348,7 +5348,10 @@ var deal = strictObject({
|
|
|
5348
5348
|
external_id: nullableText,
|
|
5349
5349
|
/** A CRM copy's assignee, the identity `<account>/user/<id>`. */
|
|
5350
5350
|
assignee: nullableText,
|
|
5351
|
-
/**
|
|
5351
|
+
/**
|
|
5352
|
+
* A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. `amount_note` is
|
|
5353
|
+
* WireCat's own note, not a CRM field: the CRM's amount the store could not keep, and why.
|
|
5354
|
+
*/
|
|
5352
5355
|
provider_metadata: record(string(), strictObject({
|
|
5353
5356
|
label: nullable(string()),
|
|
5354
5357
|
value: unknown(),
|
|
@@ -5411,7 +5414,7 @@ var stage = strictObject({
|
|
|
5411
5414
|
untrusted
|
|
5412
5415
|
});
|
|
5413
5416
|
|
|
5414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5415
5418
|
var nullableText2 = nullable(text);
|
|
5416
5419
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5417
5420
|
var standing = picklist(STANDINGS);
|
|
@@ -5585,7 +5588,7 @@ var dealBrief = strictObject({
|
|
|
5585
5588
|
not_read: coverage2.entries.not_read
|
|
5586
5589
|
});
|
|
5587
5590
|
|
|
5588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5589
5592
|
var chart = strictObject({
|
|
5590
5593
|
version: literal(1),
|
|
5591
5594
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5600,7 +5603,7 @@ var chart = strictObject({
|
|
|
5600
5603
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5601
5604
|
});
|
|
5602
5605
|
|
|
5603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5604
5607
|
var named = strictObject({
|
|
5605
5608
|
id,
|
|
5606
5609
|
title: nullable(text),
|
|
@@ -5623,7 +5626,7 @@ var folder = strictObject({
|
|
|
5623
5626
|
excluded_chats: optional(array(named))
|
|
5624
5627
|
});
|
|
5625
5628
|
|
|
5626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5627
5630
|
var inviteLink = strictObject({
|
|
5628
5631
|
link: text,
|
|
5629
5632
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5639,7 +5642,7 @@ var inviteLink = strictObject({
|
|
|
5639
5642
|
joined_count: optional(count)
|
|
5640
5643
|
});
|
|
5641
5644
|
|
|
5642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5645
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5643
5646
|
var operated = { operation_id: id, chat_id: id };
|
|
5644
5647
|
var group = strictObject({
|
|
5645
5648
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5719,7 +5722,7 @@ var chatFolderOrder = strictObject({
|
|
|
5719
5722
|
folders: array(strictObject({ id, title: text }))
|
|
5720
5723
|
});
|
|
5721
5724
|
|
|
5722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5723
5726
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5724
5727
|
var chatRemoval = strictObject(operated2);
|
|
5725
5728
|
var chatMuting = strictObject({
|
|
@@ -5730,7 +5733,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5730
5733
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5731
5734
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5732
5735
|
|
|
5733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5734
5737
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5735
5738
|
var chatEvent = strictObject({
|
|
5736
5739
|
chat_id: id,
|
|
@@ -5747,7 +5750,7 @@ var chatEvent = strictObject({
|
|
|
5747
5750
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5748
5751
|
});
|
|
5749
5752
|
|
|
5750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5751
5754
|
var chatMetadata = strictObject({
|
|
5752
5755
|
chat_id: id,
|
|
5753
5756
|
title: nullable(text),
|
|
@@ -5762,7 +5765,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5762
5765
|
has_more: boolean()
|
|
5763
5766
|
});
|
|
5764
5767
|
|
|
5765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5766
5769
|
var action = picklist(["report", "delete", "remove"]);
|
|
5767
5770
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5768
5771
|
var chatRules = strictObject({
|
|
@@ -5799,7 +5802,7 @@ var chatModeration = strictObject({
|
|
|
5799
5802
|
}))
|
|
5800
5803
|
});
|
|
5801
5804
|
|
|
5802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
5803
5806
|
var chatSending = strictObject({
|
|
5804
5807
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
5805
5808
|
meaning: text,
|
|
@@ -5809,7 +5812,7 @@ var chatSending = strictObject({
|
|
|
5809
5812
|
changed: optional(boolean())
|
|
5810
5813
|
});
|
|
5811
5814
|
|
|
5812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5813
5816
|
var optionalCount = optional(count);
|
|
5814
5817
|
var minutes = nullable(number());
|
|
5815
5818
|
var chatStats = strictObject({
|
|
@@ -5885,7 +5888,7 @@ var taskStats = strictObject({
|
|
|
5885
5888
|
}))
|
|
5886
5889
|
});
|
|
5887
5890
|
|
|
5888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5889
5892
|
var memberCount = strictObject({
|
|
5890
5893
|
day: pipe(text, isoDate()),
|
|
5891
5894
|
participants: nullable(count),
|
|
@@ -5908,7 +5911,7 @@ var chatTracking = strictObject({
|
|
|
5908
5911
|
tracked: boolean()
|
|
5909
5912
|
});
|
|
5910
5913
|
|
|
5911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5912
5915
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5913
5916
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5914
5917
|
var profileFields = {
|
|
@@ -5946,7 +5949,7 @@ var profileFields = {
|
|
|
5946
5949
|
}))
|
|
5947
5950
|
};
|
|
5948
5951
|
|
|
5949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5950
5953
|
var contact = strictObject({
|
|
5951
5954
|
ref: reference,
|
|
5952
5955
|
id,
|
|
@@ -5977,7 +5980,7 @@ var contact = strictObject({
|
|
|
5977
5980
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5978
5981
|
});
|
|
5979
5982
|
|
|
5980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5983
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5981
5984
|
var contactNote = strictObject({
|
|
5982
5985
|
id,
|
|
5983
5986
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5989,13 +5992,13 @@ var contactNote = strictObject({
|
|
|
5989
5992
|
updated_at: time
|
|
5990
5993
|
});
|
|
5991
5994
|
|
|
5992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5993
5996
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5994
5997
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5995
5998
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5996
5999
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5997
6000
|
|
|
5998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5999
6002
|
var conversation = strictObject({
|
|
6000
6003
|
id,
|
|
6001
6004
|
chat: reference,
|
|
@@ -6010,7 +6013,7 @@ var conversation = strictObject({
|
|
|
6010
6013
|
rules_version: count
|
|
6011
6014
|
});
|
|
6012
6015
|
|
|
6013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
6014
6017
|
var conversationBuild = strictObject({
|
|
6015
6018
|
chat: id,
|
|
6016
6019
|
messages: count,
|
|
@@ -6035,7 +6038,7 @@ var catchUpPreparation = strictObject({
|
|
|
6035
6038
|
prepared: optional(conversationPreparation)
|
|
6036
6039
|
});
|
|
6037
6040
|
|
|
6038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6039
6042
|
var conversationDetails = union([
|
|
6040
6043
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6041
6044
|
message
|
|
@@ -6125,7 +6128,7 @@ var conversationHit = strictObject({
|
|
|
6125
6128
|
stale: boolean()
|
|
6126
6129
|
});
|
|
6127
6130
|
|
|
6128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6129
6132
|
var counters = strictObject({
|
|
6130
6133
|
cutoff: time,
|
|
6131
6134
|
max_age_ms: milliseconds,
|
|
@@ -6155,7 +6158,7 @@ var counterRefresh = strictObject({
|
|
|
6155
6158
|
complete: optional(boolean())
|
|
6156
6159
|
});
|
|
6157
6160
|
|
|
6158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6159
6162
|
var document = strictObject({
|
|
6160
6163
|
ref: reference,
|
|
6161
6164
|
id,
|
|
@@ -6170,7 +6173,7 @@ var document = strictObject({
|
|
|
6170
6173
|
owners: optional(array(text))
|
|
6171
6174
|
});
|
|
6172
6175
|
|
|
6173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6176
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6174
6177
|
var documentLink = strictObject({
|
|
6175
6178
|
ref: reference,
|
|
6176
6179
|
url: text,
|
|
@@ -6181,7 +6184,7 @@ var documentLink = strictObject({
|
|
|
6181
6184
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6182
6185
|
});
|
|
6183
6186
|
|
|
6184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6185
6188
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6186
6189
|
var contribution = strictObject({
|
|
6187
6190
|
message: evidenceMessage,
|
|
@@ -6211,7 +6214,7 @@ var retentionStay = strictObject({
|
|
|
6211
6214
|
});
|
|
6212
6215
|
var evidence = union([contribution, retentionStay]);
|
|
6213
6216
|
|
|
6214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6215
6218
|
var fact = strictObject({
|
|
6216
6219
|
ref: reference,
|
|
6217
6220
|
id,
|
|
@@ -6242,7 +6245,7 @@ var fact = strictObject({
|
|
|
6242
6245
|
updated_at: time
|
|
6243
6246
|
});
|
|
6244
6247
|
|
|
6245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6246
6249
|
var hit = strictObject({
|
|
6247
6250
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6248
6251
|
ref: reference,
|
|
@@ -6290,7 +6293,7 @@ var hit = strictObject({
|
|
|
6290
6293
|
untrusted
|
|
6291
6294
|
});
|
|
6292
6295
|
|
|
6293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6294
6297
|
var identity = strictObject({
|
|
6295
6298
|
ref: reference,
|
|
6296
6299
|
provider: text,
|
|
@@ -6306,7 +6309,7 @@ var identity = strictObject({
|
|
|
6306
6309
|
person: optional(nullable(reference))
|
|
6307
6310
|
});
|
|
6308
6311
|
|
|
6309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6312
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6310
6313
|
var imageEmbedding = strictObject({
|
|
6311
6314
|
model: text,
|
|
6312
6315
|
embedded: count,
|
|
@@ -6315,13 +6318,13 @@ var imageEmbedding = strictObject({
|
|
|
6315
6318
|
more: boolean()
|
|
6316
6319
|
});
|
|
6317
6320
|
|
|
6318
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6319
6322
|
import { spawn } from "node:child_process";
|
|
6320
6323
|
import { randomBytes } from "node:crypto";
|
|
6321
6324
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6322
6325
|
import { dirname, join } from "node:path";
|
|
6323
6326
|
|
|
6324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6325
6328
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6326
6329
|
const total = input.total ?? null;
|
|
6327
6330
|
const updated = input.updatedAt ?? null;
|
|
@@ -6337,7 +6340,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6337
6340
|
};
|
|
6338
6341
|
}, "progressOf");
|
|
6339
6342
|
|
|
6340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6341
6344
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6342
6345
|
const run = currentRun();
|
|
6343
6346
|
const trace = traceId ?? run.traceId;
|
|
@@ -6351,7 +6354,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6351
6354
|
}));
|
|
6352
6355
|
}, "recordLogFor");
|
|
6353
6356
|
|
|
6354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6355
6358
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6356
6359
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6357
6360
|
const out = openSync(log, "a", 384);
|
|
@@ -6506,7 +6509,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6506
6509
|
return { job: id6, pid, chat: input.chat, log };
|
|
6507
6510
|
}, "startArchiveJob");
|
|
6508
6511
|
|
|
6509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6510
6513
|
var problem = strictObject({ code: text, message: text });
|
|
6511
6514
|
var job = strictObject({
|
|
6512
6515
|
id,
|
|
@@ -6529,7 +6532,7 @@ var job = strictObject({
|
|
|
6529
6532
|
error: optional(problem)
|
|
6530
6533
|
});
|
|
6531
6534
|
|
|
6532
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6533
6536
|
var joinRequest = strictObject({
|
|
6534
6537
|
person_id: id,
|
|
6535
6538
|
name: nullable(text),
|
|
@@ -6540,7 +6543,7 @@ var joinRequest = strictObject({
|
|
|
6540
6543
|
about: optional(text)
|
|
6541
6544
|
});
|
|
6542
6545
|
|
|
6543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6544
6547
|
var botProfile = strictObject({
|
|
6545
6548
|
name: text,
|
|
6546
6549
|
token: text,
|
|
@@ -6664,7 +6667,7 @@ var stickerInventory = strictObject({
|
|
|
6664
6667
|
url: optional(nullable(text))
|
|
6665
6668
|
});
|
|
6666
6669
|
|
|
6667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6668
6671
|
var pollVote = strictObject({
|
|
6669
6672
|
person_id: id,
|
|
6670
6673
|
name: nullable(text),
|
|
@@ -6674,7 +6677,7 @@ var pollVote = strictObject({
|
|
|
6674
6677
|
voted_at: time
|
|
6675
6678
|
});
|
|
6676
6679
|
|
|
6677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6678
6681
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6679
6682
|
var observation = strictObject({
|
|
6680
6683
|
value: pipe(number(), minValue(0)),
|
|
@@ -6716,7 +6719,7 @@ var serveSummary = strictObject({
|
|
|
6716
6719
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6717
6720
|
});
|
|
6718
6721
|
|
|
6719
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6720
6723
|
var mailCounts = strictObject({
|
|
6721
6724
|
by: picklist(["day", "week", "sender"]),
|
|
6722
6725
|
received: count,
|
|
@@ -6731,7 +6734,7 @@ var mailCounts = strictObject({
|
|
|
6731
6734
|
}))
|
|
6732
6735
|
});
|
|
6733
6736
|
|
|
6734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6735
6738
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6736
6739
|
var base = { id, evidence: array(evidence2) };
|
|
6737
6740
|
var finding = variant("kind", [
|
|
@@ -6875,7 +6878,7 @@ var mailFindings = strictObject({
|
|
|
6875
6878
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6876
6879
|
});
|
|
6877
6880
|
|
|
6878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6879
6882
|
var mediaArchive = strictObject({
|
|
6880
6883
|
directory: text,
|
|
6881
6884
|
chats: count,
|
|
@@ -6907,7 +6910,7 @@ var mediaArchiveTimer = union([
|
|
|
6907
6910
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6908
6911
|
]);
|
|
6909
6912
|
|
|
6910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6911
6914
|
var preparationId = pipe(string(), minLength(1));
|
|
6912
6915
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6913
6916
|
var preparationTime = nullable(isoTime);
|
|
@@ -6999,7 +7002,7 @@ var preparationMeeting = strictObject({
|
|
|
6999
7002
|
updated_at: isoTime
|
|
7000
7003
|
});
|
|
7001
7004
|
|
|
7002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
7003
7006
|
var meetingEvidence = preparationEvidence;
|
|
7004
7007
|
var meetingPersonContext = strictObject({
|
|
7005
7008
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -7021,7 +7024,7 @@ var meetingPersonContext = strictObject({
|
|
|
7021
7024
|
})
|
|
7022
7025
|
});
|
|
7023
7026
|
|
|
7024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
7025
7028
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
7026
7029
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
7027
7030
|
var finding2 = variant("kind", [
|
|
@@ -7059,7 +7062,7 @@ var meetingFindings = strictObject({
|
|
|
7059
7062
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7060
7063
|
});
|
|
7061
7064
|
|
|
7062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7063
7066
|
var communicationCoverage = strictObject({
|
|
7064
7067
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7065
7068
|
query: string(),
|
|
@@ -7104,7 +7107,7 @@ var preparationCommunications = strictObject({
|
|
|
7104
7107
|
}))
|
|
7105
7108
|
});
|
|
7106
7109
|
|
|
7107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7108
7111
|
var meetingPreparation = strictObject({
|
|
7109
7112
|
communications: optional(preparationCommunications),
|
|
7110
7113
|
schema_version: literal(1),
|
|
@@ -7217,7 +7220,7 @@ var meetingPreparation = strictObject({
|
|
|
7217
7220
|
})
|
|
7218
7221
|
});
|
|
7219
7222
|
|
|
7220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7223
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7221
7224
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7222
7225
|
var id3 = pipe(string(), minLength(1));
|
|
7223
7226
|
var text3 = string();
|
|
@@ -7281,7 +7284,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7281
7284
|
})
|
|
7282
7285
|
});
|
|
7283
7286
|
|
|
7284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7285
7288
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7286
7289
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7287
7290
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7311,7 +7314,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7311
7314
|
})
|
|
7312
7315
|
});
|
|
7313
7316
|
|
|
7314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7315
7318
|
var text4 = string();
|
|
7316
7319
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7317
7320
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7328,7 +7331,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7328
7331
|
persistence: literal("proposal-only")
|
|
7329
7332
|
});
|
|
7330
7333
|
|
|
7331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7332
7335
|
var memory = strictObject({
|
|
7333
7336
|
ref: reference,
|
|
7334
7337
|
id,
|
|
@@ -7356,7 +7359,7 @@ var memory = strictObject({
|
|
|
7356
7359
|
updated_at: time
|
|
7357
7360
|
});
|
|
7358
7361
|
|
|
7359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7360
7363
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7361
7364
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7362
7365
|
var mention = strictObject({
|
|
@@ -7400,13 +7403,13 @@ var mentionRebuild = strictObject({
|
|
|
7400
7403
|
mentions: count
|
|
7401
7404
|
});
|
|
7402
7405
|
|
|
7403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7404
7407
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7405
7408
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7406
7409
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7407
7410
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7408
7411
|
|
|
7409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7410
7413
|
var messageTranscript = strictObject({
|
|
7411
7414
|
message_id: id,
|
|
7412
7415
|
text,
|
|
@@ -7464,7 +7467,7 @@ var evidencePacket = strictObject({
|
|
|
7464
7467
|
}))
|
|
7465
7468
|
});
|
|
7466
7469
|
|
|
7467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7468
7471
|
var messageThread = strictObject({
|
|
7469
7472
|
ref: reference,
|
|
7470
7473
|
chat: id,
|
|
@@ -7481,7 +7484,7 @@ var messageThread = strictObject({
|
|
|
7481
7484
|
});
|
|
7482
7485
|
var messageContext = union([message, messageThread]);
|
|
7483
7486
|
|
|
7484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7485
7488
|
var messageCounts = strictObject({
|
|
7486
7489
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7487
7490
|
total: count,
|
|
@@ -7494,7 +7497,7 @@ var messageCounts = strictObject({
|
|
|
7494
7497
|
}))
|
|
7495
7498
|
});
|
|
7496
7499
|
|
|
7497
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7498
7501
|
var messageLink = strictObject({
|
|
7499
7502
|
ref: reference,
|
|
7500
7503
|
url: nullable(text),
|
|
@@ -7511,7 +7514,7 @@ var messageLink = strictObject({
|
|
|
7511
7514
|
})))
|
|
7512
7515
|
});
|
|
7513
7516
|
|
|
7514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7515
7518
|
var savedMessageFile = strictObject({
|
|
7516
7519
|
kind: text,
|
|
7517
7520
|
path: text,
|
|
@@ -7598,7 +7601,7 @@ var messageSyncAll = strictObject({
|
|
|
7598
7601
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7599
7602
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7600
7603
|
|
|
7601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7604
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7602
7605
|
var messageWrite = strictObject({
|
|
7603
7606
|
operation_id: id,
|
|
7604
7607
|
message,
|
|
@@ -7613,7 +7616,7 @@ var draftWrite = strictObject({
|
|
|
7613
7616
|
});
|
|
7614
7617
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7615
7618
|
|
|
7616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7617
7620
|
var model = strictObject({
|
|
7618
7621
|
id,
|
|
7619
7622
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7648,7 +7651,7 @@ var chosenModel = strictObject({
|
|
|
7648
7651
|
estimate_seconds: nullable(count)
|
|
7649
7652
|
});
|
|
7650
7653
|
|
|
7651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7652
7655
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7653
7656
|
var modelKey = strictObject({
|
|
7654
7657
|
provider: text,
|
|
@@ -7658,7 +7661,7 @@ var modelKey = strictObject({
|
|
|
7658
7661
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7659
7662
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7660
7663
|
|
|
7661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7662
7665
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7663
7666
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7664
7667
|
var graph = strictObject({
|
|
@@ -7692,14 +7695,14 @@ var officialStats = strictObject({
|
|
|
7692
7695
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7693
7696
|
});
|
|
7694
7697
|
|
|
7695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7696
7699
|
var person2 = strictObject({
|
|
7697
7700
|
ref: reference,
|
|
7698
7701
|
name: nullable(text),
|
|
7699
7702
|
identities: optional(array(identity))
|
|
7700
7703
|
});
|
|
7701
7704
|
|
|
7702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7703
7706
|
var poll = strictObject({
|
|
7704
7707
|
chat_id: id,
|
|
7705
7708
|
message_id: id,
|
|
@@ -7715,11 +7718,11 @@ var poll = strictObject({
|
|
|
7715
7718
|
});
|
|
7716
7719
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7717
7720
|
|
|
7718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7719
7722
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7720
7723
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7721
7724
|
|
|
7722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7723
7726
|
var figures = record(string(), number());
|
|
7724
7727
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7725
7728
|
var rankingRow = strictObject({
|
|
@@ -7766,7 +7769,7 @@ var ranking = strictObject({
|
|
|
7766
7769
|
rows: array(rankingRow)
|
|
7767
7770
|
});
|
|
7768
7771
|
|
|
7769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7772
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7770
7773
|
var reaction = strictObject({
|
|
7771
7774
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7772
7775
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7774,7 +7777,7 @@ var reaction = strictObject({
|
|
|
7774
7777
|
reacted_at: time
|
|
7775
7778
|
});
|
|
7776
7779
|
|
|
7777
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7778
7781
|
var reactionChange = strictObject({
|
|
7779
7782
|
operation_id: id,
|
|
7780
7783
|
chat_id: id,
|
|
@@ -7782,7 +7785,7 @@ var reactionChange = strictObject({
|
|
|
7782
7785
|
reaction: nullable(text)
|
|
7783
7786
|
});
|
|
7784
7787
|
|
|
7785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7786
7789
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7787
7790
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7788
7791
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7793,7 +7796,7 @@ var recipientChange = strictObject({
|
|
|
7793
7796
|
...partial(recipientOff).entries
|
|
7794
7797
|
});
|
|
7795
7798
|
|
|
7796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7797
7800
|
var events = array(record(string(), unknown()));
|
|
7798
7801
|
var recordedRun = strictObject({
|
|
7799
7802
|
run_id: id,
|
|
@@ -7865,7 +7868,7 @@ var runHit = strictObject({
|
|
|
7865
7868
|
});
|
|
7866
7869
|
var runLocation = strictObject({ path: text });
|
|
7867
7870
|
|
|
7868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7869
7872
|
var relationship = strictObject({
|
|
7870
7873
|
id,
|
|
7871
7874
|
from: reference,
|
|
@@ -7892,7 +7895,7 @@ var relationship = strictObject({
|
|
|
7892
7895
|
created_at: time
|
|
7893
7896
|
});
|
|
7894
7897
|
|
|
7895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7898
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7896
7899
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7897
7900
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7898
7901
|
var responseTimes = strictObject({
|
|
@@ -7909,7 +7912,7 @@ var waitingChats = strictObject({
|
|
|
7909
7912
|
by_kind: strictObject({ private: count, group: count })
|
|
7910
7913
|
});
|
|
7911
7914
|
|
|
7912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7915
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7913
7916
|
var retentionCohort = strictObject({
|
|
7914
7917
|
/** The first day of the joining day or week. */
|
|
7915
7918
|
cohort: text,
|
|
@@ -7957,7 +7960,7 @@ var retention = strictObject({
|
|
|
7957
7960
|
rows: array(retentionCohort)
|
|
7958
7961
|
});
|
|
7959
7962
|
|
|
7960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7963
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7961
7964
|
var savedSearch = strictObject({
|
|
7962
7965
|
id,
|
|
7963
7966
|
/** `null` for a run in the history. */
|
|
@@ -7974,7 +7977,7 @@ var savedSearch = strictObject({
|
|
|
7974
7977
|
});
|
|
7975
7978
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7976
7979
|
|
|
7977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7978
7981
|
var sendAttempt = strictObject({
|
|
7979
7982
|
at: time,
|
|
7980
7983
|
profile: text,
|
|
@@ -8002,7 +8005,7 @@ var sendAttempt = strictObject({
|
|
|
8002
8005
|
error_code: optional(text)
|
|
8003
8006
|
});
|
|
8004
8007
|
|
|
8005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
8006
8009
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
8007
8010
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
8008
8011
|
var infoSchema = strictObject({
|
|
@@ -8232,7 +8235,7 @@ var storeRepair = union([
|
|
|
8232
8235
|
]);
|
|
8233
8236
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8234
8237
|
|
|
8235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8236
8239
|
var range = strictObject({ from: number(), to: number() });
|
|
8237
8240
|
var storeChatStatus = strictObject({
|
|
8238
8241
|
chat_id: id,
|
|
@@ -8330,7 +8333,7 @@ var storeJobRetry = union([
|
|
|
8330
8333
|
]);
|
|
8331
8334
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8332
8335
|
|
|
8333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8334
8337
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8335
8338
|
var storeTable = strictObject({
|
|
8336
8339
|
name: text,
|
|
@@ -8339,7 +8342,7 @@ var storeTable = strictObject({
|
|
|
8339
8342
|
bytes: optional(nullable(count))
|
|
8340
8343
|
});
|
|
8341
8344
|
|
|
8342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8343
8346
|
var tagTarget = variant("type", [
|
|
8344
8347
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8345
8348
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8370,7 +8373,7 @@ var automaticTags = strictObject({
|
|
|
8370
8373
|
dry_run: boolean()
|
|
8371
8374
|
});
|
|
8372
8375
|
|
|
8373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8374
8377
|
var tagging = strictObject({
|
|
8375
8378
|
tag: text,
|
|
8376
8379
|
type: picklist(TAG_TYPES),
|
|
@@ -8383,7 +8386,7 @@ var tagging = strictObject({
|
|
|
8383
8386
|
created_at: time
|
|
8384
8387
|
});
|
|
8385
8388
|
|
|
8386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8387
8390
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8388
8391
|
var taskPair = strictObject({
|
|
8389
8392
|
task: nullable(side),
|
|
@@ -8406,7 +8409,7 @@ var taskPair = strictObject({
|
|
|
8406
8409
|
created_at: time
|
|
8407
8410
|
});
|
|
8408
8411
|
|
|
8409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8410
8413
|
var nullableTime = nullable(time);
|
|
8411
8414
|
var link = strictObject({
|
|
8412
8415
|
id,
|
|
@@ -8580,7 +8583,7 @@ var taskReview = strictObject({
|
|
|
8580
8583
|
untrusted
|
|
8581
8584
|
});
|
|
8582
8585
|
|
|
8583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8586
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8584
8587
|
var template = strictObject({
|
|
8585
8588
|
key: text,
|
|
8586
8589
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8592,7 +8595,7 @@ var template = strictObject({
|
|
|
8592
8595
|
updated_by: nullable(text)
|
|
8593
8596
|
});
|
|
8594
8597
|
|
|
8595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8598
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8596
8599
|
var topic = strictObject({
|
|
8597
8600
|
id,
|
|
8598
8601
|
title: text,
|
|
@@ -8606,7 +8609,7 @@ var topic = strictObject({
|
|
|
8606
8609
|
untrusted
|
|
8607
8610
|
});
|
|
8608
8611
|
|
|
8609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8610
8613
|
var ENTITIES = {
|
|
8611
8614
|
sync_progress: progress,
|
|
8612
8615
|
deal,
|
|
@@ -8905,7 +8908,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8905
8908
|
return [name, definition];
|
|
8906
8909
|
})), "entityDefinitions");
|
|
8907
8910
|
|
|
8908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8909
8912
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8910
8913
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8911
8914
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8939,7 +8942,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8939
8942
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8940
8943
|
}, "answerRow");
|
|
8941
8944
|
|
|
8942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8945
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8943
8946
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8944
8947
|
var requests = new AsyncLocalStorage();
|
|
8945
8948
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8954,7 +8957,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8954
8957
|
return direct;
|
|
8955
8958
|
}, "exitCodeSet");
|
|
8956
8959
|
|
|
8957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8958
8961
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8959
8962
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8960
8963
|
messageId: message2.id,
|
|
@@ -9060,7 +9063,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9060
9063
|
}, "guardedWrite");
|
|
9061
9064
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9062
9065
|
|
|
9063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9064
9067
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9065
9068
|
try {
|
|
9066
9069
|
return work();
|
|
@@ -9087,7 +9090,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9087
9090
|
return projectFields(value, fields);
|
|
9088
9091
|
}), "projectFields");
|
|
9089
9092
|
|
|
9090
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9091
9094
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9092
9095
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9093
9096
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9270,7 +9273,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9270
9273
|
}
|
|
9271
9274
|
}, "withAbort");
|
|
9272
9275
|
|
|
9273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9274
9277
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9275
9278
|
import { join as join2 } from "node:path";
|
|
9276
9279
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9359,7 +9362,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9359
9362
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9360
9363
|
}, "registryProfiles");
|
|
9361
9364
|
|
|
9362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9363
9366
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9364
9367
|
import { join as join3 } from "node:path";
|
|
9365
9368
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9381,7 +9384,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9381
9384
|
}, "profilesWithAccounts");
|
|
9382
9385
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9383
9386
|
|
|
9384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9385
9388
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9386
9389
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9387
9390
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9417,7 +9420,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9417
9420
|
return value;
|
|
9418
9421
|
}, "atDetail");
|
|
9419
9422
|
|
|
9420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/output.js
|
|
9421
9424
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9422
9425
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9423
9426
|
if (other)
|
|
@@ -9481,7 +9484,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9481
9484
|
}, "warn")
|
|
9482
9485
|
}), "silence");
|
|
9483
9486
|
|
|
9484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9485
9488
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9486
9489
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9487
9490
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9519,7 +9522,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9519
9522
|
progress: "sync.progress"
|
|
9520
9523
|
};
|
|
9521
9524
|
|
|
9522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9523
9526
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9524
9527
|
const recording = startRecording(options);
|
|
9525
9528
|
try {
|
|
@@ -9734,7 +9737,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9734
9737
|
return void 0;
|
|
9735
9738
|
}, "partialOutcome");
|
|
9736
9739
|
|
|
9737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9738
9741
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9739
9742
|
if (ms2 === void 0)
|
|
9740
9743
|
return body();
|
|
@@ -9760,7 +9763,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9760
9763
|
}
|
|
9761
9764
|
}, "withDeadline");
|
|
9762
9765
|
|
|
9763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9764
9767
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9765
9768
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9766
9769
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9829,10 +9832,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9829
9832
|
return void 0;
|
|
9830
9833
|
}, "sampleCommand");
|
|
9831
9834
|
|
|
9832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9833
9836
|
import { existsSync as existsSync5 } from "node:fs";
|
|
9834
9837
|
|
|
9835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9836
9839
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9837
9840
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9838
9841
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9901,7 +9904,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9901
9904
|
};
|
|
9902
9905
|
}, "modelTarget");
|
|
9903
9906
|
|
|
9904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9905
9908
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9906
9909
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9907
9910
|
var AI_FIELDS = {
|
|
@@ -9945,7 +9948,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9945
9948
|
};
|
|
9946
9949
|
}, "resolveAISettings");
|
|
9947
9950
|
|
|
9948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9949
9952
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9950
9953
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9951
9954
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9959,7 +9962,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9959
9962
|
return ms2;
|
|
9960
9963
|
}, "parseDuration");
|
|
9961
9964
|
|
|
9962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9963
9966
|
var HISTORY_MAX_DAYS = 1095;
|
|
9964
9967
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9965
9968
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10006,7 +10009,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10006
10009
|
return { batch: { ...batch, messages }, skipped };
|
|
10007
10010
|
}, "limitBatch");
|
|
10008
10011
|
|
|
10009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10010
10013
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10011
10014
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10012
10015
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10301,7 +10304,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10301
10304
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10302
10305
|
}, "readConfigFile");
|
|
10303
10306
|
|
|
10304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10305
10308
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10306
10309
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10307
10310
|
var DEFAULT_CONFIG = {
|
|
@@ -10330,7 +10333,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10330
10333
|
}
|
|
10331
10334
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10332
10335
|
|
|
10333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10334
10337
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10335
10338
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10336
10339
|
const path2 = key.split(".");
|
|
@@ -10352,7 +10355,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10352
10355
|
return { config, added };
|
|
10353
10356
|
}, "withSettingDefaults");
|
|
10354
10357
|
|
|
10355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10356
10359
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10357
10360
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10358
10361
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10878,7 +10881,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10878
10881
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10879
10882
|
}, "given");
|
|
10880
10883
|
|
|
10881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10882
10885
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
10883
10886
|
const slot = environmentOf(command).exit;
|
|
10884
10887
|
const request = commandServerRequest();
|
|
@@ -11014,7 +11017,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11014
11017
|
return words.join(" ");
|
|
11015
11018
|
}, "commandPath");
|
|
11016
11019
|
|
|
11017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11018
11021
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11019
11022
|
var FETCH = { remote: "read", local: "write" };
|
|
11020
11023
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11154,7 +11157,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11154
11157
|
throw readOnlyRefusal(lock, what);
|
|
11155
11158
|
}, "refuseUnderReadOnly");
|
|
11156
11159
|
|
|
11157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11158
11161
|
import { join as join5 } from "node:path";
|
|
11159
11162
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11160
11163
|
var IMAGE_MODELS = [
|
|
@@ -11208,7 +11211,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11208
11211
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11209
11212
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11210
11213
|
|
|
11211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11212
11215
|
var STEPS2 = defineSteps([
|
|
11213
11216
|
...STEPS,
|
|
11214
11217
|
{
|
|
@@ -11498,7 +11501,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11498
11501
|
].join(" ");
|
|
11499
11502
|
}, "stepLine");
|
|
11500
11503
|
|
|
11501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11504
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11502
11505
|
var where = [{ field: "ref" }];
|
|
11503
11506
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11504
11507
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11590,7 +11593,7 @@ var STATUS_ROWS = {
|
|
|
11590
11593
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11591
11594
|
};
|
|
11592
11595
|
|
|
11593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11594
11597
|
var TEXT_CHARS = 400;
|
|
11595
11598
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11596
11599
|
var messageRow = {
|
|
@@ -11958,7 +11961,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11958
11961
|
return lines.concat(footerOf(body)).join("\n");
|
|
11959
11962
|
}, "compactText");
|
|
11960
11963
|
|
|
11961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11962
11965
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11963
11966
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11964
11967
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12016,7 +12019,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12016
12019
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12017
12020
|
}, "largeAnswerSteps");
|
|
12018
12021
|
|
|
12019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12020
12023
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12021
12024
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12022
12025
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12030,7 +12033,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12030
12033
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12031
12034
|
}, "strip");
|
|
12032
12035
|
|
|
12033
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12034
12037
|
var OPEN = "\u27E6";
|
|
12035
12038
|
var CLOSE = "\u27E7";
|
|
12036
12039
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12114,7 +12117,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12114
12117
|
return result;
|
|
12115
12118
|
}, "withFieldsMarked");
|
|
12116
12119
|
|
|
12117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12118
12121
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12119
12122
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12120
12123
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|