@wirecat/tg-cli 0.127.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-EZFS2UR6.js → adapter-JOI34QLS.js} +43 -43
- package/dist/bundle/{all-profiles-TNIUBQK6.js → all-profiles-2BZEE7J2.js} +18 -28
- package/dist/bundle/{anthropic-NGIS5LTL.js → anthropic-NW7DL3S3.js} +2 -2
- package/dist/bundle/{app-server-RPU76G7D.js → app-server-RUTYKELF.js} +39 -54
- package/dist/bundle/{bot-api-QJ6U6BLG.js → bot-api-DW6NAZAQ.js} +44 -44
- package/dist/bundle/{bot-history-THULK2C6.js → bot-history-FAJ2W42U.js} +12 -12
- package/dist/bundle/{bun-QLSLLP27.js → bun-IVP5LSVI.js} +2 -2
- package/dist/bundle/{bun-sqlite-SH5245ZY.js → bun-sqlite-ATPCJ4CT.js} +3 -3
- package/dist/bundle/{chunk-4CQ3PV3V.js → chunk-2A3TC52A.js} +7 -7
- package/dist/bundle/{chunk-SN52ZGFN.js → chunk-2IL4YDGG.js} +2 -2
- package/dist/bundle/{chunk-TGKTIDYS.js → chunk-2QHIOPSA.js} +176 -150
- package/dist/bundle/{chunk-ZSS3BH6Z.js → chunk-3UGRMFWK.js} +2 -2
- package/dist/bundle/{chunk-QPVCFSVU.js → chunk-4DSIGS2E.js} +5 -5
- package/dist/bundle/{chunk-BNM6KNUQ.js → chunk-5AP25FMW.js} +1 -1
- package/dist/bundle/{chunk-ERUB3KU3.js → chunk-7D6LI2N7.js} +5 -5
- package/dist/bundle/{chunk-FSDLSEZA.js → chunk-7I5NMVX7.js} +1 -1
- package/dist/bundle/{chunk-3WI53AA4.js → chunk-AF2XVV5P.js} +648 -239
- package/dist/bundle/{chunk-3I3TGKVG.js → chunk-BVCRDHI2.js} +3 -3
- package/dist/bundle/{chunk-JF7D2Y4K.js → chunk-E56QE3UC.js} +352 -325
- package/dist/bundle/{chunk-J6FHZXNS.js → chunk-EAUHYQUK.js} +40 -48
- package/dist/bundle/{chunk-IWJ5OLU6.js → chunk-F4UIBEQK.js} +2 -2
- package/dist/bundle/{chunk-DNNYE6PS.js → chunk-FHGAJK4I.js} +16 -13
- package/dist/bundle/{chunk-MTU3UP5U.js → chunk-G3PL3R45.js} +1 -1
- package/dist/bundle/{chunk-Y7UA7HGL.js → chunk-GYO4WXLG.js} +2 -2
- package/dist/bundle/{chunk-LOG65WHO.js → chunk-IHLNXL2D.js} +1 -1
- package/dist/bundle/{chunk-P5NJECXX.js → chunk-IIHCSJV2.js} +507 -340
- package/dist/bundle/{chunk-4FFKCC7Y.js → chunk-IV2KJQ5F.js} +16 -15
- package/dist/bundle/{chunk-EGNQSWPH.js → chunk-J3SX36NE.js} +1 -1
- package/dist/bundle/{chunk-CXWAKV2O.js → chunk-JI2PFQFL.js} +5 -5
- package/dist/bundle/{chunk-S3XUJPPL.js → chunk-JJGPU24U.js} +4 -4
- package/dist/bundle/{chunk-XUAVZ6YX.js → chunk-KF2Q776U.js} +7 -7
- package/dist/bundle/{chunk-3CV5TBBR.js → chunk-KKZQK6IK.js} +2 -2
- package/dist/bundle/{chunk-VMV5CMLH.js → chunk-LTADKMP5.js} +1 -1
- package/dist/bundle/{chunk-X4ECHJNG.js → chunk-MC6FOTCV.js} +98 -6
- package/dist/bundle/{chunk-BWHVHPAQ.js → chunk-MDGLKMLD.js} +5 -5
- package/dist/bundle/{chunk-APSMQIA4.js → chunk-MGBVVQTU.js} +2 -2
- package/dist/bundle/{chunk-JWEKUAVZ.js → chunk-MOUPWPNL.js} +10 -10
- package/dist/bundle/{chunk-NBN5OYXH.js → chunk-NXDQXDRN.js} +3 -3
- package/dist/bundle/{chunk-GHVRCLJI.js → chunk-ODBK56ZR.js} +1 -1
- package/dist/bundle/{chunk-7GE6KMLB.js → chunk-OX6574YV.js} +11 -11
- package/dist/bundle/{chunk-2R6ZSE3O.js → chunk-PJA43HVE.js} +2 -2
- package/dist/bundle/{chunk-5AOFOJQA.js → chunk-Q3ZO6Q3M.js} +4 -4
- package/dist/bundle/{chunk-FD44T7HC.js → chunk-QO4ON2X7.js} +1 -1
- package/dist/bundle/{chunk-Y65BQJOY.js → chunk-QYN5RDTZ.js} +2 -2
- package/dist/bundle/{chunk-R52ZZZKZ.js → chunk-R4QVV3LN.js} +23 -12
- package/dist/bundle/{chunk-UIQMBOXU.js → chunk-RIGNCUZD.js} +1 -1
- package/dist/bundle/{chunk-5SN6KFPC.js → chunk-RZFIQMOA.js} +55 -52
- package/dist/bundle/{chunk-4MKRKW6V.js → chunk-SDLJJF7E.js} +12 -12
- package/dist/bundle/{chunk-HPM47WO3.js → chunk-T2CWSFGY.js} +394 -378
- package/dist/bundle/{chunk-JFQZ6BWI.js → chunk-TGUXKG4B.js} +16 -16
- package/dist/bundle/{chunk-Y62I2T36.js → chunk-TQFUAKU6.js} +1 -1
- package/dist/bundle/{chunk-UW34Z7J3.js → chunk-UURJO46N.js} +1 -1
- package/dist/bundle/{chunk-K4VO7S6Q.js → chunk-WG3BF7SA.js} +1 -1
- package/dist/bundle/{chunk-YIPOWJPN.js → chunk-WMF6SL5D.js} +1 -1
- package/dist/bundle/{chunk-UY2TRFYN.js → chunk-WMUPZ3IY.js} +10 -10
- package/dist/bundle/{chunk-H7GAFD4N.js → chunk-WPMJQIEU.js} +1 -1
- package/dist/bundle/{chunk-5FDYMMEQ.js → chunk-XYAH6QQO.js} +2 -2
- package/dist/bundle/{chunk-YZGIQY2R.js → chunk-YSXDCSBP.js} +33 -23
- package/dist/bundle/{chunk-45URY64S.js → chunk-YVV5S2QA.js} +1 -1
- package/dist/bundle/{chunk-5KZKVKWU.js → chunk-ZVLYK6CZ.js} +6 -6
- package/dist/bundle/{command-contract-DY6Y4TES.js → command-contract-3BSXDYBC.js} +13 -13
- package/dist/bundle/{command-server-entry-UG2CLYXI.js → command-server-entry-BU3X4XNL.js} +20 -20
- package/dist/bundle/{decode-3NEUZJ2N.js → decode-NXB7E46F.js} +2 -2
- package/dist/bundle/{echarts-CN6ZVAJZ.js → echarts-NAXLKJLA.js} +2 -2
- package/dist/bundle/{embed-M4EHIKA5.js → embed-LB6ONWHX.js} +3 -3
- package/dist/bundle/{embedder-K2XL2UB4.js → embedder-WE7B2RU5.js} +6 -6
- package/dist/bundle/{entry-6M55YL2H.js → entry-W6Y52ZRN.js} +6 -6
- package/dist/bundle/{first-run-TLJILIOF.js → first-run-NVYNZZA6.js} +5 -5
- package/dist/bundle/{first-screen-WME7ILW2.js → first-screen-Z6TVHK6I.js} +14 -14
- package/dist/bundle/{instructions-QLC2AXAB.js → instructions-MRUC57NS.js} +1 -1
- package/dist/bundle/{node-BAA3T4CH.js → node-G7PMDYQV.js} +2 -2
- package/dist/bundle/{node-sqlite-FNYVHQCO.js → node-sqlite-RXWQ3SES.js} +4 -4
- package/dist/bundle/{oauth-32T5KL5E.js → oauth-6ZWOL6KX.js} +4 -4
- package/dist/bundle/{open-4VQ6FUEI.js → open-V7LMZCFI.js} +2 -2
- package/dist/bundle/{openai-HDOKCN3Z.js → openai-P472V4ZM.js} +12 -12
- package/dist/bundle/{process-GOUBIWKC.js → process-GSNPENHL.js} +1 -1
- package/dist/bundle/{program-QFXJL2R5.js → program-IELITPKT.js} +46 -46
- package/dist/bundle/{prompt-YYODWYFO.js → prompt-2CP6CQ5N.js} +2 -2
- package/dist/bundle/{recognize-7ZULX5HL.js → recognize-R2DEQ5TC.js} +1 -1
- package/dist/bundle/{remote-TUG7M5Y5.js → remote-JG3POFES.js} +6 -6
- package/dist/bundle/{rerank-D2EZWG66.js → rerank-TVMR3OLL.js} +4 -4
- package/dist/bundle/{serve-MP3GA2XX.js → serve-DBWSMLPH.js} +6 -6
- package/dist/bundle/{server-D277L3H3.js → server-EXJ2WNZY.js} +37 -35
- package/dist/bundle/server-SXNFFAIR.js +61 -0
- package/dist/bundle/{sqlite-runtime-XHZXEOLY.js → sqlite-runtime-AWMY7W4Q.js} +3 -3
- package/dist/bundle/{state-YI3W6HGO.js → state-HN44BWNQ.js} +3 -3
- package/dist/bundle/{store-C4RFPYPK.js → store-GIYS3LHV.js} +9 -9
- package/dist/bundle/{store-CIZPJFWE.js → store-LOVKYQDC.js} +11 -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-ZIPUVOGT.js +0 -76
- package/dist/bundle/server-GEP7QXGI.js +0 -62
- package/dist/bundle/store-maintenance-command-JNDYWFD2.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,20 +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
119
|
repairConfigText,
|
|
120
120
|
sharedConfigPath,
|
|
121
121
|
writeSharedSection
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-7D6LI2N7.js";
|
|
123
123
|
import {
|
|
124
124
|
storePath
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-TQFUAKU6.js";
|
|
126
126
|
import {
|
|
127
127
|
configFilePath,
|
|
128
128
|
createRecordLog,
|
|
@@ -3994,7 +3994,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
}, "refuseJoinedPath");
|
|
3996
3996
|
|
|
3997
|
-
// 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
|
|
3998
3998
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3999
3999
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4000
4000
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4033,7 +4033,11 @@ var DEFAULT_PERMISSIONS = {
|
|
|
4033
4033
|
"images.models.download": "ask",
|
|
4034
4034
|
"schedule.run": "ask",
|
|
4035
4035
|
"schedule.exec": "ask",
|
|
4036
|
-
"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"
|
|
4037
4041
|
};
|
|
4038
4042
|
var KEYED_UNDER_HOUSEKEEPING = new Set(Object.keys(DEFAULT_PERMISSIONS).filter((key) => /^(store|server|models|images|schedule|doctor)\./.test(key)));
|
|
4039
4043
|
var AUTHORITY_KEY = "mcp.authority";
|
|
@@ -4090,6 +4094,23 @@ var layerPermissions = /* @__PURE__ */ __name((layers) => {
|
|
|
4090
4094
|
return { levels, sources };
|
|
4091
4095
|
}, "layerPermissions");
|
|
4092
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");
|
|
4093
4114
|
var ALLOWED = { level: "allow", key: null };
|
|
4094
4115
|
var ORDER = { deny: 0, readonly: 1, ask: 2, allow: 3 };
|
|
4095
4116
|
var nearest = /* @__PURE__ */ __name((levels, key) => {
|
|
@@ -4399,7 +4420,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4399
4420
|
}
|
|
4400
4421
|
}, "assertRetentionEvidenceRead");
|
|
4401
4422
|
|
|
4402
|
-
// 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
|
|
4403
4424
|
var account = strictObject({
|
|
4404
4425
|
provider: text,
|
|
4405
4426
|
id,
|
|
@@ -4409,7 +4430,7 @@ var account = strictObject({
|
|
|
4409
4430
|
scope: optional(picklist(["personal", "work"]))
|
|
4410
4431
|
});
|
|
4411
4432
|
|
|
4412
|
-
// 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
|
|
4413
4434
|
var accountSession = strictObject({
|
|
4414
4435
|
current: boolean(),
|
|
4415
4436
|
client: nullable(text),
|
|
@@ -4419,7 +4440,7 @@ var accountSession = strictObject({
|
|
|
4419
4440
|
created_at: optional(nullable(time))
|
|
4420
4441
|
});
|
|
4421
4442
|
|
|
4422
|
-
// 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
|
|
4423
4444
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4424
4445
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4425
4446
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4448,7 +4469,7 @@ var accountRemoval = strictObject({
|
|
|
4448
4469
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4449
4470
|
});
|
|
4450
4471
|
|
|
4451
|
-
// 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
|
|
4452
4473
|
var accountProfile = strictObject({
|
|
4453
4474
|
profile: id,
|
|
4454
4475
|
current: boolean(),
|
|
@@ -4460,7 +4481,7 @@ var accountProfile = strictObject({
|
|
|
4460
4481
|
bot: optional(literal(true))
|
|
4461
4482
|
});
|
|
4462
4483
|
|
|
4463
|
-
// 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
|
|
4464
4485
|
var milliseconds = pipe(number(), minValue(0));
|
|
4465
4486
|
var counterReading = strictObject({
|
|
4466
4487
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4472,7 +4493,7 @@ var counterReading = strictObject({
|
|
|
4472
4493
|
});
|
|
4473
4494
|
var selection = record(string(), unknown());
|
|
4474
4495
|
|
|
4475
|
-
// 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
|
|
4476
4497
|
var adminRow = strictObject({
|
|
4477
4498
|
ref: reference,
|
|
4478
4499
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4525,7 +4546,7 @@ var adminReport = strictObject({
|
|
|
4525
4546
|
rows: array(adminRow)
|
|
4526
4547
|
});
|
|
4527
4548
|
|
|
4528
|
-
// 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
|
|
4529
4550
|
var closeSuggestion = strictObject({
|
|
4530
4551
|
as: picklist(["done", "dismissed"]),
|
|
4531
4552
|
/** The agent's name. */
|
|
@@ -4587,7 +4608,7 @@ var task = strictObject({
|
|
|
4587
4608
|
updated_at: optional(time)
|
|
4588
4609
|
});
|
|
4589
4610
|
|
|
4590
|
-
// 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
|
|
4591
4612
|
var agendaChat = strictObject({
|
|
4592
4613
|
chat: reference,
|
|
4593
4614
|
title: nullable(text),
|
|
@@ -4657,11 +4678,11 @@ var agenda = strictObject({
|
|
|
4657
4678
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4658
4679
|
});
|
|
4659
4680
|
|
|
4660
|
-
// 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
|
|
4661
4682
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4662
4683
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4663
4684
|
|
|
4664
|
-
// 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
|
|
4665
4686
|
var attachment = strictObject({
|
|
4666
4687
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4667
4688
|
message: optional(reference),
|
|
@@ -4706,7 +4727,7 @@ var hitFile = strictObject({
|
|
|
4706
4727
|
local_path: optional(text)
|
|
4707
4728
|
});
|
|
4708
4729
|
|
|
4709
|
-
// 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
|
|
4710
4731
|
var actionableError = objectWithRest({
|
|
4711
4732
|
code: text,
|
|
4712
4733
|
message: text,
|
|
@@ -4723,7 +4744,7 @@ var batchResult = strictObject({
|
|
|
4723
4744
|
max_error_percent: count
|
|
4724
4745
|
});
|
|
4725
4746
|
|
|
4726
|
-
// 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
|
|
4727
4748
|
var extractionItem = strictObject({
|
|
4728
4749
|
ref: reference,
|
|
4729
4750
|
attachment: count,
|
|
@@ -4756,7 +4777,7 @@ var extractionReport = strictObject({
|
|
|
4756
4777
|
cursor: optional(text)
|
|
4757
4778
|
});
|
|
4758
4779
|
|
|
4759
|
-
// 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
|
|
4760
4781
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4761
4782
|
var attachmentBytes = strictObject({
|
|
4762
4783
|
ref: reference,
|
|
@@ -4787,7 +4808,7 @@ var attachmentTextChange = strictObject({
|
|
|
4787
4808
|
text: optional(text)
|
|
4788
4809
|
});
|
|
4789
4810
|
|
|
4790
|
-
// 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
|
|
4791
4812
|
var WEIGHTS = {
|
|
4792
4813
|
bot: 3,
|
|
4793
4814
|
scam: 3,
|
|
@@ -4812,7 +4833,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4812
4833
|
var DIGITS = /\d{5,}/;
|
|
4813
4834
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4814
4835
|
|
|
4815
|
-
// 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
|
|
4816
4837
|
var linkedIdentity = strictObject({
|
|
4817
4838
|
provider: text,
|
|
4818
4839
|
id,
|
|
@@ -4867,7 +4888,7 @@ var contactCheck = strictObject({
|
|
|
4867
4888
|
checked_at: time
|
|
4868
4889
|
});
|
|
4869
4890
|
|
|
4870
|
-
// 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
|
|
4871
4892
|
var member = strictObject({
|
|
4872
4893
|
id,
|
|
4873
4894
|
name: nullable(text),
|
|
@@ -4890,7 +4911,7 @@ var member = strictObject({
|
|
|
4890
4911
|
check: optional(record(string(), unknown()))
|
|
4891
4912
|
});
|
|
4892
4913
|
|
|
4893
|
-
// 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
|
|
4894
4915
|
var setting = optional(nullable(boolean()));
|
|
4895
4916
|
var chat = strictObject({
|
|
4896
4917
|
ref: reference,
|
|
@@ -4931,7 +4952,7 @@ var chat = strictObject({
|
|
|
4931
4952
|
members: optional(array(member))
|
|
4932
4953
|
});
|
|
4933
4954
|
|
|
4934
|
-
// 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
|
|
4935
4956
|
var quoted = strictObject({
|
|
4936
4957
|
id,
|
|
4937
4958
|
sender_id: nullable(id),
|
|
@@ -5050,7 +5071,7 @@ var message = strictObject({
|
|
|
5050
5071
|
provider_metadata: providerMetadata
|
|
5051
5072
|
});
|
|
5052
5073
|
|
|
5053
|
-
// 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
|
|
5054
5075
|
var recordedMeeting = strictObject({
|
|
5055
5076
|
ref: reference,
|
|
5056
5077
|
meeting_id: count,
|
|
@@ -5063,7 +5084,7 @@ var recordedMeeting = strictObject({
|
|
|
5063
5084
|
people: array(reference)
|
|
5064
5085
|
});
|
|
5065
5086
|
|
|
5066
|
-
// 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
|
|
5067
5088
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5068
5089
|
var contextMessage = strictObject({
|
|
5069
5090
|
locator: reference,
|
|
@@ -5269,7 +5290,7 @@ var contactPreparation = strictObject({
|
|
|
5269
5290
|
})
|
|
5270
5291
|
});
|
|
5271
5292
|
|
|
5272
|
-
// 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
|
|
5273
5294
|
var nullableText = nullable(text);
|
|
5274
5295
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5275
5296
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5380,7 +5401,7 @@ var stage = strictObject({
|
|
|
5380
5401
|
untrusted
|
|
5381
5402
|
});
|
|
5382
5403
|
|
|
5383
|
-
// 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
|
|
5384
5405
|
var nullableText2 = nullable(text);
|
|
5385
5406
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5386
5407
|
var standing = picklist(STANDINGS);
|
|
@@ -5554,7 +5575,7 @@ var dealBrief = strictObject({
|
|
|
5554
5575
|
not_read: coverage2.entries.not_read
|
|
5555
5576
|
});
|
|
5556
5577
|
|
|
5557
|
-
// 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
|
|
5558
5579
|
var chart = strictObject({
|
|
5559
5580
|
version: literal(1),
|
|
5560
5581
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5569,7 +5590,7 @@ var chart = strictObject({
|
|
|
5569
5590
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5570
5591
|
});
|
|
5571
5592
|
|
|
5572
|
-
// 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
|
|
5573
5594
|
var named = strictObject({
|
|
5574
5595
|
id,
|
|
5575
5596
|
title: nullable(text),
|
|
@@ -5592,7 +5613,7 @@ var folder = strictObject({
|
|
|
5592
5613
|
excluded_chats: optional(array(named))
|
|
5593
5614
|
});
|
|
5594
5615
|
|
|
5595
|
-
// 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
|
|
5596
5617
|
var inviteLink = strictObject({
|
|
5597
5618
|
link: text,
|
|
5598
5619
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5608,7 +5629,7 @@ var inviteLink = strictObject({
|
|
|
5608
5629
|
joined_count: optional(count)
|
|
5609
5630
|
});
|
|
5610
5631
|
|
|
5611
|
-
// 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
|
|
5612
5633
|
var operated = { operation_id: id, chat_id: id };
|
|
5613
5634
|
var group = strictObject({
|
|
5614
5635
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5688,7 +5709,7 @@ var chatFolderOrder = strictObject({
|
|
|
5688
5709
|
folders: array(strictObject({ id, title: text }))
|
|
5689
5710
|
});
|
|
5690
5711
|
|
|
5691
|
-
// 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
|
|
5692
5713
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5693
5714
|
var chatRemoval = strictObject(operated2);
|
|
5694
5715
|
var chatMuting = strictObject({
|
|
@@ -5699,7 +5720,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5699
5720
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5700
5721
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5701
5722
|
|
|
5702
|
-
// 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
|
|
5703
5724
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5704
5725
|
var chatEvent = strictObject({
|
|
5705
5726
|
chat_id: id,
|
|
@@ -5716,7 +5737,7 @@ var chatEvent = strictObject({
|
|
|
5716
5737
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5717
5738
|
});
|
|
5718
5739
|
|
|
5719
|
-
// 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
|
|
5720
5741
|
var chatMetadata = strictObject({
|
|
5721
5742
|
chat_id: id,
|
|
5722
5743
|
title: nullable(text),
|
|
@@ -5731,7 +5752,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5731
5752
|
has_more: boolean()
|
|
5732
5753
|
});
|
|
5733
5754
|
|
|
5734
|
-
// 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
|
|
5735
5756
|
var action = picklist(["report", "delete", "remove"]);
|
|
5736
5757
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5737
5758
|
var chatRules = strictObject({
|
|
@@ -5768,7 +5789,7 @@ var chatModeration = strictObject({
|
|
|
5768
5789
|
}))
|
|
5769
5790
|
});
|
|
5770
5791
|
|
|
5771
|
-
// 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
|
|
5772
5793
|
var optionalCount = optional(count);
|
|
5773
5794
|
var minutes = nullable(number());
|
|
5774
5795
|
var chatStats = strictObject({
|
|
@@ -5844,7 +5865,7 @@ var taskStats = strictObject({
|
|
|
5844
5865
|
}))
|
|
5845
5866
|
});
|
|
5846
5867
|
|
|
5847
|
-
// 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
|
|
5848
5869
|
var memberCount = strictObject({
|
|
5849
5870
|
day: pipe(text, isoDate()),
|
|
5850
5871
|
participants: nullable(count),
|
|
@@ -5867,7 +5888,7 @@ var chatTracking = strictObject({
|
|
|
5867
5888
|
tracked: boolean()
|
|
5868
5889
|
});
|
|
5869
5890
|
|
|
5870
|
-
// 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
|
|
5871
5892
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5872
5893
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5873
5894
|
var profileFields = {
|
|
@@ -5905,7 +5926,7 @@ var profileFields = {
|
|
|
5905
5926
|
}))
|
|
5906
5927
|
};
|
|
5907
5928
|
|
|
5908
|
-
// 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
|
|
5909
5930
|
var contact = strictObject({
|
|
5910
5931
|
ref: reference,
|
|
5911
5932
|
id,
|
|
@@ -5936,7 +5957,7 @@ var contact = strictObject({
|
|
|
5936
5957
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5937
5958
|
});
|
|
5938
5959
|
|
|
5939
|
-
// 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
|
|
5940
5961
|
var contactNote = strictObject({
|
|
5941
5962
|
id,
|
|
5942
5963
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5948,13 +5969,13 @@ var contactNote = strictObject({
|
|
|
5948
5969
|
updated_at: time
|
|
5949
5970
|
});
|
|
5950
5971
|
|
|
5951
|
-
// 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
|
|
5952
5973
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5953
5974
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5954
5975
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5955
5976
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5956
5977
|
|
|
5957
|
-
// 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
|
|
5958
5979
|
var conversation = strictObject({
|
|
5959
5980
|
id,
|
|
5960
5981
|
chat: reference,
|
|
@@ -5969,7 +5990,7 @@ var conversation = strictObject({
|
|
|
5969
5990
|
rules_version: count
|
|
5970
5991
|
});
|
|
5971
5992
|
|
|
5972
|
-
// 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
|
|
5973
5994
|
var conversationBuild = strictObject({
|
|
5974
5995
|
chat: id,
|
|
5975
5996
|
messages: count,
|
|
@@ -5994,7 +6015,7 @@ var catchUpPreparation = strictObject({
|
|
|
5994
6015
|
prepared: optional(conversationPreparation)
|
|
5995
6016
|
});
|
|
5996
6017
|
|
|
5997
|
-
// 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
|
|
5998
6019
|
var conversationDetails = union([
|
|
5999
6020
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6000
6021
|
message
|
|
@@ -6084,7 +6105,7 @@ var conversationHit = strictObject({
|
|
|
6084
6105
|
stale: boolean()
|
|
6085
6106
|
});
|
|
6086
6107
|
|
|
6087
|
-
// 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
|
|
6088
6109
|
var counters = strictObject({
|
|
6089
6110
|
cutoff: time,
|
|
6090
6111
|
max_age_ms: milliseconds,
|
|
@@ -6114,7 +6135,7 @@ var counterRefresh = strictObject({
|
|
|
6114
6135
|
complete: optional(boolean())
|
|
6115
6136
|
});
|
|
6116
6137
|
|
|
6117
|
-
// 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
|
|
6118
6139
|
var document = strictObject({
|
|
6119
6140
|
ref: reference,
|
|
6120
6141
|
id,
|
|
@@ -6129,7 +6150,7 @@ var document = strictObject({
|
|
|
6129
6150
|
owners: optional(array(text))
|
|
6130
6151
|
});
|
|
6131
6152
|
|
|
6132
|
-
// 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
|
|
6133
6154
|
var documentLink = strictObject({
|
|
6134
6155
|
ref: reference,
|
|
6135
6156
|
url: text,
|
|
@@ -6140,7 +6161,7 @@ var documentLink = strictObject({
|
|
|
6140
6161
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6141
6162
|
});
|
|
6142
6163
|
|
|
6143
|
-
// 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
|
|
6144
6165
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6145
6166
|
var contribution = strictObject({
|
|
6146
6167
|
message: evidenceMessage,
|
|
@@ -6170,7 +6191,7 @@ var retentionStay = strictObject({
|
|
|
6170
6191
|
});
|
|
6171
6192
|
var evidence = union([contribution, retentionStay]);
|
|
6172
6193
|
|
|
6173
|
-
// 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
|
|
6174
6195
|
var fact = strictObject({
|
|
6175
6196
|
ref: reference,
|
|
6176
6197
|
id,
|
|
@@ -6201,7 +6222,7 @@ var fact = strictObject({
|
|
|
6201
6222
|
updated_at: time
|
|
6202
6223
|
});
|
|
6203
6224
|
|
|
6204
|
-
// 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
|
|
6205
6226
|
var hit = strictObject({
|
|
6206
6227
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6207
6228
|
ref: reference,
|
|
@@ -6249,7 +6270,7 @@ var hit = strictObject({
|
|
|
6249
6270
|
untrusted
|
|
6250
6271
|
});
|
|
6251
6272
|
|
|
6252
|
-
// 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
|
|
6253
6274
|
var identity = strictObject({
|
|
6254
6275
|
ref: reference,
|
|
6255
6276
|
provider: text,
|
|
@@ -6265,7 +6286,7 @@ var identity = strictObject({
|
|
|
6265
6286
|
person: optional(nullable(reference))
|
|
6266
6287
|
});
|
|
6267
6288
|
|
|
6268
|
-
// 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
|
|
6269
6290
|
var imageEmbedding = strictObject({
|
|
6270
6291
|
model: text,
|
|
6271
6292
|
embedded: count,
|
|
@@ -6274,13 +6295,13 @@ var imageEmbedding = strictObject({
|
|
|
6274
6295
|
more: boolean()
|
|
6275
6296
|
});
|
|
6276
6297
|
|
|
6277
|
-
// 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
|
|
6278
6299
|
import { spawn } from "node:child_process";
|
|
6279
6300
|
import { randomBytes } from "node:crypto";
|
|
6280
6301
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6281
6302
|
import { dirname, join } from "node:path";
|
|
6282
6303
|
|
|
6283
|
-
// 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
|
|
6284
6305
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6285
6306
|
const total = input.total ?? null;
|
|
6286
6307
|
const updated = input.updatedAt ?? null;
|
|
@@ -6296,7 +6317,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6296
6317
|
};
|
|
6297
6318
|
}, "progressOf");
|
|
6298
6319
|
|
|
6299
|
-
// 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
|
|
6300
6321
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6301
6322
|
const run = currentRun();
|
|
6302
6323
|
const trace = traceId ?? run.traceId;
|
|
@@ -6310,7 +6331,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6310
6331
|
}));
|
|
6311
6332
|
}, "recordLogFor");
|
|
6312
6333
|
|
|
6313
|
-
// 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
|
|
6314
6335
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6315
6336
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6316
6337
|
const out = openSync(log, "a", 384);
|
|
@@ -6465,7 +6486,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6465
6486
|
return { job: id6, pid, chat: input.chat, log };
|
|
6466
6487
|
}, "startArchiveJob");
|
|
6467
6488
|
|
|
6468
|
-
// 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
|
|
6469
6490
|
var problem = strictObject({ code: text, message: text });
|
|
6470
6491
|
var job = strictObject({
|
|
6471
6492
|
id,
|
|
@@ -6488,7 +6509,7 @@ var job = strictObject({
|
|
|
6488
6509
|
error: optional(problem)
|
|
6489
6510
|
});
|
|
6490
6511
|
|
|
6491
|
-
// 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
|
|
6492
6513
|
var joinRequest = strictObject({
|
|
6493
6514
|
person_id: id,
|
|
6494
6515
|
name: nullable(text),
|
|
@@ -6499,7 +6520,7 @@ var joinRequest = strictObject({
|
|
|
6499
6520
|
about: optional(text)
|
|
6500
6521
|
});
|
|
6501
6522
|
|
|
6502
|
-
// 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
|
|
6503
6524
|
var botProfile = strictObject({
|
|
6504
6525
|
name: text,
|
|
6505
6526
|
token: text,
|
|
@@ -6623,7 +6644,7 @@ var stickerInventory = strictObject({
|
|
|
6623
6644
|
url: optional(nullable(text))
|
|
6624
6645
|
});
|
|
6625
6646
|
|
|
6626
|
-
// 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
|
|
6627
6648
|
var pollVote = strictObject({
|
|
6628
6649
|
person_id: id,
|
|
6629
6650
|
name: nullable(text),
|
|
@@ -6633,7 +6654,7 @@ var pollVote = strictObject({
|
|
|
6633
6654
|
voted_at: time
|
|
6634
6655
|
});
|
|
6635
6656
|
|
|
6636
|
-
// 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
|
|
6637
6658
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6638
6659
|
var observation = strictObject({
|
|
6639
6660
|
value: pipe(number(), minValue(0)),
|
|
@@ -6675,7 +6696,7 @@ var serveSummary = strictObject({
|
|
|
6675
6696
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6676
6697
|
});
|
|
6677
6698
|
|
|
6678
|
-
// 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
|
|
6679
6700
|
var mailCounts = strictObject({
|
|
6680
6701
|
by: picklist(["day", "week", "sender"]),
|
|
6681
6702
|
received: count,
|
|
@@ -6690,7 +6711,7 @@ var mailCounts = strictObject({
|
|
|
6690
6711
|
}))
|
|
6691
6712
|
});
|
|
6692
6713
|
|
|
6693
|
-
// 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
|
|
6694
6715
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6695
6716
|
var base = { id, evidence: array(evidence2) };
|
|
6696
6717
|
var finding = variant("kind", [
|
|
@@ -6834,7 +6855,7 @@ var mailFindings = strictObject({
|
|
|
6834
6855
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6835
6856
|
});
|
|
6836
6857
|
|
|
6837
|
-
// 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
|
|
6838
6859
|
var mediaArchive = strictObject({
|
|
6839
6860
|
directory: text,
|
|
6840
6861
|
chats: count,
|
|
@@ -6866,7 +6887,7 @@ var mediaArchiveTimer = union([
|
|
|
6866
6887
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6867
6888
|
]);
|
|
6868
6889
|
|
|
6869
|
-
// 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
|
|
6870
6891
|
var preparationId = pipe(string(), minLength(1));
|
|
6871
6892
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6872
6893
|
var preparationTime = nullable(isoTime);
|
|
@@ -6958,7 +6979,7 @@ var preparationMeeting = strictObject({
|
|
|
6958
6979
|
updated_at: isoTime
|
|
6959
6980
|
});
|
|
6960
6981
|
|
|
6961
|
-
// 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
|
|
6962
6983
|
var meetingEvidence = preparationEvidence;
|
|
6963
6984
|
var meetingPersonContext = strictObject({
|
|
6964
6985
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6980,7 +7001,7 @@ var meetingPersonContext = strictObject({
|
|
|
6980
7001
|
})
|
|
6981
7002
|
});
|
|
6982
7003
|
|
|
6983
|
-
// 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
|
|
6984
7005
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6985
7006
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6986
7007
|
var finding2 = variant("kind", [
|
|
@@ -7018,7 +7039,7 @@ var meetingFindings = strictObject({
|
|
|
7018
7039
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7019
7040
|
});
|
|
7020
7041
|
|
|
7021
|
-
// 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
|
|
7022
7043
|
var communicationCoverage = strictObject({
|
|
7023
7044
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7024
7045
|
query: string(),
|
|
@@ -7063,7 +7084,7 @@ var preparationCommunications = strictObject({
|
|
|
7063
7084
|
}))
|
|
7064
7085
|
});
|
|
7065
7086
|
|
|
7066
|
-
// 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
|
|
7067
7088
|
var meetingPreparation = strictObject({
|
|
7068
7089
|
communications: optional(preparationCommunications),
|
|
7069
7090
|
schema_version: literal(1),
|
|
@@ -7176,7 +7197,7 @@ var meetingPreparation = strictObject({
|
|
|
7176
7197
|
})
|
|
7177
7198
|
});
|
|
7178
7199
|
|
|
7179
|
-
// 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
|
|
7180
7201
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7181
7202
|
var id3 = pipe(string(), minLength(1));
|
|
7182
7203
|
var text3 = string();
|
|
@@ -7240,7 +7261,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7240
7261
|
})
|
|
7241
7262
|
});
|
|
7242
7263
|
|
|
7243
|
-
// 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
|
|
7244
7265
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7245
7266
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7246
7267
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7270,7 +7291,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7270
7291
|
})
|
|
7271
7292
|
});
|
|
7272
7293
|
|
|
7273
|
-
// 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
|
|
7274
7295
|
var text4 = string();
|
|
7275
7296
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7276
7297
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7287,7 +7308,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7287
7308
|
persistence: literal("proposal-only")
|
|
7288
7309
|
});
|
|
7289
7310
|
|
|
7290
|
-
// 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
|
|
7291
7312
|
var memory = strictObject({
|
|
7292
7313
|
ref: reference,
|
|
7293
7314
|
id,
|
|
@@ -7315,7 +7336,7 @@ var memory = strictObject({
|
|
|
7315
7336
|
updated_at: time
|
|
7316
7337
|
});
|
|
7317
7338
|
|
|
7318
|
-
// 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
|
|
7319
7340
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7320
7341
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7321
7342
|
var mention = strictObject({
|
|
@@ -7359,13 +7380,13 @@ var mentionRebuild = strictObject({
|
|
|
7359
7380
|
mentions: count
|
|
7360
7381
|
});
|
|
7361
7382
|
|
|
7362
|
-
// 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
|
|
7363
7384
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7364
7385
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7365
7386
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7366
7387
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7367
7388
|
|
|
7368
|
-
// 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
|
|
7369
7390
|
var messageTranscript = strictObject({
|
|
7370
7391
|
message_id: id,
|
|
7371
7392
|
text,
|
|
@@ -7423,7 +7444,7 @@ var evidencePacket = strictObject({
|
|
|
7423
7444
|
}))
|
|
7424
7445
|
});
|
|
7425
7446
|
|
|
7426
|
-
// 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
|
|
7427
7448
|
var messageThread = strictObject({
|
|
7428
7449
|
ref: reference,
|
|
7429
7450
|
chat: id,
|
|
@@ -7440,7 +7461,7 @@ var messageThread = strictObject({
|
|
|
7440
7461
|
});
|
|
7441
7462
|
var messageContext = union([message, messageThread]);
|
|
7442
7463
|
|
|
7443
|
-
// 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
|
|
7444
7465
|
var messageCounts = strictObject({
|
|
7445
7466
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7446
7467
|
total: count,
|
|
@@ -7453,7 +7474,7 @@ var messageCounts = strictObject({
|
|
|
7453
7474
|
}))
|
|
7454
7475
|
});
|
|
7455
7476
|
|
|
7456
|
-
// 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
|
|
7457
7478
|
var messageLink = strictObject({
|
|
7458
7479
|
ref: reference,
|
|
7459
7480
|
url: nullable(text),
|
|
@@ -7470,7 +7491,7 @@ var messageLink = strictObject({
|
|
|
7470
7491
|
})))
|
|
7471
7492
|
});
|
|
7472
7493
|
|
|
7473
|
-
// 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
|
|
7474
7495
|
var savedMessageFile = strictObject({
|
|
7475
7496
|
kind: text,
|
|
7476
7497
|
path: text,
|
|
@@ -7557,7 +7578,7 @@ var messageSyncAll = strictObject({
|
|
|
7557
7578
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7558
7579
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7559
7580
|
|
|
7560
|
-
// 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
|
|
7561
7582
|
var messageWrite = strictObject({
|
|
7562
7583
|
operation_id: id,
|
|
7563
7584
|
message,
|
|
@@ -7572,7 +7593,7 @@ var draftWrite = strictObject({
|
|
|
7572
7593
|
});
|
|
7573
7594
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7574
7595
|
|
|
7575
|
-
// 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
|
|
7576
7597
|
var model = strictObject({
|
|
7577
7598
|
id,
|
|
7578
7599
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7607,7 +7628,7 @@ var chosenModel = strictObject({
|
|
|
7607
7628
|
estimate_seconds: nullable(count)
|
|
7608
7629
|
});
|
|
7609
7630
|
|
|
7610
|
-
// 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
|
|
7611
7632
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7612
7633
|
var modelKey = strictObject({
|
|
7613
7634
|
provider: text,
|
|
@@ -7617,7 +7638,7 @@ var modelKey = strictObject({
|
|
|
7617
7638
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7618
7639
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7619
7640
|
|
|
7620
|
-
// 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
|
|
7621
7642
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7622
7643
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7623
7644
|
var graph = strictObject({
|
|
@@ -7651,14 +7672,14 @@ var officialStats = strictObject({
|
|
|
7651
7672
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7652
7673
|
});
|
|
7653
7674
|
|
|
7654
|
-
// 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
|
|
7655
7676
|
var person2 = strictObject({
|
|
7656
7677
|
ref: reference,
|
|
7657
7678
|
name: nullable(text),
|
|
7658
7679
|
identities: optional(array(identity))
|
|
7659
7680
|
});
|
|
7660
7681
|
|
|
7661
|
-
// 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
|
|
7662
7683
|
var poll = strictObject({
|
|
7663
7684
|
chat_id: id,
|
|
7664
7685
|
message_id: id,
|
|
@@ -7674,11 +7695,11 @@ var poll = strictObject({
|
|
|
7674
7695
|
});
|
|
7675
7696
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7676
7697
|
|
|
7677
|
-
// 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
|
|
7678
7699
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7679
7700
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7680
7701
|
|
|
7681
|
-
// 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
|
|
7682
7703
|
var figures = record(string(), number());
|
|
7683
7704
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7684
7705
|
var rankingRow = strictObject({
|
|
@@ -7725,7 +7746,7 @@ var ranking = strictObject({
|
|
|
7725
7746
|
rows: array(rankingRow)
|
|
7726
7747
|
});
|
|
7727
7748
|
|
|
7728
|
-
// 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
|
|
7729
7750
|
var reaction = strictObject({
|
|
7730
7751
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7731
7752
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7733,7 +7754,7 @@ var reaction = strictObject({
|
|
|
7733
7754
|
reacted_at: time
|
|
7734
7755
|
});
|
|
7735
7756
|
|
|
7736
|
-
// 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
|
|
7737
7758
|
var reactionChange = strictObject({
|
|
7738
7759
|
operation_id: id,
|
|
7739
7760
|
chat_id: id,
|
|
@@ -7741,7 +7762,7 @@ var reactionChange = strictObject({
|
|
|
7741
7762
|
reaction: nullable(text)
|
|
7742
7763
|
});
|
|
7743
7764
|
|
|
7744
|
-
// 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
|
|
7745
7766
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7746
7767
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7747
7768
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7752,7 +7773,7 @@ var recipientChange = strictObject({
|
|
|
7752
7773
|
...partial(recipientOff).entries
|
|
7753
7774
|
});
|
|
7754
7775
|
|
|
7755
|
-
// 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
|
|
7756
7777
|
var events = array(record(string(), unknown()));
|
|
7757
7778
|
var recordedRun = strictObject({
|
|
7758
7779
|
run_id: id,
|
|
@@ -7824,7 +7845,7 @@ var runHit = strictObject({
|
|
|
7824
7845
|
});
|
|
7825
7846
|
var runLocation = strictObject({ path: text });
|
|
7826
7847
|
|
|
7827
|
-
// 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
|
|
7828
7849
|
var relationship = strictObject({
|
|
7829
7850
|
id,
|
|
7830
7851
|
from: reference,
|
|
@@ -7851,7 +7872,7 @@ var relationship = strictObject({
|
|
|
7851
7872
|
created_at: time
|
|
7852
7873
|
});
|
|
7853
7874
|
|
|
7854
|
-
// 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
|
|
7855
7876
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7856
7877
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7857
7878
|
var responseTimes = strictObject({
|
|
@@ -7868,7 +7889,7 @@ var waitingChats = strictObject({
|
|
|
7868
7889
|
by_kind: strictObject({ private: count, group: count })
|
|
7869
7890
|
});
|
|
7870
7891
|
|
|
7871
|
-
// 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
|
|
7872
7893
|
var retentionCohort = strictObject({
|
|
7873
7894
|
/** The first day of the joining day or week. */
|
|
7874
7895
|
cohort: text,
|
|
@@ -7916,7 +7937,7 @@ var retention = strictObject({
|
|
|
7916
7937
|
rows: array(retentionCohort)
|
|
7917
7938
|
});
|
|
7918
7939
|
|
|
7919
|
-
// 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
|
|
7920
7941
|
var savedSearch = strictObject({
|
|
7921
7942
|
id,
|
|
7922
7943
|
/** `null` for a run in the history. */
|
|
@@ -7933,7 +7954,7 @@ var savedSearch = strictObject({
|
|
|
7933
7954
|
});
|
|
7934
7955
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7935
7956
|
|
|
7936
|
-
// 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
|
|
7937
7958
|
var sendAttempt = strictObject({
|
|
7938
7959
|
at: time,
|
|
7939
7960
|
profile: text,
|
|
@@ -7961,7 +7982,7 @@ var sendAttempt = strictObject({
|
|
|
7961
7982
|
error_code: optional(text)
|
|
7962
7983
|
});
|
|
7963
7984
|
|
|
7964
|
-
// 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
|
|
7965
7986
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7966
7987
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7967
7988
|
var infoSchema = strictObject({
|
|
@@ -8191,7 +8212,7 @@ var storeRepair = union([
|
|
|
8191
8212
|
]);
|
|
8192
8213
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8193
8214
|
|
|
8194
|
-
// 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
|
|
8195
8216
|
var range = strictObject({ from: number(), to: number() });
|
|
8196
8217
|
var storeChatStatus = strictObject({
|
|
8197
8218
|
chat_id: id,
|
|
@@ -8289,7 +8310,7 @@ var storeJobRetry = union([
|
|
|
8289
8310
|
]);
|
|
8290
8311
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8291
8312
|
|
|
8292
|
-
// 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
|
|
8293
8314
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8294
8315
|
var storeTable = strictObject({
|
|
8295
8316
|
name: text,
|
|
@@ -8298,7 +8319,7 @@ var storeTable = strictObject({
|
|
|
8298
8319
|
bytes: optional(nullable(count))
|
|
8299
8320
|
});
|
|
8300
8321
|
|
|
8301
|
-
// 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
|
|
8302
8323
|
var tagTarget = variant("type", [
|
|
8303
8324
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8304
8325
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8329,7 +8350,7 @@ var automaticTags = strictObject({
|
|
|
8329
8350
|
dry_run: boolean()
|
|
8330
8351
|
});
|
|
8331
8352
|
|
|
8332
|
-
// 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
|
|
8333
8354
|
var tagging = strictObject({
|
|
8334
8355
|
tag: text,
|
|
8335
8356
|
type: picklist(TAG_TYPES),
|
|
@@ -8342,7 +8363,7 @@ var tagging = strictObject({
|
|
|
8342
8363
|
created_at: time
|
|
8343
8364
|
});
|
|
8344
8365
|
|
|
8345
|
-
// 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
|
|
8346
8367
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8347
8368
|
var taskPair = strictObject({
|
|
8348
8369
|
task: nullable(side),
|
|
@@ -8365,7 +8386,7 @@ var taskPair = strictObject({
|
|
|
8365
8386
|
created_at: time
|
|
8366
8387
|
});
|
|
8367
8388
|
|
|
8368
|
-
// 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
|
|
8369
8390
|
var nullableTime = nullable(time);
|
|
8370
8391
|
var link = strictObject({
|
|
8371
8392
|
id,
|
|
@@ -8539,7 +8560,7 @@ var taskReview = strictObject({
|
|
|
8539
8560
|
untrusted
|
|
8540
8561
|
});
|
|
8541
8562
|
|
|
8542
|
-
// 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
|
|
8543
8564
|
var template = strictObject({
|
|
8544
8565
|
key: text,
|
|
8545
8566
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8551,7 +8572,7 @@ var template = strictObject({
|
|
|
8551
8572
|
updated_by: nullable(text)
|
|
8552
8573
|
});
|
|
8553
8574
|
|
|
8554
|
-
// 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
|
|
8555
8576
|
var topic = strictObject({
|
|
8556
8577
|
id,
|
|
8557
8578
|
title: text,
|
|
@@ -8565,7 +8586,7 @@ var topic = strictObject({
|
|
|
8565
8586
|
untrusted
|
|
8566
8587
|
});
|
|
8567
8588
|
|
|
8568
|
-
// 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
|
|
8569
8590
|
var ENTITIES = {
|
|
8570
8591
|
sync_progress: progress,
|
|
8571
8592
|
deal,
|
|
@@ -8860,7 +8881,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8860
8881
|
return [name, definition];
|
|
8861
8882
|
})), "entityDefinitions");
|
|
8862
8883
|
|
|
8863
|
-
// 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
|
|
8864
8885
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8865
8886
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8866
8887
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8894,7 +8915,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8894
8915
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8895
8916
|
}, "answerRow");
|
|
8896
8917
|
|
|
8897
|
-
// 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
|
|
8898
8919
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8899
8920
|
var requests = new AsyncLocalStorage();
|
|
8900
8921
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8909,7 +8930,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8909
8930
|
return direct;
|
|
8910
8931
|
}, "exitCodeSet");
|
|
8911
8932
|
|
|
8912
|
-
// 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
|
|
8913
8934
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8914
8935
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8915
8936
|
messageId: message2.id,
|
|
@@ -9015,7 +9036,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9015
9036
|
}, "guardedWrite");
|
|
9016
9037
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9017
9038
|
|
|
9018
|
-
// 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
|
|
9019
9040
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9020
9041
|
try {
|
|
9021
9042
|
return work();
|
|
@@ -9042,7 +9063,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9042
9063
|
return projectFields(value, fields);
|
|
9043
9064
|
}), "projectFields");
|
|
9044
9065
|
|
|
9045
|
-
// 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
|
|
9046
9067
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9047
9068
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9048
9069
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9225,7 +9246,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9225
9246
|
}
|
|
9226
9247
|
}, "withAbort");
|
|
9227
9248
|
|
|
9228
|
-
// 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
|
|
9229
9250
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9230
9251
|
import { join as join2 } from "node:path";
|
|
9231
9252
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9314,7 +9335,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9314
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));
|
|
9315
9336
|
}, "registryProfiles");
|
|
9316
9337
|
|
|
9317
|
-
// 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
|
|
9318
9339
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9319
9340
|
import { join as join3 } from "node:path";
|
|
9320
9341
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9336,7 +9357,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9336
9357
|
}, "profilesWithAccounts");
|
|
9337
9358
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9338
9359
|
|
|
9339
|
-
// 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
|
|
9340
9361
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9341
9362
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9342
9363
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9372,7 +9393,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9372
9393
|
return value;
|
|
9373
9394
|
}, "atDetail");
|
|
9374
9395
|
|
|
9375
|
-
// 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
|
|
9376
9397
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9377
9398
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9378
9399
|
if (other)
|
|
@@ -9436,7 +9457,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9436
9457
|
}, "warn")
|
|
9437
9458
|
}), "silence");
|
|
9438
9459
|
|
|
9439
|
-
// 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
|
|
9440
9461
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9441
9462
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9442
9463
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9474,7 +9495,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9474
9495
|
progress: "sync.progress"
|
|
9475
9496
|
};
|
|
9476
9497
|
|
|
9477
|
-
// 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
|
|
9478
9499
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9479
9500
|
const recording = startRecording(options);
|
|
9480
9501
|
try {
|
|
@@ -9689,7 +9710,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9689
9710
|
return void 0;
|
|
9690
9711
|
}, "partialOutcome");
|
|
9691
9712
|
|
|
9692
|
-
// 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
|
|
9693
9714
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9694
9715
|
if (ms2 === void 0)
|
|
9695
9716
|
return body();
|
|
@@ -9715,7 +9736,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9715
9736
|
}
|
|
9716
9737
|
}, "withDeadline");
|
|
9717
9738
|
|
|
9718
|
-
// 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
|
|
9719
9740
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9720
9741
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9721
9742
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9784,10 +9805,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9784
9805
|
return void 0;
|
|
9785
9806
|
}, "sampleCommand");
|
|
9786
9807
|
|
|
9787
|
-
// 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
|
|
9788
9809
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9789
9810
|
|
|
9790
|
-
// 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
|
|
9791
9812
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9792
9813
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9793
9814
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9856,7 +9877,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9856
9877
|
};
|
|
9857
9878
|
}, "modelTarget");
|
|
9858
9879
|
|
|
9859
|
-
// 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
|
|
9860
9881
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9861
9882
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9862
9883
|
var AI_FIELDS = {
|
|
@@ -9900,7 +9921,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9900
9921
|
};
|
|
9901
9922
|
}, "resolveAISettings");
|
|
9902
9923
|
|
|
9903
|
-
// 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
|
|
9904
9925
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9905
9926
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9906
9927
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9914,7 +9935,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9914
9935
|
return ms2;
|
|
9915
9936
|
}, "parseDuration");
|
|
9916
9937
|
|
|
9917
|
-
// 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
|
|
9918
9939
|
import { existsSync as existsSync4 } from "node:fs";
|
|
9919
9940
|
import { join as join4 } from "node:path";
|
|
9920
9941
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -10191,7 +10212,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
10191
10212
|
}, "vectorModelKey");
|
|
10192
10213
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
10193
10214
|
|
|
10194
|
-
// 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
|
|
10195
10216
|
var HISTORY_MAX_DAYS = 1095;
|
|
10196
10217
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10197
10218
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10238,7 +10259,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10238
10259
|
return { batch: { ...batch, messages }, skipped };
|
|
10239
10260
|
}, "limitBatch");
|
|
10240
10261
|
|
|
10241
|
-
// 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
|
|
10242
10263
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10243
10264
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10244
10265
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10533,7 +10554,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10533
10554
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10534
10555
|
}, "readConfigFile");
|
|
10535
10556
|
|
|
10536
|
-
// 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
|
|
10537
10558
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10538
10559
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10539
10560
|
var DEFAULT_CONFIG = {
|
|
@@ -10562,7 +10583,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10562
10583
|
}
|
|
10563
10584
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10564
10585
|
|
|
10565
|
-
// 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
|
|
10566
10587
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10567
10588
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10568
10589
|
const path2 = key.split(".");
|
|
@@ -10584,7 +10605,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10584
10605
|
return { config, added };
|
|
10585
10606
|
}, "withSettingDefaults");
|
|
10586
10607
|
|
|
10587
|
-
// 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
|
|
10588
10609
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10589
10610
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10590
10611
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11110,7 +11131,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11110
11131
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11111
11132
|
}, "given");
|
|
11112
11133
|
|
|
11113
|
-
// 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
|
|
11114
11135
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11115
11136
|
const slot = environmentOf(command).exit;
|
|
11116
11137
|
const request = commandServerRequest();
|
|
@@ -11240,7 +11261,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11240
11261
|
return words2.join(" ");
|
|
11241
11262
|
}, "commandPath");
|
|
11242
11263
|
|
|
11243
|
-
// 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
|
|
11244
11265
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11245
11266
|
var FETCH = { remote: "read", local: "write" };
|
|
11246
11267
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11297,7 +11318,8 @@ var changesStore = /* @__PURE__ */ __name((command) => {
|
|
|
11297
11318
|
STORE_WRITES.add(command);
|
|
11298
11319
|
return command;
|
|
11299
11320
|
}, "changesStore");
|
|
11300
|
-
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");
|
|
11301
11323
|
var fetchesOnly = /* @__PURE__ */ __name((command) => {
|
|
11302
11324
|
const effects = metaOf(command).effects;
|
|
11303
11325
|
return effects?.remote === "read" && effects.local === "write" && !STORE_WRITES.has(command) && !changesAuthority(command) && !OTHER_SERVICE.has(command) && !savesFiles(command);
|
|
@@ -11322,7 +11344,7 @@ var writesFileNow = /* @__PURE__ */ __name((command) => {
|
|
|
11322
11344
|
const option = FILE_OPTION.get(command);
|
|
11323
11345
|
return option === void 0 || command.opts()[option] !== void 0;
|
|
11324
11346
|
}, "writesFileNow");
|
|
11325
|
-
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");
|
|
11326
11348
|
var readsOverMcpAt = /* @__PURE__ */ __name((root) => (path2) => {
|
|
11327
11349
|
let at2 = root;
|
|
11328
11350
|
for (const word of path2)
|
|
@@ -11379,7 +11401,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11379
11401
|
throw readOnlyRefusal(lock, what);
|
|
11380
11402
|
}, "refuseUnderReadOnly");
|
|
11381
11403
|
|
|
11382
|
-
// 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
|
|
11383
11405
|
import { join as join6 } from "node:path";
|
|
11384
11406
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11385
11407
|
var IMAGE_MODELS = [
|
|
@@ -11433,7 +11455,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11433
11455
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11434
11456
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11435
11457
|
|
|
11436
|
-
// 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
|
|
11437
11459
|
var STEPS2 = defineSteps([
|
|
11438
11460
|
...STEPS,
|
|
11439
11461
|
{
|
|
@@ -11723,7 +11745,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11723
11745
|
].join(" ");
|
|
11724
11746
|
}, "stepLine");
|
|
11725
11747
|
|
|
11726
|
-
// 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
|
|
11727
11749
|
var where = [{ field: "ref" }];
|
|
11728
11750
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11729
11751
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11815,7 +11837,7 @@ var STATUS_ROWS = {
|
|
|
11815
11837
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11816
11838
|
};
|
|
11817
11839
|
|
|
11818
|
-
// 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
|
|
11819
11841
|
var TEXT_CHARS = 400;
|
|
11820
11842
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11821
11843
|
var messageRow = {
|
|
@@ -12183,7 +12205,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12183
12205
|
return lines.concat(footerOf(body)).join("\n");
|
|
12184
12206
|
}, "compactText");
|
|
12185
12207
|
|
|
12186
|
-
// 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
|
|
12187
12209
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12188
12210
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12189
12211
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12241,7 +12263,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12241
12263
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12242
12264
|
}, "largeAnswerSteps");
|
|
12243
12265
|
|
|
12244
|
-
// 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
|
|
12245
12267
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12246
12268
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12247
12269
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12255,7 +12277,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12255
12277
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12256
12278
|
}, "strip");
|
|
12257
12279
|
|
|
12258
|
-
// 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
|
|
12259
12281
|
var OPEN = "\u27E6";
|
|
12260
12282
|
var CLOSE = "\u27E7";
|
|
12261
12283
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12339,7 +12361,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12339
12361
|
return result;
|
|
12340
12362
|
}, "withFieldsMarked");
|
|
12341
12363
|
|
|
12342
|
-
// 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
|
|
12343
12365
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12344
12366
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12345
12367
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12524,6 +12546,10 @@ export {
|
|
|
12524
12546
|
isBotApi,
|
|
12525
12547
|
botApiAllowed,
|
|
12526
12548
|
CEILING_KEY,
|
|
12549
|
+
STORE_ONLY_KEYS,
|
|
12550
|
+
fetchesUnder,
|
|
12551
|
+
fetchesAt,
|
|
12552
|
+
stops,
|
|
12527
12553
|
levelFor,
|
|
12528
12554
|
keyForWrite,
|
|
12529
12555
|
writeOfKey,
|