@wirecat/tg-cli 0.126.0 → 0.128.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-BXU3AVB7.js → adapter-JOI34QLS.js} +43 -43
- package/dist/bundle/{all-profiles-G5A6IROO.js → all-profiles-2BZEE7J2.js} +18 -28
- package/dist/bundle/{anthropic-SINVEVEM.js → anthropic-NW7DL3S3.js} +2 -2
- package/dist/bundle/{app-server-IHIQXPJF.js → app-server-RUTYKELF.js} +39 -54
- package/dist/bundle/{bot-api-LGAVVYRM.js → bot-api-DW6NAZAQ.js} +44 -44
- package/dist/bundle/{bot-history-5C35FGCD.js → bot-history-FAJ2W42U.js} +12 -12
- package/dist/bundle/{bun-2GK3YOP3.js → bun-IVP5LSVI.js} +2 -2
- package/dist/bundle/{bun-sqlite-7DGADK3E.js → bun-sqlite-ATPCJ4CT.js} +3 -3
- package/dist/bundle/{chunk-Y5DGB7GP.js → chunk-2A3TC52A.js} +7 -7
- package/dist/bundle/{chunk-Y4724JRR.js → chunk-2IL4YDGG.js} +2 -2
- package/dist/bundle/{chunk-2F2UMQMB.js → chunk-2QHIOPSA.js} +182 -399
- package/dist/bundle/{chunk-SXVB2CVR.js → chunk-3UGRMFWK.js} +2 -2
- package/dist/bundle/{chunk-QCLMP635.js → chunk-4DSIGS2E.js} +5 -5
- package/dist/bundle/{chunk-HPFB4Y7P.js → chunk-5AP25FMW.js} +1 -1
- package/dist/bundle/{chunk-CK7DSGIK.js → chunk-7D6LI2N7.js} +322 -11
- package/dist/bundle/{chunk-2LN6OJUB.js → chunk-7I5NMVX7.js} +1 -1
- package/dist/bundle/{chunk-JQ2RKLPU.js → chunk-AF2XVV5P.js} +648 -239
- package/dist/bundle/{chunk-MP47TE77.js → chunk-BVCRDHI2.js} +3 -3
- package/dist/bundle/{chunk-7UACPXDC.js → chunk-E56QE3UC.js} +987 -768
- package/dist/bundle/{chunk-ACLUVZ4I.js → chunk-EAUHYQUK.js} +40 -48
- package/dist/bundle/{chunk-L5PYWQDA.js → chunk-F4UIBEQK.js} +2 -2
- package/dist/bundle/{chunk-FYOHGIQP.js → chunk-FHGAJK4I.js} +16 -13
- package/dist/bundle/{chunk-AA2NZAUT.js → chunk-G3PL3R45.js} +1 -1
- package/dist/bundle/{chunk-W75SKUY4.js → chunk-GYO4WXLG.js} +2 -2
- package/dist/bundle/{chunk-GIY56MIB.js → chunk-IHLNXL2D.js} +1 -1
- package/dist/bundle/{chunk-MA2XHO4O.js → chunk-IIHCSJV2.js} +641 -389
- package/dist/bundle/{chunk-N2JSMP4N.js → chunk-IV2KJQ5F.js} +16 -15
- package/dist/bundle/{chunk-QGLB4D7J.js → chunk-J3SX36NE.js} +1 -1
- package/dist/bundle/{chunk-XGBXRDJP.js → chunk-JI2PFQFL.js} +5 -5
- package/dist/bundle/{chunk-RFDPU4NO.js → chunk-JJGPU24U.js} +4 -4
- package/dist/bundle/{chunk-5NLAGTWU.js → chunk-KF2Q776U.js} +7 -7
- package/dist/bundle/{chunk-F34EE5Y2.js → chunk-KKZQK6IK.js} +2 -2
- package/dist/bundle/{chunk-5GINYFD4.js → chunk-LTADKMP5.js} +1 -1
- package/dist/bundle/{chunk-J2BUWK5U.js → chunk-MC6FOTCV.js} +98 -6
- package/dist/bundle/{chunk-63DSHUNP.js → chunk-MDGLKMLD.js} +5 -5
- package/dist/bundle/{chunk-PJ6FZXUR.js → chunk-MGBVVQTU.js} +2 -2
- package/dist/bundle/{chunk-K4DXGJK4.js → chunk-MOUPWPNL.js} +10 -10
- package/dist/bundle/{chunk-G4VVBR6U.js → chunk-NXDQXDRN.js} +3 -3
- package/dist/bundle/{chunk-SL4S5GFR.js → chunk-ODBK56ZR.js} +1 -1
- package/dist/bundle/{chunk-QYLYMOXN.js → chunk-OX6574YV.js} +11 -11
- package/dist/bundle/{chunk-4GR5YYGA.js → chunk-PJA43HVE.js} +2 -2
- package/dist/bundle/{chunk-GI2ZUNOH.js → chunk-Q3ZO6Q3M.js} +4 -4
- package/dist/bundle/{chunk-OXB5P37M.js → chunk-QO4ON2X7.js} +1 -1
- package/dist/bundle/{chunk-NJ3FSKSU.js → chunk-QYN5RDTZ.js} +2 -2
- package/dist/bundle/{chunk-GOGGRLS6.js → chunk-R4QVV3LN.js} +27 -12
- package/dist/bundle/{chunk-AZ7DSHQO.js → chunk-RIGNCUZD.js} +1 -1
- package/dist/bundle/{chunk-QMEPKUG3.js → chunk-RZFIQMOA.js} +55 -52
- package/dist/bundle/{chunk-G4RCT5RH.js → chunk-SDLJJF7E.js} +12 -12
- package/dist/bundle/{chunk-JAKP5RWM.js → chunk-T2CWSFGY.js} +1558 -928
- package/dist/bundle/{chunk-W35POPPX.js → chunk-TGUXKG4B.js} +16 -16
- package/dist/bundle/{chunk-W725T2V7.js → chunk-TQFUAKU6.js} +1 -1
- package/dist/bundle/{chunk-UIFQEXVP.js → chunk-UURJO46N.js} +1 -1
- package/dist/bundle/{chunk-AKUBJHE5.js → chunk-WG3BF7SA.js} +1 -1
- package/dist/bundle/{chunk-7FL2N6DM.js → chunk-WMF6SL5D.js} +1 -1
- package/dist/bundle/{chunk-ZXCQF6XV.js → chunk-WMUPZ3IY.js} +10 -10
- package/dist/bundle/{chunk-KSLZEXRF.js → chunk-WPMJQIEU.js} +1 -1
- package/dist/bundle/{chunk-QOINWAQD.js → chunk-XYAH6QQO.js} +2 -2
- package/dist/bundle/{chunk-DGGAYHLN.js → chunk-YSXDCSBP.js} +33 -23
- package/dist/bundle/{chunk-AYEQMXRE.js → chunk-YVV5S2QA.js} +1 -1
- package/dist/bundle/{chunk-P2GNIWGG.js → chunk-ZVLYK6CZ.js} +6 -6
- package/dist/bundle/{command-contract-ZEYY3ZXK.js → command-contract-3BSXDYBC.js} +13 -13
- package/dist/bundle/{command-server-entry-UWY6PQIV.js → command-server-entry-BU3X4XNL.js} +20 -20
- package/dist/bundle/{decode-QGMFQ6XX.js → decode-NXB7E46F.js} +2 -2
- package/dist/bundle/{echarts-GHU3GEWV.js → echarts-NAXLKJLA.js} +2 -2
- package/dist/bundle/{embed-6DMEWQDO.js → embed-LB6ONWHX.js} +3 -3
- package/dist/bundle/{embedder-W2L7YZPW.js → embedder-WE7B2RU5.js} +6 -6
- package/dist/bundle/{entry-LPEXVFQC.js → entry-W6Y52ZRN.js} +6 -6
- package/dist/bundle/{first-run-3UJ6SJF5.js → first-run-NVYNZZA6.js} +5 -5
- package/dist/bundle/{first-screen-VCSY5QH5.js → first-screen-Z6TVHK6I.js} +14 -14
- package/dist/bundle/{instructions-RUVAH2IS.js → instructions-MRUC57NS.js} +1 -1
- package/dist/bundle/{node-RYSNHVBX.js → node-G7PMDYQV.js} +2 -2
- package/dist/bundle/{node-sqlite-J6ZL4LUY.js → node-sqlite-RXWQ3SES.js} +4 -4
- package/dist/bundle/{oauth-B2QNZNSC.js → oauth-6ZWOL6KX.js} +4 -4
- package/dist/bundle/{open-OMUP5P6V.js → open-V7LMZCFI.js} +2 -2
- package/dist/bundle/{openai-BT4BP4VQ.js → openai-P472V4ZM.js} +12 -12
- package/dist/bundle/{process-HG3QDD54.js → process-GSNPENHL.js} +1 -1
- package/dist/bundle/{program-P2VATMKJ.js → program-IELITPKT.js} +46 -46
- package/dist/bundle/{prompt-BTIHH3Z4.js → prompt-2CP6CQ5N.js} +2 -2
- package/dist/bundle/{recognize-CTSJXPIG.js → recognize-R2DEQ5TC.js} +1 -1
- package/dist/bundle/{remote-2FIGCMKL.js → remote-JG3POFES.js} +6 -6
- package/dist/bundle/{rerank-TI5SLEF4.js → rerank-TVMR3OLL.js} +4 -4
- package/dist/bundle/{serve-IO3IM5C7.js → serve-DBWSMLPH.js} +6 -6
- package/dist/bundle/{server-WEPFFTYA.js → server-EXJ2WNZY.js} +37 -35
- package/dist/bundle/server-SXNFFAIR.js +61 -0
- package/dist/bundle/{sqlite-runtime-CTEYXX7L.js → sqlite-runtime-AWMY7W4Q.js} +3 -3
- package/dist/bundle/{state-GFHVDGHM.js → state-HN44BWNQ.js} +3 -3
- package/dist/bundle/{store-RCK6HT4F.js → store-GIYS3LHV.js} +9 -9
- package/dist/bundle/{store-Y5XC4LEM.js → store-LOVKYQDC.js} +15 -11
- package/dist/bundle/store-maintenance-command-X3VOYNCG.js +52 -0
- package/dist/bundle/tg.js +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/chunk-BSKYPHLB.js +0 -76
- package/dist/bundle/server-RIGXUTKZ.js +0 -62
- package/dist/bundle/store-maintenance-command-XH6VMCDU.js +0 -52
|
@@ -9,29 +9,29 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZVLYK6CZ.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QYN5RDTZ.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestorValue,
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YVV5S2QA.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QO4ON2X7.js";
|
|
25
25
|
import {
|
|
26
26
|
endpoint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RIGNCUZD.js";
|
|
28
28
|
import {
|
|
29
29
|
note
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-F4UIBEQK.js";
|
|
31
31
|
import {
|
|
32
32
|
filesPresent,
|
|
33
33
|
sharedModelsDirectory
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BVCRDHI2.js";
|
|
35
35
|
import {
|
|
36
36
|
BUSINESS_KINDS,
|
|
37
37
|
CATEGORIES,
|
|
@@ -109,19 +109,20 @@ import {
|
|
|
109
109
|
typedCommand,
|
|
110
110
|
untrusted,
|
|
111
111
|
useAsProcessRun
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-AF2XVV5P.js";
|
|
113
113
|
import {
|
|
114
114
|
isCliFailure,
|
|
115
115
|
storeDamaged
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-MGBVVQTU.js";
|
|
117
117
|
import {
|
|
118
118
|
readSharedSection,
|
|
119
|
+
repairConfigText,
|
|
119
120
|
sharedConfigPath,
|
|
120
121
|
writeSharedSection
|
|
121
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-7D6LI2N7.js";
|
|
122
123
|
import {
|
|
123
124
|
storePath
|
|
124
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-TQFUAKU6.js";
|
|
125
126
|
import {
|
|
126
127
|
configFilePath,
|
|
127
128
|
createRecordLog,
|
|
@@ -3993,20 +3994,21 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3993
3994
|
}
|
|
3994
3995
|
}, "refuseJoinedPath");
|
|
3995
3996
|
|
|
3996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3997
3998
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3998
3999
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
3999
4000
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
4000
4001
|
var DEFAULT_PERMISSIONS = {
|
|
4001
|
-
|
|
4002
|
+
// Owner, 2026-11-14: deleting a message does not ask; a profile that wants the question sets `ask`.
|
|
4003
|
+
"messages.delete": "allow",
|
|
4002
4004
|
"account.sessions.end": "ask",
|
|
4003
|
-
"bot.messages.delete": "
|
|
4005
|
+
"bot.messages.delete": "allow",
|
|
4004
4006
|
"topics.enable": "ask",
|
|
4005
4007
|
"topics.delete": "ask",
|
|
4006
4008
|
"chats.delete": "ask",
|
|
4007
4009
|
"chats.clear": "ask",
|
|
4008
|
-
// NEED-568: a rule
|
|
4009
|
-
"replies.send": "
|
|
4010
|
+
// Owner, 2026-11-14 (replaces NEED-568): a rule the owner enabled may send; `deny` stops every automatic reply.
|
|
4011
|
+
"replies.send": "allow",
|
|
4010
4012
|
// NEED-1662: an agent that changes settings, schedules or recipients could lift its own limits; the owner opts in.
|
|
4011
4013
|
"mcp.authority": "deny",
|
|
4012
4014
|
// NEED-1663: writes no level stopped before, so MCP could not offer them; over MCP `ask` goes ahead.
|
|
@@ -4031,7 +4033,11 @@ var DEFAULT_PERMISSIONS = {
|
|
|
4031
4033
|
"images.models.download": "ask",
|
|
4032
4034
|
"schedule.run": "ask",
|
|
4033
4035
|
"schedule.exec": "ask",
|
|
4034
|
-
"doctor.reports.create": "ask"
|
|
4036
|
+
"doctor.reports.create": "ask",
|
|
4037
|
+
// A meeting changed on the service reaches its invitees: asked first, as zoom's `remote-meetings` was.
|
|
4038
|
+
"meetings.create": "ask",
|
|
4039
|
+
"meetings.update": "ask",
|
|
4040
|
+
"meetings.cancel": "ask"
|
|
4035
4041
|
};
|
|
4036
4042
|
var KEYED_UNDER_HOUSEKEEPING = new Set(Object.keys(DEFAULT_PERMISSIONS).filter((key) => /^(store|server|models|images|schedule|doctor)\./.test(key)));
|
|
4037
4043
|
var AUTHORITY_KEY = "mcp.authority";
|
|
@@ -4088,6 +4094,23 @@ var layerPermissions = /* @__PURE__ */ __name((layers) => {
|
|
|
4088
4094
|
return { levels, sources };
|
|
4089
4095
|
}, "layerPermissions");
|
|
4090
4096
|
var CEILING_KEY = "*";
|
|
4097
|
+
var STORE_ONLY_KEYS = /* @__PURE__ */ new Set([
|
|
4098
|
+
"attachments.extract",
|
|
4099
|
+
"conversations.embeddings",
|
|
4100
|
+
"conversations.links",
|
|
4101
|
+
"messages.server-search",
|
|
4102
|
+
"messages.sync-first",
|
|
4103
|
+
"metadata.sync",
|
|
4104
|
+
"stats.contacts.top.sync-first",
|
|
4105
|
+
"stats.messages.counters.sync",
|
|
4106
|
+
"stats.messages.show.sync-first",
|
|
4107
|
+
"stats.messages.top.sync-first",
|
|
4108
|
+
"store.gaps.repair"
|
|
4109
|
+
]);
|
|
4110
|
+
var FETCH_KEYS = new Set([...STORE_ONLY_KEYS].filter((key) => !["attachments.extract", "conversations.embeddings", "conversations.links"].includes(key)));
|
|
4111
|
+
var fetchesUnder = /* @__PURE__ */ __name((level2, key) => level2 === "readonly" && FETCH_KEYS.has(key), "fetchesUnder");
|
|
4112
|
+
var fetchesAt = /* @__PURE__ */ __name((level2) => level2 === "allow" || level2 === "readonly", "fetchesAt");
|
|
4113
|
+
var stops = /* @__PURE__ */ __name((level2, key) => level2 === "deny" || level2 === "readonly" && !FETCH_KEYS.has(key), "stops");
|
|
4091
4114
|
var ALLOWED = { level: "allow", key: null };
|
|
4092
4115
|
var ORDER = { deny: 0, readonly: 1, ask: 2, allow: 3 };
|
|
4093
4116
|
var nearest = /* @__PURE__ */ __name((levels, key) => {
|
|
@@ -4397,7 +4420,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4397
4420
|
}
|
|
4398
4421
|
}, "assertRetentionEvidenceRead");
|
|
4399
4422
|
|
|
4400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4401
4424
|
var account = strictObject({
|
|
4402
4425
|
provider: text,
|
|
4403
4426
|
id,
|
|
@@ -4407,7 +4430,7 @@ var account = strictObject({
|
|
|
4407
4430
|
scope: optional(picklist(["personal", "work"]))
|
|
4408
4431
|
});
|
|
4409
4432
|
|
|
4410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4411
4434
|
var accountSession = strictObject({
|
|
4412
4435
|
current: boolean(),
|
|
4413
4436
|
client: nullable(text),
|
|
@@ -4417,7 +4440,7 @@ var accountSession = strictObject({
|
|
|
4417
4440
|
created_at: optional(nullable(time))
|
|
4418
4441
|
});
|
|
4419
4442
|
|
|
4420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4421
4444
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4422
4445
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4423
4446
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4446,7 +4469,7 @@ var accountRemoval = strictObject({
|
|
|
4446
4469
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4447
4470
|
});
|
|
4448
4471
|
|
|
4449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4450
4473
|
var accountProfile = strictObject({
|
|
4451
4474
|
profile: id,
|
|
4452
4475
|
current: boolean(),
|
|
@@ -4458,7 +4481,7 @@ var accountProfile = strictObject({
|
|
|
4458
4481
|
bot: optional(literal(true))
|
|
4459
4482
|
});
|
|
4460
4483
|
|
|
4461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4462
4485
|
var milliseconds = pipe(number(), minValue(0));
|
|
4463
4486
|
var counterReading = strictObject({
|
|
4464
4487
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4470,7 +4493,7 @@ var counterReading = strictObject({
|
|
|
4470
4493
|
});
|
|
4471
4494
|
var selection = record(string(), unknown());
|
|
4472
4495
|
|
|
4473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4474
4497
|
var adminRow = strictObject({
|
|
4475
4498
|
ref: reference,
|
|
4476
4499
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4523,7 +4546,7 @@ var adminReport = strictObject({
|
|
|
4523
4546
|
rows: array(adminRow)
|
|
4524
4547
|
});
|
|
4525
4548
|
|
|
4526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4527
4550
|
var closeSuggestion = strictObject({
|
|
4528
4551
|
as: picklist(["done", "dismissed"]),
|
|
4529
4552
|
/** The agent's name. */
|
|
@@ -4585,7 +4608,7 @@ var task = strictObject({
|
|
|
4585
4608
|
updated_at: optional(time)
|
|
4586
4609
|
});
|
|
4587
4610
|
|
|
4588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4589
4612
|
var agendaChat = strictObject({
|
|
4590
4613
|
chat: reference,
|
|
4591
4614
|
title: nullable(text),
|
|
@@ -4655,11 +4678,11 @@ var agenda = strictObject({
|
|
|
4655
4678
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4656
4679
|
});
|
|
4657
4680
|
|
|
4658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4659
4682
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4660
4683
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4661
4684
|
|
|
4662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4663
4686
|
var attachment = strictObject({
|
|
4664
4687
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4665
4688
|
message: optional(reference),
|
|
@@ -4704,7 +4727,7 @@ var hitFile = strictObject({
|
|
|
4704
4727
|
local_path: optional(text)
|
|
4705
4728
|
});
|
|
4706
4729
|
|
|
4707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4708
4731
|
var actionableError = objectWithRest({
|
|
4709
4732
|
code: text,
|
|
4710
4733
|
message: text,
|
|
@@ -4721,7 +4744,7 @@ var batchResult = strictObject({
|
|
|
4721
4744
|
max_error_percent: count
|
|
4722
4745
|
});
|
|
4723
4746
|
|
|
4724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4725
4748
|
var extractionItem = strictObject({
|
|
4726
4749
|
ref: reference,
|
|
4727
4750
|
attachment: count,
|
|
@@ -4754,7 +4777,7 @@ var extractionReport = strictObject({
|
|
|
4754
4777
|
cursor: optional(text)
|
|
4755
4778
|
});
|
|
4756
4779
|
|
|
4757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4758
4781
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4759
4782
|
var attachmentBytes = strictObject({
|
|
4760
4783
|
ref: reference,
|
|
@@ -4785,7 +4808,7 @@ var attachmentTextChange = strictObject({
|
|
|
4785
4808
|
text: optional(text)
|
|
4786
4809
|
});
|
|
4787
4810
|
|
|
4788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4789
4812
|
var WEIGHTS = {
|
|
4790
4813
|
bot: 3,
|
|
4791
4814
|
scam: 3,
|
|
@@ -4810,7 +4833,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4810
4833
|
var DIGITS = /\d{5,}/;
|
|
4811
4834
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4812
4835
|
|
|
4813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4814
4837
|
var linkedIdentity = strictObject({
|
|
4815
4838
|
provider: text,
|
|
4816
4839
|
id,
|
|
@@ -4865,7 +4888,7 @@ var contactCheck = strictObject({
|
|
|
4865
4888
|
checked_at: time
|
|
4866
4889
|
});
|
|
4867
4890
|
|
|
4868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4869
4892
|
var member = strictObject({
|
|
4870
4893
|
id,
|
|
4871
4894
|
name: nullable(text),
|
|
@@ -4888,7 +4911,7 @@ var member = strictObject({
|
|
|
4888
4911
|
check: optional(record(string(), unknown()))
|
|
4889
4912
|
});
|
|
4890
4913
|
|
|
4891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4892
4915
|
var setting = optional(nullable(boolean()));
|
|
4893
4916
|
var chat = strictObject({
|
|
4894
4917
|
ref: reference,
|
|
@@ -4929,7 +4952,7 @@ var chat = strictObject({
|
|
|
4929
4952
|
members: optional(array(member))
|
|
4930
4953
|
});
|
|
4931
4954
|
|
|
4932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4933
4956
|
var quoted = strictObject({
|
|
4934
4957
|
id,
|
|
4935
4958
|
sender_id: nullable(id),
|
|
@@ -5048,7 +5071,7 @@ var message = strictObject({
|
|
|
5048
5071
|
provider_metadata: providerMetadata
|
|
5049
5072
|
});
|
|
5050
5073
|
|
|
5051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
5052
5075
|
var recordedMeeting = strictObject({
|
|
5053
5076
|
ref: reference,
|
|
5054
5077
|
meeting_id: count,
|
|
@@ -5061,7 +5084,7 @@ var recordedMeeting = strictObject({
|
|
|
5061
5084
|
people: array(reference)
|
|
5062
5085
|
});
|
|
5063
5086
|
|
|
5064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5065
5088
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5066
5089
|
var contextMessage = strictObject({
|
|
5067
5090
|
locator: reference,
|
|
@@ -5267,7 +5290,7 @@ var contactPreparation = strictObject({
|
|
|
5267
5290
|
})
|
|
5268
5291
|
});
|
|
5269
5292
|
|
|
5270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5271
5294
|
var nullableText = nullable(text);
|
|
5272
5295
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5273
5296
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5378,7 +5401,7 @@ var stage = strictObject({
|
|
|
5378
5401
|
untrusted
|
|
5379
5402
|
});
|
|
5380
5403
|
|
|
5381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5382
5405
|
var nullableText2 = nullable(text);
|
|
5383
5406
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5384
5407
|
var standing = picklist(STANDINGS);
|
|
@@ -5552,7 +5575,7 @@ var dealBrief = strictObject({
|
|
|
5552
5575
|
not_read: coverage2.entries.not_read
|
|
5553
5576
|
});
|
|
5554
5577
|
|
|
5555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5556
5579
|
var chart = strictObject({
|
|
5557
5580
|
version: literal(1),
|
|
5558
5581
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5567,7 +5590,7 @@ var chart = strictObject({
|
|
|
5567
5590
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5568
5591
|
});
|
|
5569
5592
|
|
|
5570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5593
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5571
5594
|
var named = strictObject({
|
|
5572
5595
|
id,
|
|
5573
5596
|
title: nullable(text),
|
|
@@ -5590,7 +5613,7 @@ var folder = strictObject({
|
|
|
5590
5613
|
excluded_chats: optional(array(named))
|
|
5591
5614
|
});
|
|
5592
5615
|
|
|
5593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5616
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5594
5617
|
var inviteLink = strictObject({
|
|
5595
5618
|
link: text,
|
|
5596
5619
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5606,7 +5629,7 @@ var inviteLink = strictObject({
|
|
|
5606
5629
|
joined_count: optional(count)
|
|
5607
5630
|
});
|
|
5608
5631
|
|
|
5609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5610
5633
|
var operated = { operation_id: id, chat_id: id };
|
|
5611
5634
|
var group = strictObject({
|
|
5612
5635
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5686,7 +5709,7 @@ var chatFolderOrder = strictObject({
|
|
|
5686
5709
|
folders: array(strictObject({ id, title: text }))
|
|
5687
5710
|
});
|
|
5688
5711
|
|
|
5689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5712
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5690
5713
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5691
5714
|
var chatRemoval = strictObject(operated2);
|
|
5692
5715
|
var chatMuting = strictObject({
|
|
@@ -5697,7 +5720,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5697
5720
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5698
5721
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5699
5722
|
|
|
5700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5701
5724
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5702
5725
|
var chatEvent = strictObject({
|
|
5703
5726
|
chat_id: id,
|
|
@@ -5714,7 +5737,7 @@ var chatEvent = strictObject({
|
|
|
5714
5737
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5715
5738
|
});
|
|
5716
5739
|
|
|
5717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5718
5741
|
var chatMetadata = strictObject({
|
|
5719
5742
|
chat_id: id,
|
|
5720
5743
|
title: nullable(text),
|
|
@@ -5729,7 +5752,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5729
5752
|
has_more: boolean()
|
|
5730
5753
|
});
|
|
5731
5754
|
|
|
5732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5733
5756
|
var action = picklist(["report", "delete", "remove"]);
|
|
5734
5757
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5735
5758
|
var chatRules = strictObject({
|
|
@@ -5766,7 +5789,7 @@ var chatModeration = strictObject({
|
|
|
5766
5789
|
}))
|
|
5767
5790
|
});
|
|
5768
5791
|
|
|
5769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5792
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5770
5793
|
var optionalCount = optional(count);
|
|
5771
5794
|
var minutes = nullable(number());
|
|
5772
5795
|
var chatStats = strictObject({
|
|
@@ -5842,7 +5865,7 @@ var taskStats = strictObject({
|
|
|
5842
5865
|
}))
|
|
5843
5866
|
});
|
|
5844
5867
|
|
|
5845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5846
5869
|
var memberCount = strictObject({
|
|
5847
5870
|
day: pipe(text, isoDate()),
|
|
5848
5871
|
participants: nullable(count),
|
|
@@ -5865,7 +5888,7 @@ var chatTracking = strictObject({
|
|
|
5865
5888
|
tracked: boolean()
|
|
5866
5889
|
});
|
|
5867
5890
|
|
|
5868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5869
5892
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5870
5893
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5871
5894
|
var profileFields = {
|
|
@@ -5903,7 +5926,7 @@ var profileFields = {
|
|
|
5903
5926
|
}))
|
|
5904
5927
|
};
|
|
5905
5928
|
|
|
5906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5907
5930
|
var contact = strictObject({
|
|
5908
5931
|
ref: reference,
|
|
5909
5932
|
id,
|
|
@@ -5934,7 +5957,7 @@ var contact = strictObject({
|
|
|
5934
5957
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5935
5958
|
});
|
|
5936
5959
|
|
|
5937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5938
5961
|
var contactNote = strictObject({
|
|
5939
5962
|
id,
|
|
5940
5963
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5946,13 +5969,13 @@ var contactNote = strictObject({
|
|
|
5946
5969
|
updated_at: time
|
|
5947
5970
|
});
|
|
5948
5971
|
|
|
5949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5950
5973
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5951
5974
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5952
5975
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5953
5976
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5954
5977
|
|
|
5955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5956
5979
|
var conversation = strictObject({
|
|
5957
5980
|
id,
|
|
5958
5981
|
chat: reference,
|
|
@@ -5967,7 +5990,7 @@ var conversation = strictObject({
|
|
|
5967
5990
|
rules_version: count
|
|
5968
5991
|
});
|
|
5969
5992
|
|
|
5970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5971
5994
|
var conversationBuild = strictObject({
|
|
5972
5995
|
chat: id,
|
|
5973
5996
|
messages: count,
|
|
@@ -5992,7 +6015,7 @@ var catchUpPreparation = strictObject({
|
|
|
5992
6015
|
prepared: optional(conversationPreparation)
|
|
5993
6016
|
});
|
|
5994
6017
|
|
|
5995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5996
6019
|
var conversationDetails = union([
|
|
5997
6020
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5998
6021
|
message
|
|
@@ -6082,7 +6105,7 @@ var conversationHit = strictObject({
|
|
|
6082
6105
|
stale: boolean()
|
|
6083
6106
|
});
|
|
6084
6107
|
|
|
6085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6086
6109
|
var counters = strictObject({
|
|
6087
6110
|
cutoff: time,
|
|
6088
6111
|
max_age_ms: milliseconds,
|
|
@@ -6112,7 +6135,7 @@ var counterRefresh = strictObject({
|
|
|
6112
6135
|
complete: optional(boolean())
|
|
6113
6136
|
});
|
|
6114
6137
|
|
|
6115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6116
6139
|
var document = strictObject({
|
|
6117
6140
|
ref: reference,
|
|
6118
6141
|
id,
|
|
@@ -6127,7 +6150,7 @@ var document = strictObject({
|
|
|
6127
6150
|
owners: optional(array(text))
|
|
6128
6151
|
});
|
|
6129
6152
|
|
|
6130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6131
6154
|
var documentLink = strictObject({
|
|
6132
6155
|
ref: reference,
|
|
6133
6156
|
url: text,
|
|
@@ -6138,7 +6161,7 @@ var documentLink = strictObject({
|
|
|
6138
6161
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6139
6162
|
});
|
|
6140
6163
|
|
|
6141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6142
6165
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6143
6166
|
var contribution = strictObject({
|
|
6144
6167
|
message: evidenceMessage,
|
|
@@ -6168,7 +6191,7 @@ var retentionStay = strictObject({
|
|
|
6168
6191
|
});
|
|
6169
6192
|
var evidence = union([contribution, retentionStay]);
|
|
6170
6193
|
|
|
6171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6172
6195
|
var fact = strictObject({
|
|
6173
6196
|
ref: reference,
|
|
6174
6197
|
id,
|
|
@@ -6199,7 +6222,7 @@ var fact = strictObject({
|
|
|
6199
6222
|
updated_at: time
|
|
6200
6223
|
});
|
|
6201
6224
|
|
|
6202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6203
6226
|
var hit = strictObject({
|
|
6204
6227
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6205
6228
|
ref: reference,
|
|
@@ -6247,7 +6270,7 @@ var hit = strictObject({
|
|
|
6247
6270
|
untrusted
|
|
6248
6271
|
});
|
|
6249
6272
|
|
|
6250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6251
6274
|
var identity = strictObject({
|
|
6252
6275
|
ref: reference,
|
|
6253
6276
|
provider: text,
|
|
@@ -6263,7 +6286,7 @@ var identity = strictObject({
|
|
|
6263
6286
|
person: optional(nullable(reference))
|
|
6264
6287
|
});
|
|
6265
6288
|
|
|
6266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6267
6290
|
var imageEmbedding = strictObject({
|
|
6268
6291
|
model: text,
|
|
6269
6292
|
embedded: count,
|
|
@@ -6272,13 +6295,13 @@ var imageEmbedding = strictObject({
|
|
|
6272
6295
|
more: boolean()
|
|
6273
6296
|
});
|
|
6274
6297
|
|
|
6275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6276
6299
|
import { spawn } from "node:child_process";
|
|
6277
6300
|
import { randomBytes } from "node:crypto";
|
|
6278
6301
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6279
6302
|
import { dirname, join } from "node:path";
|
|
6280
6303
|
|
|
6281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6282
6305
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6283
6306
|
const total = input.total ?? null;
|
|
6284
6307
|
const updated = input.updatedAt ?? null;
|
|
@@ -6294,7 +6317,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6294
6317
|
};
|
|
6295
6318
|
}, "progressOf");
|
|
6296
6319
|
|
|
6297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6298
6321
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6299
6322
|
const run = currentRun();
|
|
6300
6323
|
const trace = traceId ?? run.traceId;
|
|
@@ -6308,7 +6331,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6308
6331
|
}));
|
|
6309
6332
|
}, "recordLogFor");
|
|
6310
6333
|
|
|
6311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6312
6335
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6313
6336
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6314
6337
|
const out = openSync(log, "a", 384);
|
|
@@ -6463,7 +6486,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6463
6486
|
return { job: id6, pid, chat: input.chat, log };
|
|
6464
6487
|
}, "startArchiveJob");
|
|
6465
6488
|
|
|
6466
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6467
6490
|
var problem = strictObject({ code: text, message: text });
|
|
6468
6491
|
var job = strictObject({
|
|
6469
6492
|
id,
|
|
@@ -6486,7 +6509,7 @@ var job = strictObject({
|
|
|
6486
6509
|
error: optional(problem)
|
|
6487
6510
|
});
|
|
6488
6511
|
|
|
6489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6490
6513
|
var joinRequest = strictObject({
|
|
6491
6514
|
person_id: id,
|
|
6492
6515
|
name: nullable(text),
|
|
@@ -6497,7 +6520,7 @@ var joinRequest = strictObject({
|
|
|
6497
6520
|
about: optional(text)
|
|
6498
6521
|
});
|
|
6499
6522
|
|
|
6500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6501
6524
|
var botProfile = strictObject({
|
|
6502
6525
|
name: text,
|
|
6503
6526
|
token: text,
|
|
@@ -6621,7 +6644,7 @@ var stickerInventory = strictObject({
|
|
|
6621
6644
|
url: optional(nullable(text))
|
|
6622
6645
|
});
|
|
6623
6646
|
|
|
6624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6625
6648
|
var pollVote = strictObject({
|
|
6626
6649
|
person_id: id,
|
|
6627
6650
|
name: nullable(text),
|
|
@@ -6631,7 +6654,7 @@ var pollVote = strictObject({
|
|
|
6631
6654
|
voted_at: time
|
|
6632
6655
|
});
|
|
6633
6656
|
|
|
6634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6635
6658
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6636
6659
|
var observation = strictObject({
|
|
6637
6660
|
value: pipe(number(), minValue(0)),
|
|
@@ -6673,7 +6696,7 @@ var serveSummary = strictObject({
|
|
|
6673
6696
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6674
6697
|
});
|
|
6675
6698
|
|
|
6676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6677
6700
|
var mailCounts = strictObject({
|
|
6678
6701
|
by: picklist(["day", "week", "sender"]),
|
|
6679
6702
|
received: count,
|
|
@@ -6688,7 +6711,7 @@ var mailCounts = strictObject({
|
|
|
6688
6711
|
}))
|
|
6689
6712
|
});
|
|
6690
6713
|
|
|
6691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6692
6715
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6693
6716
|
var base = { id, evidence: array(evidence2) };
|
|
6694
6717
|
var finding = variant("kind", [
|
|
@@ -6832,7 +6855,7 @@ var mailFindings = strictObject({
|
|
|
6832
6855
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6833
6856
|
});
|
|
6834
6857
|
|
|
6835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6836
6859
|
var mediaArchive = strictObject({
|
|
6837
6860
|
directory: text,
|
|
6838
6861
|
chats: count,
|
|
@@ -6864,7 +6887,7 @@ var mediaArchiveTimer = union([
|
|
|
6864
6887
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6865
6888
|
]);
|
|
6866
6889
|
|
|
6867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6868
6891
|
var preparationId = pipe(string(), minLength(1));
|
|
6869
6892
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6870
6893
|
var preparationTime = nullable(isoTime);
|
|
@@ -6956,7 +6979,7 @@ var preparationMeeting = strictObject({
|
|
|
6956
6979
|
updated_at: isoTime
|
|
6957
6980
|
});
|
|
6958
6981
|
|
|
6959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6960
6983
|
var meetingEvidence = preparationEvidence;
|
|
6961
6984
|
var meetingPersonContext = strictObject({
|
|
6962
6985
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6978,7 +7001,7 @@ var meetingPersonContext = strictObject({
|
|
|
6978
7001
|
})
|
|
6979
7002
|
});
|
|
6980
7003
|
|
|
6981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6982
7005
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6983
7006
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6984
7007
|
var finding2 = variant("kind", [
|
|
@@ -7016,7 +7039,7 @@ var meetingFindings = strictObject({
|
|
|
7016
7039
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7017
7040
|
});
|
|
7018
7041
|
|
|
7019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7042
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7020
7043
|
var communicationCoverage = strictObject({
|
|
7021
7044
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7022
7045
|
query: string(),
|
|
@@ -7061,7 +7084,7 @@ var preparationCommunications = strictObject({
|
|
|
7061
7084
|
}))
|
|
7062
7085
|
});
|
|
7063
7086
|
|
|
7064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7065
7088
|
var meetingPreparation = strictObject({
|
|
7066
7089
|
communications: optional(preparationCommunications),
|
|
7067
7090
|
schema_version: literal(1),
|
|
@@ -7174,7 +7197,7 @@ var meetingPreparation = strictObject({
|
|
|
7174
7197
|
})
|
|
7175
7198
|
});
|
|
7176
7199
|
|
|
7177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7178
7201
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7179
7202
|
var id3 = pipe(string(), minLength(1));
|
|
7180
7203
|
var text3 = string();
|
|
@@ -7238,7 +7261,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7238
7261
|
})
|
|
7239
7262
|
});
|
|
7240
7263
|
|
|
7241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7242
7265
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7243
7266
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7244
7267
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7268,7 +7291,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7268
7291
|
})
|
|
7269
7292
|
});
|
|
7270
7293
|
|
|
7271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7272
7295
|
var text4 = string();
|
|
7273
7296
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7274
7297
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7285,7 +7308,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7285
7308
|
persistence: literal("proposal-only")
|
|
7286
7309
|
});
|
|
7287
7310
|
|
|
7288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7289
7312
|
var memory = strictObject({
|
|
7290
7313
|
ref: reference,
|
|
7291
7314
|
id,
|
|
@@ -7313,7 +7336,7 @@ var memory = strictObject({
|
|
|
7313
7336
|
updated_at: time
|
|
7314
7337
|
});
|
|
7315
7338
|
|
|
7316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7317
7340
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7318
7341
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7319
7342
|
var mention = strictObject({
|
|
@@ -7357,13 +7380,13 @@ var mentionRebuild = strictObject({
|
|
|
7357
7380
|
mentions: count
|
|
7358
7381
|
});
|
|
7359
7382
|
|
|
7360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7361
7384
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7362
7385
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7363
7386
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7364
7387
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7365
7388
|
|
|
7366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7367
7390
|
var messageTranscript = strictObject({
|
|
7368
7391
|
message_id: id,
|
|
7369
7392
|
text,
|
|
@@ -7421,7 +7444,7 @@ var evidencePacket = strictObject({
|
|
|
7421
7444
|
}))
|
|
7422
7445
|
});
|
|
7423
7446
|
|
|
7424
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7425
7448
|
var messageThread = strictObject({
|
|
7426
7449
|
ref: reference,
|
|
7427
7450
|
chat: id,
|
|
@@ -7438,7 +7461,7 @@ var messageThread = strictObject({
|
|
|
7438
7461
|
});
|
|
7439
7462
|
var messageContext = union([message, messageThread]);
|
|
7440
7463
|
|
|
7441
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7442
7465
|
var messageCounts = strictObject({
|
|
7443
7466
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7444
7467
|
total: count,
|
|
@@ -7451,7 +7474,7 @@ var messageCounts = strictObject({
|
|
|
7451
7474
|
}))
|
|
7452
7475
|
});
|
|
7453
7476
|
|
|
7454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7455
7478
|
var messageLink = strictObject({
|
|
7456
7479
|
ref: reference,
|
|
7457
7480
|
url: nullable(text),
|
|
@@ -7468,7 +7491,7 @@ var messageLink = strictObject({
|
|
|
7468
7491
|
})))
|
|
7469
7492
|
});
|
|
7470
7493
|
|
|
7471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7494
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7472
7495
|
var savedMessageFile = strictObject({
|
|
7473
7496
|
kind: text,
|
|
7474
7497
|
path: text,
|
|
@@ -7555,7 +7578,7 @@ var messageSyncAll = strictObject({
|
|
|
7555
7578
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7556
7579
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7557
7580
|
|
|
7558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7559
7582
|
var messageWrite = strictObject({
|
|
7560
7583
|
operation_id: id,
|
|
7561
7584
|
message,
|
|
@@ -7570,7 +7593,7 @@ var draftWrite = strictObject({
|
|
|
7570
7593
|
});
|
|
7571
7594
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7572
7595
|
|
|
7573
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7574
7597
|
var model = strictObject({
|
|
7575
7598
|
id,
|
|
7576
7599
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7605,7 +7628,7 @@ var chosenModel = strictObject({
|
|
|
7605
7628
|
estimate_seconds: nullable(count)
|
|
7606
7629
|
});
|
|
7607
7630
|
|
|
7608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7609
7632
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7610
7633
|
var modelKey = strictObject({
|
|
7611
7634
|
provider: text,
|
|
@@ -7615,7 +7638,7 @@ var modelKey = strictObject({
|
|
|
7615
7638
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7616
7639
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7617
7640
|
|
|
7618
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7619
7642
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7620
7643
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7621
7644
|
var graph = strictObject({
|
|
@@ -7649,14 +7672,14 @@ var officialStats = strictObject({
|
|
|
7649
7672
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7650
7673
|
});
|
|
7651
7674
|
|
|
7652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7653
7676
|
var person2 = strictObject({
|
|
7654
7677
|
ref: reference,
|
|
7655
7678
|
name: nullable(text),
|
|
7656
7679
|
identities: optional(array(identity))
|
|
7657
7680
|
});
|
|
7658
7681
|
|
|
7659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7660
7683
|
var poll = strictObject({
|
|
7661
7684
|
chat_id: id,
|
|
7662
7685
|
message_id: id,
|
|
@@ -7672,11 +7695,11 @@ var poll = strictObject({
|
|
|
7672
7695
|
});
|
|
7673
7696
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7674
7697
|
|
|
7675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7676
7699
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7677
7700
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7678
7701
|
|
|
7679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7680
7703
|
var figures = record(string(), number());
|
|
7681
7704
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7682
7705
|
var rankingRow = strictObject({
|
|
@@ -7723,7 +7746,7 @@ var ranking = strictObject({
|
|
|
7723
7746
|
rows: array(rankingRow)
|
|
7724
7747
|
});
|
|
7725
7748
|
|
|
7726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7749
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7727
7750
|
var reaction = strictObject({
|
|
7728
7751
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7729
7752
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7731,7 +7754,7 @@ var reaction = strictObject({
|
|
|
7731
7754
|
reacted_at: time
|
|
7732
7755
|
});
|
|
7733
7756
|
|
|
7734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7735
7758
|
var reactionChange = strictObject({
|
|
7736
7759
|
operation_id: id,
|
|
7737
7760
|
chat_id: id,
|
|
@@ -7739,7 +7762,7 @@ var reactionChange = strictObject({
|
|
|
7739
7762
|
reaction: nullable(text)
|
|
7740
7763
|
});
|
|
7741
7764
|
|
|
7742
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7743
7766
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7744
7767
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7745
7768
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7750,7 +7773,7 @@ var recipientChange = strictObject({
|
|
|
7750
7773
|
...partial(recipientOff).entries
|
|
7751
7774
|
});
|
|
7752
7775
|
|
|
7753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7754
7777
|
var events = array(record(string(), unknown()));
|
|
7755
7778
|
var recordedRun = strictObject({
|
|
7756
7779
|
run_id: id,
|
|
@@ -7822,7 +7845,7 @@ var runHit = strictObject({
|
|
|
7822
7845
|
});
|
|
7823
7846
|
var runLocation = strictObject({ path: text });
|
|
7824
7847
|
|
|
7825
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7848
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7826
7849
|
var relationship = strictObject({
|
|
7827
7850
|
id,
|
|
7828
7851
|
from: reference,
|
|
@@ -7849,7 +7872,7 @@ var relationship = strictObject({
|
|
|
7849
7872
|
created_at: time
|
|
7850
7873
|
});
|
|
7851
7874
|
|
|
7852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7853
7876
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7854
7877
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7855
7878
|
var responseTimes = strictObject({
|
|
@@ -7866,7 +7889,7 @@ var waitingChats = strictObject({
|
|
|
7866
7889
|
by_kind: strictObject({ private: count, group: count })
|
|
7867
7890
|
});
|
|
7868
7891
|
|
|
7869
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7870
7893
|
var retentionCohort = strictObject({
|
|
7871
7894
|
/** The first day of the joining day or week. */
|
|
7872
7895
|
cohort: text,
|
|
@@ -7914,7 +7937,7 @@ var retention = strictObject({
|
|
|
7914
7937
|
rows: array(retentionCohort)
|
|
7915
7938
|
});
|
|
7916
7939
|
|
|
7917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7918
7941
|
var savedSearch = strictObject({
|
|
7919
7942
|
id,
|
|
7920
7943
|
/** `null` for a run in the history. */
|
|
@@ -7931,7 +7954,7 @@ var savedSearch = strictObject({
|
|
|
7931
7954
|
});
|
|
7932
7955
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7933
7956
|
|
|
7934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7935
7958
|
var sendAttempt = strictObject({
|
|
7936
7959
|
at: time,
|
|
7937
7960
|
profile: text,
|
|
@@ -7959,7 +7982,7 @@ var sendAttempt = strictObject({
|
|
|
7959
7982
|
error_code: optional(text)
|
|
7960
7983
|
});
|
|
7961
7984
|
|
|
7962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7963
7986
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7964
7987
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7965
7988
|
var infoSchema = strictObject({
|
|
@@ -8189,7 +8212,7 @@ var storeRepair = union([
|
|
|
8189
8212
|
]);
|
|
8190
8213
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8191
8214
|
|
|
8192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8193
8216
|
var range = strictObject({ from: number(), to: number() });
|
|
8194
8217
|
var storeChatStatus = strictObject({
|
|
8195
8218
|
chat_id: id,
|
|
@@ -8287,7 +8310,7 @@ var storeJobRetry = union([
|
|
|
8287
8310
|
]);
|
|
8288
8311
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8289
8312
|
|
|
8290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8291
8314
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8292
8315
|
var storeTable = strictObject({
|
|
8293
8316
|
name: text,
|
|
@@ -8296,7 +8319,7 @@ var storeTable = strictObject({
|
|
|
8296
8319
|
bytes: optional(nullable(count))
|
|
8297
8320
|
});
|
|
8298
8321
|
|
|
8299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8300
8323
|
var tagTarget = variant("type", [
|
|
8301
8324
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8302
8325
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8327,7 +8350,7 @@ var automaticTags = strictObject({
|
|
|
8327
8350
|
dry_run: boolean()
|
|
8328
8351
|
});
|
|
8329
8352
|
|
|
8330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8331
8354
|
var tagging = strictObject({
|
|
8332
8355
|
tag: text,
|
|
8333
8356
|
type: picklist(TAG_TYPES),
|
|
@@ -8340,7 +8363,7 @@ var tagging = strictObject({
|
|
|
8340
8363
|
created_at: time
|
|
8341
8364
|
});
|
|
8342
8365
|
|
|
8343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8344
8367
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8345
8368
|
var taskPair = strictObject({
|
|
8346
8369
|
task: nullable(side),
|
|
@@ -8363,7 +8386,7 @@ var taskPair = strictObject({
|
|
|
8363
8386
|
created_at: time
|
|
8364
8387
|
});
|
|
8365
8388
|
|
|
8366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8367
8390
|
var nullableTime = nullable(time);
|
|
8368
8391
|
var link = strictObject({
|
|
8369
8392
|
id,
|
|
@@ -8537,7 +8560,7 @@ var taskReview = strictObject({
|
|
|
8537
8560
|
untrusted
|
|
8538
8561
|
});
|
|
8539
8562
|
|
|
8540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8541
8564
|
var template = strictObject({
|
|
8542
8565
|
key: text,
|
|
8543
8566
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8549,7 +8572,7 @@ var template = strictObject({
|
|
|
8549
8572
|
updated_by: nullable(text)
|
|
8550
8573
|
});
|
|
8551
8574
|
|
|
8552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8553
8576
|
var topic = strictObject({
|
|
8554
8577
|
id,
|
|
8555
8578
|
title: text,
|
|
@@ -8563,7 +8586,7 @@ var topic = strictObject({
|
|
|
8563
8586
|
untrusted
|
|
8564
8587
|
});
|
|
8565
8588
|
|
|
8566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8567
8590
|
var ENTITIES = {
|
|
8568
8591
|
sync_progress: progress,
|
|
8569
8592
|
deal,
|
|
@@ -8858,7 +8881,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8858
8881
|
return [name, definition];
|
|
8859
8882
|
})), "entityDefinitions");
|
|
8860
8883
|
|
|
8861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8862
8885
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8863
8886
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8864
8887
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8892,7 +8915,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8892
8915
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8893
8916
|
}, "answerRow");
|
|
8894
8917
|
|
|
8895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8896
8919
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8897
8920
|
var requests = new AsyncLocalStorage();
|
|
8898
8921
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8907,7 +8930,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8907
8930
|
return direct;
|
|
8908
8931
|
}, "exitCodeSet");
|
|
8909
8932
|
|
|
8910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8911
8934
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8912
8935
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8913
8936
|
messageId: message2.id,
|
|
@@ -9013,7 +9036,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9013
9036
|
}, "guardedWrite");
|
|
9014
9037
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9015
9038
|
|
|
9016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9017
9040
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9018
9041
|
try {
|
|
9019
9042
|
return work();
|
|
@@ -9040,7 +9063,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9040
9063
|
return projectFields(value, fields);
|
|
9041
9064
|
}), "projectFields");
|
|
9042
9065
|
|
|
9043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9044
9067
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9045
9068
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9046
9069
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9223,7 +9246,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9223
9246
|
}
|
|
9224
9247
|
}, "withAbort");
|
|
9225
9248
|
|
|
9226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9227
9250
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9228
9251
|
import { join as join2 } from "node:path";
|
|
9229
9252
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9312,7 +9335,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9312
9335
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9313
9336
|
}, "registryProfiles");
|
|
9314
9337
|
|
|
9315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9316
9339
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9317
9340
|
import { join as join3 } from "node:path";
|
|
9318
9341
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9334,7 +9357,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9334
9357
|
}, "profilesWithAccounts");
|
|
9335
9358
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9336
9359
|
|
|
9337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9338
9361
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9339
9362
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9340
9363
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9370,7 +9393,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9370
9393
|
return value;
|
|
9371
9394
|
}, "atDetail");
|
|
9372
9395
|
|
|
9373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/output.js
|
|
9374
9397
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9375
9398
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9376
9399
|
if (other)
|
|
@@ -9434,7 +9457,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9434
9457
|
}, "warn")
|
|
9435
9458
|
}), "silence");
|
|
9436
9459
|
|
|
9437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9438
9461
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9439
9462
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9440
9463
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9472,7 +9495,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9472
9495
|
progress: "sync.progress"
|
|
9473
9496
|
};
|
|
9474
9497
|
|
|
9475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9498
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9476
9499
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9477
9500
|
const recording = startRecording(options);
|
|
9478
9501
|
try {
|
|
@@ -9687,7 +9710,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9687
9710
|
return void 0;
|
|
9688
9711
|
}, "partialOutcome");
|
|
9689
9712
|
|
|
9690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9713
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9691
9714
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9692
9715
|
if (ms2 === void 0)
|
|
9693
9716
|
return body();
|
|
@@ -9713,7 +9736,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9713
9736
|
}
|
|
9714
9737
|
}, "withDeadline");
|
|
9715
9738
|
|
|
9716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9717
9740
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9718
9741
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9719
9742
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9782,10 +9805,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9782
9805
|
return void 0;
|
|
9783
9806
|
}, "sampleCommand");
|
|
9784
9807
|
|
|
9785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9786
9809
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9787
9810
|
|
|
9788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9789
9812
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9790
9813
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9791
9814
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9854,7 +9877,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9854
9877
|
};
|
|
9855
9878
|
}, "modelTarget");
|
|
9856
9879
|
|
|
9857
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9858
9881
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9859
9882
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9860
9883
|
var AI_FIELDS = {
|
|
@@ -9898,7 +9921,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9898
9921
|
};
|
|
9899
9922
|
}, "resolveAISettings");
|
|
9900
9923
|
|
|
9901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9902
9925
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9903
9926
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9904
9927
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9912,7 +9935,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9912
9935
|
return ms2;
|
|
9913
9936
|
}, "parseDuration");
|
|
9914
9937
|
|
|
9915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
9916
9939
|
import { existsSync as existsSync4 } from "node:fs";
|
|
9917
9940
|
import { join as join4 } from "node:path";
|
|
9918
9941
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -10189,7 +10212,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
10189
10212
|
}, "vectorModelKey");
|
|
10190
10213
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
10191
10214
|
|
|
10192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10193
10216
|
var HISTORY_MAX_DAYS = 1095;
|
|
10194
10217
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10195
10218
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10236,251 +10259,8 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10236
10259
|
return { batch: { ...batch, messages }, skipped };
|
|
10237
10260
|
}, "limitBatch");
|
|
10238
10261
|
|
|
10239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10262
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10240
10263
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10241
|
-
|
|
10242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
10243
|
-
var REPAIR_WORDS = {
|
|
10244
|
-
byte_order_mark: "an invisible byte-order mark at the start",
|
|
10245
|
-
comment: "a comment, which JSON does not allow",
|
|
10246
|
-
trailing_comma: "a comma before a closing bracket",
|
|
10247
|
-
missing_comma: "a missing comma",
|
|
10248
|
-
unquoted_key: "a key without double quotes",
|
|
10249
|
-
single_quotes: "text in single quotes",
|
|
10250
|
-
missing_closer: "the file stops before its closing brackets \u2014 whatever followed this line was already lost"
|
|
10251
|
-
};
|
|
10252
|
-
var GiveUp = class {
|
|
10253
|
-
static {
|
|
10254
|
-
__name(this, "GiveUp");
|
|
10255
|
-
}
|
|
10256
|
-
at;
|
|
10257
|
-
why;
|
|
10258
|
-
constructor(at2, why) {
|
|
10259
|
-
this.at = at2;
|
|
10260
|
-
this.why = why;
|
|
10261
|
-
}
|
|
10262
|
-
};
|
|
10263
|
-
var NUMBER = /^-?(0|[1-9]\d*)(\.\d+)?([eE][+-]?\d+)?/;
|
|
10264
|
-
var LITERAL = /^(true|false|null)/;
|
|
10265
|
-
var KEY = /^[A-Za-z_$][\w$.-]*/;
|
|
10266
|
-
var ENDS_VALUE = /^[\s,\]}/]?$/;
|
|
10267
|
-
var repairConfigText = /* @__PURE__ */ __name((text5) => {
|
|
10268
|
-
try {
|
|
10269
|
-
JSON.parse(text5);
|
|
10270
|
-
return { state: "valid" };
|
|
10271
|
-
} catch {
|
|
10272
|
-
}
|
|
10273
|
-
const fixes = [];
|
|
10274
|
-
const lineAt = /* @__PURE__ */ __name((offset) => text5.slice(0, offset).split("\n").length, "lineAt");
|
|
10275
|
-
const fix = /* @__PURE__ */ __name((kind2, offset) => fixes.push({ kind: kind2, line: lineAt(offset) }), "fix");
|
|
10276
|
-
const giveUp = /* @__PURE__ */ __name((why, offset = at2) => {
|
|
10277
|
-
throw new GiveUp(offset, why);
|
|
10278
|
-
}, "giveUp");
|
|
10279
|
-
let at2 = 0;
|
|
10280
|
-
let truncated = false;
|
|
10281
|
-
let last = "open";
|
|
10282
|
-
let lastEnd = 0;
|
|
10283
|
-
const previous = /* @__PURE__ */ __name(() => last, "previous");
|
|
10284
|
-
const skip = /* @__PURE__ */ __name(() => {
|
|
10285
|
-
for (; ; ) {
|
|
10286
|
-
while (/\s/.test(text5[at2] ?? ""))
|
|
10287
|
-
at2++;
|
|
10288
|
-
if (text5.startsWith("//", at2)) {
|
|
10289
|
-
fix("comment", at2);
|
|
10290
|
-
while (at2 < text5.length && text5[at2] !== "\n")
|
|
10291
|
-
at2++;
|
|
10292
|
-
} else if (text5.startsWith("/*", at2)) {
|
|
10293
|
-
const end = text5.indexOf("*/", at2 + 2);
|
|
10294
|
-
if (end < 0)
|
|
10295
|
-
giveUp("a /* comment is never closed");
|
|
10296
|
-
fix("comment", at2);
|
|
10297
|
-
at2 = end + 2;
|
|
10298
|
-
} else
|
|
10299
|
-
return;
|
|
10300
|
-
}
|
|
10301
|
-
}, "skip");
|
|
10302
|
-
const string2 = /* @__PURE__ */ __name(() => {
|
|
10303
|
-
const quote = text5[at2];
|
|
10304
|
-
const start = at2;
|
|
10305
|
-
if (quote === "'")
|
|
10306
|
-
fix("single_quotes", at2);
|
|
10307
|
-
at2++;
|
|
10308
|
-
let body = "";
|
|
10309
|
-
for (; ; ) {
|
|
10310
|
-
if (at2 >= text5.length)
|
|
10311
|
-
giveUp("the file stops inside a quoted text", start);
|
|
10312
|
-
const char = text5[at2];
|
|
10313
|
-
if (char === quote)
|
|
10314
|
-
break;
|
|
10315
|
-
if (text5.charCodeAt(at2) < 32)
|
|
10316
|
-
giveUp("a line break inside a quoted text");
|
|
10317
|
-
if (char === "\\") {
|
|
10318
|
-
const next = text5[at2 + 1] ?? "";
|
|
10319
|
-
if (quote === "'" && next === "'")
|
|
10320
|
-
body += "'";
|
|
10321
|
-
else if (/^["\\/bfnrt]$/.test(next))
|
|
10322
|
-
body += `\\${next}`;
|
|
10323
|
-
else if (next === "u" && /^[0-9a-fA-F]{4}$/.test(text5.slice(at2 + 2, at2 + 6))) {
|
|
10324
|
-
body += text5.slice(at2, at2 + 6);
|
|
10325
|
-
at2 += 4;
|
|
10326
|
-
} else
|
|
10327
|
-
giveUp("an escape JSON has no meaning for");
|
|
10328
|
-
at2 += 2;
|
|
10329
|
-
continue;
|
|
10330
|
-
}
|
|
10331
|
-
body += char === '"' ? '\\"' : char;
|
|
10332
|
-
at2++;
|
|
10333
|
-
}
|
|
10334
|
-
at2++;
|
|
10335
|
-
return JSON.parse(`"${body}"`);
|
|
10336
|
-
}, "string");
|
|
10337
|
-
const key = /* @__PURE__ */ __name(() => {
|
|
10338
|
-
const char = text5[at2] ?? "";
|
|
10339
|
-
if (char === '"' || char === "'")
|
|
10340
|
-
return string2();
|
|
10341
|
-
const word = KEY.exec(text5.slice(at2))?.[0];
|
|
10342
|
-
if (!word)
|
|
10343
|
-
return giveUp("something other than a key where a key should be");
|
|
10344
|
-
fix("unquoted_key", at2);
|
|
10345
|
-
at2 += word.length;
|
|
10346
|
-
return word;
|
|
10347
|
-
}, "key");
|
|
10348
|
-
const scalar = /* @__PURE__ */ __name(() => {
|
|
10349
|
-
const char = text5[at2] ?? "";
|
|
10350
|
-
if (char === '"' || char === "'")
|
|
10351
|
-
return { json: JSON.stringify(string2()) };
|
|
10352
|
-
const word = (NUMBER.exec(text5.slice(at2)) ?? LITERAL.exec(text5.slice(at2)))?.[0];
|
|
10353
|
-
if (!word || !ENDS_VALUE.test(text5[at2 + word.length] ?? ""))
|
|
10354
|
-
return giveUp("a value that is not JSON \u2014 text needs quotes, and only true, false and null go without");
|
|
10355
|
-
if (at2 + word.length === text5.length && NUMBER.test(word))
|
|
10356
|
-
giveUp("the file stops inside a number");
|
|
10357
|
-
at2 += word.length;
|
|
10358
|
-
return { json: word };
|
|
10359
|
-
}, "scalar");
|
|
10360
|
-
const members = /* @__PURE__ */ __name((close, one) => {
|
|
10361
|
-
const out = [];
|
|
10362
|
-
at2++;
|
|
10363
|
-
last = "open";
|
|
10364
|
-
let comma = -1;
|
|
10365
|
-
for (; ; ) {
|
|
10366
|
-
skip();
|
|
10367
|
-
if (truncated)
|
|
10368
|
-
return out;
|
|
10369
|
-
if (at2 >= text5.length) {
|
|
10370
|
-
if (previous() === "close")
|
|
10371
|
-
giveUp("the file stops after a closing bracket, so which brackets are missing has two readings");
|
|
10372
|
-
if (previous() === "comma")
|
|
10373
|
-
fix("trailing_comma", comma);
|
|
10374
|
-
fix("missing_closer", text5.length);
|
|
10375
|
-
truncated = true;
|
|
10376
|
-
return out;
|
|
10377
|
-
}
|
|
10378
|
-
const char = text5[at2];
|
|
10379
|
-
if (char === close) {
|
|
10380
|
-
if (previous() === "comma")
|
|
10381
|
-
fix("trailing_comma", comma);
|
|
10382
|
-
at2++;
|
|
10383
|
-
last = "close";
|
|
10384
|
-
return out;
|
|
10385
|
-
}
|
|
10386
|
-
if (char === "}" || char === "]")
|
|
10387
|
-
giveUp(`a ${char} where ${close} should close`);
|
|
10388
|
-
if (char === ",") {
|
|
10389
|
-
if (previous() !== "value" && previous() !== "close")
|
|
10390
|
-
giveUp("a comma with nothing before it");
|
|
10391
|
-
comma = at2;
|
|
10392
|
-
at2++;
|
|
10393
|
-
last = "comma";
|
|
10394
|
-
continue;
|
|
10395
|
-
}
|
|
10396
|
-
if (previous() === "value" || previous() === "close") {
|
|
10397
|
-
if (lineAt(at2) === lineAt(lastEnd))
|
|
10398
|
-
giveUp("two entries on one line with no comma between them");
|
|
10399
|
-
fix("missing_comma", lastEnd);
|
|
10400
|
-
}
|
|
10401
|
-
out.push(one());
|
|
10402
|
-
}
|
|
10403
|
-
}, "members");
|
|
10404
|
-
const value = /* @__PURE__ */ __name(() => {
|
|
10405
|
-
const char = text5[at2] ?? "";
|
|
10406
|
-
let node;
|
|
10407
|
-
if (char === "{") {
|
|
10408
|
-
const seen = /* @__PURE__ */ new Set();
|
|
10409
|
-
node = {
|
|
10410
|
-
object: members("}", () => {
|
|
10411
|
-
const start = at2;
|
|
10412
|
-
const name = key();
|
|
10413
|
-
if (seen.has(name))
|
|
10414
|
-
giveUp("a key appears twice in one object", start);
|
|
10415
|
-
seen.add(name);
|
|
10416
|
-
skip();
|
|
10417
|
-
if (at2 >= text5.length)
|
|
10418
|
-
giveUp("the file stops after a key, before its value");
|
|
10419
|
-
if (text5[at2] !== ":")
|
|
10420
|
-
giveUp("a key with no colon after it");
|
|
10421
|
-
at2++;
|
|
10422
|
-
skip();
|
|
10423
|
-
if (at2 >= text5.length)
|
|
10424
|
-
giveUp("the file stops after a key, before its value");
|
|
10425
|
-
return [name, value()];
|
|
10426
|
-
})
|
|
10427
|
-
};
|
|
10428
|
-
} else if (char === "[") {
|
|
10429
|
-
node = {
|
|
10430
|
-
array: members("]", () => {
|
|
10431
|
-
return value();
|
|
10432
|
-
})
|
|
10433
|
-
};
|
|
10434
|
-
} else
|
|
10435
|
-
node = scalar();
|
|
10436
|
-
if (!truncated) {
|
|
10437
|
-
last = "json" in node ? "value" : "close";
|
|
10438
|
-
lastEnd = at2;
|
|
10439
|
-
}
|
|
10440
|
-
return node;
|
|
10441
|
-
}, "value");
|
|
10442
|
-
try {
|
|
10443
|
-
if (text5.includes("\0") || text5.includes(String.fromCharCode(65533)))
|
|
10444
|
-
giveUp("the file is not text", 0);
|
|
10445
|
-
if (text5.charCodeAt(0) === 65279) {
|
|
10446
|
-
fix("byte_order_mark", 0);
|
|
10447
|
-
at2 = 1;
|
|
10448
|
-
}
|
|
10449
|
-
skip();
|
|
10450
|
-
if (text5[at2] !== "{")
|
|
10451
|
-
giveUp(at2 >= text5.length ? "the file is empty" : "the file does not start with {");
|
|
10452
|
-
const root = value();
|
|
10453
|
-
skip();
|
|
10454
|
-
if (at2 < text5.length)
|
|
10455
|
-
giveUp("more text after the closing }");
|
|
10456
|
-
const repaired = `${serialise(root, "")}
|
|
10457
|
-
`;
|
|
10458
|
-
JSON.parse(repaired);
|
|
10459
|
-
return { state: "repaired", text: repaired, fixes };
|
|
10460
|
-
} catch (error) {
|
|
10461
|
-
if (!(error instanceof GiveUp))
|
|
10462
|
-
throw error;
|
|
10463
|
-
const before = text5.slice(0, error.at).split("\n");
|
|
10464
|
-
return {
|
|
10465
|
-
state: "refused",
|
|
10466
|
-
line: before.length,
|
|
10467
|
-
column: (before.at(-1)?.length ?? 0) + 1,
|
|
10468
|
-
why: error.why
|
|
10469
|
-
};
|
|
10470
|
-
}
|
|
10471
|
-
}, "repairConfigText");
|
|
10472
|
-
var serialise = /* @__PURE__ */ __name((node, indent) => {
|
|
10473
|
-
if ("json" in node)
|
|
10474
|
-
return node.json;
|
|
10475
|
-
const inner = `${indent} `;
|
|
10476
|
-
const parts = "object" in node ? node.object.map(([name, item]) => `${inner}${JSON.stringify(name)}: ${serialise(item, inner)}`) : node.array.map((item) => `${inner}${serialise(item, inner)}`);
|
|
10477
|
-
const [open, close] = "object" in node ? ["{", "}"] : ["[", "]"];
|
|
10478
|
-
return parts.length === 0 ? `${open}${close}` : `${open}
|
|
10479
|
-
${parts.join(",\n")}
|
|
10480
|
-
${indent}${close}`;
|
|
10481
|
-
}, "serialise");
|
|
10482
|
-
|
|
10483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10484
10264
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10485
10265
|
var SECTIONS = ["personal", "bot"];
|
|
10486
10266
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10774,7 +10554,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10774
10554
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10775
10555
|
}, "readConfigFile");
|
|
10776
10556
|
|
|
10777
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10778
10558
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10779
10559
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10780
10560
|
var DEFAULT_CONFIG = {
|
|
@@ -10803,7 +10583,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10803
10583
|
}
|
|
10804
10584
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10805
10585
|
|
|
10806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10586
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10807
10587
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10808
10588
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10809
10589
|
const path2 = key.split(".");
|
|
@@ -10825,7 +10605,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10825
10605
|
return { config, added };
|
|
10826
10606
|
}, "withSettingDefaults");
|
|
10827
10607
|
|
|
10828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10829
10609
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10830
10610
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10831
10611
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11351,7 +11131,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11351
11131
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11352
11132
|
}, "given");
|
|
11353
11133
|
|
|
11354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11355
11135
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11356
11136
|
const slot = environmentOf(command).exit;
|
|
11357
11137
|
const request = commandServerRequest();
|
|
@@ -11481,7 +11261,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11481
11261
|
return words2.join(" ");
|
|
11482
11262
|
}, "commandPath");
|
|
11483
11263
|
|
|
11484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11485
11265
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11486
11266
|
var FETCH = { remote: "read", local: "write" };
|
|
11487
11267
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11538,7 +11318,8 @@ var changesStore = /* @__PURE__ */ __name((command) => {
|
|
|
11538
11318
|
STORE_WRITES.add(command);
|
|
11539
11319
|
return command;
|
|
11540
11320
|
}, "changesStore");
|
|
11541
|
-
var
|
|
11321
|
+
var OWNER_FILES = /* @__PURE__ */ new WeakSet();
|
|
11322
|
+
var savesFiles = /* @__PURE__ */ __name((command) => OWNER_FILES.has(command) || command.name() === "download" || [...command.options.map((option) => option.attributeName()), ...command.registeredArguments.map((one) => one.name())].map((name) => name.toLowerCase()).some((name) => name === "dir" || name.endsWith("dir") || name === "output"), "savesFiles");
|
|
11542
11323
|
var fetchesOnly = /* @__PURE__ */ __name((command) => {
|
|
11543
11324
|
const effects = metaOf(command).effects;
|
|
11544
11325
|
return effects?.remote === "read" && effects.local === "write" && !STORE_WRITES.has(command) && !changesAuthority(command) && !OTHER_SERVICE.has(command) && !savesFiles(command);
|
|
@@ -11563,7 +11344,7 @@ var writesFileNow = /* @__PURE__ */ __name((command) => {
|
|
|
11563
11344
|
const option = FILE_OPTION.get(command);
|
|
11564
11345
|
return option === void 0 || command.opts()[option] !== void 0;
|
|
11565
11346
|
}, "writesFileNow");
|
|
11566
|
-
var readsOverMcp = /* @__PURE__ */ __name((command) => fetchesOnly(command) || FILE_OPTION.has(command), "readsOverMcp");
|
|
11347
|
+
var readsOverMcp = /* @__PURE__ */ __name((command) => fetchesOnly(command) && !LOGIN.has(command) || FILE_OPTION.has(command), "readsOverMcp");
|
|
11567
11348
|
var readsOverMcpAt = /* @__PURE__ */ __name((root) => (path2) => {
|
|
11568
11349
|
let at2 = root;
|
|
11569
11350
|
for (const word of path2)
|
|
@@ -11620,7 +11401,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11620
11401
|
throw readOnlyRefusal(lock, what);
|
|
11621
11402
|
}, "refuseUnderReadOnly");
|
|
11622
11403
|
|
|
11623
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11624
11405
|
import { join as join6 } from "node:path";
|
|
11625
11406
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11626
11407
|
var IMAGE_MODELS = [
|
|
@@ -11674,7 +11455,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11674
11455
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11675
11456
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11676
11457
|
|
|
11677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11458
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11678
11459
|
var STEPS2 = defineSteps([
|
|
11679
11460
|
...STEPS,
|
|
11680
11461
|
{
|
|
@@ -11964,7 +11745,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11964
11745
|
].join(" ");
|
|
11965
11746
|
}, "stepLine");
|
|
11966
11747
|
|
|
11967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11968
11749
|
var where = [{ field: "ref" }];
|
|
11969
11750
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11970
11751
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -12056,7 +11837,7 @@ var STATUS_ROWS = {
|
|
|
12056
11837
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
12057
11838
|
};
|
|
12058
11839
|
|
|
12059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
12060
11841
|
var TEXT_CHARS = 400;
|
|
12061
11842
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
12062
11843
|
var messageRow = {
|
|
@@ -12424,7 +12205,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12424
12205
|
return lines.concat(footerOf(body)).join("\n");
|
|
12425
12206
|
}, "compactText");
|
|
12426
12207
|
|
|
12427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12428
12209
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12429
12210
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12430
12211
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12482,7 +12263,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12482
12263
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12483
12264
|
}, "largeAnswerSteps");
|
|
12484
12265
|
|
|
12485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12486
12267
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12487
12268
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12488
12269
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12496,7 +12277,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12496
12277
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12497
12278
|
}, "strip");
|
|
12498
12279
|
|
|
12499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12500
12281
|
var OPEN = "\u27E6";
|
|
12501
12282
|
var CLOSE = "\u27E7";
|
|
12502
12283
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12580,7 +12361,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12580
12361
|
return result;
|
|
12581
12362
|
}, "withFieldsMarked");
|
|
12582
12363
|
|
|
12583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12364
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._e11817b5a9b273e1a17561462f2db6c9/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12584
12365
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12585
12366
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12586
12367
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12765,6 +12546,10 @@ export {
|
|
|
12765
12546
|
isBotApi,
|
|
12766
12547
|
botApiAllowed,
|
|
12767
12548
|
CEILING_KEY,
|
|
12549
|
+
STORE_ONLY_KEYS,
|
|
12550
|
+
fetchesUnder,
|
|
12551
|
+
fetchesAt,
|
|
12552
|
+
stops,
|
|
12768
12553
|
levelFor,
|
|
12769
12554
|
keyForWrite,
|
|
12770
12555
|
writeOfKey,
|
|
@@ -12890,8 +12675,6 @@ export {
|
|
|
12890
12675
|
botFiles,
|
|
12891
12676
|
ChatRegistry,
|
|
12892
12677
|
registryProfiles,
|
|
12893
|
-
REPAIR_WORDS,
|
|
12894
|
-
repairConfigText,
|
|
12895
12678
|
permissionIssues,
|
|
12896
12679
|
withoutPath,
|
|
12897
12680
|
publicIssue,
|